Commit Graph

9547 Commits

Author SHA1 Message Date
rubidium
5fa0946c08 (svn r13242) -Codechange: remove _opt_ptr. 2008-05-25 12:57:39 +00:00
peter1138
f6ea07e7d8 (svn r13241) -Codechange: Simplify CmdDepotSellAllVehicles() a bit 2008-05-25 11:18:57 +00:00
peter1138
d9805b46b9 (svn r13240) -Codechange: More const-ness for GUI code. 2008-05-25 09:40:44 +00:00
smatz
60ae799321 (svn r13239) -Fix: certain compilers give false warning about uninitialized variable 2008-05-24 23:18:21 +00:00
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.
2008-05-24 22:15:10 +00:00
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.
2008-05-24 19:36:20 +00:00
peter1138
c34b458ace (svn r13232) -Codechange: Simplify BuildDepotVehicleList() 2008-05-24 12:12:02 +00:00
rubidium
68bb5a08c5 (svn r13231) -Codechange: split the core console code and the console GUI. 2008-05-24 11:55:25 +00:00
frosch
8b1e7c8189 (svn r13230) -Fix [FS#2030](r13171): When closing toolbars, also close their PickerWindows. 2008-05-24 11:19:30 +00:00
rubidium
6884f9cb41 (svn r13229) -Codechange: replace some global variables that are only initialised once and always with the same value with enums. 2008-05-24 10:35:15 +00:00
rubidium
6c20f77330 (svn r13228) -Codechange: split console.h. 2008-05-24 10:15:06 +00:00
peter1138
0c47d3fc14 (svn r13227) -Codechange: Apply code style 2008-05-24 10:02:49 +00:00
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
2008-05-24 02:54:47 +00:00
peter1138
6f233b1f8f (svn r13225) -Fix (r13041): Missing calls to FindWindowPlacementAndResize() from lots
of windows causing 'two stage' opening effect.
2008-05-23 23:02:13 +00:00
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'. 2008-05-23 22:55:32 +00:00
smatz
3866effe71 (svn r13222) -Change: allow old AI building helistations and helidepots for oil rig routes 2008-05-23 16:08:58 +00:00
smatz
0b07ed0bcd (svn r13221) -Fix (r8747): old AI failed to build oil rig routes 2008-05-23 15:57:18 +00:00
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 2008-05-23 00:28:13 +00:00
smatz
a1bf80933d (svn r13216) -Codechange [FS#2026]: enumify and comment Editor Terraform Toolbar widgets (Roujin) 2008-05-22 20:44:24 +00:00
smatz
e9cd783e66 (svn r13215) -Codechange [FS#2029]: enumify and comment Build Dock widgets (Roujin) 2008-05-22 20:37:14 +00:00
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 2008-05-22 02:13:24 +00:00
belugas
b4128cbc25 (svn r13209) -Codechange: Privatize what should be private. 2008-05-22 02:03:05 +00:00
smatz
0d2266a3ac (svn r13208) -Fix (r13173): it was possible to open invalid submenu from dropdowns 2008-05-22 00:47:42 +00:00
smatz
0b54ea39db (svn r13207) -Fix: misleading comments (michi_cc) 2008-05-22 00:37:27 +00:00
frosch
eca692ef90 (svn r13206) -Feature(ette): Display all owners of a tile in the tile-info-window. 2008-05-21 22:15:39 +00:00
peter1138
510c0acb4a (svn r13205) -Codechange: Remove unnecessary code-style-buggering-up macro. 2008-05-21 12:06:05 +00:00
glx
621e205f74 (svn r13202) -Fix (r13149): MSVC signed/unsigned warning 2008-05-20 21:55:45 +00:00
smatz
f244b6b361 (svn r13191) -Fix: segfault after confirming query subwindow in the Generate New World window 2008-05-19 19:17:56 +00:00
smatz
5cedf77a9a (svn r13190) -Cleanup: remove unused variable 2008-05-19 16:44:50 +00:00
rubidium
27c38052b7 (svn r13185) -Codechange: remove everything related to the WindowProc callbacks. 2008-05-19 09:48:47 +00:00
rubidium
fc29abf621 (svn r13184) -Codechange: make a window class of the signs list. 2008-05-19 09:45:24 +00:00
rubidium
eb35fce734 (svn r13183) -Codechange: make a window class of the VehicleViewWindow. 2008-05-19 09:39:05 +00:00
rubidium
c3fd582c55 (svn r13182) -Doc: add documentation to mostly rail_gui related functions. Patch by Alberth. 2008-05-19 09:24:03 +00:00
rubidium
a1137fcdfe (svn r13181) -Codechange: make news callback handling a little simpler. Patch by Cirdan. 2008-05-19 09:18:51 +00:00
peter1138
b1e324dd47 (svn r13180) -Codechange: make a window class of the TownDirectoryWindow. 2008-05-19 09:17:26 +00:00
smatz
6864eedb1b (svn r13179) -Fix (r13173): r13178 applies to the main toolbar in Scenario Editor, too 2008-05-19 02:01:44 +00:00
smatz
70127934d1 (svn r13178) -Fix (r13173): the main toolbar didn't respect patch settings, it was always positioned on the right side 2008-05-19 01:57:30 +00:00
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 2008-05-19 01:51:57 +00:00
smatz
290cedade2 (svn r13176) -Fix (r13153): town window was glitchy while opening 2008-05-19 01:50:07 +00:00
glx
fa72187bbf (svn r13175) -Fix (r13174): sorting criteria and order for industry directory was always reset on window opening 2008-05-19 01:10:52 +00:00
glx
17a1873843 (svn r13174) -Codechange: make a class of the IndustryDirectoryWindow. 2008-05-18 23:36:33 +00:00
rubidium
09b5320a81 (svn r13173) -Codechange: make windows of the main toolbars. 2008-05-18 22:11:46 +00:00
rubidium
9fc630422d (svn r13172) -Codechange: make a window class of the terraform toolbars. 2008-05-18 21:53:45 +00:00
rubidium
ade538828d (svn r13171) -Codechange: make a class of the Build[Air|Rail|Road|Dock]ToolbarWindows. 2008-05-18 21:34:35 +00:00
rubidium
eb2f19ed66 (svn r13170) -Codechange: make classes of the EnginePreview and BuyCompany windows. 2008-05-18 20:49:22 +00:00
rubidium
6da56ee87e (svn r13169) -Codechange: remove a (now) unneeded parameter of one of the Window constructors. 2008-05-18 20:40:30 +00:00
smatz
9aa69db2e6 (svn r13168) -Fix (r13072): forgot to 'fix' EngList_SortPartial() together with EngList_Sort() 2008-05-18 20:01:54 +00:00
rubidium
629c5ce740 (svn r13167) -Codechange: prepend _ to a global variable. 2008-05-18 19:41:47 +00:00
rubidium
2e25df3ddf (svn r13166) -Codechange: CmdSetRoadDriveSide belongs in road_cmd.cpp, not settings_gui.cpp. 2008-05-18 17:40:13 +00:00
rubidium
9defec7876 (svn r13165) -Codechange: replace some RebuildXXXList/ResortXXXList+InvalidateWindowXXX with InvalidateWindowXXXData. 2008-05-18 16:51:44 +00:00