truelight
32c3ba6604
(svn r9533) -Fix [FS#274]: when a company is removed (either via auto-clean, bankrupt, or take over), sell all the shares he has first, then sell the shares all people have on this company, and then remove the company.
2007-03-31 12:19:22 +00:00
truelight
a764888619
(svn r9529) -Fix [FS#705]: when 2 clients joined together, the second asserted on the NewCompany command of the first
2007-03-30 22:17:47 +00:00
truelight
c738cdc0f0
(svn r9504) [Config] -Fix r9340: somehow a -n got mixed up with a -z (tnx glx)
2007-03-27 13:56:18 +00:00
truelight
9a9e891e0c
(svn r9429) -Fix r9338: when deleting a vehicle which has shared orders with one more vehicle and no orders, segfaulted
2007-03-24 15:13:46 +00:00
truelight
45bebff1eb
(svn r9340) [Config] -Fix: on some systems $_ was set to /usr/bin/make; filter for this (tnx peter1138)
2007-03-19 18:37:23 +00:00
truelight
58ef6ecc33
(svn r9338) -Fix: close the Shared Order Vehicle List if you remove the shared link with only 2 vehicles
2007-03-19 15:59:23 +00:00
truelight
9435d8cc83
(svn r9337) -Fix [FS#542]: assert() when you removed the orders of a shared list while having the shared order vehicle list open.
2007-03-19 15:36:18 +00:00
truelight
abf601a1ef
(svn r9270) -Backport r9269: add .hpp files to Doxygen output
2007-03-17 21:46:24 +00:00
truelight
41caaf4d14
(svn r9205) -Fix: if you started openttd with '-g' you got the same map every run
2007-03-15 14:34:10 +00:00
truelight
eff72d1962
(svn r9198) [Config] -Add: added 'make run-gdb' which starts gdb + OpenTTD + OPENTTD_ARGS for you
2007-03-15 13:17:54 +00:00
truelight
e3f73943f6
(svn r9137) -Fix: if all news-setting buttons show 'full', make the ALL-button show 'full' too
2007-03-13 12:05:41 +00:00
truelight
146e5e12ec
(svn r9097) -Fix [FS#525]: open and close messages now have their own setting, so you can hide economy changes, but do show open/close of industries
...
-Change: store news_display_opt in his own section, so it is no longer stored as uint in openttd.cfg (allows adding news-types easier)
2007-03-10 12:10:00 +00:00
truelight
daeac3d310
(svn r9071) -Fix [FS#459]: when in networking an other player takes over an AI which is also controlled by a player, move the player with the company to the company who bought out the AI
2007-03-08 21:05:05 +00:00
truelight
8877d11815
(svn r9070) -Fix [FS#404]: if bribe failed and you didn't pick up cargo yet, you wouldn't ever be able to do so for a given station
2007-03-08 20:50:27 +00:00
truelight
aca3fb2b6e
(svn r9067) -Fix [FS#637]: don't make owner signs transparent, as then you loose the information who it owns
2007-03-08 15:50:07 +00:00
truelight
7b153e6356
(svn r9066) -Fix [FS#638]: store the owner of a statue, so when it gets removed, the town is notified of it
2007-03-08 14:34:32 +00:00
truelight
70623e3488
(svn r9064) -Fix [FS#663]: don't keep on scrolling for non-numeric values in settings, but require reclick
2007-03-08 12:57:08 +00:00
truelight
194f51eea4
(svn r9063) -Add: allow OPENTTD_ARGS as env-option for 'make run'. 'OPENTTD_ARGS="-snull" make run' now runs ./openttd -snull in correct dir.
2007-03-08 12:40:45 +00:00
truelight
a69e3b1c45
(svn r9049) -Fix [Config]: when running 'bash configure', make sure automated reconfigures run 'bash configure' too.
2007-03-06 23:42:30 +00:00
truelight
d0dd95d0cb
(svn r9047) -Fix [FS#651]: request static deps from fontconfig in OSX
2007-03-06 22:55:18 +00:00
truelight
94ddae188a
(svn r9046) -Fix r9041: added a comment to make clear why we don't use --prefix here
2007-03-06 22:45:30 +00:00
truelight
350a53760f
(svn r9045) -Fix [Config]: libpng-config --ldflags returns --libs and -L_opts too, no need to call it an extra time (double -lpng12 in LDFLAGS)
2007-03-06 22:41:50 +00:00
truelight
bfcc794f70
(svn r9044) -Fix [Config]: add fontconfig before freetype, as in static order is important
2007-03-06 22:40:45 +00:00
truelight
524b60226d
(svn r9041) -Fix [FS#650]: pkg-config doesn't know --prefix, but wants --variable=prefix (nicely spotted and fixed by stepancheg)
2007-03-06 22:15:57 +00:00
truelight
621ea1d863
(svn r9035) -Fix [SunOS]: Solaris sometimes has pid_t defined as long. Fix warnings in those cases
2007-03-06 21:14:48 +00:00
truelight
43133c766c
(svn r9034) -Codechange: renamed _pause to _pause_game, as some targets already have
...
a symbol called _pause (and therefor our variable conflicts with
thatone. We shouldn't be using _ as global indicator.....)
2007-03-06 20:59:52 +00:00
truelight
5bb9aed844
(svn r9033) [Config] -Fix: GNU strip has -s, but Solaris strip doesn't. Detect this when system is SUNOS.
2007-03-06 20:37:46 +00:00
truelight
429c41ea51
(svn r9030) [Config] -Add: added --enable-unicode, which enables unicode (mostly for windows). Enabled by default on WIN32 (makes win9x fail, so use --disable-unicode if you produce binaries for win9x)
2007-03-06 19:14:15 +00:00
truelight
657be6d2d0
(svn r9019) -Fix: use <> for system-headers
2007-03-05 18:00:18 +00:00
truelight
65b0e2b521
(svn r9017) [Config] -Fix: if 'solaris' is in gcc dumpmachine, we have SunOS
2007-03-05 15:24:17 +00:00
truelight
9181572f0f
(svn r8970) -Fix (win32): suppress the warnings coming from the DirectX includes for GCC 4.0+. Also clearify commit r8968 in-code
2007-03-02 01:18:12 +00:00
truelight
89d8f5f7b5
(svn r8968) -Fix (win32): silent g++ 4.0+ warnings about breaking strict-aliasing
2007-03-02 00:45:08 +00:00
truelight
322953ad2e
(svn r8967) -Fix (OSX): silent the warnings in cocoa_v.mm about deprecated stuff.. we know that\!
2007-03-02 00:36:16 +00:00
truelight
f79618118f
(svn r8819) [Config] -Documentation: added why we need CC_HOST for linking on PSP
2007-02-19 21:18:39 +00:00
truelight
3b9a8d6201
(svn r8816) [Config] -Fix: if you disable stripping, don't detect strip at all
2007-02-19 20:10:46 +00:00
truelight
b528cede6d
(svn r8814) [Config] -Add: added --awk and detect_awk. We now try to find an awk on the user system which allows gsub(). If not found, you can define one yourself, or it tells you versions you might want to install
2007-02-19 19:59:19 +00:00
truelight
67c3b649d8
(svn r8813) -Fix r8812: fixed one GNU depending grep statement with an other ;) Switched to egrep, which should work just fine.
2007-02-19 18:58:28 +00:00
truelight
25b7ff3d3b
(svn r8812) -Revert r7880: those changes assumed a GNU-grep, which isn't always available. Reverted back to a bit more ugly way of writing greps, but at least they are not bound to the laws of GNU.
2007-02-19 18:47:55 +00:00
truelight
246ea5b195
(svn r8811) [Configure] -Fix: [:lower:] for tr is GNU specific. Use [a-z] instead. (Celestar)
2007-02-19 16:24:10 +00:00
truelight
f5cffcc1fc
(svn r8810) [Configure] -Fix: "" variables if you test them, else if they are empty they return lovely errors (tnx to Celester for finding thisone ;))
2007-02-19 16:10:18 +00:00
truelight
d71a8f6ac4
(svn r8776) [MorhpOS] -Fix: LDFLAGS needs -noixemul too
2007-02-17 13:29:11 +00:00
truelight
e5a8ad070e
(svn r8772) -Fix: forgot to update 'generate' file while updating 'configure' in the last 3 changes in 'configure'
2007-02-17 12:50:19 +00:00
truelight
5adb5315bb
(svn r8758) -Fix r8757: wrong variable to check libtimidity on if it is found or not
2007-02-16 10:08:38 +00:00
truelight
ee9f17844d
(svn r8757) -Add: added libtimidity music driver (it is a nice small library simular to timidity via extmidi)
...
[PSP] -Add: added PSP specific code for libtimidity. libtimidity code is based on the work of Turulo. Tnx a bunch!
2007-02-16 09:50:28 +00:00
truelight
d431df8277
(svn r8756) [PSP] -Fix: made the dedicated code compile with PSP. It is almost UNIX, just it needs more includes ;)
...
(or more, it compiles, if it works is a whole other story ;))
2007-02-16 09:39:32 +00:00
truelight
c50396cb15
(svn r8745) [PSP] -Add: added a CSleep() for PSP
2007-02-15 16:15:00 +00:00
truelight
ff8a82f749
(svn r8680) [Configure] -Codechange: allow a bit more flexible code in check_compiler
2007-02-11 17:39:28 +00:00
truelight
6afa186e7c
(svn r8679) [Configure] -Fix: 'checking for' and 'checking' was used mixed, now only 'checking' is used
...
-Fix: 'checking host g++/gcc' is silly, changed it to 'checking host c++/cc'
2007-02-11 17:36:46 +00:00
truelight
53785810c8
(svn r8678) [PSP] -Add: added LIBS and CFLAGS needed to compile PSP
...
-Fix: PSP needs to link with gcc, not with g++ (don't ask)
-Fix: PSP doens't support threads
2007-02-11 16:28:00 +00:00
truelight
098a63fc53
(svn r8675) [PSP] -Fix: don't autosave in networking for PSP, to time expensive
2007-02-11 14:04:40 +00:00
truelight
0d91ed68a9
(svn r8674) [PSP] -Add: added network code for PSP, based on the work of Turulo
...
-Add: added general header-inclusing for PSP
2007-02-11 13:57:35 +00:00
truelight
7cd68b5a07
(svn r8647) -Codechange: add a general way to handle platforms who can only have a limited amount of file-descripters open at any given time.
...
The Fios keeps track how many times a file is opened, and tries to close up files which aren't used often.
The first platform using this is PSP. Patch based on the work of Turulo.
2007-02-08 23:46:25 +00:00
truelight
26f5a156dc
(svn r8633) [PSP] -Fix r8629: mixed psp-config and pspconfig, making ./configure --reconfig to fail
2007-02-08 12:54:23 +00:00
truelight
7c1a538910
(svn r8632) [PSP] -Add: added include and lib to CFLAGS / LDFLAGS based on the SDK dir from psp-config
...
-Fix: disabled pthread for PSP
2007-02-08 12:52:25 +00:00
truelight
c46a1cc2f6
(svn r8631) -Add: added parameter -l ip[:port] to ./openttd, which redirects DEBUG() to a remote connection over TCP
...
For example, launch on 192.168.0.1 with, say, netcat a listener: netcat -l -p 3982
Launch OpenTTD on a remote host (say, PSP): ./openttd -l 192.168.0.1 -d9
And you get all debug information on 192.168.0.1. Very useful for debugging Portable systems.
2007-02-08 12:27:53 +00:00
truelight
2a7682be79
(svn r8629) [PSP] -Add: added psp-config detection in configure for PSP target
2007-02-08 11:21:10 +00:00
truelight
062ee7d9eb
(svn r8628) [PSP] -Add: added configure support for the PlayStation Portable target
...
In the coming days/weeks there will be an attempt to port OpenTTD for
this target. This is a very small step towards that.
2007-02-08 11:04:39 +00:00
truelight
40f966958e
(svn r8412) [MorphOS] -Fix: assert_compile(x != y) doesn't work, but assert_compile(!(x == y)) does.. don't ask me why!
2007-01-26 08:36:02 +00:00
truelight
cf07eafb97
(svn r8411) [MorphOS] -Fix: tons of unneeded warnings in networking code, because MorphOS wants UBYTE arrays and we use char arrays. Solution is a bit hackish.
2007-01-26 08:27:59 +00:00
truelight
dfd951c34c
(svn r8326) -Fix r8304: forgot to update projects/generate to keep in mind the new WINCE tag in sources.list
...
-Fix: MSVC doesn't order files itself, so put win32.cpp in the right place ourself
-Update: update the MSVC projects files for r8324 (MiHaMiX)
2007-01-21 19:40:38 +00:00
truelight
d82304ccab
(svn r8315) -Fix: use ShowInfo over fprintf(stderr, as Windows doesn't always have a stderr visible/available
2007-01-21 17:09:32 +00:00
truelight
9e9d5905f3
(svn r8313) [WinCE] -Fix: -lws2 wasn't included in libraries, so network couldn't be linked
2007-01-21 15:18:36 +00:00
truelight
58b547b4e1
(svn r8311) [WinCE] -Fix r8304: GDI wasn't enabled by default on WinCE
2007-01-21 14:44:25 +00:00
truelight
203ccad578
(svn r8310) -Fix r8309: it is wise to put #endifs in the right place ;)
2007-01-21 14:36:08 +00:00
truelight
6a145e06c3
(svn r8309) [WinCE] -Fix: WinCE doesn't know resolution changing
...
-Fix: WinCE doesn't know GetKeyboardState
-Fix: made a replacement of GetCurrentDirectory, where CurDir is assumed to be the dir the executable is located (esoftinteractive.com)
-Fix: the GCC compiler is more happy if the WinMain is called that
-Fix: a really old typo (missing ')') ;)
-Fix: GdiFlush() isn't supported on WinCE
2007-01-21 14:32:40 +00:00
truelight
79dfc62261
(svn r8308) [WinCE] -Revert r5764: in case of WinCE, use the code for FileExists as it was in pre-r5764 for Win32 (tnx Darkvater)
2007-01-21 14:21:31 +00:00
truelight
bd52404b8e
(svn r8307) [WinCE] -Fix: for now disable sound and music. That will be done later.
2007-01-21 14:19:44 +00:00
truelight
4dae672e92
(svn r8306) [WinCE] -Fix: some functions don't exists in WinCE, so give an alternative where possible
2007-01-21 14:19:18 +00:00
truelight
bb8f3a1dff
(svn r8305) -Codechange: defining 'static const' in a header is a bit weird.
...
Above that, wince-gcc gave "unused variable" on every file which included airport.h... pretty annoying ;)
2007-01-21 14:15:38 +00:00
truelight
805246015f
(svn r8304) [WinCE] -Add: added configure detection for WinCE.
...
Compiling doesn't work, neither does running, but it is a first step in developing an official WinCE port
2007-01-21 14:14:27 +00:00
truelight
bab05c52f8
(svn r8040) [Configure] -Fix: for some reason, OS2 compiled unix.cpp, not os2.cpp
2007-01-10 19:13:33 +00:00
truelight
025d8dd224
(svn r7961) [Configure] -Fix: "" in config params didn't survive --reconfig. They should now.
2007-01-07 13:13:01 +00:00
truelight
c6da059f7b
(svn r7959) [Configure] -Fix: OS2-gcc needs to get stripping via gcc, because it needs to be feed to emxbind at link-time.
...
emxbind changes 'emx a.out' format to 'LX for OS/2 (MS-DOS)'. After this, all gcc and binutils tools for emx can no longer read the binary.
Therefor emxbind needs to do the stripping while converting it. Logic, aint it? :)
2007-01-07 13:00:56 +00:00
truelight
27ccf59460
(svn r7882) -Fix: OS2 is defined as UNIX too, but not for networking
2007-01-05 18:03:30 +00:00
truelight
63b3620b9b
(svn r7881) [Configure] -Fix: OS2 GCC indentifies itself with os2, not os/2
2007-01-05 17:49:46 +00:00
truelight
b559f1a376
(svn r7780) [Configure] -Fix: strip before copy, not copy before strip
2007-01-02 23:19:52 +00:00
truelight
9dfec8b72b
(svn r7778) -Fix (r7777): intel -> Intel
2007-01-02 22:52:46 +00:00
truelight
83c136ed51
(svn r7777) [Configure] -Fix: call intel builds on OSX universal compiles intel, not i386 (that is just silly)
2007-01-02 22:45:20 +00:00
truelight
c843412313
(svn r7776) [Configure] -Fix: no need to show LIPO actions, use $(Q)
2007-01-02 22:29:26 +00:00
truelight
35d6566d3c
(svn r7770) [Configure] -Fix: the "" and \ via ./configure wasn't passed on correctly (and therefor it was lost)
2007-01-02 21:31:39 +00:00
truelight
c906cf8e22
(svn r7764) [Configure] -Fix: a forced direct-music is as valid as an autodetected
2007-01-02 20:28:54 +00:00
truelight
3792865a48
(svn r7763) [Configure] -Fix: all -z tests were protected with "", but of course we forgot one...... :(
2007-01-02 20:26:48 +00:00
truelight
7437ae1a08
(svn r7762) [Configure] -Fix: .rc files were not ignored in old DEP system
2007-01-02 20:19:25 +00:00
truelight
ad53fe0d75
(svn r7761) [Configure] -Fix: a != should be a =, gave funny warnings with dedicated and network enabled
2007-01-02 20:06:44 +00:00
truelight
0574bcb46d
(svn r6285) -Fix r6143: of course deleting a waypoint should call the Delete wrapper, not the Destroy function (/me slaps hisself)
2006-08-31 19:29:24 +00:00
truelight
8056a793c0
(svn r6178) -Fix r5886: only setting ->money64 isn't enough, as some routines still use ->player_money.
...
Because of this, when a player went bankrupt, still not all stuff was removed.
2006-08-27 21:20:29 +00:00
truelight
70d9e2486d
(svn r6176) -Fix r6052: I assumed an typedefd enum would be an uint8, which is a really stupid thing to assume.
...
This caused nasty endian bugs. Thank you SO MUCH Osai for all your time in debugging this!! And tnx Rubidium for spotting :)
2006-08-27 15:26:58 +00:00
truelight
96e9fd333b
(svn r6157) -Codechange: DeleteVehicle removes a vehicle from the pool
...
-Codechange: DestroyVehicle is called by DeleteVehicle to remove all things where a vehicle depends on.
Last 2 changes to prepare for new pool system. Not pretty now, will be soon.
2006-08-26 20:09:25 +00:00
truelight
b7fcce091e
(svn r6156) -Codechange: DeleteIndustry removes an industry from the pool
...
-Codechange: DestroyIndustry is called by DeleteIndustry to remove all things where a industry depends on.
Last 2 changes to prepare for new pool system. Not pretty now, will be soon.
2006-08-26 19:51:49 +00:00
truelight
b3cf0189a3
(svn r6155) -Codechange: split Destroy routine from SpriteGroupPoolCleanBlock
...
Last change is to prepare for new pool system.
2006-08-26 19:47:13 +00:00
truelight
5d991a87d4
(svn r6154) -Cleanup: ordered the IDs that have to do with pools from the others
2006-08-26 19:40:40 +00:00
truelight
f25e5e90d2
(svn r6153) -Codechange: DeleteSign removes a sign from the pool
...
-Codechange: DestroySign is called by DeleteSign to remove all things where a sign depends on.
Last 2 changes to prepare for new pool system. Not pretty now, will be soon.
2006-08-26 19:29:35 +00:00
truelight
7e6f1f16c0
(svn r6152) -Codechange: renamed GetNumRoadStops to GetNumRoadStopsInStation as it reflects its function more
2006-08-26 19:18:50 +00:00
truelight
d417827516
(svn r6151) -Codechange: DeleteStation/DeleteRoadStop removes a station/RoadStop from the pool
...
-Codechange: DestroyStation/DestroyRoadStop is called by DeleteStation/DeleteRoadStop to remove all things where a station/RoadStop depends on.
Last 2 changes to prepare for new pool system. Not pretty now, will be soon.
2006-08-26 19:14:02 +00:00
truelight
587b2a8826
(svn r6150) -Codechange: introduced and used RoadStopID where needed
2006-08-26 18:27:15 +00:00
truelight
bb9f29ae1f
(svn r6149) -Codechange: DeleteTown removes a town from the pool
...
-Codechange: DestroyTown is called by DeleteTown to remove all things where a town depends on.
Last 2 changes to prepare for new pool system. Not pretty now, will be soon.
2006-08-26 18:05:05 +00:00
truelight
b7ecdc85d8
(svn r6148) -Fix r6146: mostly it is useful to declare a variable in the function you use it (tnx Tron)
2006-08-26 17:34:48 +00:00
truelight
3b82b67391
(svn r6147) -Fix: I don't know how to write Destination :(
2006-08-26 17:31:57 +00:00
truelight
6846e38095
(svn r6146) -Fix: MSVC doesn't know how to cast to an union.. so fix it via an indirect (and btw the old) way
2006-08-26 17:31:47 +00:00
truelight
c6f4f95438
(svn r6145) -Codechange: added OrderID to indicate Order indexes out of the pool
2006-08-26 17:16:51 +00:00