------------------------------------------------------------------------ r11881 | peter1138 | 2008-01-16 18:34:53 +0000 (Wed, 16 Jan 2008) | 2 lines -Cleanup: Code style for global variables. ------------------------------------------------------------------------ r11880 | peter1138 | 2008-01-16 18:25:23 +0000 (Wed, 16 Jan 2008) | 2 lines -Codechange: Generate vehicle group action dropdown dynamically, and assign an enum for the function return codes. ------------------------------------------------------------------------ r11879 | peter1138 | 2008-01-16 17:43:46 +0000 (Wed, 16 Jan 2008) | 2 lines -Fix: Only update group action drop down list when clicking on the dropdown text/button. Other times is not needed and caused a double free. ------------------------------------------------------------------------ r11878 | peter1138 | 2008-01-16 16:52:50 +0000 (Wed, 16 Jan 2008) | 2 lines -Fix: Crash in MP in vehicle group window if the currently selected group is deleted by another player. ------------------------------------------------------------------------ r11877 | smatz | 2008-01-16 15:48:36 +0000 (Wed, 16 Jan 2008) | 2 lines -Fix: another way to crash competitors' train in a station -Codechange: increase the speed train is approaching line end/semaphore in non-diagonal direction a bit ------------------------------------------------------------------------ r11876 | frosch | 2008-01-16 15:06:48 +0000 (Wed, 16 Jan 2008) | 1 line -Fix: Start industry tile animation also for overridden industry tiles. (Will only apply to new games or newly build industries.) ------------------------------------------------------------------------ r11875 | bjarni | 2008-01-16 13:59:08 +0000 (Wed, 16 Jan 2008) | 10 lines -Fix: automatically sending aircraft to depot for autoreplace/renew is now triggered by the correct conditions Now it triggers by the following conditions: - aircraft is old enough for renew or needs to be autoreplaced - player has 2*cost of new aircraft+autorenew money (we don't want to send many aircraft to hangars when there is only money for replacing one) - aircraft has no hangars in it's order list - new aircraft is buildable (imagine autorenewing a retired design) This triggers right after a helicopter takes off or when a plane touches the ground while landing Another effect of this change is that this functionality no longer generates network traffic ------------------------------------------------------------------------ r11874 | rubidium | 2008-01-16 11:25:15 +0000 (Wed, 16 Jan 2008) | 2 lines -Fix [FS#1655]: all wagons of maglev/monorail trains would get the livery colour of the engine instead of their wagon type. ------------------------------------------------------------------------ r11873 | belugas | 2008-01-16 02:53:55 +0000 (Wed, 16 Jan 2008) | 2 lines -Codechange: less a few magical numbers and a tiny bit more comments on town zones ------------------------------------------------------------------------ r11872 | bjarni | 2008-01-16 01:27:24 +0000 (Wed, 16 Jan 2008) | 2 lines -Fix (r9874): EngineHasReplacementForPlayer() didn't look in ALL_GROUP ------------------------------------------------------------------------ r11871 | smatz | 2008-01-16 01:18:15 +0000 (Wed, 16 Jan 2008) | 1 line -Fix [FS#1074]: do not update signals after each tile when building/removing a large block of track/signals/station ------------------------------------------------------------------------ r11870 | smatz | 2008-01-16 00:33:28 +0000 (Wed, 16 Jan 2008) | 3 lines -Fix: slow down train when approaching tile we can't enter in more cases (tunnel/bridge/depot from wrong direction, competitor's track, wrong railtype) -Fix: do not make crossing red when we can't enter it in any case ------------------------------------------------------------------------ r11868 | rubidium | 2008-01-15 20:44:31 +0000 (Tue, 15 Jan 2008) | 2 lines -Fix: some files were still mentioning that beta1 is the latest release when that's not the case. ------------------------------------------------------------------------ r11867 | rubidium | 2008-01-15 18:51:46 +0000 (Tue, 15 Jan 2008) | 3 lines -Fix: do not reset changes to persistent storages during world generation. -Fix: store changes to persistent storages after performing all the game logic instead of resetting them. ------------------------------------------------------------------------ r11866 | rubidium | 2008-01-15 18:44:22 +0000 (Tue, 15 Jan 2008) | 2 lines -Codechange: swap OFB_* and OF_* so it conceptually in sync with other cases of *B_* vs *_* like VETSB_* and VETS_*. ------------------------------------------------------------------------ r11865 | peter1138 | 2008-01-15 16:30:08 +0000 (Tue, 15 Jan 2008) | 2 lines -Feature(tte): Support scrolling of drop down lists when in drag mode by moving the pointer above or below the list. ------------------------------------------------------------------------ r11864 | smatz | 2008-01-15 15:00:01 +0000 (Tue, 15 Jan 2008) | 1 line -Codechange: pass owner whose signals we will update instead of complex detection later ------------------------------------------------------------------------ r11863 | peter1138 | 2008-01-15 13:20:58 +0000 (Tue, 15 Jan 2008) | 2 lines -Fix (r11848): One day I'll learn C++... Delete all items in a drop down list before deleting the list. ------------------------------------------------------------------------ r11862 | rubidium | 2008-01-15 13:19:49 +0000 (Tue, 15 Jan 2008) | 2 lines -Fix [FS#1559]: when two NewGRFs 'fight' to define the same cargo it could happen that the strings are defined by one cargo and the 'action2' by another and when one assumes that both come from the same NewGRF... So store the GRF ID with the strings. To be extra sure add the same protection mechanism to industries and towns too. ------------------------------------------------------------------------ r11861 | smatz | 2008-01-15 11:45:29 +0000 (Tue, 15 Jan 2008) | 1 line -Fix: do not call rail specific functions when removing road tunnel/bridge ------------------------------------------------------------------------ r11860 | peter1138 | 2008-01-15 11:43:06 +0000 (Tue, 15 Jan 2008) | 2 lines -Fix: Test station class validity against number of classes, not abosolute limit. ------------------------------------------------------------------------ r11859 | peter1138 | 2008-01-15 10:36:51 +0000 (Tue, 15 Jan 2008) | 2 lines -Codechange: Update newgrf station class dropdown to use new method of generating list. ------------------------------------------------------------------------ r11858 | peter1138 | 2008-01-15 08:14:22 +0000 (Tue, 15 Jan 2008) | 2 lines -Fix (r1679): Mask and rule colour in drop down lists using wrong source value. (r1679 partially reverted r1368) ------------------------------------------------------------------------ r11857 | rubidium | 2008-01-15 00:48:14 +0000 (Tue, 15 Jan 2008) | 2 lines -Fix: some compile time warnings. ------------------------------------------------------------------------ r11856 | glx | 2008-01-15 00:11:28 +0000 (Tue, 15 Jan 2008) | 1 line -Revert (r11772): since FS#1335 is solved, we do not need the extra checking and such anymore. ------------------------------------------------------------------------ r11855 | glx | 2008-01-15 00:03:48 +0000 (Tue, 15 Jan 2008) | 1 line -Fix [FS#1335]: recompute town population when removing a 'newhouses' grf, or when loading a game with missing 'newhouses' grfs ------------------------------------------------------------------------ r11854 | peter1138 | 2008-01-14 20:52:43 +0000 (Mon, 14 Jan 2008) | 2 lines -Fix (r11848): Nightly build farm showed up more compiler warnings... c++ is fun ------------------------------------------------------------------------ r11853 | bjarni | 2008-01-14 20:30:05 +0000 (Mon, 14 Jan 2008) | 4 lines -Fix [r11837]: [OSX] reconfigure killed the space in shared-dir Thanks to TrueLight for finding the solution to this one Note: if the shared-dir setting is already broken due to this then you have to manually run configure again ------------------------------------------------------------------------ r11852 | miham | 2008-01-14 20:06:18 +0000 (Mon, 14 Jan 2008) | 6 lines -Update: WebTranslator2 update to 2008-01-14 21:05:38 brazilian_portuguese - 36 changed by fukumori (36) korean - 1 fixed by leejaeuk5 (1) piglatin - 20 fixed by adammw (20) portuguese - 1 fixed by nars (1) ------------------------------------------------------------------------ r11851 | belugas | 2008-01-14 18:19:29 +0000 (Mon, 14 Jan 2008) | 1 line -Codechange: A few magic numbers removal, plus a little code style ------------------------------------------------------------------------ r11850 | peter1138 | 2008-01-14 16:40:31 +0000 (Mon, 14 Jan 2008) | 2 lines -Fix (r11848): forgot to update vc project files ------------------------------------------------------------------------ r11849 | peter1138 | 2008-01-14 16:35:49 +0000 (Mon, 14 Jan 2008) | 2 lines -Fix (r11848): Incomplete(?) class broke MSVC/mingw compilation ------------------------------------------------------------------------ r11848 | peter1138 | 2008-01-14 16:10:58 +0000 (Mon, 14 Jan 2008) | 2 lines -Codechange: New class-based drop down list functionality. Lists are now dynamically generated, and can include parameters, or be extended however needed. ------------------------------------------------------------------------ r11847 | smatz | 2008-01-14 14:46:09 +0000 (Mon, 14 Jan 2008) | 1 line -Fix: do not affect the speed a train is entering a depot by trackbits behind it ------------------------------------------------------------------------ r11846 | peter1138 | 2008-01-14 11:18:43 +0000 (Mon, 14 Jan 2008) | 2 lines -Fix [FS#1651]: implicit conversion from unsigned to signed int caused compilation failure with MSVC. ------------------------------------------------------------------------ r11845 | smatz | 2008-01-13 23:53:33 +0000 (Sun, 13 Jan 2008) | 1 line -Codechange: simplify train collision detection a bit ------------------------------------------------------------------------ r11844 | glx | 2008-01-13 22:27:06 +0000 (Sun, 13 Jan 2008) | 1 line -Fix: road vehicle count was incorrect in network lobby window ------------------------------------------------------------------------ r11843 | smatz | 2008-01-13 22:12:39 +0000 (Sun, 13 Jan 2008) | 1 line -Fix: mark dirty canal tile even in diagonal direction from flooded tile ------------------------------------------------------------------------ r11842 | rubidium | 2008-01-13 22:10:54 +0000 (Sun, 13 Jan 2008) | 2 lines -Fix: libtimidity.cpp did not compile anymore. ------------------------------------------------------------------------ r11841 | glx | 2008-01-13 22:07:33 +0000 (Sun, 13 Jan 2008) | 1 line -Fix: win32 compilation ------------------------------------------------------------------------ r11840 | rubidium | 2008-01-13 21:51:53 +0000 (Sun, 13 Jan 2008) | 2 lines -Codechange: split network.h so not everything in there needs to be included when wanting to know whether we are a server. ------------------------------------------------------------------------ r11839 | rubidium | 2008-01-13 21:41:24 +0000 (Sun, 13 Jan 2008) | 2 lines -Codechange: move some variables from variables.h to a more logical location. ------------------------------------------------------------------------ r11838 | smatz | 2008-01-13 17:55:00 +0000 (Sun, 13 Jan 2008) | 1 line -Fix (r11320): draw correctly canal next to half flooded rail tile ------------------------------------------------------------------------ r11837 | bjarni | 2008-01-13 17:45:29 +0000 (Sun, 13 Jan 2008) | 4 lines -Feature: [OSX] added "/Library/Application Support/OpenTTD" to the search paths (based on patch by pv2b) It is possible to set this to something else setting shared-dir with config This works on other OSes as well but it's off by default (and not really tested) ------------------------------------------------------------------------ r11836 | bjarni | 2008-01-13 17:37:17 +0000 (Sun, 13 Jan 2008) | 2 lines -Fix [r11834]: [OSX] fixed compilation ------------------------------------------------------------------------ r11835 | smatz | 2008-01-13 14:42:28 +0000 (Sun, 13 Jan 2008) | 1 line -Fix: mark depot, viewports, vehicle lists and vehicle details dirty when a train crashes ------------------------------------------------------------------------ r11834 | rubidium | 2008-01-13 14:37:30 +0000 (Sun, 13 Jan 2008) | 2 lines -Codechange: only include settings_type.h if needed. ------------------------------------------------------------------------ r11833 | bjarni | 2008-01-13 13:53:53 +0000 (Sun, 13 Jan 2008) | 3 lines -Cleanup: changed save_params_array into one item for each line in config.lib This should increase readability and conflict solving ------------------------------------------------------------------------ r11832 | rubidium | 2008-01-13 13:36:01 +0000 (Sun, 13 Jan 2008) | 2 lines -Codechange: get rid of (quite) some VARDEFs. ------------------------------------------------------------------------ r11831 | smatz | 2008-01-13 13:11:59 +0000 (Sun, 13 Jan 2008) | 1 line -Fix: call TrainConsistChanged() when removing crashed train part to be consistent with saveload process ------------------------------------------------------------------------ r11830 | rubidium | 2008-01-13 12:08:35 +0000 (Sun, 13 Jan 2008) | 2 lines -Fix [FS#1625]: road vehicles would not wait in line, but at a single point on bridges. Based on a patch by SmatZ. ------------------------------------------------------------------------ r11829 | rubidium | 2008-01-13 01:39:22 +0000 (Sun, 13 Jan 2008) | 2 lines -Feature: allow reloading openttd.cfg when starting a new game on a dedicated server. Patch by dihedral. ------------------------------------------------------------------------ r11828 | rubidium | 2008-01-13 01:21:35 +0000 (Sun, 13 Jan 2008) | 2 lines -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h. ------------------------------------------------------------------------ r11827 | rubidium | 2008-01-13 00:28:01 +0000 (Sun, 13 Jan 2008) | 2 lines -Codechange: do not include enum_type.hpp unnecessary. ------------------------------------------------------------------------ r11826 | glx | 2008-01-13 00:14:29 +0000 (Sun, 13 Jan 2008) | 1 line -Fix (r10444): at least one instance of dmusic driver is needed for it to be registered and usable ------------------------------------------------------------------------ r11825 | rubidium | 2008-01-12 22:10:00 +0000 (Sat, 12 Jan 2008) | 2 lines -Fix (FS#1627): an articulated road vehicle could split up when it turned around at a corner and then would enter a drive through station at the next tile. ------------------------------------------------------------------------ r11824 | peter1138 | 2008-01-12 21:25:04 +0000 (Sat, 12 Jan 2008) | 2 lines -Fix (r11822): Converting signs from TTD games incomplete ------------------------------------------------------------------------ r11823 | peter1138 | 2008-01-12 21:01:27 +0000 (Sat, 12 Jan 2008) | 2 lines -Fix (r11822): Custom names from old TTD games were not updated. ------------------------------------------------------------------------ r11822 | peter1138 | 2008-01-12 19:58:06 +0000 (Sat, 12 Jan 2008) | 4 lines -Codechange: Replaced fixed size custom name array. Names are now attached to their object directly and there is no limit to the amount of names. -Fix: NewGRF engines could not be renamed. ------------------------------------------------------------------------ r11821 | smatz | 2008-01-12 19:33:25 +0000 (Sat, 12 Jan 2008) | 1 line -Fix (r11802): 'optimization assert' when removing crashed wagon in some cases ------------------------------------------------------------------------ r11820 | smatz | 2008-01-12 19:24:58 +0000 (Sat, 12 Jan 2008) | 1 line -Fix: invalidate depot window when removing crashed train ------------------------------------------------------------------------ r11819 | smatz | 2008-01-12 19:20:44 +0000 (Sat, 12 Jan 2008) | 1 line -Fix: do not access the Vehicle struct that has been already deleted when removing crashed train ------------------------------------------------------------------------ r11818 | rubidium | 2008-01-12 14:10:35 +0000 (Sat, 12 Jan 2008) | 2 lines -Codechange: split player.h into smaller pieces. ------------------------------------------------------------------------ r11817 | peter1138 | 2008-01-12 13:36:22 +0000 (Sat, 12 Jan 2008) | 2 lines -Codechange: Base vehicle group validity on owner, not name. ------------------------------------------------------------------------ r11816 | rubidium | 2008-01-12 08:34:16 +0000 (Sat, 12 Jan 2008) | 2 lines -Fix: forgot clearing one byte, causing the passwords to differ slightly on different platforms. ------------------------------------------------------------------------ r11815 | smatz | 2008-01-11 22:29:47 +0000 (Fri, 11 Jan 2008) | 1 line -Codechange (r11802): some compilers were giving a false warning about uninitialized variable ------------------------------------------------------------------------ r11814 | orudge | 2008-01-11 18:53:52 +0000 (Fri, 11 Jan 2008) | 1 line -Fix: Get OpenTTD compiling again on OS/2 ------------------------------------------------------------------------ r11813 | frosch | 2008-01-11 17:12:41 +0000 (Fri, 11 Jan 2008) | 1 line -Fix [FS#1602]: Switch _screen to the output buffer and disable usage of 32bpp-anim animation buffer during giant screenshots. ------------------------------------------------------------------------ r11812 | smatz | 2008-01-11 15:10:59 +0000 (Fri, 11 Jan 2008) | 1 line -Codechange: introduce TrainExitDir() to simplify some functions ------------------------------------------------------------------------ r11811 | rubidium | 2008-01-11 00:30:32 +0000 (Fri, 11 Jan 2008) | 2 lines -Fix: make compilation without networking work again (and thus move the debugdumpcommand stuff out of the network 'area'). ------------------------------------------------------------------------ r11810 | smatz | 2008-01-10 22:46:04 +0000 (Thu, 10 Jan 2008) | 1 line -Fix (r11802): reset sets when leaving prematurely ------------------------------------------------------------------------ r11809 | smatz | 2008-01-10 21:54:45 +0000 (Thu, 10 Jan 2008) | 1 line -Fix [FS#1643]: set expenses type when selling all vehicles in depot ------------------------------------------------------------------------ r11808 | smatz | 2008-01-10 18:59:16 +0000 (Thu, 10 Jan 2008) | 2 lines -Fix: remember --with-ccache in config.cache -Codechange: shuffle params a bit, sort params in save_params_array in the same order as the table above ------------------------------------------------------------------------ r11807 | frosch | 2008-01-10 18:02:15 +0000 (Thu, 10 Jan 2008) | 1 line -Codechange: Make Action5 handler more upwards- and TTDP-compatible by allowing specifiing more sprites than needed. ------------------------------------------------------------------------ r11806 | glx | 2008-01-10 15:51:34 +0000 (Thu, 10 Jan 2008) | 1 line -Fix (r11793) [FS#1638]: sign inversion when updating income and expenses ------------------------------------------------------------------------ r11805 | frosch | 2008-01-10 13:13:18 +0000 (Thu, 10 Jan 2008) | 1 line -Fix [FS#1620]: VEHICLE_TRIGGER_EMPTY was triggered continuously while train waiting in station. ------------------------------------------------------------------------ r11804 | belugas | 2008-01-10 00:53:17 +0000 (Thu, 10 Jan 2008) | 2 lines -Fix(r11797,FS#1636): Industry tiles should receive the same medecine as indstries themselves regarding the resolver's object ------------------------------------------------------------------------ r11803 | peter1138 | 2008-01-09 23:17:40 +0000 (Wed, 09 Jan 2008) | 2 lines -Fix: unlikely but possible infinite loop leading to undefined behaviour ------------------------------------------------------------------------ r11802 | smatz | 2008-01-09 23:00:59 +0000 (Wed, 09 Jan 2008) | 2 lines -Fix [FS#716]: do not crash trains when leaving depot to a very long track -Codechange: use dedicated pathfinder for signal updating, resulting in better performance and possible future improvements ------------------------------------------------------------------------ r11801 | rubidium | 2008-01-09 21:27:39 +0000 (Wed, 09 Jan 2008) | 2 lines -Codechange: remove some unneeded includes from some header files. ------------------------------------------------------------------------ r11800 | rubidium | 2008-01-09 21:05:03 +0000 (Wed, 09 Jan 2008) | 2 lines -Codechange: move some functions to a more logical location + some type safety. ------------------------------------------------------------------------ r11799 | peter1138 | 2008-01-09 20:23:12 +0000 (Wed, 09 Jan 2008) | 2 lines -Codechange: no need to special-case helicopter rotor 'overrides' ------------------------------------------------------------------------