------------------------------------------------------------------------ r3180 | tron | 2005-11-14 15:22:12 +0000 (Mon, 14 Nov 2005) | 1 line Replace some magic numbers by symbolic names ------------------------------------------------------------------------ r3179 | tron | 2005-11-14 09:21:05 +0000 (Mon, 14 Nov 2005) | 3 lines - RandomRange() and RandomTile() instead of home brewed versions - CHANCE*() instead of mumbling strange numbers ------------------------------------------------------------------------ r3178 | peter1138 | 2005-11-14 08:42:45 +0000 (Mon, 14 Nov 2005) | 2 lines - Codechange: move static _dropdown_* vars into the window custom data, giving var1 and var2 more meaningful names. ------------------------------------------------------------------------ r3177 | tron | 2005-11-14 08:09:57 +0000 (Mon, 14 Nov 2005) | 1 line GB, CLRBIT, HASBIT, TOGGLEBIT ------------------------------------------------------------------------ r3176 | tron | 2005-11-13 21:16:34 +0000 (Sun, 13 Nov 2005) | 1 line Use proper types, not some variants of int ------------------------------------------------------------------------ r3175 | orudge | 2005-11-13 18:07:45 +0000 (Sun, 13 Nov 2005) | 1 line - Updated OS/2 project file to include station_newgrf.c ------------------------------------------------------------------------ r3174 | Darkvater | 2005-11-13 16:30:04 +0000 (Sun, 13 Nov 2005) | 1 line - Fix: fix compilation for VS.NET2003 and VS6 (missing sourcefile(s) from project) ------------------------------------------------------------------------ r3173 | tron | 2005-11-13 14:54:09 +0000 (Sun, 13 Nov 2005) | 3 lines Use the trinary operator and switch to improve readability Also align short cases nicely ------------------------------------------------------------------------ r3172 | tron | 2005-11-13 13:43:55 +0000 (Sun, 13 Nov 2005) | 1 line static, const ------------------------------------------------------------------------ r3171 | peter1138 | 2005-11-12 11:10:12 +0000 (Sat, 12 Nov 2005) | 2 lines - Codechange: remove static _dropdown_disabled/_dropdown_hidden variables, as a window already contains this information. ------------------------------------------------------------------------ r3170 | peter1138 | 2005-11-12 09:30:52 +0000 (Sat, 12 Nov 2005) | 2 lines - NewGRF: make ttdpatch flags to reflect patch option status, and added some more values. ------------------------------------------------------------------------ r3169 | peter1138 | 2005-11-12 08:51:46 +0000 (Sat, 12 Nov 2005) | 2 lines Little bit of coding style fixing, and change from value to lengthof() ------------------------------------------------------------------------ r3168 | peter1138 | 2005-11-12 00:29:13 +0000 (Sat, 12 Nov 2005) | 2 lines - NewGRF: Fix "typo" in waypoint drawer :/ ------------------------------------------------------------------------ r3167 | peter1138 | 2005-11-12 00:19:34 +0000 (Sat, 12 Nov 2005) | 5 lines - NewGRF: Start moving custom station code to separate files. Rewrite handling of station classes. Allow for more than 8 station tile layouts. Start of code to unload custom stations. ------------------------------------------------------------------------ r3166 | peter1138 | 2005-11-11 20:34:16 +0000 (Fri, 11 Nov 2005) | 2 lines Constify read-only accesses of custom stations ------------------------------------------------------------------------ r3163 | tron | 2005-11-10 17:21:05 +0000 (Thu, 10 Nov 2005) | 1 line Include header for toupper() ------------------------------------------------------------------------ r3162 | truelight | 2005-11-10 15:23:55 +0000 (Thu, 10 Nov 2005) | 3 lines -Fix: renamed 'Message' to 'WindowMessage', a struct named 'Message' already exists on MorphOS ------------------------------------------------------------------------ r3159 | tron | 2005-11-09 11:32:15 +0000 (Wed, 09 Nov 2005) | 1 line Remove the read-only variable _no_button_sound ------------------------------------------------------------------------ r3158 | peter1138 | 2005-11-09 09:16:08 +0000 (Wed, 09 Nov 2005) | 2 lines - 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) ------------------------------------------------------------------------ r3157 | peter1138 | 2005-11-09 07:25:55 +0000 (Wed, 09 Nov 2005) | 2 lines - 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. ------------------------------------------------------------------------ r3156 | bjarni | 2005-11-08 23:18:09 +0000 (Tue, 08 Nov 2005) | 3 lines -Fix: removed some cases where autoreplace windows were redrawn when nothing was changed due to the FOR_ALL_VEHICLES(), redrawing those windows are slow ------------------------------------------------------------------------ r3155 | bjarni | 2005-11-07 23:20:47 +0000 (Mon, 07 Nov 2005) | 12 lines -Feature: [autoreplace] autoreplace can now remove cars from too long trains -Trains will now remember the length of stations it visits and sell cars when being autoreplaced if they became too long -If it needs to remove cars, then it starts from the front and sells all it can find until the train is short enough -This only works for trains, that knows the station length of the route so a full uninterrupted run is needed -a train needs 1-2 runs to detect if the shortest station is expanded -This feature can be turned on and off in the train replace window and each company can have it's own setting -NOTE: minor savegame version bump ------------------------------------------------------------------------