Commit Graph

140 Commits (3f9fa186716f1d37273430171759e23fe2119fdf)

Author SHA1 Message Date
smatz 0c10daa243 (svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index) 15 years ago
smatz d495dc5dbc (svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index) 15 years ago
rubidium 241af768f0 (svn r16242) -Codechange: rework pausing
-Fix [FS#2864]: autopause and manual pausing conflict with eachother
-Fix: new game + pause on new game + autopause make the game not unpause on the first join
15 years ago
rubidium 650cb3694e (svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for DrawString. 15 years ago
rubidium 5c5b357043 (svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible. 15 years ago
rubidium e88cb7f70f (svn r16088) -Codechange: merge HighLightStyle and ViewportHighlightMode as they are basically the same thing 15 years ago
rubidium 6f2ce87c5e (svn r15997) -Fix [FS#2811]: multiline string truncation broke extending the industry window when there are more lines of information 15 years ago
alberth bbd546b792 (svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback 15 years ago
glx 5298b5ef68 (svn r15884) -Codechange: New widgets for the industry windows 15 years ago
rubidium dcd5ad8b19 (svn r15797) -Codechange: make users of the old DrawStringMultiLine use the new one. 16 years ago
rubidium c1aabd9842 (svn r15785) -Codechange: remove the *Truncated part of the old text drawing API. 16 years ago
smatz e0fe28fdc9 (svn r15726) -Codechange: unify coding style for const pointers 16 years ago
rubidium 7f468dc142 (svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth) 16 years ago
rubidium c3e87f345d (svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too 16 years ago
rubidium 283b3d16ab (svn r15410) -Cleanup: get rid of most of the references to the 'patches' except where it's used for backward compatability. 16 years ago
rubidium 42fe0b65d2 (svn r15338) -Fix [FS#2598]: close all construction related windows whenever changing company. 16 years ago
rubidium a49197f522 (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. 16 years ago
smatz 9021c20b5e (svn r15299) -Cleanup: remove many redundant includes 16 years ago
rubidium 28ea38ae55 (svn r14949) -Cleanup: pointer coding style 16 years ago
frosch eb6df17b1a (svn r14902) -Feature: Advanced setting to keep various building tools active, which are usually closed after placing an object. (planetmaker) 16 years ago
rubidium e83cca7d13 (svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter. 16 years ago
rubidium e589c7e580 (svn r14422) -Codechange: also reflect the changes of r14421 in the filenames. 16 years ago
rubidium f56e630e5c (svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with. 16 years ago
rubidium f49d5057ee (svn r14390) -Codechange: replace magic constants with symbolic constants. 16 years ago
smatz ffa39caf3d (svn r14331) -Codechange: use an enum as additional parameter for ShowQueryString() 16 years ago
belugas 6532897b5a (svn r14003) -Codechange: Replace numbers with Colours enum opn some DrawArrowButtons calls 16 years ago
rubidium 7aa97fee8c (svn r13917) -Fix [FS#2178]: wrong tooltip for the industry directory's list. 16 years ago
belugas a63bcef135 (svn r13879) -Codechange: Replace numbers with Colours enum on engine, industries and group gui 16 years ago
rubidium cde65455ac (svn r13731) -Codechange: make a pool of the array of players. 16 years ago
rubidium 6898a76c5f (svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool. 16 years ago
rubidium 5990a92bca (svn r13387) -Fix: industry directory sorting not working correctly (= != ==) 16 years ago
rubidium e7a501100a (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. 16 years ago
skidd13 4f7e14b6fb (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
16 years ago
skidd13 6180112c90 (svn r13294) -Codechange: convert the inheritance of GUIList in IndustryDirectoryWindow to a member object 16 years ago
peter1138 44dd8955d1 (svn r13291) -Fix (r13266): qsort passed wrong sizeof data 16 years ago
peter1138 781b90ac91 (svn r13266) -Codechange: Use SmallVector in GUIList 16 years ago
rubidium d289464d69 (svn r13255) -Codechange: move _opt to _settings. 16 years ago
rubidium dc77647ea4 (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.
16 years ago
smatz c9ef11159f (svn r13249) -Fix [FS#2039]: make industry sorting by transported percentage more consistent 16 years ago
rubidium 162e2e074b (svn r13185) -Codechange: remove everything related to the WindowProc callbacks. 16 years ago
glx 4e11e0785a (svn r13175) -Fix (r13174): sorting criteria and order for industry directory was always reset on window opening 16 years ago
glx dc1c529a31 (svn r13174) -Codechange: make a class of the IndustryDirectoryWindow. 16 years ago
rubidium a89b5721a8 (svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming. 16 years ago
rubidium a7db265bb6 (svn r13069) -Codechange: it is no longer needed to pass a void *data pointer with the WE_CREATE message because nothing uses it anymore. 16 years ago
glx eb70da38d0 (svn r13060) -Codechange: update build industry window when raw_industry_construction setting is modified 16 years ago
glx cf315d2656 (svn r13050) -Codechange: make a class of IndustryViewWindow. 16 years ago
glx dacd2c5de8 (svn r13047) -Codechange: remove vp_d 16 years ago
rubidium 29ad1d442a (svn r13041) -Fix: calling a virtual function on a not fully constructed object is bound to cause errors. 16 years ago
glx d706c8b462 (svn r13036) -Codechange: make a class of the BuildIndustry Window. 16 years ago
glx 4c98a72745 (svn r13032) -Codechange: make industry view window resizable and truncate strings 16 years ago