tron
f5ea31b9da
(svn r3079) Determine the type of the "first arrival" message for road vehicles using the cargo type and not a magic engine number
2005-10-23 14:38:09 +00:00
tron
47137cefb7
(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
2005-10-23 13:04:44 +00:00
tron
2cc2154ad2
(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
2005-10-22 06:39:32 +00:00
tron
0163870006
(svn r3076) s/OSX/OS X/
...
and Unix is spelled "Unix", not "Linux"
2005-10-21 12:24:55 +00:00
peter1138
5565abb871
(svn r3075) -PBS: Keep track reservation state while building and removing a waypoint.
2005-10-21 06:04:17 +00:00
peter1138
8bf11c2e41
(svn r3074) -NewGrf: Fix stupid typo in weight setting.
2005-10-20 19:44:41 +00:00
tron
2b91f55b32
(svn r3073) int/byte -> EngineID/PlayerID/VehicleID
...
0/-1 -> INVALID_ENGINE
0x10 -> OWNER_NONE
2005-10-20 17:43:13 +00:00
tron
6a5c0fabdd
(svn r3072) CMD_RENAME_STATION isn't interested in the tile coordinates, so don't pass them
2005-10-20 17:23:33 +00:00
peter1138
d5eb4183b8
(svn r3071) -NewGRF: Add support for rail vehicle weight greater than 255 tons.
2005-10-20 15:15:58 +00:00
Darkvater
4253f3d330
(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
2005-10-19 20:00:05 +00:00
Darkvater
afc9951648
(svn r3069) - CodeChange: now that we have the '|' char, use that as a seperator instead of '\' as was originally intention
2005-10-19 19:44:01 +00:00
Darkvater
4fb76f67ae
(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.
2005-10-19 19:41:38 +00:00
Darkvater
e611fee4e5
(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
2005-10-19 19:38:35 +00:00
tron
ece9b9b2b6
(svn r3066) Constify the parameter of GetSlopeZ_*()
2005-10-19 14:49:46 +00:00
celestar
5f604ec63a
(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.
2005-10-19 08:34:37 +00:00
tron
758ae7e8f6
(svn r3064) Replace some numbers by sprite names
2005-10-19 06:46:41 +00:00
celestar
cb67ee9bf5
(svn r3063) -Codechange: Demystified and commented bridge_land.h. Also removed two arrays that are not referred to
2005-10-19 06:17:11 +00:00
Darkvater
ec66b1ca3b
(svn r3062) - Add visual representation of possible text-colours instead of dubious and confusing textfile
2005-10-18 21:48:45 +00:00
Darkvater
be984d9bcc
(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:)
2005-10-18 20:18:05 +00:00
miham
8419473453
(svn r3060) [Translations] Updating translations to 2005-10-18 {@805} (2 langs changed)
2005-10-18 18:18:50 +00:00
tron
f3de172560
(svn r3059) Use bitfields to encode railtype and climates of engines instead of manual shifting/anding
2005-10-18 11:23:58 +00:00
tron
d4752ba0da
(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.
2005-10-18 07:01:00 +00:00
Darkvater
d4463b4b95
(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.
2005-10-17 22:49:15 +00:00
Darkvater
6bf4e4af3c
(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
2005-10-17 22:24:32 +00:00
tron
23ecc82ad3
(svn r3055) Give the savegame/scenarion sort order flags symbolic names
2005-10-17 19:57:00 +00:00
tron
b85da4fef2
(svn r3054) Remove the unsused function GetNumRailtypes()
2005-10-17 10:09:37 +00:00
truelight
60882b29c8
(svn r3053) -Fix: [ 1326604 ] Fixed typo and hang for BeOS Networking (MYOB)
2005-10-16 15:00:22 +00:00
tron
9314ea877f
(svn r3052) Fix last commit *grml*
2005-10-16 14:12:21 +00:00
tron
0834a88a12
(svn r3051) Remove the unused function RemoteSubsidyAdd()
2005-10-16 14:07:11 +00:00
tron
b537cc6618
(svn r3050) Augment the rail vehicle table with symbolic names for dual-head engines and wagons
2005-10-16 12:22:16 +00:00
tron
66bf4f863d
(svn r3049) Replace byte/int/uint by RailType where appropriate
2005-10-16 09:13:04 +00:00
tron
ab657338ec
(svn r3048) Replace 0/1/2 by RAILTYPE_RAIL/MONO/MAGLEV where appropriate
2005-10-16 07:58:15 +00:00
tron
d52bf846f3
(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)
2005-10-15 16:43:18 +00:00
tron
d5042d4ab2
(svn r3046) Replace some numbers with sprite names and fix a typo in the sprite list
2005-10-15 11:06:54 +00:00
peter1138
ab41ccb23c
(svn r3045) -NewGRF, Codechange: Don't attempt to map and empty sprite group to a vehicle.
2005-10-15 07:40:22 +00:00
peter1138
5c3625b88f
(svn r3044) -NewGRF, Codechange: Improve handling of non-existent sprite sets.
2005-10-14 20:10:12 +00:00
tron
f97d1274bc
(svn r3040) Don't deduce the cursor sprites when building rails from magic numbers, but fetch them from the central rail info array.
2005-10-14 08:11:18 +00:00
tron
1667628659
(svn r3039) Revert accidently commited changes from last commit
2005-10-14 08:02:18 +00:00
tron
67741ceace
(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.
2005-10-14 07:59:16 +00:00
tron
7520ef8f33
(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
2005-10-13 16:00:14 +00:00
tron
d37639ac3e
(svn r3036) Use IsCompatibleRail() to check the rail type of level crossings (not a fix, because the old == method works so far)
2005-10-13 14:44:03 +00:00
tron
03e947cbfe
(svn r3035) Augment the engine table with symbolic names for rail types and climates
2005-10-13 12:33:03 +00:00
peter1138
5551b423fc
(svn r3034) -NewGRF: Improve error checking of setting price bases.
2005-10-12 09:54:29 +00:00
miham
0321dc9fc5
(svn r3033) [Translations] Fixed (? :-)) lithuanian language
2005-10-12 09:35:14 +00:00
peter1138
c78e87d4da
(svn r3032) -NewGRF, Feature: Add support for changing base prices.
2005-10-12 07:27:56 +00:00
bjarni
d678a12445
(svn r3031) forgot 1 file and two lines in rev 3029 (mac midi stuff)
2005-10-11 16:40:56 +00:00
tron
9fea263c77
(svn r3030) More work for GB/SB, this time concerning the waiting_acceptance attribute of stations
2005-10-11 13:54:21 +00:00
bjarni
6fb7381efa
(svn r3029) -Change: [OSX] removed the buggy java midi player, which was rendered obsolite by r3022
2005-10-10 15:22:47 +00:00
tron
76db75d81a
(svn r3028) s/255/OWNER_SPECTATOR/
2005-10-10 10:36:37 +00:00
bjarni
cafd3528a4
(svn r3027) -Feature: [OSX] command+q now works in main menu (Tobin)
2005-10-07 20:53:21 +00:00