Commit Graph

50513 Commits

Author SHA1 Message Date
miham
e12bb5504a (svn r2023) Added brazilian-portuguese translation [yet unfinished] 2005-03-19 12:24:51 +00:00
tron
b5c9012315 (svn r2022) Revise CmdRemoveSingleSignal: Check parameters for validity and simplify the function 2005-03-18 07:37:32 +00:00
tron
e5036891f6 (svn r2022) Revise CmdRemoveSingleSignal: Check parameters for validity and simplify the function 2005-03-18 07:37:32 +00:00
pasky
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. 2005-03-17 23:12:23 +00:00
pasky
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. 2005-03-17 23:12:23 +00:00
tron
f82893680b (svn r2020) Reduce code duplication in the minimap code a bit 2005-03-17 16:31:18 +00:00
tron
cb084f59c2 (svn r2020) Reduce code duplication in the minimap code a bit 2005-03-17 16:31:18 +00:00
tron
167f30edc7 (svn r2019) Miscellaneous cleanups, like uint -> TileIndex, >> -> /, if cascade -> switch 2005-03-17 09:59:52 +00:00
tron
f1f70501db (svn r2019) Miscellaneous cleanups, like uint -> TileIndex, >> -> /, if cascade -> switch 2005-03-17 09:59:52 +00:00
tron
50535a88bf (svn r2018) Yet another workaround 2005-03-15 21:07:09 +00:00
tron
195e515de1 (svn r2018) Yet another workaround 2005-03-15 21:07:09 +00:00
tron
bb88bc5a97 (svn r2017) Explicitly mark SlReadByte as 'inline' 2005-03-15 20:07:46 +00:00
tron
dad3d12406 (svn r2017) Explicitly mark SlReadByte as 'inline' 2005-03-15 20:07:46 +00:00
miham
a55be6ebef (svn r2016) Langfile updates 2005-03-15 19:26:46 +00:00
miham
42cd07a2e2 (svn r2016) Langfile updates 2005-03-15 19:26:46 +00:00
tron
46378c1516 (svn r2015) Use a struct and an inline function for colour masking on the mini-map - this should improve readability a bit 2005-03-15 18:31:38 +00:00
tron
61e0dd439f (svn r2015) Use a struct and an inline function for colour masking on the mini-map - this should improve readability a bit 2005-03-15 18:31:38 +00:00
tron
dfee376190 (svn r2014) Don't manually inline a piece of code 2005-03-15 16:56:05 +00:00
tron
f91f8d9559 (svn r2014) Don't manually inline a piece of code 2005-03-15 16:56:05 +00:00
tron
452c7c2067 (svn r2013) Always ignore SIGPIPE, not only when SDL is used (ShadowJK) 2005-03-15 14:23:00 +00:00
tron
cf43c7a0e6 (svn r2013) Always ignore SIGPIPE, not only when SDL is used (ShadowJK) 2005-03-15 14:23:00 +00:00
tron
0cb2ba49eb (svn r2012) When making a savegame name, don't append the extension, if it is already there 2005-03-15 14:06:28 +00:00
tron
3763ec7652 (svn r2012) When making a savegame name, don't append the extension, if it is already there 2005-03-15 14:06:28 +00:00
darkvater
d0ea6bcdf0 (svn r2011) - Fix: [ 1162209 ] Fix OS/2 build (orudge) #2 2005-03-15 12:21:59 +00:00
darkvater
cc99c3e262 (svn r2011) - Fix: [ 1162209 ] Fix OS/2 build (orudge) #2 2005-03-15 12:21:59 +00:00
darkvater
bf895a03d2 (svn r2010) - Fix: [ 1162209 ] Fix OS/2 build (orudge) 2005-03-15 12:21:15 +00:00
darkvater
2c762a67ab (svn r2010) - Fix: [ 1162209 ] Fix OS/2 build (orudge) 2005-03-15 12:21:15 +00:00
darkvater
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. 2005-03-14 19:27:19 +00:00
darkvater
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. 2005-03-14 19:27:19 +00:00
darkvater
4a6aef2799 (svn r2008) - Fix: Added missing file (mixer.[ch]) to VS.NET and VS6 project files. 2005-03-14 18:20:00 +00:00
darkvater
038e711af2 (svn r2008) - Fix: Added missing file (mixer.[ch]) to VS.NET and VS6 project files. 2005-03-14 18:20:00 +00:00
matthijs
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)
2005-03-14 16:56:05 +00:00
matthijs
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)
2005-03-14 16:56:05 +00:00
matthijs
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) 2005-03-13 17:51:29 +00:00
matthijs
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) 2005-03-13 17:51:29 +00:00
Darkvater
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. 2005-03-13 11:47:04 +00:00
Darkvater
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. 2005-03-13 11:47:04 +00:00
Darkvater
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.
2005-03-12 21:21:47 +00:00
Darkvater
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.
2005-03-12 21:21:47 +00:00
tron
9ef5a76b3e (svn r2003) Remove some now unused filehandling stuff, this should have been part of r1990 2005-03-12 09:48:08 +00:00
tron
c3f9f5efaf (svn r2003) Remove some now unused filehandling stuff, this should have been part of r1990 2005-03-12 09:48:08 +00:00
tron
1b9ee9b41e (svn r2002) Rename MxActivate to MxActivateChannel, which is more appropriate 2005-03-12 09:46:07 +00:00
tron
1cb9ea5c46 (svn r2002) Rename MxActivate to MxActivateChannel, which is more appropriate 2005-03-12 09:46:07 +00:00
tron
e1f31cd031 (svn r2001) Resolve a race condition which could lead to dropped a sound and a memory leak 2005-03-12 09:40:29 +00:00
tron
39305c1a7c (svn r2001) Resolve a race condition which could lead to dropped a sound and a memory leak 2005-03-12 09:40:29 +00:00
tron
b40a2fcd0d (svn r2000) Split the sound system into backend (mixer.[ch]) and frontend (sound.[ch]) 2005-03-12 09:38:03 +00:00
tron
f04780e66d (svn r2000) Split the sound system into backend (mixer.[ch]) and frontend (sound.[ch]) 2005-03-12 09:38:03 +00:00
tron
fa9506b191 (svn r1999) r1990 broke savegame deletion, fix that [1161729] 2005-03-12 09:24:27 +00:00
tron
70be35f319 (svn r1999) r1990 broke savegame deletion, fix that [1161729] 2005-03-12 09:24:27 +00:00
pasky
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. 2005-03-12 08:52:40 +00:00