Commit Graph

9288 Commits

Author SHA1 Message Date
glx
cf315d2656 (svn r13050) -Codechange: make a class of IndustryViewWindow. 2008-05-11 17:44:56 +00:00
rubidium
323004da0c (svn r13049) -Codechange: make a class of the TooltipsWindow. 2008-05-11 17:44:38 +00:00
rubidium
33b830aabe (svn r13048) -Codechange: make a class of the StationViewWindow. 2008-05-11 17:24:52 +00:00
glx
dacd2c5de8 (svn r13047) -Codechange: remove vp_d 2008-05-11 15:08:44 +00:00
rubidium
ee3c14b344 (svn r13046) -Codechange: make classes of the VehicleListWindow and the VehicleGroupWindow. 2008-05-11 15:00:11 +00:00
rubidium
89a60ce249 (svn r13045) -Codechange: make list_d (now GUIList) more generic and uniform. 2008-05-11 14:23:45 +00:00
rubidium
aa0929351d (svn r13044) -Fix: deleting an already deleted window. 2008-05-11 14:09:38 +00:00
rubidium
4a46a5cdda (svn r13043) -Codechange: remove some duplicate variables from news_d. 2008-05-11 13:02:58 +00:00
rubidium
d8a6bb392a (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
29ad1d442a (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
1f70b47e22 (svn r13040) -Codechange: make a class of the NetworkLobbyWindow. 2008-05-11 07:22:13 +00:00
rubidium
dc42908757 (svn r13039) -Codechange: make a class of the Query window. 2008-05-11 06:59:51 +00:00
belugas
914e51546d (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
3651c0585a (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
d706c8b462 (svn r13036) -Codechange: make a class of the BuildIndustry Window. 2008-05-10 23:43:08 +00:00
rubidium
9e0e4c0342 (svn r13035) -Codechange: remove two needless global-ish variables. 2008-05-10 22:43:33 +00:00
rubidium
1853a56291 (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
311a3f9675 (svn r13033) -Fix [FS#2003](r13029): land info tool wasn't working 2008-05-10 19:59:41 +00:00
glx
4c98a72745 (svn r13032) -Codechange: make industry view window resizable and truncate strings 2008-05-10 15:58:22 +00:00
rubidium
9410be7b70 (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
24c2d9ff5c (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
2ac412375c (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
f710876037 (svn r13028) -Codechange: WE_MESSAGE and WE_INVALIDATE_DATA were doing the same thing. 2008-05-10 12:30:27 +00:00
rubidium
2c96ce4506 (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
8ebfbc2bd3 (svn r13026) -Codechange[FS#1999]: Further Dynamite Tool Unification.(Roujin) 2008-05-10 02:59:52 +00:00
rubidium
8d0a7f4634 (svn r13025) -Codechange: remove the need for two WindowEvents. 2008-05-09 15:27:00 +00:00
rubidium
0f7d925121 (svn r13024) -Codechange: do not use WE_MOUSELOOP when WE_TICK suffices, rename WE_4 to something more descriptive and correct some (completely incorrect) comments. 2008-05-09 09:29:27 +00:00
peter1138
edc756697e (svn r13023) -Revert (r1444): Revert changes to multihead engine weight -- the original values were correct. 2008-05-09 07:47:30 +00:00
smatz
273448436a (svn r13022) -Fix: driver list wasn't freed, replace by statically allocated one 2008-05-08 23:26:17 +00:00
rubidium
ee0a49c91a (svn r13021) -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. 2008-05-08 22:53:49 +00:00
glx
5c9c8fc199 (svn r13020) -Codechange: make industry directory window horizontally resizable and truncate strings 2008-05-08 21:09:21 +00:00
glx
a8e8329d41 (svn r13019) -Fix [FS#1997]: silence some more MSVC x64 warnings (michi_cc) 2008-05-08 20:05:32 +00:00
rubidium
fc47683a0b (svn r13018) -Codechange: make a class of the LandInfo Window. 2008-05-08 19:26:55 +00:00
smatz
b4968c6bea (svn r13016) -Codechange: unify the detection if rail catenary should be drawn 2008-05-08 16:48:29 +00:00
rubidium
11d36d5e46 (svn r13015) -Codechange: move some 'WP' structs out of window_gui.h to the .cpp files where they are actually used. 2008-05-08 14:14:16 +00:00
glx
f492567f66 (svn r13014) -Fix (r13008): mingw revealed some signed/unsigned warnings 2008-05-08 14:04:52 +00:00
rubidium
db37b017ef (svn r13013) -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. 2008-05-08 13:51:15 +00:00
rubidium
88e96a5638 (svn r13012) -Fix (r13011): the PlaceProc that was moved depended on another function... 2008-05-08 13:48:34 +00:00
rubidium
2c5db97704 (svn r13011) -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. 2008-05-08 13:30:50 +00:00
rubidium
0c30e46c9c (svn r13010) -Codechange: move the tree building GUI out of misc_gui.cpp. 2008-05-08 13:29:35 +00:00
rubidium
8b9ffbe158 (svn r13009) -Codechange: move more tile highlighting related functions/types to tilehighlight_*.h. 2008-05-08 13:21:55 +00:00
glx
a28ea38653 (svn r13008) -Fix [FS#1997]: silence some MSVC x64 warnings 2008-05-08 13:20:54 +00:00
rubidium
298ce62338 (svn r13007) -Fix: some files in source.list where in the wrong category. 2008-05-08 13:06:12 +00:00
rubidium
f3d184aee4 (svn r13006) -Codechange: GetMenuItemIndex is only used for the toolbar, so move it to there. 2008-05-08 12:59:47 +00:00
rubidium
92aac531c2 (svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window. 2008-05-08 11:50:34 +00:00
rubidium
51cda2252c (svn r13004) -Codechange: replace AllocateWindow and AllocateWindowDesc with a Window constructor. 2008-05-08 11:31:41 +00:00
bjarni
5a7fcf9aa3 (svn r13002) -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)
2008-05-07 23:00:11 +00:00
bjarni
addcd2bb2e (svn r13001) -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 2008-05-07 22:08:20 +00:00
glx
d58b5e3caa (svn r13000) -Fix (r12991): broken win9x compilation 2008-05-07 21:51:13 +00:00
rubidium
054552a30b (svn r12999) -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. 2008-05-07 21:45:27 +00:00