Commit Graph

126 Commits

Author SHA1 Message Date
rubidium 377ce6c5bf (svn r15410) -Cleanup: get rid of most of the references to the 'patches' except where it's used for backward compatability. 2009-02-08 12:25:13 +00:00
rubidium ac7757324e (svn r15338) -Fix [FS#2598]: close all construction related windows whenever changing company. 2009-02-04 16:59:41 +00:00
rubidium 7da743a0dc (svn r15336) -Fix: do not use _current_company in the GUI as there are no guarantees that _current_company is the same as _local_company. 2009-02-04 16:45:07 +00:00
smatz 0d3f5e6e74 (svn r15299) -Cleanup: remove many redundant includes 2009-01-31 20:16:06 +00:00
rubidium 11da45ee55 (svn r14949) -Cleanup: pointer coding style 2009-01-10 00:31:47 +00:00
frosch cf1e926e37 (svn r14902) -Feature: Advanced setting to keep various building tools active, which are usually closed after placing an object. (planetmaker) 2009-01-07 17:40:17 +00:00
rubidium 87e5a8b52b (svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter. 2008-12-28 14:37:19 +00:00
rubidium b650a86e58 (svn r14422) -Codechange: also reflect the changes of r14421 in the filenames. 2008-09-30 20:51:04 +00:00
rubidium 3b798599b6 (svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with. 2008-09-30 20:39:50 +00:00
rubidium 6a931d67cd (svn r14390) -Codechange: replace magic constants with symbolic constants. 2008-09-23 15:24:15 +00:00
smatz 606f4defdc (svn r14331) -Codechange: use an enum as additional parameter for ShowQueryString() 2008-09-15 16:29:40 +00:00
belugas 85c84c9d86 (svn r14003) -Codechange: Replace numbers with Colours enum opn some DrawArrowButtons calls 2008-08-06 04:01:07 +00:00
rubidium d67ef3573c (svn r13917) -Fix [FS#2178]: wrong tooltip for the industry directory's list. 2008-08-01 23:08:11 +00:00
belugas 4cc5da9409 (svn r13879) -Codechange: Replace numbers with Colours enum on engine, industries and group gui 2008-07-30 16:13:58 +00:00
rubidium 3a799389eb (svn r13731) -Codechange: make a pool of the array of players. 2008-07-18 16:40:29 +00:00
rubidium d06529ef4d (svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool. 2008-07-17 20:13:01 +00:00
rubidium 94718ae0de (svn r13387) -Fix: industry directory sorting not working correctly (= != ==) 2008-06-05 11:34:26 +00:00
rubidium 923e21129c (svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games. 2008-05-29 15:13:28 +00:00
skidd13 b80425fdf9 (svn r13311) -Codechange: Use GUIList for the industry directory window
-Codechange: Replaced the four sort buttons by a dropdown
-Codechange: Reduced the default window size
2008-05-28 16:45:00 +00:00
skidd13 83c442cc57 (svn r13294) -Codechange: convert the inheritance of GUIList in IndustryDirectoryWindow to a member object 2008-05-27 18:50:31 +00:00
peter1138 0ce9343fb6 (svn r13291) -Fix (r13266): qsort passed wrong sizeof data 2008-05-27 15:30:51 +00:00
peter1138 02b5ffa13f (svn r13266) -Codechange: Use SmallVector in GUIList 2008-05-26 16:23:23 +00:00
rubidium 8c9cc415e3 (svn r13255) -Codechange: move _opt to _settings. 2008-05-25 22:36:44 +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
smatz 31a266b5b3 (svn r13249) -Fix [FS#2039]: make industry sorting by transported percentage more consistent 2008-05-25 17:26:16 +00:00
rubidium 27c38052b7 (svn r13185) -Codechange: remove everything related to the WindowProc callbacks. 2008-05-19 09:48:47 +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 8b54212900 (svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming. 2008-05-17 12:48:06 +00:00
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. 2008-05-13 14:43:33 +00:00
glx 18c33e1569 (svn r13060) -Codechange: update build industry window when raw_industry_construction setting is modified 2008-05-12 14:54:33 +00:00
glx 56c3f828cd (svn r13050) -Codechange: make a class of IndustryViewWindow. 2008-05-11 17:44:56 +00:00
glx c708ab3b48 (svn r13047) -Codechange: remove vp_d 2008-05-11 15:08:44 +00:00
rubidium e63137f47f (svn r13041) -Fix: calling a virtual function on a not fully constructed object is bound to cause errors. 2008-05-11 11:41:18 +00:00
glx 356473efa5 (svn r13036) -Codechange: make a class of the BuildIndustry Window. 2008-05-10 23:43:08 +00:00
glx 6ad199d127 (svn r13032) -Codechange: make industry view window resizable and truncate strings 2008-05-10 15:58:22 +00:00
rubidium f23026cce8 (svn r13027) -Codechange: use StrEmpty instead of arr[0] == '\0' and remove the need for WE_ON_EDIT_TEXT_CANCEL. 2008-05-10 08:58:52 +00:00
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. 2008-05-09 09:29:27 +00:00
glx bc514a7f51 (svn r13020) -Codechange: make industry directory window horizontally resizable and truncate strings 2008-05-08 21:09:21 +00:00
rubidium 23fc96c3e8 (svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window. 2008-05-08 11:50:34 +00:00
rubidium 3d5567ccf7 (svn r12987) -Codechange: split viewport and tile selection. 2008-05-07 13:10:15 +00:00
rubidium 9bf519f26b (svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) when it's certain that w != NULL. 2008-05-06 22:08:18 +00:00
rubidium d03994098b (svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description. 2008-05-06 15:11:33 +00:00
glx fb938a2cb3 (svn r12970) -Codechange: coding style for some function names 2008-05-06 15:06:19 +00:00
glx 963dce0d47 (svn r12965) -Codechange: add support for callback 37 in industries directory window 2008-05-05 22:42:06 +00:00
glx e7678a03cc (svn r12964) -Codechange: rewrite callback 37 related code so it will be easier to add supported windows 2008-05-05 22:37:40 +00:00
glx 1050f07ed1 (svn r12959) -Fix: don't assume no production when the first produced cargo is invalid in industries directory 2008-05-05 21:09:03 +00:00
belugas 0eab2c07c2 (svn r12956) -Codechange: Code-style application on switch-case aligment 2008-05-05 16:05:36 +00:00
peter1138 4595d2c3b1 (svn r12953) -Feature: Open a new viewport when ctrl-clicking on a 'Location' button, a town/station/industry list, or some news items. 2008-05-05 11:36:43 +00:00
rubidium 22140d82c6 (svn r12818) -Codechange: make callbacks 31 and 37 behave like they do in TTDP according to frosch's survey. 2008-04-21 13:45:03 +00:00