tron
355d834c6e
(svn r3079) Determine the type of the "first arrival" message for road vehicles using the cargo type and not a magic engine number
19 years ago
tron
181d586a7c
(svn r3078) Some more stuff, which piled up:
...
- const, whitespace, indentation, bracing, GB/SB, pointless casts
- use the trinary operator where appropriate
- data types (uint[] -> AcceptedCargo, ...)
- if cascade -> switch
- if (ptr) -> if (ptr != NULL)
- DeMorgan's Law
- Fix some comments
- 0 -> '\0', change magic numbers to symbolic constants
19 years ago
tron
0b936c3222
(svn r3077) static, const, bracing, indentation, 0 -> '\0'/NULL, typos in comments, excess empty lines, minor other changes
...
nothing spectacular, just some stuff, which piled up
19 years ago
tron
4642ac94a9
(svn r3076) s/OSX/OS X/
...
and Unix is spelled "Unix", not "Linux"
19 years ago
peter1138
04a4166889
(svn r3075) -PBS: Keep track reservation state while building and removing a waypoint.
19 years ago
peter1138
49c627ba35
(svn r3074) -NewGrf: Fix stupid typo in weight setting.
19 years ago
tron
d7cbd0d4c3
(svn r3073) int/byte -> EngineID/PlayerID/VehicleID
...
0/-1 -> INVALID_ENGINE
0x10 -> OWNER_NONE
19 years ago
tron
6d16862126
(svn r3072) CMD_RENAME_STATION isn't interested in the tile coordinates, so don't pass them
19 years ago
peter1138
3931d8ef5c
(svn r3071) -NewGRF: Add support for rail vehicle weight greater than 255 tons.
19 years ago
Darkvater
16f1af429b
(svn r3070) - it doesn't matter where the '.' is found for the IP, if it is found, it is not a normal index when unbanning clients ('\0' should of course be NULL); thx Tron
19 years ago
Darkvater
e6ff0a52ac
(svn r3069) - CodeChange: now that we have the '|' char, use that as a seperator instead of '\' as was originally intention
19 years ago
Darkvater
8c7e9f00dc
(svn r3068) - Feature: make it possible to create a screenshot from the console that is both big and has no console, or any combination of.
19 years ago
Darkvater
7b52c5f6bb
(svn r3067) - Feature: allow unbanning players based on banlist-id (as well as IP).
...
- Feature: 'status' and 'clients' now show the IP of the players
19 years ago
tron
71d293f2a3
(svn r3066) Constify the parameter of GetSlopeZ_*()
19 years ago
celestar
ab049c7bca
(svn r3065) -Codechange/Add: Modified the bridge drawing code so that the basic offset is read from the RailTypeInfo struct. This is (hopefully) the last DrawTile change on the way to electrified railways. While being at it, de-mystified the function a bit and added some asserts.
19 years ago
tron
b17b87469c
(svn r3064) Replace some numbers by sprite names
19 years ago
celestar
d50ef14992
(svn r3063) -Codechange: Demystified and commented bridge_land.h. Also removed two arrays that are not referred to
19 years ago
Darkvater
12321bbc30
(svn r3062) - Add visual representation of possible text-colours instead of dubious and confusing textfile
19 years ago
Darkvater
687cfa8a1b
(svn r3061) - CodeChange: revert r3056, r3057 and add a simpler fix to satisfy the needs of the absolute strict (eg. root directory is C:\ not C:)
19 years ago
miham
7d86fd9f08
(svn r3060) [Translations] Updating translations to 2005-10-18 {@805} (2 langs changed)
19 years ago
tron
24253c17cc
(svn r3059) Use bitfields to encode railtype and climates of engines instead of manual shifting/anding
19 years ago
tron
a85d68ed57
(svn r3058) The default AI may not build dual headed trains under certain circumstances.
...
Simplify this check by testing the rail vehicle info flags instead of passing a global variable around.
Note: This is not exactly the original behaviour, because the Lev4 was always allowed to be built, but i guess that was a glitch.
19 years ago
Darkvater
82d0f525e5
(svn r3057) - (Post)Fix: fix backslash occurence in all cases, also when going to root directory through 'parent directory', and of course don't show parent dir in root.
19 years ago
Darkvater
3fb6835822
(svn r3056) - Fix: Problem on Win98 and lower when if you go to the root directory of a drive (eg. C:\) you were stuck there indefinitely and couldn't change any directories or see any files
19 years ago
tron
c042fd3de3
(svn r3055) Give the savegame/scenarion sort order flags symbolic names
19 years ago
tron
54a3659b16
(svn r3054) Remove the unsused function GetNumRailtypes()
19 years ago
truelight
548f8575fb
(svn r3053) -Fix: [ 1326604 ] Fixed typo and hang for BeOS Networking (MYOB)
19 years ago
tron
b0174ab76b
(svn r3052) Fix last commit *grml*
19 years ago
tron
24250c6a3a
(svn r3051) Remove the unused function RemoteSubsidyAdd()
19 years ago
tron
e6b0b1e33d
(svn r3050) Augment the rail vehicle table with symbolic names for dual-head engines and wagons
19 years ago
tron
e3d1e43559
(svn r3049) Replace byte/int/uint by RailType where appropriate
19 years ago
tron
d318f3763a
(svn r3048) Replace 0/1/2 by RAILTYPE_RAIL/MONO/MAGLEV where appropriate
19 years ago
tron
10489083c7
(svn r3047) The parameters for the railtype check got flipped in the train build window (this caused no visible problem so far, therefore no Fix tag)
19 years ago
tron
53a4a6a0f4
(svn r3046) Replace some numbers with sprite names and fix a typo in the sprite list
19 years ago
peter1138
668963a359
(svn r3045) -NewGRF, Codechange: Don't attempt to map and empty sprite group to a vehicle.
19 years ago
peter1138
e4f668fb43
(svn r3044) -NewGRF, Codechange: Improve handling of non-existent sprite sets.
19 years ago
tron
8d4ed0840b
(svn r3040) Don't deduce the cursor sprites when building rails from magic numbers, but fetch them from the central rail info array.
19 years ago
tron
02c96219cb
(svn r3039) Revert accidently commited changes from last commit
19 years ago
tron
e0af0e30ca
(svn r3038) Reorder the loading of standard graphics files to reflect a bit where in the sprite array the sprites end up and assert, that the indices are equal to the corresponding sprite base enums, to guard against typos.
19 years ago
tron
4529d1fc8e
(svn r3037) Don't deduce the sprites for tunnels and level crossings from magic numbers, but fetch them from the central rail info array. This is a preparation step for electrified rails
19 years ago
tron
93f003919f
(svn r3036) Use IsCompatibleRail() to check the rail type of level crossings (not a fix, because the old == method works so far)
19 years ago
tron
2f6f8215ac
(svn r3035) Augment the engine table with symbolic names for rail types and climates
19 years ago
peter1138
ec28f947aa
(svn r3034) -NewGRF: Improve error checking of setting price bases.
19 years ago
miham
3fae53a61d
(svn r3033) [Translations] Fixed (? :-)) lithuanian language
19 years ago
peter1138
95857f2026
(svn r3032) -NewGRF, Feature: Add support for changing base prices.
19 years ago
bjarni
a949e6d3d0
(svn r3031) forgot 1 file and two lines in rev 3029 (mac midi stuff)
19 years ago
tron
f556128dde
(svn r3030) More work for GB/SB, this time concerning the waiting_acceptance attribute of stations
19 years ago
bjarni
4eb7a0ac6b
(svn r3029) -Change: [OSX] removed the buggy java midi player, which was rendered obsolite by r3022
19 years ago
tron
7ab7d79190
(svn r3028) s/255/OWNER_SPECTATOR/
19 years ago
bjarni
3d87a4d7ea
(svn r3027) -Feature: [OSX] command+q now works in main menu (Tobin)
19 years ago