Wed, 16 Nov 2005 11:50:40 +0000 tron (svn r3193) Staticise the vehicle position hash
Wed, 16 Nov 2005 11:17:52 +0000 tron (svn r3192) Split the surname list into two lists (non-toyland/toyland) and use lengthof() to get the number of names instead of using magic numbers
Wed, 16 Nov 2005 08:35:26 +0000 tron (svn r3191) Move declaration and definition of _dbg_screen_rect to a place where it somewhat makes sense and wrap them in #ifdef _DEBUG
Tue, 15 Nov 2005 11:46:49 +0000 tron (svn r3190) Turn some loops into canonical for loop form
Tue, 15 Nov 2005 11:08:10 +0000 tron (svn r3189) There's a dedicated function to check if it's a hangar tile, so use it
Tue, 15 Nov 2005 10:50:43 +0000 tron (svn r3188) Use CmdFailed() to check, if a command failed, don't compare with CMD_ERROR
Tue, 15 Nov 2005 09:47:25 +0000 tron (svn r3187) Simplify overly complicated ifs, especially if (foo) return false; else return true; is confusing
Tue, 15 Nov 2005 09:05:16 +0000 tron (svn r3186) Unnecessary casts and truncation
Tue, 15 Nov 2005 09:00:02 +0000 tron (svn r3185) const
Tue, 15 Nov 2005 08:49:46 +0000 tron (svn r3184) GB/SB
Tue, 15 Nov 2005 08:40:45 +0000 tron (svn r3183) Remove an unused declaration and properly declare CheckExternalFiles() in a header
Mon, 14 Nov 2005 20:20:24 +0000 tron (svn r3182) Fix braino in r3181
Mon, 14 Nov 2005 19:48:04 +0000 tron (svn r3181) -Bracing
Mon, 14 Nov 2005 15:22:12 +0000 tron (svn r3180) Replace some magic numbers by symbolic names
Mon, 14 Nov 2005 09:21:05 +0000 tron (svn r3179) - RandomRange() and RandomTile() instead of home brewed versions
Mon, 14 Nov 2005 08:42:45 +0000 peter1138 (svn r3178) - Codechange: move static _dropdown_* vars into the window custom data, giving var1 and var2 more meaningful names.
Mon, 14 Nov 2005 08:09:57 +0000 tron (svn r3177) GB, CLRBIT, HASBIT, TOGGLEBIT
Sun, 13 Nov 2005 21:16:34 +0000 tron (svn r3176) Use proper types, not some variants of int
Sun, 13 Nov 2005 18:07:45 +0000 orudge (svn r3175) - Updated OS/2 project file to include station_newgrf.c
Sun, 13 Nov 2005 16:30:04 +0000 Darkvater (svn r3174) - Fix: fix compilation for VS.NET2003 and VS6 (missing sourcefile(s) from project)
Sun, 13 Nov 2005 14:54:09 +0000 tron (svn r3173) Use the trinary operator and switch to improve readability
Sun, 13 Nov 2005 13:43:55 +0000 tron (svn r3172) static, const
Sat, 12 Nov 2005 11:10:12 +0000 peter1138 (svn r3171) - Codechange: remove static _dropdown_disabled/_dropdown_hidden variables, as a window already contains this information.
Sat, 12 Nov 2005 09:30:52 +0000 peter1138 (svn r3170) - NewGRF: make ttdpatch flags to reflect patch option status, and added some more values.
Sat, 12 Nov 2005 08:51:46 +0000 peter1138 (svn r3169) Little bit of coding style fixing, and change from value to lengthof()
Sat, 12 Nov 2005 00:29:13 +0000 peter1138 (svn r3168) - NewGRF: Fix "typo" in waypoint drawer :/
Sat, 12 Nov 2005 00:19:34 +0000 peter1138 (svn r3167) - NewGRF: Start moving custom station code to separate files.
Fri, 11 Nov 2005 20:34:16 +0000 peter1138 (svn r3166) Constify read-only accesses of custom stations
Thu, 10 Nov 2005 17:21:05 +0000 tron (svn r3163) Include header for toupper()
Thu, 10 Nov 2005 15:23:55 +0000 truelight (svn r3162) -Fix: renamed 'Message' to 'WindowMessage', a struct named 'Message' already
Wed, 09 Nov 2005 11:32:15 +0000 tron (svn r3159) Remove the read-only variable _no_button_sound
Wed, 09 Nov 2005 09:16:08 +0000 peter1138 (svn r3158) - PBS: [ 1252192 ] Fix an assertion failure due to possible junk data in pre-PBS savegames. This will not correct pre-PBS savegames loaded and saved since PBS was introduced. (thanks glx)
Wed, 09 Nov 2005 07:25:55 +0000 peter1138 (svn r3157) - Feature: Added patch option to link the terraform toolbar to the rail, road, water and airport toolbars. If enabled, the terraform toolbar will open and close with those toolbars.
Tue, 08 Nov 2005 23:18:09 +0000 bjarni (svn r3156) -Fix: removed some cases where autoreplace windows were redrawn when nothing was changed
Mon, 07 Nov 2005 23:20:47 +0000 bjarni (svn r3155) -Feature: [autoreplace] autoreplace can now remove cars from too long trains
Mon, 07 Nov 2005 17:31:21 +0000 Darkvater (svn r3154) - Fix: Last value of an array is lengthof-1; let's keep this at a typo, shall we :P
Mon, 07 Nov 2005 16:19:45 +0000 Darkvater (svn r3153) - Feature: [ 1276827 ] Drag and drop rocky areas in scenario editor (MeusH-ish)
Mon, 07 Nov 2005 14:34:23 +0000 peter1138 (svn r3152) - NewGRF: [ 1340189 ] Action 7/9 new value : is it TTDPatch or OpenTTD? (belugas)
Mon, 07 Nov 2005 13:30:43 +0000 Darkvater (svn r3151) - Fix: showing the highscore might crash the game with an invalid string message in the case when a highscore file was used before certain strings were added.
Mon, 07 Nov 2005 13:02:33 +0000 peter1138 (svn r3150) Unify some code duplication in HandleLocomotiveSmokeCloud()
Sun, 06 Nov 2005 13:42:26 +0000 peter1138 (svn r3148) -NewGRF, Feature: Add support for cargo refitting specification by cargo classes.
Sun, 06 Nov 2005 13:29:28 +0000 peter1138 (svn r3147) Fix crash when building dual-head rail vehicles...
Sun, 06 Nov 2005 12:39:30 +0000 peter1138 (svn r3146) Avoid use of variable size declared arrays when allocating articulated rail vehicles.
Sun, 06 Nov 2005 10:17:20 +0000 peter1138 (svn r3145) Fix two off-by-one errors in building articulated rail vehicles.
Sun, 06 Nov 2005 01:15:10 +0000 bjarni (svn r3144) -Fix: a new train is now made if the front unit is an engine and the former front engine is moved away (Meush)
Sat, 05 Nov 2005 19:58:16 +0000 bjarni (svn r3143) -Codechange: greatly increased speed when allocating vehicles
Sat, 05 Nov 2005 18:32:21 +0000 peter1138 (svn r3142) Remove a now invalid case fall-through and use helper function instead of map access.
Sat, 05 Nov 2005 18:21:28 +0000 peter1138 (svn r3141) Replace incorrect railtype bitmask in CmdRailTrackHelper with appropriate GB()
Sat, 05 Nov 2005 18:13:40 +0000 peter1138 (svn r3140) Building/removing a waypoint could leave old PBS reservations behind. This ensures they are cleared.
Sat, 05 Nov 2005 16:07:26 +0000 peter1138 (svn r3139) -NewGRF, Feature: support for articulated rail vehicles. This is used, for example, by coal tenders.
Sat, 05 Nov 2005 14:01:00 +0000 bjarni (svn r3138) -Fix: [clone vehicles] fixed assert when it was possible to allocate some vehicles to clone a train, but not for all cars
Fri, 04 Nov 2005 22:10:49 +0000 bjarni (svn r3137) -Fix: [autoreplace] fixed assert that was triggerable when a vehicle entered a depot even though the goto depot was canceled
Fri, 04 Nov 2005 20:52:03 +0000 bjarni (svn r3136) -Fix: [autoreplace] all cargo in engines that consists of more than one vehicle will try to move cargo from all vehicles
Fri, 04 Nov 2005 16:12:48 +0000 tron (svn r3135) Use symbolic names in the tables, which hold the information about accepted goods of industry tiles, instead of magic numbers
Fri, 04 Nov 2005 14:57:53 +0000 tron (svn r3134) Forgot to commit one file in r3133
Fri, 04 Nov 2005 14:01:44 +0000 tron (svn r3133) - static, const
Fri, 04 Nov 2005 12:58:18 +0000 peter1138 (svn r3132) -NewGRF: support positioning of rail vehicle visual effects.
Fri, 04 Nov 2005 10:02:50 +0000 peter1138 (svn r3131) Enable panning of audio relative to screen position.
Fri, 04 Nov 2005 07:38:26 +0000 peter1138 (svn r3130) Calculate shorter wagon lengths more precisely in train depot window. This affects wagon position, the scroll bar, and the train length counter. No trial and error is required to get the correct length now.
Thu, 03 Nov 2005 21:22:38 +0000 bjarni (svn r3129) -Fix: [autoreplace] fixed bug that made the player pay twice for autoreplacing and could end up with negative money