Commit Graph

3725 Commits (d19c347fd07f1a1c5d460eec7f29cdb465772b3c)

Author SHA1 Message Date
smatz 3866effe71 (svn r13222) -Change: allow old AI building helistations and helidepots for oil rig routes 17 years ago
smatz 0b07ed0bcd (svn r13221) -Fix (r8747): old AI failed to build oil rig routes 17 years ago
smatz 2d14e889b2 (svn r13217) -Fix: old AI was building small airports in years when they were not available in original game, causing small planes and helis everywhere 17 years ago
smatz a1bf80933d (svn r13216) -Codechange [FS#2026]: enumify and comment Editor Terraform Toolbar widgets (Roujin) 17 years ago
smatz e9cd783e66 (svn r13215) -Codechange [FS#2029]: enumify and comment Build Dock widgets (Roujin) 17 years ago
belugas 1e79665b45 (svn r13210) -Codechange: make town (previously named t) a private member of the different Town guis and assign it only once, at creation 17 years ago
belugas b4128cbc25 (svn r13209) -Codechange: Privatize what should be private. 17 years ago
smatz 0d2266a3ac (svn r13208) -Fix (r13173): it was possible to open invalid submenu from dropdowns 17 years ago
smatz 0b54ea39db (svn r13207) -Fix: misleading comments (michi_cc) 17 years ago
frosch eca692ef90 (svn r13206) -Feature(ette): Display all owners of a tile in the tile-info-window. 17 years ago
peter1138 510c0acb4a (svn r13205) -Codechange: Remove unnecessary code-style-buggering-up macro. 17 years ago
glx 621e205f74 (svn r13202) -Fix (r13149): MSVC signed/unsigned warning 17 years ago
smatz f244b6b361 (svn r13191) -Fix: segfault after confirming query subwindow in the Generate New World window 17 years ago
smatz 5cedf77a9a (svn r13190) -Cleanup: remove unused variable 17 years ago
rubidium 27c38052b7 (svn r13185) -Codechange: remove everything related to the WindowProc callbacks. 17 years ago
rubidium fc29abf621 (svn r13184) -Codechange: make a window class of the signs list. 17 years ago
rubidium eb35fce734 (svn r13183) -Codechange: make a window class of the VehicleViewWindow. 17 years ago
rubidium c3fd582c55 (svn r13182) -Doc: add documentation to mostly rail_gui related functions. Patch by Alberth. 17 years ago
rubidium a1137fcdfe (svn r13181) -Codechange: make news callback handling a little simpler. Patch by Cirdan. 17 years ago
peter1138 b1e324dd47 (svn r13180) -Codechange: make a window class of the TownDirectoryWindow. 17 years ago
smatz 6864eedb1b (svn r13179) -Fix (r13173): r13178 applies to the main toolbar in Scenario Editor, too 17 years ago
smatz 70127934d1 (svn r13178) -Fix (r13173): the main toolbar didn't respect patch settings, it was always positioned on the right side 17 years ago
belugas cbd0349251 (svn r13177) -Fix[FS#2002]: Using level tool in scenario editor makes tiles brown. That is the only tool that does so in Scenario Editor (apart dynamite, of course).Report and Fix by Roujin 17 years ago
smatz 290cedade2 (svn r13176) -Fix (r13153): town window was glitchy while opening 17 years ago
glx fa72187bbf (svn r13175) -Fix (r13174): sorting criteria and order for industry directory was always reset on window opening 17 years ago
glx 17a1873843 (svn r13174) -Codechange: make a class of the IndustryDirectoryWindow. 17 years ago
rubidium 09b5320a81 (svn r13173) -Codechange: make windows of the main toolbars. 17 years ago
rubidium 9fc630422d (svn r13172) -Codechange: make a window class of the terraform toolbars. 17 years ago
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