------------------------------------------------------------------------ r3079 | tron | 2005-10-23 14:38:09 +0000 (Sun, 23 Oct 2005) | 1 line Determine the type of the "first arrival" message for road vehicles using the cargo type and not a magic engine number ------------------------------------------------------------------------ r3078 | tron | 2005-10-23 13:04:44 +0000 (Sun, 23 Oct 2005) | 10 lines 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 ------------------------------------------------------------------------ r3077 | tron | 2005-10-22 06:39:32 +0000 (Sat, 22 Oct 2005) | 3 lines static, const, bracing, indentation, 0 -> '\0'/NULL, typos in comments, excess empty lines, minor other changes nothing spectacular, just some stuff, which piled up ------------------------------------------------------------------------ r3076 | tron | 2005-10-21 12:24:55 +0000 (Fri, 21 Oct 2005) | 3 lines s/OSX/OS X/ and Unix is spelled "Unix", not "Linux" ------------------------------------------------------------------------ r3075 | peter1138 | 2005-10-21 06:04:17 +0000 (Fri, 21 Oct 2005) | 2 lines -PBS: Keep track reservation state while building and removing a waypoint. ------------------------------------------------------------------------ r3074 | peter1138 | 2005-10-20 19:44:41 +0000 (Thu, 20 Oct 2005) | 2 lines -NewGrf: Fix stupid typo in weight setting. ------------------------------------------------------------------------ r3073 | tron | 2005-10-20 17:43:13 +0000 (Thu, 20 Oct 2005) | 4 lines int/byte -> EngineID/PlayerID/VehicleID 0/-1 -> INVALID_ENGINE 0x10 -> OWNER_NONE ------------------------------------------------------------------------ r3072 | tron | 2005-10-20 17:23:33 +0000 (Thu, 20 Oct 2005) | 1 line CMD_RENAME_STATION isn't interested in the tile coordinates, so don't pass them ------------------------------------------------------------------------ r3071 | peter1138 | 2005-10-20 15:15:58 +0000 (Thu, 20 Oct 2005) | 2 lines -NewGRF: Add support for rail vehicle weight greater than 255 tons. ------------------------------------------------------------------------ r3070 | Darkvater | 2005-10-19 20:00:05 +0000 (Wed, 19 Oct 2005) | 1 line - 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 ------------------------------------------------------------------------ r3069 | Darkvater | 2005-10-19 19:44:01 +0000 (Wed, 19 Oct 2005) | 1 line - CodeChange: now that we have the '|' char, use that as a seperator instead of '\' as was originally intention ------------------------------------------------------------------------ r3068 | Darkvater | 2005-10-19 19:41:38 +0000 (Wed, 19 Oct 2005) | 1 line - Feature: make it possible to create a screenshot from the console that is both big and has no console, or any combination of. ------------------------------------------------------------------------ r3067 | Darkvater | 2005-10-19 19:38:35 +0000 (Wed, 19 Oct 2005) | 2 lines - Feature: allow unbanning players based on banlist-id (as well as IP). - Feature: 'status' and 'clients' now show the IP of the players ------------------------------------------------------------------------ r3066 | tron | 2005-10-19 14:49:46 +0000 (Wed, 19 Oct 2005) | 1 line Constify the parameter of GetSlopeZ_*() ------------------------------------------------------------------------ r3065 | celestar | 2005-10-19 08:34:37 +0000 (Wed, 19 Oct 2005) | 2 lines -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. ------------------------------------------------------------------------ r3064 | tron | 2005-10-19 06:46:41 +0000 (Wed, 19 Oct 2005) | 1 line Replace some numbers by sprite names ------------------------------------------------------------------------ r3063 | celestar | 2005-10-19 06:17:11 +0000 (Wed, 19 Oct 2005) | 2 lines -Codechange: Demystified and commented bridge_land.h. Also removed two arrays that are not referred to ------------------------------------------------------------------------ r3062 | Darkvater | 2005-10-18 21:48:45 +0000 (Tue, 18 Oct 2005) | 1 line - Add visual representation of possible text-colours instead of dubious and confusing textfile ------------------------------------------------------------------------ r3061 | Darkvater | 2005-10-18 20:18:05 +0000 (Tue, 18 Oct 2005) | 1 line - CodeChange: revert r3056, r3057 and add a simpler fix to satisfy the needs of the absolute strict (eg. root directory is C:\ not C:) ------------------------------------------------------------------------ r3060 | miham | 2005-10-18 18:18:50 +0000 (Tue, 18 Oct 2005) | 1 line [Translations] Updating translations to 2005-10-18 {@805} (2 langs changed) ------------------------------------------------------------------------ r3059 | tron | 2005-10-18 11:23:58 +0000 (Tue, 18 Oct 2005) | 1 line Use bitfields to encode railtype and climates of engines instead of manual shifting/anding ------------------------------------------------------------------------ r3058 | tron | 2005-10-18 07:01:00 +0000 (Tue, 18 Oct 2005) | 4 lines 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. ------------------------------------------------------------------------ r3057 | Darkvater | 2005-10-17 22:49:15 +0000 (Mon, 17 Oct 2005) | 1 line - (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. ------------------------------------------------------------------------ r3056 | Darkvater | 2005-10-17 22:24:32 +0000 (Mon, 17 Oct 2005) | 1 line - 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 ------------------------------------------------------------------------ r3055 | tron | 2005-10-17 19:57:00 +0000 (Mon, 17 Oct 2005) | 1 line Give the savegame/scenarion sort order flags symbolic names ------------------------------------------------------------------------ r3054 | tron | 2005-10-17 10:09:37 +0000 (Mon, 17 Oct 2005) | 1 line Remove the unsused function GetNumRailtypes() ------------------------------------------------------------------------