e5036891f6
(svn r2022) Revise CmdRemoveSingleSignal: Check parameters for validity and simplify the function
tron
2005-03-18 07:37:32 +00:00
b5c9012315
(svn r2022) Revise CmdRemoveSingleSignal: Check parameters for validity and simplify the function
tron
2005-03-18 07:37:32 +00:00
ad579912f4
(svn r2021) Fix: Enlarge _cur_town_ctr from byte to uint32 so that all the towns are considered when growing them even for big maps, where much more than 256 towns are around; reported by Tomasz Dubiński <uboottd@hydra.polsl.gliwice.pl>. The savegame still saves just the lowest 8 bits but that doesn't hurt so much.
pasky
2005-03-17 23:12:23 +00:00
49f769948b
(svn r2021) Fix: Enlarge _cur_town_ctr from byte to uint32 so that all the towns are considered when growing them even for big maps, where much more than 256 towns are around; reported by Tomasz Dubiński <uboottd@hydra.polsl.gliwice.pl>. The savegame still saves just the lowest 8 bits but that doesn't hurt so much.
pasky
2005-03-17 23:12:23 +00:00
cb084f59c2
(svn r2020) Reduce code duplication in the minimap code a bit
tron
2005-03-17 16:31:18 +00:00
f82893680b
(svn r2020) Reduce code duplication in the minimap code a bit
tron
2005-03-17 16:31:18 +00:00
f1f70501db
(svn r2019) Miscellaneous cleanups, like uint -> TileIndex, >> -> /, if cascade -> switch
tron
2005-03-17 09:59:52 +00:00
167f30edc7
(svn r2019) Miscellaneous cleanups, like uint -> TileIndex, >> -> /, if cascade -> switch
tron
2005-03-17 09:59:52 +00:00
195e515de1
(svn r2018) Yet another workaround
tron
2005-03-15 21:07:09 +00:00
50535a88bf
(svn r2018) Yet another workaround
tron
2005-03-15 21:07:09 +00:00
dad3d12406
(svn r2017) Explicitly mark SlReadByte as 'inline'
tron
2005-03-15 20:07:46 +00:00
bb88bc5a97
(svn r2017) Explicitly mark SlReadByte as 'inline'
tron
2005-03-15 20:07:46 +00:00
61e0dd439f
(svn r2015) Use a struct and an inline function for colour masking on the mini-map - this should improve readability a bit
tron
2005-03-15 18:31:38 +00:00
46378c1516
(svn r2015) Use a struct and an inline function for colour masking on the mini-map - this should improve readability a bit
tron
2005-03-15 18:31:38 +00:00
f91f8d9559
(svn r2014) Don't manually inline a piece of code
tron
2005-03-15 16:56:05 +00:00
dfee376190
(svn r2014) Don't manually inline a piece of code
tron
2005-03-15 16:56:05 +00:00
cf43c7a0e6
(svn r2013) Always ignore SIGPIPE, not only when SDL is used (ShadowJK)
tron
2005-03-15 14:23:00 +00:00
452c7c2067
(svn r2013) Always ignore SIGPIPE, not only when SDL is used (ShadowJK)
tron
2005-03-15 14:23:00 +00:00
3763ec7652
(svn r2012) When making a savegame name, don't append the extension, if it is already there
tron
2005-03-15 14:06:28 +00:00
0cb2ba49eb
(svn r2012) When making a savegame name, don't append the extension, if it is already there
tron
2005-03-15 14:06:28 +00:00
6cbf73a666
(svn r2009) - VS.NET/VS6 removed all builds except for Release and Debug. Also add additional dependencies to the project file instead of in the header file itself.
darkvater
2005-03-14 19:27:19 +00:00
98bc896474
(svn r2009) - VS.NET/VS6 removed all builds except for Release and Debug. Also add additional dependencies to the project file instead of in the header file itself.
darkvater
2005-03-14 19:27:19 +00:00
038e711af2
(svn r2008) - Fix: Added missing file (mixer.[ch]) to VS.NET and VS6 project files.
darkvater
2005-03-14 18:20:00 +00:00
4a6aef2799
(svn r2008) - Fix: Added missing file (mixer.[ch]) to VS.NET and VS6 project files.
darkvater
2005-03-14 18:20:00 +00:00
c2fea7b3c6
(svn r2007) - Fix: [NPF] Slope penalties did not work correctly with foundations. (HackyKid) - Fix: [NPF] Stations penalties were not applied correctly, since stations had no base cost. (HackyKid) - Fix: [NPF] Lastred penalty was applied multiple times for every red signal, instead of just the last one. (HackyKid)
matthijs
2005-03-14 16:56:05 +00:00
7d0eff175a
(svn r2007) - Fix: [NPF] Slope penalties did not work correctly with foundations. (HackyKid) - Fix: [NPF] Stations penalties were not applied correctly, since stations had no base cost. (HackyKid) - Fix: [NPF] Lastred penalty was applied multiple times for every red signal, instead of just the last one. (HackyKid)
matthijs
2005-03-14 16:56:05 +00:00
d631b1fa8c
(svn r2006) - Fix: [NPF] Wrong signal detection for last signal red detection. Multiple tracks per tile with only one signal were detected wrong. (HackyKid)
matthijs
2005-03-13 17:51:29 +00:00
6367bda0bf
(svn r2006) - Fix: [NPF] Wrong signal detection for last signal red detection. Multiple tracks per tile with only one signal were detected wrong. (HackyKid)
matthijs
2005-03-13 17:51:29 +00:00
de47d0935f
(svn r2005) - Fix: fix previous commit. Using 'New Game (scenario)' will use YOUR difficulty settings but ingame options (eg townnames, currency). Also settings are correctly saved when closing the difficulty window now.
Darkvater
2005-03-13 11:47:04 +00:00
106b78927e
(svn r2005) - Fix: fix previous commit. Using 'New Game (scenario)' will use YOUR difficulty settings but ingame options (eg townnames, currency). Also settings are correctly saved when closing the difficulty window now.
Darkvater
2005-03-13 11:47:04 +00:00
010d1a9be3
(svn r2004) - Fix: [ 1149487 ] Autosave ignoring settings - Fix: [ 1153926 ] All my settings in vain... IGNORED! - Change: I hope I got it all right. Pressing 'New Game' (either choosing random or a preset scenario) and 'Create Scenario' will start a new game with the settings and difficulty in the intro menu. Using 'Load Game' and 'Play Scenario' will take the values from the savegame/scenario itself.
Darkvater
2005-03-12 21:21:47 +00:00
ef1325cd36
(svn r2004) - Fix: [ 1149487 ] Autosave ignoring settings - Fix: [ 1153926 ] All my settings in vain... IGNORED! - Change: I hope I got it all right. Pressing 'New Game' (either choosing random or a preset scenario) and 'Create Scenario' will start a new game with the settings and difficulty in the intro menu. Using 'Load Game' and 'Play Scenario' will take the values from the savegame/scenario itself.
Darkvater
2005-03-12 21:21:47 +00:00
c3f9f5efaf
(svn r2003) Remove some now unused filehandling stuff, this should have been part of r1990
tron
2005-03-12 09:48:08 +00:00
9ef5a76b3e
(svn r2003) Remove some now unused filehandling stuff, this should have been part of r1990
tron
2005-03-12 09:48:08 +00:00
1cb9ea5c46
(svn r2002) Rename MxActivate to MxActivateChannel, which is more appropriate
tron
2005-03-12 09:46:07 +00:00
1b9ee9b41e
(svn r2002) Rename MxActivate to MxActivateChannel, which is more appropriate
tron
2005-03-12 09:46:07 +00:00
39305c1a7c
(svn r2001) Resolve a race condition which could lead to dropped a sound and a memory leak
tron
2005-03-12 09:40:29 +00:00
e1f31cd031
(svn r2001) Resolve a race condition which could lead to dropped a sound and a memory leak
tron
2005-03-12 09:40:29 +00:00
f04780e66d
(svn r2000) Split the sound system into backend (mixer.[ch]) and frontend (sound.[ch])
tron
2005-03-12 09:38:03 +00:00
b40a2fcd0d
(svn r2000) Split the sound system into backend (mixer.[ch]) and frontend (sound.[ch])
tron
2005-03-12 09:38:03 +00:00
70be35f319
(svn r1999) r1990 broke savegame deletion, fix that [1161729]
tron
2005-03-12 09:24:27 +00:00
fa9506b191
(svn r1999) r1990 broke savegame deletion, fix that [1161729]
tron
2005-03-12 09:24:27 +00:00
e76912303c
(svn r1998) Give penalty 100 to the AI for using foundations (buildonslopes). This prevents it from building long road lines on foundations unless really necessary.
pasky
2005-03-12 08:52:40 +00:00
9cf1124d86
(svn r1998) Give penalty 100 to the AI for using foundations (buildonslopes). This prevents it from building long road lines on foundations unless really necessary.
pasky
2005-03-12 08:52:40 +00:00
2d9611f948
(svn r1997) Fixed errorneous tab expansion on the indentation side which happenned in r1993. Pointed out by Tron.
pasky
2005-03-12 01:02:17 +00:00
180b1e8f6e
(svn r1997) Fixed errorneous tab expansion on the indentation side which happenned in r1993. Pointed out by Tron.
pasky
2005-03-12 01:02:17 +00:00
e003532701
(svn r1995) Makefile: Use the install tool instead of mkdir+cp for installing the system-wide stuff, more secure. Based on Peter Brett's patch 1152428.
pasky
2005-03-11 22:47:33 +00:00
935da8cabb
(svn r1995) Makefile: Use the install tool instead of mkdir+cp for installing the system-wide stuff, more secure. Based on Peter Brett's patch 1152428.
pasky
2005-03-11 22:47:33 +00:00
89d1c60c3f
(svn r1994) Fix: 1159456 - hopefully prevent the new AI to get stuck in an infinite loop forlorny trying to build its haven. Unintentionally bundled with trivial tidyup.
pasky
2005-03-11 22:27:49 +00:00
0154408b37
(svn r1994) Fix: 1159456 - hopefully prevent the new AI to get stuck in an infinite loop forlorny trying to build its haven. Unintentionally bundled with trivial tidyup.
pasky
2005-03-11 22:27:49 +00:00
83df863b6c
(svn r1992) Show the ./svnup.sh output in $PAGER (less if unset).
pasky
2005-03-11 19:35:50 +00:00
76961e1953
(svn r1992) Show the ./svnup.sh output in $PAGER (less if unset).
pasky
2005-03-11 19:35:50 +00:00
fea811a4b7
(svn r1991) - Fix: Fix some of the gaping holes in the colouring, and added some additional info
Darkvater
2005-03-11 18:31:56 +00:00
a25e6eb6bb
(svn r1991) - Fix: Fix some of the gaping holes in the colouring, and added some additional info
Darkvater
2005-03-11 18:31:56 +00:00
d755b7908e
(svn r1990) Reduce the diff between the OS specific files with respect to file handling and fix some inconsitencies (I hope I didn't break the OS/2 part, couldn't test it, feedback is welcome)
tron
2005-03-11 14:14:54 +00:00
87535e52db
(svn r1990) Reduce the diff between the OS specific files with respect to file handling and fix some inconsitencies (I hope I didn't break the OS/2 part, couldn't test it, feedback is welcome)
tron
2005-03-11 14:14:54 +00:00
eab8b9a116
(svn r1989) -Feature: Resizable vehicle view windows; this is based on a patch by tmesisbob
tron
2005-03-11 13:17:39 +00:00
9b6c01f81f
(svn r1989) -Feature: Resizable vehicle view windows; this is based on a patch by tmesisbob
tron
2005-03-11 13:17:39 +00:00
e98a7ff239
(svn r1988) - Docs: Added graphical representation of tile-data to docs section
Darkvater
2005-03-11 00:32:24 +00:00
eb1173c39a
(svn r1988) - Docs: Added graphical representation of tile-data to docs section
Darkvater
2005-03-11 00:32:24 +00:00
0b82467cf1
(svn r1987) - Cleanup: remove the last remaining dinosaurs of a dead console
Darkvater
2005-03-10 22:03:55 +00:00
0b449bb12a
(svn r1987) - Cleanup: remove the last remaining dinosaurs of a dead console
Darkvater
2005-03-10 22:03:55 +00:00
a0ef37e7bc
(svn r1986) - Fix: free _config_file when shutting down openttd. Strange that Valgrind didn't catch this, kudos to TrueLight - Feature (small): new command-line option -c <config_file>. You can have OpenTTD load alternative config files with this setup, handy for servers, or for saves from other players if you don't want to rename your own config. This will have to do until all game-related settings are saved ingame. Couldn't find the SF patch, so credits to the guy that wrote it.
Darkvater
2005-03-10 21:44:17 +00:00
bb7b7c0e14
(svn r1986) - Fix: free _config_file when shutting down openttd. Strange that Valgrind didn't catch this, kudos to TrueLight - Feature (small): new command-line option -c <config_file>. You can have OpenTTD load alternative config files with this setup, handy for servers, or for saves from other players if you don't want to rename your own config. This will have to do until all game-related settings are saved ingame. Couldn't find the SF patch, so credits to the guy that wrote it.
Darkvater
2005-03-10 21:44:17 +00:00