Commit Graph

3697 Commits (b4e431bf7cddc259631f947ef45b82cf260b4d13)

Author SHA1 Message Date
rubidium ade538828d (svn r13171) -Codechange: make a class of the Build[Air|Rail|Road|Dock]ToolbarWindows. 17 years ago
rubidium eb2f19ed66 (svn r13170) -Codechange: make classes of the EnginePreview and BuyCompany windows. 17 years ago
rubidium 6da56ee87e (svn r13169) -Codechange: remove a (now) unneeded parameter of one of the Window constructors. 17 years ago
smatz 9aa69db2e6 (svn r13168) -Fix (r13072): forgot to 'fix' EngList_SortPartial() together with EngList_Sort() 17 years ago
rubidium 629c5ce740 (svn r13167) -Codechange: prepend _ to a global variable. 17 years ago
rubidium 2e25df3ddf (svn r13166) -Codechange: CmdSetRoadDriveSide belongs in road_cmd.cpp, not settings_gui.cpp. 17 years ago
rubidium 9defec7876 (svn r13165) -Codechange: replace some RebuildXXXList/ResortXXXList+InvalidateWindowXXX with InvalidateWindowXXXData. 17 years ago
glx aab9e191f5 (svn r13163) -Codechange: remove unused code 17 years ago
smatz 4bf7ab0d1c (svn r13162) -Fix (r13160): trees couldn't be planted, correct function wasn't overloaded 17 years ago
glx e82bab5323 (svn r13161) -Fix: free the blitter list when the last blitter is removed. 17 years ago
rubidium fc4393dcfe (svn r13160) -Codechange: prepare GUIPlaceProcDragXY for the removal of WindowEvent. 17 years ago
skidd13 a426047441 (svn r13159) -Feature: Add the ability to sort availible bridges in the build bridge GUI 17 years ago
rubidium fc7e8100e1 (svn r13158) -Codechange: make a class of the GameOptionsWindow. 17 years ago
rubidium 3455844ea3 (svn r13156) -Codechange: make classes of the GraphWindows. 17 years ago
rubidium cc3a41bfa9 (svn r13155) -Codechange: make a window class of the company league and graph legenda windows. 17 years ago
rubidium 50203f8786 (svn r13154) -Codechange: make a window class of the news message history window. 17 years ago
rubidium 33b822faf7 (svn r13153) -Codechange: make classes of the TownViewWindow and the ScenarioEditorTownGenerationWindow. 17 years ago
rubidium 62e36abd2e (svn r13152) -Codechange: make a class of the subsidy window. 17 years ago
rubidium f5681547ef (svn r13151) -Codechange: use an enum instead of bool as return type of OnKeyPress/OnCTRLStateChange to make it obvious what the return values mean. 17 years ago
glx c1713c9ab7 (svn r13150) -Codechange: make classes of the Music[TrackSelection]Window. 17 years ago
skidd13 736671347b (svn r13149) -Codechange: make a class of the BuildBridgeWindow. 17 years ago
glx 8e47178919 (svn r13148) -Codechange: make a class of the SelectGameWindow. 17 years ago
rubidium 152e82ba92 (svn r13147) -Codechange: move the code to draw bankruptcy news to news_gui.cpp. 17 years ago
rubidium 9717e1ef07 (svn r13146) -Codechange: vehicle_base.h doesn't need to be included in vehicle_gui.h. 17 years ago
glx dbdfccc2da (svn r13145) -Codechange: make classes of the BuildDocks[Depot|Station]Window. 17 years ago
glx b68943e4df (svn r13144) -Codechange: make classes of the BuildRoad[Depot|Station]Window. 17 years ago
smatz 88f9fa89bc (svn r13143) -Fix (r13142): the Build Waypoint window wasn't resized when it was opened 17 years ago
glx fdcb4e6402 (svn r13142) -Codechange: make classes of the Build[RailDepot|RailStation|RailWaypoint|Signal]Window 17 years ago
rubidium 7812b24a77 (svn r13141) -Codechange: remove an unused variable from Window. 17 years ago
rubidium 87015f5b63 (svn r13140) -Codechange: move the gui-list-sorting out of window_gui.h so window_gui.h only needs to be included in *_gui.cpp. 17 years ago
rubidium 8b54212900 (svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming. 17 years ago
rubidium d8154e00ac (svn r13138) -Codechange: remove the need for IsWindowOfPrototype. 17 years ago
rubidium 976f86e7a7 (svn r13137) -Fix: do not send rcon commands of the server to the first client but do directly execute those on the server. 17 years ago
rubidium 9f41e0cf18 (svn r13136) -Codechange: make a window class of the console window. 17 years ago
rubidium edb2e77035 (svn r13135) -Codechange: make a class of the NetworkJoinStatusWindow. 17 years ago
belugas 27c3d210c4 (svn r13134) -Codechange: make a class of the Airport Picker Window. 17 years ago
belugas 17bd325574 (svn r13133) -Codechange: Add a base class (descending from Window) for all new windows that are going to require a ResetObjectToPlace to be performed on closing.
This will allow to free the said window only once, and not twice otherwise
17 years ago
glx 5199f5ff47 (svn r13132) -Codechange: make a class of the GenerateProgressWindow. 17 years ago
glx 5b54c9e373 (svn r13131) -Codechange: make a class of the ErrmsgWindow. 17 years ago
rubidium cc0dae2271 (svn r13130) -Codechange: remove some of the (old) WindowEvent wrapper functions/enums/variables as they are not used anymore. 17 years ago
rubidium 55546ae82c (svn r13129) -Codechange: remove the WP macro and it's related variables. 17 years ago
peter1138 7ae25c25b6 (svn r13128) -Codechange: Make a class of the refit window 17 years ago
glx 670eca936f (svn r13127) -Fix (r13122): of course WIN32_LEAN_AND_MEAN excludes too much stuff 17 years ago
glx 180272ed86 (svn r13126) -Fix (r13022) [FS#2009, FS#2010]: driver list should be dynamically allocated as static uninitialistion order is undetermined. The list is freed when the latest driver is removed. 17 years ago
bjarni 5469686001 (svn r13125) -Fix [FS#2000](r12913): [autoreplace] failing replacement and restoring a vehicle will no longer decrease the vehicle count in groups 17 years ago
glx ced7ee3043 (svn r13124) -Codechange: make a class of the OrdersWindow. 17 years ago
rubidium 5ede3da220 (svn r13123) -Codechange: passing the bankrupt type via data_b is not needed anymore. Patch by Cirdan. 17 years ago
glx 5ea41a57b8 (svn r13122) -Fix: WIN32_LEAN_AND_MEAN define is needed for all WIN32 compilers 17 years ago
rubidium 3b97cc2e30 (svn r13121) -Codechange: make a class of the PerformanceRatingDetailWindow. 17 years ago
rubidium 2da844b146 (svn r13120) -Codechange: make a class of the VehicleDetailsWindow. 17 years ago
rubidium e1cce4dd3c (svn r13119) -Codechange: make a class of the timetable window. 17 years ago
rubidium feba3ac1e7 (svn r13118) -Codechange: make classes of the EndGameWindow and the HighScoreWindow. 17 years ago
rubidium b39525581d (svn r13117) -Codechange: make a window class of the PlayerFinancesWindow. 17 years ago
rubidium 1a2413d59e (svn r13116) -Codechange: make a window class of the statusbar window. 17 years ago
rubidium 6ac20f00bb (svn r13115) -Codechange: make a window subclass of the MessageOptionsWindow. 17 years ago
rubidium 7491b792e2 (svn r13114) -Codechange: use InvalidateData instead of direct window access to modify the state of the statusbar from outside the statusbar. 17 years ago
rubidium 7c7a4de3e5 (svn r13113) -Codechange: make a class of the TownAuthorityWindow. 17 years ago
rubidium b84adf1d89 (svn r13112) -Codechange: make classes of the patches and custom currency windows. 17 years ago
rubidium 9e4d664a24 (svn r13111) -Documentation: update the documentation of AddNewsItem to reflect reality. Patch by Cirdan. 17 years ago
rubidium c81a333cb6 (svn r13110) -Fix [FS#2018]: some toolbar buttons not being unpressed properly. 17 years ago
rubidium 9013632325 (svn r13109) -Codechange: make a class out of the CheatWindow. 17 years ago
rubidium b08d728ac9 (svn r13108) -Codechange: make a Window subclass of the main toolbars sub menus. 17 years ago
glx 6a50687bdc (svn r13107) -Codechange: make NetworkCompanyPasswordWindow and SelectPlayerFaceWindow children of PlayerCompanyWindow. 17 years ago
rubidium eeb6381690 (svn r13106) -Codechange: rework the toolbar code a little so functions do not have to return the Window they just created. 17 years ago
rubidium 8ba6f08ca6 (svn r13105) -Fix [FS#2015]: the title of a query window would (sometimes) change when the on screen keyboard was opened. 17 years ago
rubidium 5ae795953a (svn r13104) -Codechange: make ResetObjectToPlace safe to be called recursively via the OnPlaceObjectAbort callback and use this knowledge to simplify closing some windows. 17 years ago
rubidium 8fff6e8638 (svn r13103) -Codechange: make a class of the PlayerCompanyWindow. 17 years ago
rubidium d94bef9d5c (svn r13102) -Codechange: make a class of the NewsWindow. 17 years ago
rubidium d1ab9908bc (svn r13101) -Codechange: remove a unused global function. 17 years ago
rubidium 76b8970a33 (svn r13100) -Codechange: reduce the amount of parameters passed via AddNewsMessage as there is (for each news message type) a tuple of 4 parameters that is the same for all calls. 17 years ago
rubidium 009a748ab3 (svn r13099) -Fix [FS#2014]: when a window had children only one of them would be closed (on a parent closure) instead of all children. 17 years ago
rubidium 15e89b32b9 (svn r13098) -Fix [FS#2016]: segmentation fault on opening an already opened depot. 17 years ago
glx 534bf5b402 (svn r13097) -Codechange: make a class of the GameDifficultyWindow. 17 years ago
glx bdd75a65f8 (svn r13096) -Codechange: resize SelectPlayerLiveryWindow dynamically on _loaded_newgrf_feature.has_2CC changes 17 years ago
glx 7728ef7204 (svn r13095) -Codechange: make a class of the SelectPlayerLiveryWindow. 17 years ago
rubidium 0449abe88b (svn r13094) -Fix: closing the QueryWindow would always send a 'query has been cancelled message' even when it was not cancelled causing joining passworded servers/companies to fail. 17 years ago
glx be43bbc3f3 (svn r13093) -Codechange: make a class of AboutWindow. 17 years ago
glx 22960e82aa (svn r13092) -Fix (r13042): don't add a variable in a subclass when the parent class already have it 17 years ago
smatz 7890344bbd (svn r13091) -Fix: certain compilers give false warning about uninitialized variable 17 years ago
smatz ec627dedf8 (svn r13090) -Codechange: add functions for direct conversion from DiagDirection to Track and Trackbits 17 years ago
smatz 56f15b3544 (svn r13089) -Fix (r13072): MorphOS compilation was broken 17 years ago
smatz 08814d50ea (svn r13088) -Codechange: use SigSegState enum instead of bool variable (michi_cc) 17 years ago
peter1138 6bfd695002 (svn r13087) -Codechange: Constify CalcPercentVehicleFilled() (michi_cc) 17 years ago
smatz f64c4fc4fb (svn r13086) -Fix: do not crash badly after loading a newgrf with engines in-game that often 17 years ago
glx bbc173dfc6 (svn r13083) -Fix (r13042): another segmentation fault when OskWindow's parent closes it 17 years ago
glx c9f26cceb7 (svn r13082) -Fix (r13042): segmentation fault due to too early deletion of OskWindow. 17 years ago
glx b4682bff97 (svn r13081) -Fix: Empty while-loop warnings from gcc 4.3+ 17 years ago
smatz 311f2482fa (svn r13080) -Fix: warning about unused variable when compiling without asserts 17 years ago
smatz a152d420a5 (svn r13079) -Fix: certain compilers give false warning about uninitialized variable 17 years ago
rubidium cf91f6bf3e (svn r13078) -Fix: group gui used the vehicle type before it was actually set. 17 years ago
smatz a9cc987929 (svn r13077) -Codechange: move function that updates cached num_engines to engine.cpp, make it run only 1 loop 17 years ago
rubidium bb3bd587a6 (svn r13076) -Fix [FS#2012]: the wrong autoreplace window would be shown if the vehicle isn't a train. 17 years ago
peter1138 9fa2e849f2 (svn r13075) -Codechange: Allow any value for a dropdown item instead of just positive. 17 years ago
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. 17 years ago
peter1138 153acec334 (svn r13073) -Codechange: make classes of the NewGRF windows 17 years ago
smatz ad8057ab76 (svn r13072) -Fix (r12995): possible out-of-bounds access 17 years ago
rubidium ab7a5568d7 (svn r13071) -Codechange: make also a class of the MainWindow. 17 years ago
rubidium 8e702d1053 (svn r13070) -Fix (r13069): do save before commit... 17 years ago
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. 17 years ago
rubidium db69f81fe7 (svn r13068) -Codechange: make a class of the BuildVehicleWindow. 17 years ago
rubidium aa44fe3b69 (svn r13067) -Codechange: make a class of the DepotWindow. 17 years ago
rubidium e6f96da537 (svn r13066) -Fix [FS#2005]: loading of TTDP savegames with rivers in them. 17 years ago
rubidium d0c79e1164 (svn r13065) -Codechange: remove the need for the news string callbacks. Patch by Cirdan. 17 years ago
glx d0033bfb07 (svn r13064) -Codechange: make a class of the SelectPlayerFaceWindow. 17 years ago
belugas 3982160f50 (svn r13063) -Fix(13062): Removal of old handler was not followed by removal in descriptor 17 years ago
belugas 6c0d2b9132 (svn r13062) -Codechange: make a class of the TransparencyToolbar. 17 years ago
glx ca4d92e2f2 (svn r13061) -Codechange: make a class of the BuildTreesWindow. 17 years ago
glx 18c33e1569 (svn r13060) -Codechange: update build industry window when raw_industry_construction setting is modified 17 years ago
glx cffb7a834c (svn r13058) -Codechange: make a class of the ExtraViewportWindow. 17 years ago
glx ad19bf105a (svn r13055) -Codechange: make a class of SmallMapWindow. 17 years ago
rubidium 526d5de867 (svn r13054) -Codechange: make a class of the PlayerStationsWindow. 17 years ago
rubidium 4a809a692c (svn r13053) -Codechange: station sorting used it's own implementation of GUIList and the associated enums, now it doesn't anymore. 17 years ago
rubidium 5924346697 (svn r13052) -Codechange: make a class of the DropdownWindow. 17 years ago
rubidium 4caa813711 (svn r13051) -Codechange: depot_d belongs in depot_gui.cpp. 17 years ago
glx 56c3f828cd (svn r13050) -Codechange: make a class of IndustryViewWindow. 17 years ago
rubidium 3ef0a1e3be (svn r13049) -Codechange: make a class of the TooltipsWindow. 17 years ago
rubidium 1be2847668 (svn r13048) -Codechange: make a class of the StationViewWindow. 17 years ago
glx c708ab3b48 (svn r13047) -Codechange: remove vp_d 17 years ago
rubidium c47926311b (svn r13046) -Codechange: make classes of the VehicleListWindow and the VehicleGroupWindow. 17 years ago
rubidium 75e3792aa3 (svn r13045) -Codechange: make list_d (now GUIList) more generic and uniform. 17 years ago
rubidium 568464aa96 (svn r13044) -Fix: deleting an already deleted window. 17 years ago
rubidium 9066a961e7 (svn r13043) -Codechange: remove some duplicate variables from news_d. 17 years ago
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. 17 years ago
rubidium e63137f47f (svn r13041) -Fix: calling a virtual function on a not fully constructed object is bound to cause errors. 17 years ago
rubidium 599bc8942e (svn r13040) -Codechange: make a class of the NetworkLobbyWindow. 17 years ago
rubidium 46875e28be (svn r13039) -Codechange: make a class of the Query window. 17 years ago
belugas 7884a4ff19 (svn r13038) -Fix: When switching the signal gui patch to off, delete the signal window accordingly 17 years ago
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..
17 years ago
glx 356473efa5 (svn r13036) -Codechange: make a class of the BuildIndustry Window. 17 years ago
rubidium c32559ac12 (svn r13035) -Codechange: remove two needless global-ish variables. 17 years ago
rubidium 3749323e23 (svn r13034) -Fix: segmentation fault due do double delete when closing the OSK window in some cases. 17 years ago
smatz d41f3def5c (svn r13033) -Fix [FS#2003](r13029): land info tool wasn't working 17 years ago
glx 6ad199d127 (svn r13032) -Codechange: make industry view window resizable and truncate strings 17 years ago
rubidium 83664c8bc4 (svn r13031) -Codechange: make AssignWidgetToWindow a static function instead of a global one as it should only be used from window.cpp. 17 years ago
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. 17 years ago
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. 17 years ago
rubidium 935434333b (svn r13028) -Codechange: WE_MESSAGE and WE_INVALIDATE_DATA were doing the same thing. 17 years ago
rubidium f23026cce8 (svn r13027) -Codechange: use StrEmpty instead of arr[0] == '\0' and remove the need for WE_ON_EDIT_TEXT_CANCEL. 17 years ago
belugas e099831210 (svn r13026) -Codechange[FS#1999]: Further Dynamite Tool Unification.(Roujin) 17 years ago
rubidium 68a1d75d9e (svn r13025) -Codechange: remove the need for two WindowEvents. 17 years ago
rubidium f438700402 (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. 17 years ago
peter1138 486172e07f (svn r13023) -Revert (r1444): Revert changes to multihead engine weight -- the original values were correct. 17 years ago
smatz 5e51833ee5 (svn r13022) -Fix: driver list wasn't freed, replace by statically allocated one 17 years ago
rubidium 2ba05f8987 (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. 17 years ago
glx bc514a7f51 (svn r13020) -Codechange: make industry directory window horizontally resizable and truncate strings 17 years ago
glx 0b37b81956 (svn r13019) -Fix [FS#1997]: silence some more MSVC x64 warnings (michi_cc) 17 years ago
rubidium ba853fdb0b (svn r13018) -Codechange: make a class of the LandInfo Window. 17 years ago
smatz 386a3f1d20 (svn r13016) -Codechange: unify the detection if rail catenary should be drawn 17 years ago
rubidium 4a11ebe76f (svn r13015) -Codechange: move some 'WP' structs out of window_gui.h to the .cpp files where they are actually used. 17 years ago
glx 5fda77239e (svn r13014) -Fix (r13008): mingw revealed some signed/unsigned warnings 17 years ago