------------------------------------------------------------------------ r13088 | smatz | 2008-05-14 16:38:53 +0000 (Wed, 14 May 2008) | 1 line -Codechange: use SigSegState enum instead of bool variable (michi_cc) ------------------------------------------------------------------------ r13087 | peter1138 | 2008-05-14 15:34:04 +0000 (Wed, 14 May 2008) | 2 lines -Codechange: Constify CalcPercentVehicleFilled() (michi_cc) ------------------------------------------------------------------------ r13086 | smatz | 2008-05-14 15:29:48 +0000 (Wed, 14 May 2008) | 1 line -Fix: do not crash badly after loading a newgrf with engines in-game that often ------------------------------------------------------------------------ r13085 | glx | 2008-05-14 03:34:17 +0000 (Wed, 14 May 2008) | 1 line -Fix (r12980): wrong syntax in source.list causing unneeded file additions by generate.vbs ------------------------------------------------------------------------ r13084 | glx | 2008-05-14 02:52:06 +0000 (Wed, 14 May 2008) | 1 line -Fix (r13042): forgot to add querystring_gui.h to source.list and project files ------------------------------------------------------------------------ r13083 | glx | 2008-05-14 02:32:35 +0000 (Wed, 14 May 2008) | 1 line -Fix (r13042): another segmentation fault when OskWindow's parent closes it ------------------------------------------------------------------------ r13082 | glx | 2008-05-14 01:57:12 +0000 (Wed, 14 May 2008) | 1 line -Fix (r13042): segmentation fault due to too early deletion of OskWindow. ------------------------------------------------------------------------ r13081 | glx | 2008-05-13 22:42:10 +0000 (Tue, 13 May 2008) | 1 line -Fix: Empty while-loop warnings from gcc 4.3+ ------------------------------------------------------------------------ r13080 | smatz | 2008-05-13 22:19:20 +0000 (Tue, 13 May 2008) | 1 line -Fix: warning about unused variable when compiling without asserts ------------------------------------------------------------------------ r13079 | smatz | 2008-05-13 22:02:14 +0000 (Tue, 13 May 2008) | 1 line -Fix: certain compilers give false warning about uninitialized variable ------------------------------------------------------------------------ r13078 | rubidium | 2008-05-13 21:50:31 +0000 (Tue, 13 May 2008) | 2 lines -Fix: group gui used the vehicle type before it was actually set. ------------------------------------------------------------------------ r13077 | smatz | 2008-05-13 21:36:09 +0000 (Tue, 13 May 2008) | 1 line -Codechange: move function that updates cached num_engines to engine.cpp, make it run only 1 loop ------------------------------------------------------------------------ r13076 | rubidium | 2008-05-13 21:16:23 +0000 (Tue, 13 May 2008) | 2 lines -Fix [FS#2012]: the wrong autoreplace window would be shown if the vehicle isn't a train. ------------------------------------------------------------------------ r13075 | peter1138 | 2008-05-13 21:11:38 +0000 (Tue, 13 May 2008) | 2 lines -Codechange: Allow any value for a dropdown item instead of just positive. ------------------------------------------------------------------------ r13074 | peter1138 | 2008-05-13 20:39:57 +0000 (Tue, 13 May 2008) | 2 lines -Fix: For multiheaded engines, halve power and running cost when used instead of when loading, to allow callback values to work properly. ------------------------------------------------------------------------ r13073 | peter1138 | 2008-05-13 20:26:48 +0000 (Tue, 13 May 2008) | 2 lines -Codechange: make classes of the NewGRF windows ------------------------------------------------------------------------ r13072 | smatz | 2008-05-13 18:39:15 +0000 (Tue, 13 May 2008) | 1 line -Fix (r12995): possible out-of-bounds access ------------------------------------------------------------------------ r13071 | rubidium | 2008-05-13 14:59:50 +0000 (Tue, 13 May 2008) | 2 lines -Codechange: make also a class of the MainWindow. ------------------------------------------------------------------------ r13070 | rubidium | 2008-05-13 14:58:41 +0000 (Tue, 13 May 2008) | 2 lines -Fix (r13069): do save before commit... ------------------------------------------------------------------------ r13069 | rubidium | 2008-05-13 14:43:33 +0000 (Tue, 13 May 2008) | 2 lines -Codechange: it is no longer needed to pass a void *data pointer with the WE_CREATE message because nothing uses it anymore. ------------------------------------------------------------------------ r13068 | rubidium | 2008-05-13 14:28:27 +0000 (Tue, 13 May 2008) | 2 lines -Codechange: make a class of the BuildVehicleWindow. ------------------------------------------------------------------------ r13067 | rubidium | 2008-05-13 13:39:50 +0000 (Tue, 13 May 2008) | 2 lines -Codechange: make a class of the DepotWindow. ------------------------------------------------------------------------ r13066 | rubidium | 2008-05-13 12:15:52 +0000 (Tue, 13 May 2008) | 2 lines -Fix [FS#2005]: loading of TTDP savegames with rivers in them. ------------------------------------------------------------------------ r13065 | rubidium | 2008-05-13 10:17:04 +0000 (Tue, 13 May 2008) | 2 lines -Codechange: remove the need for the news string callbacks. Patch by Cirdan. ------------------------------------------------------------------------ r13064 | glx | 2008-05-13 01:05:39 +0000 (Tue, 13 May 2008) | 1 line -Codechange: make a class of the SelectPlayerFaceWindow. ------------------------------------------------------------------------ r13063 | belugas | 2008-05-13 00:46:04 +0000 (Tue, 13 May 2008) | 1 line -Fix(13062): Removal of old handler was not followed by removal in descriptor ------------------------------------------------------------------------ r13062 | belugas | 2008-05-13 00:37:29 +0000 (Tue, 13 May 2008) | 1 line -Codechange: make a class of the TransparencyToolbar. ------------------------------------------------------------------------ r13061 | glx | 2008-05-12 21:46:08 +0000 (Mon, 12 May 2008) | 1 line -Codechange: make a class of the BuildTreesWindow. ------------------------------------------------------------------------ r13060 | glx | 2008-05-12 14:54:33 +0000 (Mon, 12 May 2008) | 1 line -Codechange: update build industry window when raw_industry_construction setting is modified ------------------------------------------------------------------------ r13058 | glx | 2008-05-12 00:26:44 +0000 (Mon, 12 May 2008) | 1 line -Codechange: make a class of the ExtraViewportWindow. ------------------------------------------------------------------------ r13055 | glx | 2008-05-11 19:47:10 +0000 (Sun, 11 May 2008) | 1 line -Codechange: make a class of SmallMapWindow. ------------------------------------------------------------------------ r13054 | rubidium | 2008-05-11 18:50:12 +0000 (Sun, 11 May 2008) | 2 lines -Codechange: make a class of the PlayerStationsWindow. ------------------------------------------------------------------------ r13053 | rubidium | 2008-05-11 18:32:33 +0000 (Sun, 11 May 2008) | 2 lines -Codechange: station sorting used it's own implementation of GUIList and the associated enums, now it doesn't anymore. ------------------------------------------------------------------------ r13052 | rubidium | 2008-05-11 18:18:18 +0000 (Sun, 11 May 2008) | 2 lines -Codechange: make a class of the DropdownWindow. ------------------------------------------------------------------------ r13051 | rubidium | 2008-05-11 18:17:56 +0000 (Sun, 11 May 2008) | 2 lines -Codechange: depot_d belongs in depot_gui.cpp. ------------------------------------------------------------------------ r13050 | glx | 2008-05-11 17:44:56 +0000 (Sun, 11 May 2008) | 1 line -Codechange: make a class of IndustryViewWindow. ------------------------------------------------------------------------ r13049 | rubidium | 2008-05-11 17:44:38 +0000 (Sun, 11 May 2008) | 2 lines -Codechange: make a class of the TooltipsWindow. ------------------------------------------------------------------------ r13048 | rubidium | 2008-05-11 17:24:52 +0000 (Sun, 11 May 2008) | 2 lines -Codechange: make a class of the StationViewWindow. ------------------------------------------------------------------------ r13047 | glx | 2008-05-11 15:08:44 +0000 (Sun, 11 May 2008) | 1 line -Codechange: remove vp_d ------------------------------------------------------------------------ r13046 | rubidium | 2008-05-11 15:00:11 +0000 (Sun, 11 May 2008) | 2 lines -Codechange: make classes of the VehicleListWindow and the VehicleGroupWindow. ------------------------------------------------------------------------ r13045 | rubidium | 2008-05-11 14:23:45 +0000 (Sun, 11 May 2008) | 2 lines -Codechange: make list_d (now GUIList) more generic and uniform. ------------------------------------------------------------------------ r13044 | rubidium | 2008-05-11 14:09:38 +0000 (Sun, 11 May 2008) | 2 lines -Fix: deleting an already deleted window. ------------------------------------------------------------------------ r13043 | rubidium | 2008-05-11 13:02:58 +0000 (Sun, 11 May 2008) | 2 lines -Codechange: remove some duplicate variables from news_d. ------------------------------------------------------------------------ r13042 | rubidium | 2008-05-11 12:26:20 +0000 (Sun, 11 May 2008) | 2 lines -Codechange: make a class of CreateScenarioWindow, GenerateLandscapeWindow, NetworkChatWindow, NetworkCompanyPasswordWindow, NetworkGameWindow, NetworkStartServerWindow, QueryStringWindow, SaveLoadWindow. All these classes depended on the 'querystr_d' object which is now put into QueryStringBaseWindow. As a side effect this removes quite a lot of WP macro usages and a few global variables. ------------------------------------------------------------------------ r13041 | rubidium | 2008-05-11 11:41:18 +0000 (Sun, 11 May 2008) | 2 lines -Fix: calling a virtual function on a not fully constructed object is bound to cause errors. ------------------------------------------------------------------------ r13040 | rubidium | 2008-05-11 07:22:13 +0000 (Sun, 11 May 2008) | 2 lines -Codechange: make a class of the NetworkLobbyWindow. ------------------------------------------------------------------------ r13039 | rubidium | 2008-05-11 06:59:51 +0000 (Sun, 11 May 2008) | 2 lines -Codechange: make a class of the Query window. ------------------------------------------------------------------------ r13038 | belugas | 2008-05-11 02:15:02 +0000 (Sun, 11 May 2008) | 1 line -Fix: When switching the signal gui patch to off, delete the signal window accordingly ------------------------------------------------------------------------ r13037 | rubidium | 2008-05-10 23:44:15 +0000 (Sat, 10 May 2008) | 3 lines -Codechange: make a class of the ReplaceVehicle window. -Fix [FS#1997]: MSVC 64 bit build failing to compile due to std::vectors being very large.. ------------------------------------------------------------------------ r13036 | glx | 2008-05-10 23:43:08 +0000 (Sat, 10 May 2008) | 1 line -Codechange: make a class of the BuildIndustry Window. ------------------------------------------------------------------------ r13035 | rubidium | 2008-05-10 22:43:33 +0000 (Sat, 10 May 2008) | 2 lines -Codechange: remove two needless global-ish variables. ------------------------------------------------------------------------ r13034 | rubidium | 2008-05-10 21:35:20 +0000 (Sat, 10 May 2008) | 2 lines -Fix: segmentation fault due do double delete when closing the OSK window in some cases. ------------------------------------------------------------------------ r13033 | smatz | 2008-05-10 19:59:41 +0000 (Sat, 10 May 2008) | 1 line -Fix [FS#2003](r13029): land info tool wasn't working ------------------------------------------------------------------------ r13032 | glx | 2008-05-10 15:58:22 +0000 (Sat, 10 May 2008) | 1 line -Codechange: make industry view window resizable and truncate strings ------------------------------------------------------------------------ r13031 | rubidium | 2008-05-10 13:54:20 +0000 (Sat, 10 May 2008) | 2 lines -Codechange: make AssignWidgetToWindow a static function instead of a global one as it should only be used from window.cpp. ------------------------------------------------------------------------ r13030 | rubidium | 2008-05-10 13:53:11 +0000 (Sat, 10 May 2008) | 2 lines -Codechange: do use MallocT instead of ReallocT when 100% sure that the pointer you are allocating to is NULL. Patch by Alberth. ------------------------------------------------------------------------ r13029 | rubidium | 2008-05-10 13:46:36 +0000 (Sat, 10 May 2008) | 2 lines -Codechange: more work in the road to getting the WP macros and byte[WINDOW_CUSTOM_SIZE] removed. This step changes the event handling to work directly on the Window class instead of via a function pointer and big switches while keeping backward compatability while we're rewriting the Windows to the new scheme. ------------------------------------------------------------------------ r13028 | rubidium | 2008-05-10 12:30:27 +0000 (Sat, 10 May 2008) | 2 lines -Codechange: WE_MESSAGE and WE_INVALIDATE_DATA were doing the same thing. ------------------------------------------------------------------------ r13027 | rubidium | 2008-05-10 08:58:52 +0000 (Sat, 10 May 2008) | 2 lines -Codechange: use StrEmpty instead of arr[0] == '\0' and remove the need for WE_ON_EDIT_TEXT_CANCEL. ------------------------------------------------------------------------ r13026 | belugas | 2008-05-10 02:59:52 +0000 (Sat, 10 May 2008) | 1 line -Codechange[FS#1999]: Further Dynamite Tool Unification.(Roujin) ------------------------------------------------------------------------ r13025 | rubidium | 2008-05-09 15:27:00 +0000 (Fri, 09 May 2008) | 2 lines -Codechange: remove the need for two WindowEvents. ------------------------------------------------------------------------ r13024 | rubidium | 2008-05-09 09:29:27 +0000 (Fri, 09 May 2008) | 2 lines -Codechange: do not use WE_MOUSELOOP when WE_TICK suffices, rename WE_4 to something more descriptive and correct some (completely incorrect) comments. ------------------------------------------------------------------------ r13023 | peter1138 | 2008-05-09 07:47:30 +0000 (Fri, 09 May 2008) | 2 lines -Revert (r1444): Revert changes to multihead engine weight -- the original values were correct. ------------------------------------------------------------------------ r13022 | smatz | 2008-05-08 23:26:17 +0000 (Thu, 08 May 2008) | 1 line -Fix: driver list wasn't freed, replace by statically allocated one ------------------------------------------------------------------------ r13021 | rubidium | 2008-05-08 22:53:49 +0000 (Thu, 08 May 2008) | 2 lines -Codechange: free data_b for other uses when it is not used to store a second tile to skip to (in news messages). Patch by cirdan. ------------------------------------------------------------------------ r13020 | glx | 2008-05-08 21:09:21 +0000 (Thu, 08 May 2008) | 1 line -Codechange: make industry directory window horizontally resizable and truncate strings ------------------------------------------------------------------------ r13019 | glx | 2008-05-08 20:05:32 +0000 (Thu, 08 May 2008) | 1 line -Fix [FS#1997]: silence some more MSVC x64 warnings (michi_cc) ------------------------------------------------------------------------ r13018 | rubidium | 2008-05-08 19:26:55 +0000 (Thu, 08 May 2008) | 2 lines -Codechange: make a class of the LandInfo Window. ------------------------------------------------------------------------ r13016 | smatz | 2008-05-08 16:48:29 +0000 (Thu, 08 May 2008) | 1 line -Codechange: unify the detection if rail catenary should be drawn ------------------------------------------------------------------------ r13015 | rubidium | 2008-05-08 14:14:16 +0000 (Thu, 08 May 2008) | 2 lines -Codechange: move some 'WP' structs out of window_gui.h to the .cpp files where they are actually used. ------------------------------------------------------------------------ r13014 | glx | 2008-05-08 14:04:52 +0000 (Thu, 08 May 2008) | 1 line -Fix (r13008): mingw revealed some signed/unsigned warnings ------------------------------------------------------------------------ r13013 | rubidium | 2008-05-08 13:51:15 +0000 (Thu, 08 May 2008) | 2 lines -Fix: GCC 4.3 warning about a clobbering mask due to longjmp. This can't be solved by using exceptions because the longjmp is needed for PNG (C-code) handling. ------------------------------------------------------------------------ r13012 | rubidium | 2008-05-08 13:48:34 +0000 (Thu, 08 May 2008) | 2 lines -Fix (r13011): the PlaceProc that was moved depended on another function... ------------------------------------------------------------------------ r13011 | rubidium | 2008-05-08 13:30:50 +0000 (Thu, 08 May 2008) | 2 lines -Codechange: move PlaceProc_BuyLand out of rail_gui.cpp to the place where it is used and remove some unneeded globalisations of some other PlaceProc functions. ------------------------------------------------------------------------ r13010 | rubidium | 2008-05-08 13:29:35 +0000 (Thu, 08 May 2008) | 2 lines -Codechange: move the tree building GUI out of misc_gui.cpp. ------------------------------------------------------------------------ r13009 | rubidium | 2008-05-08 13:21:55 +0000 (Thu, 08 May 2008) | 2 lines -Codechange: move more tile highlighting related functions/types to tilehighlight_*.h. ------------------------------------------------------------------------ r13008 | glx | 2008-05-08 13:20:54 +0000 (Thu, 08 May 2008) | 1 line -Fix [FS#1997]: silence some MSVC x64 warnings ------------------------------------------------------------------------ r13007 | rubidium | 2008-05-08 13:06:12 +0000 (Thu, 08 May 2008) | 2 lines -Fix: some files in source.list where in the wrong category. ------------------------------------------------------------------------ r13006 | rubidium | 2008-05-08 12:59:47 +0000 (Thu, 08 May 2008) | 2 lines -Codechange: GetMenuItemIndex is only used for the toolbar, so move it to there. ------------------------------------------------------------------------ r13005 | rubidium | 2008-05-08 11:50:34 +0000 (Thu, 08 May 2008) | 2 lines -Codechange: prepare AllocateWindowDescFront for subclassing of Window. ------------------------------------------------------------------------ r13004 | rubidium | 2008-05-08 11:31:41 +0000 (Thu, 08 May 2008) | 2 lines -Codechange: replace AllocateWindow and AllocateWindowDesc with a Window constructor. ------------------------------------------------------------------------ r13002 | bjarni | 2008-05-07 23:00:11 +0000 (Wed, 07 May 2008) | 3 lines -Fix (r13001): [autoreplace] previous fix broke updating of a pointer to the front vehicle in certain cases Now it's updated when it's the front vehicle and it's every time it's the front vehicle and only if it's the front vehicle (nomatter if the replacement works or not) ------------------------------------------------------------------------ r13001 | bjarni | 2008-05-07 22:08:20 +0000 (Wed, 07 May 2008) | 2 lines -Fix [FS#1994](r12913): [autoreplace] we should stop working on vehicles right away if we fail to replace them and certainly not presume their data is valid ------------------------------------------------------------------------ r13000 | glx | 2008-05-07 21:51:13 +0000 (Wed, 07 May 2008) | 1 line -Fix (r12991): broken win9x compilation ------------------------------------------------------------------------ r12999 | rubidium | 2008-05-07 21:45:27 +0000 (Wed, 07 May 2008) | 2 lines -Fix [FS#1995]: when a Window got deleted on a double click event, we should not send a click event to the now non-existant Window as that causes segfaults. ------------------------------------------------------------------------ r12998 | rubidium | 2008-05-07 21:42:17 +0000 (Wed, 07 May 2008) | 2 lines -Fix: -Wredundant_decls sees "friend" declarations as redundant declarations in GCC 2.95, so only use if for GCC >= 3. ------------------------------------------------------------------------ r12996 | glx | 2008-05-07 20:10:48 +0000 (Wed, 07 May 2008) | 1 line -Fix: debugging was not possible with MSVC 2008 ------------------------------------------------------------------------ r12995 | smatz | 2008-05-07 18:31:29 +0000 (Wed, 07 May 2008) | 1 line -Codechange: use std::vector for EngineList instead of C/C++ wrapper for CBlobT ------------------------------------------------------------------------ r12994 | smatz | 2008-05-07 18:14:09 +0000 (Wed, 07 May 2008) | 1 line -Fix (r12976): another case main toolbar wasn't marked dirty ------------------------------------------------------------------------