Commit Graph

2477 Commits (42db6338505959e6f1d59986615944cc1fb0ca86)
 

Author SHA1 Message Date
peter1138 42db633850 (svn r3002) -Fix, Newgrf: Max speed of 0xFFFF means no max speed.
-Fix, Newgrf: Don't mark an engine as a wagon after setting speed -- wagons can have speed limits.
19 years ago
tron 980808dac2 (svn r3001) s/Player*/const Player*/
s/byte/PlayerID/
s/int/PlayerID/
and related changes
19 years ago
miham ee5d1ae5ec (svn r3000) [Translations] Updating translations to 2005-09-30 {@457} (15 langs changed) 19 years ago
tron 0181327f2d (svn r2999) Do not pass if the HQ gets built for the first time or gets relocated as parameter - the command function has to check this anyway 19 years ago
peter1138 fdebfbe8d5 (svn r2998) -Codechange: Split rail drawing code off from DrawTile_Rail into a separate function to be used elsewhere. (Deja vu?) 19 years ago
peter1138 d11e5bf7fb (svn r2997) -Codechange: Split road drawing code off from DrawTile_Road into a separate function to be used elsewhere. 19 years ago
tron a3703eafb5 (svn r2996) 0xFFFF -> INVALID_STRING_ID 19 years ago
tron 90e33aed22 (svn r2995) Replace 0xFF/0xFFFF with CT_INVALID/OWNER_SPECTATOR/INVALID_STATION where appropriate 19 years ago
tron f0e3072b6c (svn r2994) Another small hack regarding currencies: add a #define to emulate a variable, that holds the current currency; again this should increase readability 19 years ago
peter1138 324542057d (svn r2993) Fix: Reset aircraft images differently. Fixes assertion introduced in r2991. 19 years ago
tron f608232673 (svn r2992) Use PlayerID, StationID and INVALID_STATION instead of int, int and -1 19 years ago
peter1138 34b5b4fcd9 (svn r2991) Reset vehicle images on game load. Allows savegames with NewGRFs saved prior to r2868 to load. 19 years ago
peter1138 9e20ae4222 (svn r2990) Remove _engine_original_sprites and replace all uses with references to our (new) original engine/vehicle tables. 19 years ago
peter1138 aac5e2c131 (svn r2989) - Make engine/vehicle information tables constant. Duplicate them so NewGRF data can be loaded without wiping out the default data. 19 years ago
tron d7af8df07b (svn r2988) static where static is due 19 years ago
tron 9e85e49ca4 (svn r2987) -Fix: restart_game_date is an UINT16, not a BYTE. Now setting the game restart year via the console should work (Debolaz) 19 years ago
miham 9d1d64daff (svn r2986) [Translations] Fixed up english.txt (still don't know how Webtranslator screwed it up) 19 years ago
tron d1694a1c76 (svn r2985) Print warnings and errors in the canonical file:line: form to make life for IDEs easier (ln-) 19 years ago
tron bdbceba0cb (svn r2984) Use adequate types, this should aid portability a bit 19 years ago
miham d20bcf3eb5 (svn r2983) [Translations] Updating translations to 2005-09-24 {@892} (11 langs changed) 19 years ago
peter1138 5dcb1e34fd (svn r2982) Newgrf: Added patch option for wagon speed limits. This is enabled by default. 19 years ago
tron 73d3667dc3 (svn r2981) Remove a no-op 19 years ago
Darkvater 985bcc6af7 (svn r2980) - Add some comments to some setting enums, and fix a 'const' warning.
- Add settings.h to VS.NET project.
19 years ago
tron 6ba9c65fc6 (svn r2979) Avoid unnecessary recursion 19 years ago
tron acbccd03ff (svn r2978) Make a global variable local 19 years ago
hackykid e14f4af9c2 (svn r2977) - CodeChange: [pbs] Use a check to see if a rail segment is a pbs segment, instead of letting the pathfinder determine this. 19 years ago
tron 96fa84358d (svn r2976) -Fix: Align settings pool items to the size of void* to fix bus errors on 64bit architectures which require aligned variables 19 years ago
tron a896add679 (svn r2975) Use the correct types, not types which accidently have the same size on 32bit machines 19 years ago
peter1138 968f7dcf55 (svn r2974) -Fix: Drag and drop selection on drop down boxes didn't select correct item when some items were hidden.
-Separate disabled and hidden masks in drop downs to support both hidden and disabled items.
19 years ago
tron a9bb8ef095 (svn r2973) Move a function declaration somewhere where it belongs 19 years ago
tron 1da0edf8b9 (svn r2972) Fix the speed of the AI 19 years ago
peter1138 77888b85a2 (svn r2971) - Newgrf: Support loading VarAction2 parameter for variables 0x60-0x7F. This parameter isn't used yet. 19 years ago
peter1138 cab56117ca (svn r2970) - Newgrf: Allocate spritegroups dynamically; this allows a cargo ID to reference the previous definition of the same cargo ID, instead of causing loops. 19 years ago
peter1138 bc602aa6d2 (svn r2969) -Newgrf: Show a wagon's speed limit in purchase list. 19 years ago
peter1138 1635e75c0b (svn r2968) -Newgrf: Implement current set of action D (ParamSet) operations. 19 years ago
peter1138 adfe78f54c (svn r2967) Fix: newgrf: Wagon speed limits don't apply for wagons with livery overrides. Fixes max speed in dbsetxl etc. 19 years ago
peter1138 75be0ed773 (svn r2966) Fix: newgrf: Replace special case with a check for the existence of a handler in VehicleChangeInfo. 19 years ago
peter1138 316944c1f5 (svn r2965) Fix: newgrf: Add bounds checking to VehicleChangeInfo for vehicles and change
station special case to vehicle special case.
19 years ago
peter1138 5ba82c6da2 (svn r2964) Fix: newgrf: Include missing grf feature canal. 19 years ago
peter1138 81052c160b (svn r2963) Fix: calculate proportions of non-square giant screenshot correctly. 19 years ago
Darkvater 4a58250cb9 (svn r2962) - const correctness for all Get* functions and most Draw* functions that don't change their pointer parameters
- change a lot of byte player types to PlayerID
- beautify header files, same "#endif /* filename */" ending
19 years ago
Darkvater 3536bbdad0 (svn r2961) - Fix: [ 1219123 ] Fix for [ 1216203 ] UFO-broken waypoint (lucaspiller) 19 years ago
Darkvater cffcdf07d3 (svn r2960) - Fix: [ 1227779 ] Fix win32 midi volume level control which didn't work (glx) 19 years ago
Darkvater 95eefa8d8d (svn r2959) - Fix: [ 1266036 ] Fix [ 1236317 ] Vehicles with and TRANSFER order don't have that order restored (i_dachev). Also disallow non-train type vehicles to have non-stop orders. 19 years ago
Darkvater e4ccb2b905 (svn r2958) - Feature: [ 1258971 ] Menu option to toggle console. Mainly for MacOS's or PDA's. (toholio) 19 years ago
Darkvater 4d7e916a09 (svn r2957) - Feature: [ 1263280 ] Danish town names (fey_dk) 19 years ago
Darkvater 78e4cbbfda (svn r2956) - Fix: [ 1253736 ] creating many town crash to desktop. Now it 'dies' with an ingame error message informing the gamer if it couldn't generate any towns in user-space. Still if it happens during new-game generation it crashes since we don't yet have actions to do in such a circumstance. 19 years ago
Darkvater 80e2126cc6 (svn r2955) Fix: make ottd start with the last resolution you had set (custom) (win32) 19 years ago
Darkvater 3926d006b0 (svn r2954) - Force assertion message to be output to a messagebox instead to the console which MinGW32 had the habit of doing. Using undocumented (in mingw) __set_error_mode() function. 19 years ago
Darkvater 3907e46939 (svn r2953) - Fix: [ 1257766 ] Cannot make ships go to an oil platform (oilrig has no station). While it is still possible that oilrigs end up without a station, it is only the case where no more stations can be built at all 19 years ago