Commit Graph

9212 Commits

Author SHA1 Message Date
smatz
a9cc987929 (svn r13077) -Codechange: move function that updates cached num_engines to engine.cpp, make it run only 1 loop 2008-05-13 21:36:09 +00:00
rubidium
bb3bd587a6 (svn r13076) -Fix [FS#2012]: the wrong autoreplace window would be shown if the vehicle isn't a train. 2008-05-13 21:16:23 +00:00
peter1138
9fa2e849f2 (svn r13075) -Codechange: Allow any value for a dropdown item instead of just positive. 2008-05-13 21:11:38 +00:00
peter1138
eb112946a7 (svn r13074) -Fix: For multiheaded engines, halve power and running cost when used instead of when loading, to allow callback values to work properly. 2008-05-13 20:39:57 +00:00
peter1138
153acec334 (svn r13073) -Codechange: make classes of the NewGRF windows 2008-05-13 20:26:48 +00:00
smatz
ad8057ab76 (svn r13072) -Fix (r12995): possible out-of-bounds access 2008-05-13 18:39:15 +00:00
rubidium
ab7a5568d7 (svn r13071) -Codechange: make also a class of the MainWindow. 2008-05-13 14:59:50 +00:00
rubidium
8e702d1053 (svn r13070) -Fix (r13069): do save before commit... 2008-05-13 14:58:41 +00:00
rubidium
dddfaaac7d (svn r13069) -Codechange: it is no longer needed to pass a void *data pointer with the WE_CREATE message because nothing uses it anymore. 2008-05-13 14:43:33 +00:00
rubidium
db69f81fe7 (svn r13068) -Codechange: make a class of the BuildVehicleWindow. 2008-05-13 14:28:27 +00:00
rubidium
aa44fe3b69 (svn r13067) -Codechange: make a class of the DepotWindow. 2008-05-13 13:39:50 +00:00
rubidium
e6f96da537 (svn r13066) -Fix [FS#2005]: loading of TTDP savegames with rivers in them. 2008-05-13 12:15:52 +00:00
rubidium
d0c79e1164 (svn r13065) -Codechange: remove the need for the news string callbacks. Patch by Cirdan. 2008-05-13 10:17:04 +00:00
glx
d0033bfb07 (svn r13064) -Codechange: make a class of the SelectPlayerFaceWindow. 2008-05-13 01:05:39 +00:00
belugas
3982160f50 (svn r13063) -Fix(13062): Removal of old handler was not followed by removal in descriptor 2008-05-13 00:46:04 +00:00
belugas
6c0d2b9132 (svn r13062) -Codechange: make a class of the TransparencyToolbar. 2008-05-13 00:37:29 +00:00
glx
ca4d92e2f2 (svn r13061) -Codechange: make a class of the BuildTreesWindow. 2008-05-12 21:46:08 +00:00
glx
18c33e1569 (svn r13060) -Codechange: update build industry window when raw_industry_construction setting is modified 2008-05-12 14:54:33 +00:00
glx
cffb7a834c (svn r13058) -Codechange: make a class of the ExtraViewportWindow. 2008-05-12 00:26:44 +00:00
glx
ad19bf105a (svn r13055) -Codechange: make a class of SmallMapWindow. 2008-05-11 19:47:10 +00:00
rubidium
526d5de867 (svn r13054) -Codechange: make a class of the PlayerStationsWindow. 2008-05-11 18:50:12 +00:00
rubidium
4a809a692c (svn r13053) -Codechange: station sorting used it's own implementation of GUIList and the associated enums, now it doesn't anymore. 2008-05-11 18:32:33 +00:00
rubidium
5924346697 (svn r13052) -Codechange: make a class of the DropdownWindow. 2008-05-11 18:18:18 +00:00
rubidium
4caa813711 (svn r13051) -Codechange: depot_d belongs in depot_gui.cpp. 2008-05-11 18:17:56 +00:00
glx
56c3f828cd (svn r13050) -Codechange: make a class of IndustryViewWindow. 2008-05-11 17:44:56 +00:00
rubidium
3ef0a1e3be (svn r13049) -Codechange: make a class of the TooltipsWindow. 2008-05-11 17:44:38 +00:00
rubidium
1be2847668 (svn r13048) -Codechange: make a class of the StationViewWindow. 2008-05-11 17:24:52 +00:00
glx
c708ab3b48 (svn r13047) -Codechange: remove vp_d 2008-05-11 15:08:44 +00:00
rubidium
c47926311b (svn r13046) -Codechange: make classes of the VehicleListWindow and the VehicleGroupWindow. 2008-05-11 15:00:11 +00:00
rubidium
75e3792aa3 (svn r13045) -Codechange: make list_d (now GUIList) more generic and uniform. 2008-05-11 14:23:45 +00:00
rubidium
568464aa96 (svn r13044) -Fix: deleting an already deleted window. 2008-05-11 14:09:38 +00:00
rubidium
9066a961e7 (svn r13043) -Codechange: remove some duplicate variables from news_d. 2008-05-11 13:02:58 +00:00
rubidium
eb2d47b547 (svn r13042) -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. 2008-05-11 12:26:20 +00:00
rubidium
e63137f47f (svn r13041) -Fix: calling a virtual function on a not fully constructed object is bound to cause errors. 2008-05-11 11:41:18 +00:00
rubidium
599bc8942e (svn r13040) -Codechange: make a class of the NetworkLobbyWindow. 2008-05-11 07:22:13 +00:00
rubidium
46875e28be (svn r13039) -Codechange: make a class of the Query window. 2008-05-11 06:59:51 +00:00
belugas
7884a4ff19 (svn r13038) -Fix: When switching the signal gui patch to off, delete the signal window accordingly 2008-05-11 02:15:02 +00:00
rubidium
b47a151bce (svn r13037) -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..
2008-05-10 23:44:15 +00:00
glx
356473efa5 (svn r13036) -Codechange: make a class of the BuildIndustry Window. 2008-05-10 23:43:08 +00:00
rubidium
c32559ac12 (svn r13035) -Codechange: remove two needless global-ish variables. 2008-05-10 22:43:33 +00:00
rubidium
3749323e23 (svn r13034) -Fix: segmentation fault due do double delete when closing the OSK window in some cases. 2008-05-10 21:35:20 +00:00
smatz
d41f3def5c (svn r13033) -Fix [FS#2003](r13029): land info tool wasn't working 2008-05-10 19:59:41 +00:00
glx
6ad199d127 (svn r13032) -Codechange: make industry view window resizable and truncate strings 2008-05-10 15:58:22 +00:00
rubidium
83664c8bc4 (svn r13031) -Codechange: make AssignWidgetToWindow a static function instead of a global one as it should only be used from window.cpp. 2008-05-10 13:54:20 +00:00
rubidium
89c15ecb23 (svn r13030) -Codechange: do use MallocT instead of ReallocT when 100% sure that the pointer you are allocating to is NULL. Patch by Alberth. 2008-05-10 13:53:11 +00:00
rubidium
d24442ae8b (svn r13029) -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. 2008-05-10 13:46:36 +00:00
rubidium
935434333b (svn r13028) -Codechange: WE_MESSAGE and WE_INVALIDATE_DATA were doing the same thing. 2008-05-10 12:30:27 +00:00
rubidium
f23026cce8 (svn r13027) -Codechange: use StrEmpty instead of arr[0] == '\0' and remove the need for WE_ON_EDIT_TEXT_CANCEL. 2008-05-10 08:58:52 +00:00
belugas
e099831210 (svn r13026) -Codechange[FS#1999]: Further Dynamite Tool Unification.(Roujin) 2008-05-10 02:59:52 +00:00
rubidium
68a1d75d9e (svn r13025) -Codechange: remove the need for two WindowEvents. 2008-05-09 15:27:00 +00:00