Commit Graph

107 Commits (ba97964af831d902a241cc681bae90b051243568)

Author SHA1 Message Date
rubidium aca7ba714a (svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/false 15 years ago
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
smatz bd6acb36ae (svn r17164) -Fix: crash when clicking on the spacer in the build airport GUI 15 years ago
rubidium 1fe3ad3288 (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 15 years ago
rubidium 4b2592dbc0 (svn r17062) -Change: unify the naming of some 125 strings 15 years ago
alberth 926c8b6fef (svn r17048) -Codechange: Airport toolbar and airport builder window use nested widgets. 15 years ago
rubidium 47a37b6093 (svn r16965) -Codechange: use tile area instead of sets of variables for the station joiner code. 15 years ago
alberth 8083d67780 (svn r16906) -Fix (r12939): Child windows of build toolbars were placed inconsistently. 15 years ago
yexo fff3bae83d (svn r16794) -Fix (r16752): setting coverage area highlight in the airport selection window didn't take effect immediatly 15 years ago
yexo 4843b3c45d (svn r16789) -Codechange: unify the drawing of the Accepts/Supplies cargo lists in the station build windows. 15 years ago
yexo 024a2eeed5 (svn r16787) -Fix [FS#3027]: the noise level text in the airport build window was drawn over the lowest button 15 years ago
yexo abc4f9b9a0 (svn r16786) -Fix [FS#3027] (r16752): only one tile was selected when the build airport window was opened instead of an area with the size of the airport 15 years ago
yexo 96201f1a41 (svn r16752) -Codechange: Remove most of the window-changing code from AirportPickerWindow::OnPaint 15 years ago
yexo c7bd6c8d34 (svn r16614) -Codechange: Make the airport min/max available year a property of the Airport class.
-Change: rename station.always_small_airport to station.never_expire_airports to make it more future-proof
15 years ago
alberth 9237d01931 (svn r16486) -Codechange [FS#2939]: Added widget numbers to the airport toolbar (based on work by erikjanp) 15 years ago
smatz 871107f529 (svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index) 15 years ago
rubidium 53887e07bb (svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for DrawString. 15 years ago
rubidium 59d45a04d6 (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 329cabab4f (svn r16088) -Codechange: merge HighLightStyle and ViewportHighlightMode as they are basically the same thing 15 years ago
alberth 6567a29e18 (svn r15820) -Codechange: Some windows using nested widgets 15 years ago
alberth 663c73595f (svn r15810) -Fix: Airport-type labels overlapped with first button, background did not cover whole window 15 years ago
rubidium 57174a9301 (svn r15808) -Codechange: use the new DrawString API in a number of GUIs 15 years ago
alberth 8324f65b4b (svn r15805) -Codechange: Completing/fixing airportpicker widget names and adding them as comment 15 years ago
rubidium f9def73be6 (svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth) 16 years ago
rubidium 8dae160d0f (svn r15425) -Codechange: some color->colour changes and type safety. 16 years ago
rubidium 57b27ffbab (svn r15414) -Codechange: s/delete FindWindowById/DeleteWindowById/ 16 years ago
rubidium ac7757324e (svn r15338) -Fix [FS#2598]: close all construction related windows whenever changing company. 16 years ago
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. 16 years ago
smatz 0d3f5e6e74 (svn r15299) -Cleanup: remove many redundant includes 16 years ago
rubidium c8c61e36bd (svn r14919) -Feature: distant joining of stations (Frostregen and PhilSophus) 16 years ago
frosch cf1e926e37 (svn r14902) -Feature: Advanced setting to keep various building tools active, which are usually closed after placing an object. (planetmaker) 16 years ago
rubidium 5fcf07f388 (svn r14895) -Change: move CMD_NO_WATER from all DoCommandPs to the command table 16 years ago
rubidium 2a47aaf4a8 (svn r14822) -Change: save 'build station' settings in the config file, like drag'n'drop and and show coverage area (Rexxars) 16 years ago
rubidium 35f76ce26b (svn r14787) -Fix: landscape toolbar getting closed when rail/road/water/airport toolbar gets closed with linked toolbars turned on. 16 years ago
rubidium 87e5a8b52b (svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter. 16 years ago
rubidium b650a86e58 (svn r14422) -Codechange: also reflect the changes of r14421 in the filenames. 16 years ago
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. 16 years ago
belugas 486ce7dbc3 (svn r13875) -Codechange: Remove some magic numbers in favour of the Colours enum they are representing 16 years ago
rubidium 3a799389eb (svn r13731) -Codechange: make a pool of the array of players. 16 years ago
rubidium d06529ef4d (svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool. 16 years ago
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. 16 years ago
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.
16 years ago
frosch 8b1e7c8189 (svn r13230) -Fix [FS#2030](r13171): When closing toolbars, also close their PickerWindows. 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
rubidium 27c38052b7 (svn r13185) -Codechange: remove everything related to the WindowProc callbacks. 16 years ago
rubidium ade538828d (svn r13171) -Codechange: make a class of the Build[Air|Rail|Road|Dock]ToolbarWindows. 16 years ago
rubidium fc4393dcfe (svn r13160) -Codechange: prepare GUIPlaceProcDragXY for the removal of WindowEvent. 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
belugas 27c3d210c4 (svn r13134) -Codechange: make a class of the Airport Picker Window. 16 years ago
rubidium 5ae795953a (svn r13104) -Codechange: make ResetObjectToPlace safe to be called recursively via the OnPlaceObjectAbort callback and use this knowledge to simplify closing some windows. 16 years ago