Commit Graph

9372 Commits

Author SHA1 Message Date
smatz
a509746288 (svn r13275) -Fix: sort lists with 2 items, too
-Fix: reset VL_RESORT and resort timer even when no sort was needed
2008-05-26 21:08:03 +00:00
glx
6e6014918e (svn r13273) -Fix [FS#2042]: MSVC warnings (again) 2008-05-26 20:20:38 +00:00
skidd13
0972b3dd15 (svn r13271) -Codechange: groups sorting uses GUILists Sort() now 2008-05-26 18:30:58 +00:00
peter1138
4c69d11f5e (svn r13270) -Codechange: There is no need to clear lists in the window constructor 2008-05-26 18:25:27 +00:00
skidd13
515e0fa22d (svn r13269) -Codechange: build bridge window uses GUILists Sort() now
-Cleanup: make some globals part of the build bridge window
2008-05-26 17:53:37 +00:00
skidd13
18acb21d65 (svn r13267) -Codechange: extend GUIList with a GnomeSort 2008-05-26 16:44:48 +00:00
peter1138
02b5ffa13f (svn r13266) -Codechange: Use SmallVector in GUIList 2008-05-26 16:23:23 +00:00
rubidium
5a0fb3ca97 (svn r13264) -Fix: yapf_settings.h was not removed from the project files. 2008-05-26 13:50:00 +00:00
smatz
e4be8c6e70 (svn r13260) -Fix: linked terraform toolbar wasn't marked dirty after moving 2008-05-26 10:41:30 +00:00
peter1138
feebf3f3c9 (svn r13259) -Fix: Subsidy text could still overflow 2008-05-26 10:28:59 +00:00
rubidium
3a4b397961 (svn r13258) -Codechange: add support for using (most) of the old patch names in the console. 2008-05-26 05:58:15 +00:00
belugas
5f782d06be (svn r13257) -Fix(r13226): Typo has found its way on the code... Thanks cirdan 2008-05-26 02:25:17 +00:00
rubidium
cd8e589fa9 (svn r13256) -Codechange: merge the OPTS and PATS chuncks.
-Codechange: split the diff_custom variable.
-Feature: allow changing some of the diff_custom variables via the console in network games.
2008-05-26 00:31:36 +00:00
rubidium
8c9cc415e3 (svn r13255) -Codechange: move _opt to _settings. 2008-05-25 22:36:44 +00:00
smatz
51ca426c4b (svn r13254) -Fix: waypoint orders could have invalid flags set after conversion 2008-05-25 20:00:10 +00:00
smatz
9fa52f7316 (svn r13253) -Codechange: simplify conversion of old orders a bit 2008-05-25 19:38:17 +00:00
smatz
f9e7fa4c88 (svn r13252) -Fix: when converting orders from older savegames, set 'Unload and leave empty' for 'Unload' orders 2008-05-25 19:29:24 +00:00
rubidium
4625695653 (svn r13251) -Codechange: rename _patches to _settings as that is more logic.
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
2008-05-25 19:17:03 +00:00
peter1138
6ea832ec7c (svn r13250) -Codechange: Use VehicleList in SendAllVehiclesToDepot() 2008-05-25 17:36:49 +00:00
smatz
31a266b5b3 (svn r13249) -Fix [FS#2039]: make industry sorting by transported percentage more consistent 2008-05-25 17:26:16 +00:00
peter1138
56f78e6412 (svn r13248) -Codechange: Use VehicleList for depot GUI. 2008-05-25 17:22:49 +00:00
rubidium
5292ee981e (svn r13247) -Codechange: small amount of coding style for settings.cpp. 2008-05-25 17:04:09 +00:00
peter1138
cfc8ed1f5b (svn r13246) -Fix (r13245): incorrect parameters to memcpy 2008-05-25 16:22:34 +00:00
peter1138
da8bb14cec (svn r13245) -Codechange: Use SmallVectors for generating vehicle lists, simplifying calling code somewhat. 2008-05-25 16:12:13 +00:00
smatz
32380e257c (svn r13244) -Fix: allow only one town directory window to be opened 2008-05-25 15:57:45 +00:00
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