Commit Graph

3697 Commits (b4e431bf7cddc259631f947ef45b82cf260b4d13)

Author SHA1 Message Date
peter1138 6ea832ec7c (svn r13250) -Codechange: Use VehicleList in SendAllVehiclesToDepot() 16 years ago
smatz 31a266b5b3 (svn r13249) -Fix [FS#2039]: make industry sorting by transported percentage more consistent 16 years ago
peter1138 56f78e6412 (svn r13248) -Codechange: Use VehicleList for depot GUI. 16 years ago
rubidium 5292ee981e (svn r13247) -Codechange: small amount of coding style for settings.cpp. 16 years ago
peter1138 cfc8ed1f5b (svn r13246) -Fix (r13245): incorrect parameters to memcpy 16 years ago
peter1138 da8bb14cec (svn r13245) -Codechange: Use SmallVectors for generating vehicle lists, simplifying calling code somewhat. 16 years ago
smatz 32380e257c (svn r13244) -Fix: allow only one town directory window to be opened 16 years ago
rubidium 5fa0946c08 (svn r13242) -Codechange: remove _opt_ptr. 16 years ago
peter1138 f6ea07e7d8 (svn r13241) -Codechange: Simplify CmdDepotSellAllVehicles() a bit 16 years ago
peter1138 d9805b46b9 (svn r13240) -Codechange: More const-ness for GUI code. 16 years ago
smatz 60ae799321 (svn r13239) -Fix: certain compilers give false warning about uninitialized variable 16 years ago
frosch ca30288c9d (svn r13234) -Fix: Check/affect town rating when removing/bulldozing town-owned road under drivethrough stops.
-Fix: Reset the 'town-owned-road'-flag when removing and rebuilding road under drivethrough stops.
16 years ago
frosch 6e7a7412cd (svn r13233) -Fix: Replace some (incorrect) evaluations of TileOwner by RoadOwner.
-Fix: Before evaluating RoadOwner, check if the roadtype is present.
-Fix: Some places assumed that MP_ROAD means normal street.
16 years ago
peter1138 c34b458ace (svn r13232) -Codechange: Simplify BuildDepotVehicleList() 16 years ago
rubidium 68bb5a08c5 (svn r13231) -Codechange: split the core console code and the console GUI. 16 years ago
frosch 8b1e7c8189 (svn r13230) -Fix [FS#2030](r13171): When closing toolbars, also close their PickerWindows. 16 years ago
rubidium 6884f9cb41 (svn r13229) -Codechange: replace some global variables that are only initialised once and always with the same value with enums. 16 years ago
rubidium 6c20f77330 (svn r13228) -Codechange: split console.h. 16 years ago
peter1138 0c47d3fc14 (svn r13227) -Codechange: Apply code style 16 years ago
belugas fc35ad9ee9 (svn r13226) -Feature: Allow to have more than only two airports per town. The number of airports is now controlled by the noise each of them generates, the distance from town's center and how tolerant the town is.
Initial concept : TTDPatch (moreairpots),  Initial code : Pasky
Thanks to BigBB (help coding), Smatz Skidd13 and frosch for bugcatches and advices
16 years ago
peter1138 6f233b1f8f (svn r13225) -Fix (r13041): Missing calls to FindWindowPlacementAndResize() from lots
of windows causing 'two stage' opening effect.
16 years ago
rubidium 95c2307595 (svn r13224) -Fix (r13107): set the location of the old SelectPlayerFaceWindow when switching from simple to advanced or vice versa instead of letting the new window popup somewhere 'randomly'. 16 years ago
smatz 3866effe71 (svn r13222) -Change: allow old AI building helistations and helidepots for oil rig routes 16 years ago
smatz 0b07ed0bcd (svn r13221) -Fix (r8747): old AI failed to build oil rig routes 16 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 16 years ago
smatz a1bf80933d (svn r13216) -Codechange [FS#2026]: enumify and comment Editor Terraform Toolbar widgets (Roujin) 16 years ago
smatz e9cd783e66 (svn r13215) -Codechange [FS#2029]: enumify and comment Build Dock widgets (Roujin) 16 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 16 years ago
belugas b4128cbc25 (svn r13209) -Codechange: Privatize what should be private. 16 years ago
smatz 0d2266a3ac (svn r13208) -Fix (r13173): it was possible to open invalid submenu from dropdowns 16 years ago
smatz 0b54ea39db (svn r13207) -Fix: misleading comments (michi_cc) 16 years ago
frosch eca692ef90 (svn r13206) -Feature(ette): Display all owners of a tile in the tile-info-window. 16 years ago
peter1138 510c0acb4a (svn r13205) -Codechange: Remove unnecessary code-style-buggering-up macro. 16 years ago
glx 621e205f74 (svn r13202) -Fix (r13149): MSVC signed/unsigned warning 16 years ago
smatz f244b6b361 (svn r13191) -Fix: segfault after confirming query subwindow in the Generate New World window 16 years ago
smatz 5cedf77a9a (svn r13190) -Cleanup: remove unused variable 16 years ago
rubidium 27c38052b7 (svn r13185) -Codechange: remove everything related to the WindowProc callbacks. 16 years ago
rubidium fc29abf621 (svn r13184) -Codechange: make a window class of the signs list. 16 years ago
rubidium eb35fce734 (svn r13183) -Codechange: make a window class of the VehicleViewWindow. 16 years ago
rubidium c3fd582c55 (svn r13182) -Doc: add documentation to mostly rail_gui related functions. Patch by Alberth. 16 years ago
rubidium a1137fcdfe (svn r13181) -Codechange: make news callback handling a little simpler. Patch by Cirdan. 16 years ago
peter1138 b1e324dd47 (svn r13180) -Codechange: make a window class of the TownDirectoryWindow. 16 years ago
smatz 6864eedb1b (svn r13179) -Fix (r13173): r13178 applies to the main toolbar in Scenario Editor, too 16 years ago
smatz 70127934d1 (svn r13178) -Fix (r13173): the main toolbar didn't respect patch settings, it was always positioned on the right side 16 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 16 years ago
smatz 290cedade2 (svn r13176) -Fix (r13153): town window was glitchy while opening 16 years ago
glx fa72187bbf (svn r13175) -Fix (r13174): sorting criteria and order for industry directory was always reset on window opening 16 years ago
glx 17a1873843 (svn r13174) -Codechange: make a class of the IndustryDirectoryWindow. 16 years ago
rubidium 09b5320a81 (svn r13173) -Codechange: make windows of the main toolbars. 16 years ago
rubidium 9fc630422d (svn r13172) -Codechange: make a window class of the terraform toolbars. 16 years ago
rubidium ade538828d (svn r13171) -Codechange: make a class of the Build[Air|Rail|Road|Dock]ToolbarWindows. 16 years ago
rubidium eb2f19ed66 (svn r13170) -Codechange: make classes of the EnginePreview and BuyCompany windows. 16 years ago
rubidium 6da56ee87e (svn r13169) -Codechange: remove a (now) unneeded parameter of one of the Window constructors. 16 years ago
smatz 9aa69db2e6 (svn r13168) -Fix (r13072): forgot to 'fix' EngList_SortPartial() together with EngList_Sort() 16 years ago
rubidium 629c5ce740 (svn r13167) -Codechange: prepend _ to a global variable. 16 years ago
rubidium 2e25df3ddf (svn r13166) -Codechange: CmdSetRoadDriveSide belongs in road_cmd.cpp, not settings_gui.cpp. 16 years ago
rubidium 9defec7876 (svn r13165) -Codechange: replace some RebuildXXXList/ResortXXXList+InvalidateWindowXXX with InvalidateWindowXXXData. 16 years ago
glx aab9e191f5 (svn r13163) -Codechange: remove unused code 16 years ago
smatz 4bf7ab0d1c (svn r13162) -Fix (r13160): trees couldn't be planted, correct function wasn't overloaded 16 years ago
glx e82bab5323 (svn r13161) -Fix: free the blitter list when the last blitter is removed. 16 years ago
rubidium fc4393dcfe (svn r13160) -Codechange: prepare GUIPlaceProcDragXY for the removal of WindowEvent. 16 years ago
skidd13 a426047441 (svn r13159) -Feature: Add the ability to sort availible bridges in the build bridge GUI 16 years ago
rubidium fc7e8100e1 (svn r13158) -Codechange: make a class of the GameOptionsWindow. 16 years ago
rubidium 3455844ea3 (svn r13156) -Codechange: make classes of the GraphWindows. 16 years ago
rubidium cc3a41bfa9 (svn r13155) -Codechange: make a window class of the company league and graph legenda windows. 16 years ago
rubidium 50203f8786 (svn r13154) -Codechange: make a window class of the news message history window. 16 years ago
rubidium 33b822faf7 (svn r13153) -Codechange: make classes of the TownViewWindow and the ScenarioEditorTownGenerationWindow. 16 years ago
rubidium 62e36abd2e (svn r13152) -Codechange: make a class of the subsidy window. 16 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. 16 years ago
glx c1713c9ab7 (svn r13150) -Codechange: make classes of the Music[TrackSelection]Window. 16 years ago
skidd13 736671347b (svn r13149) -Codechange: make a class of the BuildBridgeWindow. 16 years ago
glx 8e47178919 (svn r13148) -Codechange: make a class of the SelectGameWindow. 16 years ago
rubidium 152e82ba92 (svn r13147) -Codechange: move the code to draw bankruptcy news to news_gui.cpp. 16 years ago
rubidium 9717e1ef07 (svn r13146) -Codechange: vehicle_base.h doesn't need to be included in vehicle_gui.h. 16 years ago
glx dbdfccc2da (svn r13145) -Codechange: make classes of the BuildDocks[Depot|Station]Window. 16 years ago
glx b68943e4df (svn r13144) -Codechange: make classes of the BuildRoad[Depot|Station]Window. 16 years ago
smatz 88f9fa89bc (svn r13143) -Fix (r13142): the Build Waypoint window wasn't resized when it was opened 16 years ago
glx fdcb4e6402 (svn r13142) -Codechange: make classes of the Build[RailDepot|RailStation|RailWaypoint|Signal]Window 16 years ago
rubidium 7812b24a77 (svn r13141) -Codechange: remove an unused variable from Window. 16 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. 16 years ago
rubidium 8b54212900 (svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming. 16 years ago
rubidium d8154e00ac (svn r13138) -Codechange: remove the need for IsWindowOfPrototype. 16 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. 16 years ago
rubidium 9f41e0cf18 (svn r13136) -Codechange: make a window class of the console window. 16 years ago
rubidium edb2e77035 (svn r13135) -Codechange: make a class of the NetworkJoinStatusWindow. 16 years ago
belugas 27c3d210c4 (svn r13134) -Codechange: make a class of the Airport Picker Window. 16 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
16 years ago
glx 5199f5ff47 (svn r13132) -Codechange: make a class of the GenerateProgressWindow. 16 years ago
glx 5b54c9e373 (svn r13131) -Codechange: make a class of the ErrmsgWindow. 16 years ago
rubidium cc0dae2271 (svn r13130) -Codechange: remove some of the (old) WindowEvent wrapper functions/enums/variables as they are not used anymore. 16 years ago
rubidium 55546ae82c (svn r13129) -Codechange: remove the WP macro and it's related variables. 16 years ago
peter1138 7ae25c25b6 (svn r13128) -Codechange: Make a class of the refit window 16 years ago
glx 670eca936f (svn r13127) -Fix (r13122): of course WIN32_LEAN_AND_MEAN excludes too much stuff 16 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. 16 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 16 years ago
glx ced7ee3043 (svn r13124) -Codechange: make a class of the OrdersWindow. 16 years ago
rubidium 5ede3da220 (svn r13123) -Codechange: passing the bankrupt type via data_b is not needed anymore. Patch by Cirdan. 16 years ago
glx 5ea41a57b8 (svn r13122) -Fix: WIN32_LEAN_AND_MEAN define is needed for all WIN32 compilers 16 years ago
rubidium 3b97cc2e30 (svn r13121) -Codechange: make a class of the PerformanceRatingDetailWindow. 16 years ago
rubidium 2da844b146 (svn r13120) -Codechange: make a class of the VehicleDetailsWindow. 16 years ago