01f06784e7
(svn r2381) - Fix: [ 1210610 ] Endgame window on easy difficulty results in infinite loop. Oops. Seperated the window classes of endgame and highscreen.
Darkvater
2005-05-30 13:06:15 +00:00
708a3046ac
(svn r2381) - Fix: [ 1210610 ] Endgame window on easy difficulty results in infinite loop. Oops. Seperated the window classes of endgame and highscreen.
Darkvater
2005-05-30 13:06:15 +00:00
e06c121d78
(svn r2380) - Fix: Build year for mail compartment of planes was not set correctly, affected station ratings (Asterix_)
orudge
2005-05-30 10:18:18 +00:00
f18a87a5a5
(svn r2380) - Fix: Build year for mail compartment of planes was not set correctly, affected station ratings (Asterix_)
orudge
2005-05-30 10:18:18 +00:00
98b3840a3e
(svn r2379) - Fix: [newgrf] Note to self, check thoroughly before committing!
orudge
2005-05-29 20:42:01 +00:00
9ca73ebf5b
(svn r2379) - Fix: [newgrf] Note to self, check thoroughly before committing!
orudge
2005-05-29 20:42:01 +00:00
8ef11fc41f
(svn r2378) - Fix: [newgrf] Further property stubs, help prevents subsequent incorrect reading of newgrf data
orudge
2005-05-29 20:36:11 +00:00
49084f9dd2
(svn r2378) - Fix: [newgrf] Further property stubs, help prevents subsequent incorrect reading of newgrf data
orudge
2005-05-29 20:36:11 +00:00
c757606502
(svn r2375) - CodeChange: add the newly added 'all' of server_ip to it's helptext.
Darkvater
2005-05-28 19:05:24 +00:00
aa3fbc8763
(svn r2375) - CodeChange: add the newly added 'all' of server_ip to it's helptext.
Darkvater
2005-05-28 19:05:24 +00:00
acef413f00
(svn r2374) - CodeChange: giving server_ip a value of 'all' will make the server listen on any interface (0.0.0.0); also fix a typo in one of the script example files: s/ports/interfaces
Darkvater
2005-05-28 18:47:05 +00:00
249a0b6fda
(svn r2374) - CodeChange: giving server_ip a value of 'all' will make the server listen on any interface (0.0.0.0); also fix a typo in one of the script example files: s/ports/interfaces
Darkvater
2005-05-28 18:47:05 +00:00
df4c22e358
(svn r2373) - CodeChange: don't redraw the window upon a user-based dirty request if the requested widget is invisible or otherwise not visible (type WWT_EMPTY)
Darkvater
2005-05-28 17:01:26 +00:00
c9b23c0571
(svn r2373) - CodeChange: don't redraw the window upon a user-based dirty request if the requested widget is invisible or otherwise not visible (type WWT_EMPTY)
Darkvater
2005-05-28 17:01:26 +00:00
426aa514ff
(svn r2372) - Fix (console): update the example scripts in the scripts/ directory to reflect the new console functionality - Fix (console): any line starting with a '#' is a comment so ignore it - Fix (console): The special variables whose value can only be set by a custom process should, also print out their newly set value there, instead of relying on the default printout which is slightly confusing. Eg after you change the value it still printed out 'current value for...' instead of 'XXX changed to...'
Darkvater
2005-05-28 16:59:51 +00:00
ad30c7a2c1
(svn r2372) - Fix (console): update the example scripts in the scripts/ directory to reflect the new console functionality - Fix (console): any line starting with a '#' is a comment so ignore it - Fix (console): The special variables whose value can only be set by a custom process should, also print out their newly set value there, instead of relying on the default printout which is slightly confusing. Eg after you change the value it still printed out 'current value for...' instead of 'XXX changed to...'
Darkvater
2005-05-28 16:59:51 +00:00
8ef3f896f5
(svn r2371) - Fix: [ 1144510 ] make install tries to install scenarios in the (non-existing) personal dir when USE_HOMEDIR is specified. This fix solves the issue for now by installing scenarios in the system-wide data dir. - Add: 32x32 xpm format icon, used for debian packaging. - Some minor updates to the os/debian directory.
matthijs
2005-05-28 10:32:09 +00:00
457434ea59
(svn r2371) - Fix: [ 1144510 ] make install tries to install scenarios in the (non-existing) personal dir when USE_HOMEDIR is specified. This fix solves the issue for now by installing scenarios in the system-wide data dir. - Add: 32x32 xpm format icon, used for debian packaging. - Some minor updates to the os/debian directory.
matthijs
2005-05-28 10:32:09 +00:00
f9989998a7
(svn r2370) Replace some magic numbers with symbolic names
tron
2005-05-28 09:29:36 +00:00
ed2ab1f5d9
(svn r2370) Replace some magic numbers with symbolic names
tron
2005-05-28 09:29:36 +00:00
2aaff36eef
(svn r2369) Remove _thd_ptr: It always holds the address of _thd
tron
2005-05-27 15:05:54 +00:00
ebdf046091
(svn r2369) Remove _thd_ptr: It always holds the address of _thd
tron
2005-05-27 15:05:54 +00:00
72f673f36d
(svn r2368) - Fix: Add 'multihead' TTDPatch option to OpenTTD newgrf flags-emulation (DBSETXLW doesn't complain about it anymore)
Darkvater
2005-05-27 13:41:03 +00:00
aa2f0c1429
(svn r2368) - Fix: Add 'multihead' TTDPatch option to OpenTTD newgrf flags-emulation (DBSETXLW doesn't complain about it anymore)
Darkvater
2005-05-27 13:41:03 +00:00
4cd4a2be79
(svn r2367) Remove some unused functions, probably was some debug stuff
tron
2005-05-26 19:43:56 +00:00
a0372e1888
(svn r2367) Remove some unused functions, probably was some debug stuff
tron
2005-05-26 19:43:56 +00:00
6566941077
(svn r2366) Use SetRedErrorSquare() instead of home brewed version
tron
2005-05-26 19:41:58 +00:00
ceb7f17808
(svn r2366) Use SetRedErrorSquare() instead of home brewed version
tron
2005-05-26 19:41:58 +00:00
d90948abb7
(svn r2365) - Change: [refitting] Make refitting capacities for trains newgrf compatible. Train vehicles can now carry twice as much mail/goods as other cargo, and four times as much passengers. - Fix: [refitting] The refit window now shows the correct refit options for the entire consist. Only if at least one of the vehicles in the train can be refitted to a certain cargo, it is shown in the list. - Fix: [refitting] When refitting to a cargo which is already carried by some vehicles in the consist, the capacities of those vehicles are taken into account when calculating the new capacity of the train in the refit window.
hackykid
2005-05-26 16:31:32 +00:00
e383ee6bba
(svn r2365) - Change: [refitting] Make refitting capacities for trains newgrf compatible. Train vehicles can now carry twice as much mail/goods as other cargo, and four times as much passengers. - Fix: [refitting] The refit window now shows the correct refit options for the entire consist. Only if at least one of the vehicles in the train can be refitted to a certain cargo, it is shown in the list. - Fix: [refitting] When refitting to a cargo which is already carried by some vehicles in the consist, the capacities of those vehicles are taken into account when calculating the new capacity of the train in the refit window.
hackykid
2005-05-26 16:31:32 +00:00
1498d42ef6
(svn r2364) - Fix (regression): [ 1206850 ] Cannot change difficulty in main menu, always the value it was before you changed it. A too rigid check forgot to check the parameter value -1 which set the difficulty level itself.
Darkvater
2005-05-24 16:13:37 +00:00
73ba260e75
(svn r2364) - Fix (regression): [ 1206850 ] Cannot change difficulty in main menu, always the value it was before you changed it. A too rigid check forgot to check the parameter value -1 which set the difficulty level itself.
Darkvater
2005-05-24 16:13:37 +00:00
a2f691b24a
(svn r2363) - Codechange: [NPF] Removed caching the endnode check. The code for this was buggy, fundamentally flawed and barely useful. (Hackykid)
matthijs
2005-05-23 19:00:16 +00:00
ea0f4757c6
(svn r2363) - Codechange: [NPF] Removed caching the endnode check. The code for this was buggy, fundamentally flawed and barely useful. (Hackykid)
matthijs
2005-05-23 19:00:16 +00:00
726f86e020
(svn r2361) - Feature: [newgrf] Implement varaction2 property 0x41 and 0xDA. These are the position in and length of chain of consecutive vehicles with the same type, and index of the next wagon in the chain (INVALID_VEHICLE if last), resp. Improves displaying of some engines in the dbsetxl.
hackykid
2005-05-22 14:10:20 +00:00
6065b27f40
(svn r2361) - Feature: [newgrf] Implement varaction2 property 0x41 and 0xDA. These are the position in and length of chain of consecutive vehicles with the same type, and index of the next wagon in the chain (INVALID_VEHICLE if last), resp. Improves displaying of some engines in the dbsetxl.
hackykid
2005-05-22 14:10:20 +00:00
ec4f1d12f4
(svn r2360) Use GB and SB in [GS]etMapExtraBits
tron
2005-05-22 08:09:40 +00:00
7d32f912a9
(svn r2360) Use GB and SB in [GS]etMapExtraBits
tron
2005-05-22 08:09:40 +00:00
aa1c202577
(svn r2359) Use strecpy instead of str_cat (which was rather a cpy than a cat, btw), remove the latter and simplify some constructs
tron
2005-05-22 07:43:18 +00:00
2b16445f26
(svn r2359) Use strecpy instead of str_cat (which was rather a cpy than a cat, btw), remove the latter and simplify some constructs
tron
2005-05-22 07:43:18 +00:00
870127fd30
(svn r2358) Add macros for getting (GB) and setting (SB) a range of bits Use them exemplarily to prettify (Get|Set)Tile(Type|Height)
tron
2005-05-22 07:12:09 +00:00
22f211a47a
(svn r2358) Add macros for getting (GB) and setting (SB) a range of bits Use them exemplarily to prettify (Get|Set)Tile(Type|Height)
tron
2005-05-22 07:12:09 +00:00
27dee01623
(svn r2357) Small OS/2 update
orudge
2005-05-21 21:30:13 +00:00
b0d2af22e4
(svn r2357) Small OS/2 update
orudge
2005-05-21 21:30:13 +00:00
bff8dfea1c
(svn r2356) Make check if statvfs() is availible a bit more sensible
tron
2005-05-21 19:42:34 +00:00
88837fa0b1
(svn r2356) Make check if statvfs() is availible a bit more sensible
tron
2005-05-21 19:42:34 +00:00
1b2b0d5b79
(svn r2349) - Fix: remove warning from release build when assertions are no longer active
Darkvater
2005-05-18 12:53:37 +00:00
8f88693a0d
(svn r2349) - Fix: remove warning from release build when assertions are no longer active
Darkvater
2005-05-18 12:53:37 +00:00
cdb81c660c
(svn r2348) - Fix: Do not scroll the game with the arrow keys when the chatbox is open
Darkvater
2005-05-17 23:25:18 +00:00
b51c190546
(svn r2348) - Fix: Do not scroll the game with the arrow keys when the chatbox is open
Darkvater
2005-05-17 23:25:18 +00:00
9fb4b2ef55
(svn r2347) - Fix (regression): depot window did not get redrawn when a non-train-engine was sold.
Darkvater
2005-05-17 23:08:21 +00:00
73ea0646ae
(svn r2347) - Fix (regression): depot window did not get redrawn when a non-train-engine was sold.
Darkvater
2005-05-17 23:08:21 +00:00
70e2e79c45
(svn r2346) - Fix: Have the windows installer also delete any spritecache.xx files on uninstall
Darkvater
2005-05-17 20:59:29 +00:00
299d470f10
(svn r2346) - Fix: Have the windows installer also delete any spritecache.xx files on uninstall
Darkvater
2005-05-17 20:59:29 +00:00
cb5107f97f
(svn r2345) - Fix: Don't allow stuff to be renamed to nothing if we don't support it. Only valid ones are signs (delete) and waypoints (rename to default).
Darkvater
2005-05-17 20:58:58 +00:00
abc5fd1272
(svn r2345) - Fix: Don't allow stuff to be renamed to nothing if we don't support it. Only valid ones are signs (delete) and waypoints (rename to default).
Darkvater
2005-05-17 20:58:58 +00:00
d3ce687daf
(svn r2344) - Fix (regression): [ 1197216 ] Error: !invalid string id 0 in GetString. Dedicated server also had the endgame window shown and because now it is properly no-player anymore it crashed.
Darkvater
2005-05-17 20:54:05 +00:00
6dba03a819
(svn r2344) - Fix (regression): [ 1197216 ] Error: !invalid string id 0 in GetString. Dedicated server also had the endgame window shown and because now it is properly no-player anymore it crashed.
Darkvater
2005-05-17 20:54:05 +00:00
1c22cea02d
(svn r2343) - Fix (regression): dedicated server caused desyncs with its commands, because the player sent over the network is OWNER_SPECTATOR as well, which on clients cannot execute anything. So *hack*hack* it into temporarily player 0.
Darkvater
2005-05-17 20:52:52 +00:00
0f7b2b673d
(svn r2343) - Fix (regression): dedicated server caused desyncs with its commands, because the player sent over the network is OWNER_SPECTATOR as well, which on clients cannot execute anything. So *hack*hack* it into temporarily player 0.
Darkvater
2005-05-17 20:52:52 +00:00
21d9e2c934
(svn r2342) - Fix (Regression): _cmd_text is always valid, so test the first character for '\0'. Also for some reason I forgot to validate the p1 param so that might lead to crashes with invalid signes. Fixed as well.
Darkvater
2005-05-17 19:36:36 +00:00
6dbc015291
(svn r2342) - Fix (Regression): _cmd_text is always valid, so test the first character for '\0'. Also for some reason I forgot to validate the p1 param so that might lead to crashes with invalid signes. Fixed as well.
Darkvater
2005-05-17 19:36:36 +00:00
a5612ab10a
(svn r2340) - Fix (Regression): [ 1203731 ] Signs don't work in multiplayer, unwanted remains of the _decode_parameters to _cmd_text move.
Darkvater
2005-05-17 18:50:07 +00:00
80ccb0dc88
(svn r2340) - Fix (Regression): [ 1203731 ] Signs don't work in multiplayer, unwanted remains of the _decode_parameters to _cmd_text move.
Darkvater
2005-05-17 18:50:07 +00:00
54b7fb0203
(svn r2339) - Fix: on a dedicated server, after the joining of a player, the player was set to player 0 instead of remaining OWNER_SPECTATOR. Fix this, and allow the dedicated server to execute commands (so 'patch <value>') now works and not only when a client is connected.
Darkvater
2005-05-17 18:22:59 +00:00
59c9fee33f
(svn r2339) - Fix: on a dedicated server, after the joining of a player, the player was set to player 0 instead of remaining OWNER_SPECTATOR. Fix this, and allow the dedicated server to execute commands (so 'patch <value>') now works and not only when a client is connected.
Darkvater
2005-05-17 18:22:59 +00:00
166c1badc9
(svn r2338) - CodeChange: only call the variable hooks when you set their value not when you query them - Fix: typo in pool.c "Cleaing up" --> "Cleaning up"
Darkvater
2005-05-17 16:07:48 +00:00
5fc05c681a
(svn r2338) - CodeChange: only call the variable hooks when you set their value not when you query them - Fix: typo in pool.c "Cleaing up" --> "Cleaning up"
Darkvater
2005-05-17 16:07:48 +00:00
143dd26ef5
(svn r2337) -Fix: NetworkUDPRemoveAdvertise wasn't fully correct (which made Darkvater go crazy ;))
truelight
2005-05-17 16:01:19 +00:00
3965366b97
(svn r2337) -Fix: NetworkUDPRemoveAdvertise wasn't fully correct (which made Darkvater go crazy ;))
truelight
2005-05-17 16:01:19 +00:00
391c34c12b
(svn r2336) - GFX: make the openttd icon look good on Win2k and lower as well. The TrueColor/256 icons had an ugly black shadow
Darkvater
2005-05-17 11:22:43 +00:00
60d7eff606
(svn r2336) - GFX: make the openttd icon look good on Win2k and lower as well. The TrueColor/256 icons had an ugly black shadow
Darkvater
2005-05-17 11:22:43 +00:00
7daaf1f100
(svn r2334) - Fix (regression): moved togglefullscreen into the video-driver, now windows works, dedicated works and sdl works. Also reverted the change to the makefile.
Darkvater
2005-05-16 16:19:32 +00:00
6b794ede3b
(svn r2334) - Fix (regression): moved togglefullscreen into the video-driver, now windows works, dedicated works and sdl works. Also reverted the change to the makefile.
Darkvater
2005-05-16 16:19:32 +00:00
effbba74f5
(svn r2333) - CodeChange: also don't execute command if user has typed all spaces (eg nothing worthwhile). Suggested and implemented by Tron.
Darkvater
2005-05-16 15:05:49 +00:00
3d84bdc0ae
(svn r2333) - CodeChange: also don't execute command if user has typed all spaces (eg nothing worthwhile). Suggested and implemented by Tron.
Darkvater
2005-05-16 15:05:49 +00:00
653000bdd6
(svn r2332) - Feature: Add 'clear' command and CTRL+L to empty the console window - Fix: do not execute emtpy commands anymore
Darkvater
2005-05-16 13:46:26 +00:00
ee89f5ab77
(svn r2332) - Feature: Add 'clear' command and CTRL+L to empty the console window - Fix: do not execute emtpy commands anymore
Darkvater
2005-05-16 13:46:26 +00:00
4554daa130
(svn r2331) - Fix (regression): fix text overflows in about box.
Darkvater
2005-05-16 12:15:53 +00:00
2dc7d2b14e
(svn r2331) - Fix (regression): fix text overflows in about box.
Darkvater
2005-05-16 12:15:53 +00:00