Commit Graph

475 Commits (jgrpp)

Author SHA1 Message Date
frosch 66dd872bdc (svn r20379) -Codechange: Draw airport preview using company colours. 14 years ago
yexo 51fe375651 (svn r20373) -Feature: [NewGRF] callback 0x156 to use another name for airport layouts than the default "Layout x" 14 years ago
yexo 00902294b3 (svn r20373) -Feature: [NewGRF] callback 0x156 to use another name for airport layouts than the default "Layout x" 14 years ago
yexo 0f131719aa (svn r20372) -Feature; [NewGRF] callback 0x155 to display extra information about an airport in the build gui 14 years ago
yexo d6fa76b044 (svn r20372) -Feature; [NewGRF] callback 0x155 to display extra information about an airport in the build gui 14 years ago
yexo f0bc18a792 (svn r20369) -Feature: preview sprites for airports 14 years ago
yexo 3e6f8165d4 (svn r20369) -Feature: preview sprites for airports 14 years ago
yexo 2743532ae5 (svn r20366) -Codechange: store the rotation of the airport layout in the station struct and use it to rotate hangar tiles 14 years ago
yexo d2f9b87ccd (svn r20366) -Codechange: store the rotation of the airport layout in the station struct and use it to rotate hangar tiles 14 years ago
yexo 7f7e3d4a3a (svn r20365) -Codechange: allow multiple layouts for one airport statemachine, store the layout number 14 years ago
yexo 330c2f979e (svn r20365) -Codechange: allow multiple layouts for one airport statemachine, store the layout number 14 years ago
yexo b08037a3b4 (svn r20362) -Codechange: use correct parameter type for SetFill in airport gui 14 years ago
yexo 63951fada6 (svn r20362) -Codechange: use correct parameter type for SetFill in airport gui 14 years ago
rubidium 8c85b4ce3d (svn r20281) -Codechange: unify case scope closure + break coding style 14 years ago
rubidium e356cb9405 (svn r20281) -Codechange: unify case scope closure + break coding style 14 years ago
frosch d19a8038f4 (svn r20071) -Codechange: Consistently return the toolbar window for ShowBuildXxxToolbar(). 14 years ago
frosch 397d1186d7 (svn r20071) -Codechange: Consistently return the toolbar window for ShowBuildXxxToolbar(). 14 years ago
yexo d96aa7abfa (svn r20070) -Feature: when none of the open windows handles a keypress, try all toolbars for global hotkeys
Users that have run a version between r20056 and r20068 should delete their hotkeys.cfg to reset the terraform toolbar hotkeys to default
14 years ago
yexo 26be68ae98 (svn r20070) -Feature: when none of the open windows handles a keypress, try all toolbars for global hotkeys
Users that have run a version between r20056 and r20068 should delete their hotkeys.cfg to reset the terraform toolbar hotkeys to default
14 years ago
yexo a78145a564 (svn r20062) -Feature: customizable hotkeys for the airport toolbar 14 years ago
yexo 2e0acdbb07 (svn r20062) -Feature: customizable hotkeys for the airport toolbar 14 years ago
rubidium a70fd540fc (svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int 14 years ago
rubidium 062dd0e24c (svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int 14 years ago
alberth df142cdd0e (svn r19333) -Fix (r19328): int versus uint comparison warning fixed. 14 years ago
alberth c7a5695d9d (svn r19333) -Fix (r19328): int versus uint comparison warning fixed. 14 years ago
yexo 75b0d39d23 (svn r19328) -Feature: a more extendable gui for building airports 14 years ago
yexo b8d7680e66 (svn r19328) -Feature: a more extendable gui for building airports 14 years ago
yexo 63e056c043 (svn r19205) -Codechange: move AirportSpec to newgrf_airport.h/cpp 14 years ago
yexo dd7c2b2f9d (svn r19205) -Codechange: move AirportSpec to newgrf_airport.h/cpp 14 years ago
frosch 94a5c917a5 (svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick(). 15 years ago
frosch 88019e64e1 (svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick(). 15 years ago
rubidium 9467b7c6d6 (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 15 years ago
rubidium 82fc28f77f (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 15 years ago
yexo 84cd40a483 (svn r18807) -Codechange: introduce AirportSpec and move several non-statemachine-related variables to there 15 years ago
yexo d669801f1d (svn r18807) -Codechange: introduce AirportSpec and move several non-statemachine-related variables to there 15 years ago
rubidium 26b203e3ff (svn r18781) -Codechange: pass the CommandCost to the callback instead of whether it succeeded or not.
-Fix: AIs did update their last cost incorrectly in network games if the cost of the DC_EXEC phase differed from the ~DC_EXEC phase.
15 years ago
rubidium 2b97f38cd1 (svn r18781) -Codechange: pass the CommandCost to the callback instead of whether it succeeded or not.
-Fix: AIs did update their last cost incorrectly in network games if the cost of the DC_EXEC phase differed from the ~DC_EXEC phase.
15 years ago
rubidium 21f2acfd01 (svn r18324) -Codechange: there's no need for a default size when the window isn't resizable 15 years ago
rubidium 1f0da3710f (svn r18324) -Codechange: there's no need for a default size when the window isn't resizable 15 years ago
rubidium 45eb0be570 (svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice. 15 years ago
rubidium 293dfd7c3e (svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice. 15 years ago
rubidium 877307a0eb (svn r18321) -Fix [FS#3331]: make the toolbars also calculate their top location based on the main toolbar's height instead of hardcoding that 15 years ago
rubidium b58b058e2b (svn r18321) -Fix [FS#3331]: make the toolbars also calculate their top location based on the main toolbar's height instead of hardcoding that 15 years ago
rubidium ab417c6c06 (svn r18280) -Codechange: remove widget indices that are not needed for custom drawing/handling input 15 years ago
rubidium 8d6e323ef8 (svn r18280) -Codechange: remove widget indices that are not needed for custom drawing/handling input 15 years ago
rubidium 50359b2d08 (svn r18277) -Codechange: remove unneeded widget indices for close, resize and sticky boxes and for window captions 15 years ago
rubidium 14300d309c (svn r18277) -Codechange: remove unneeded widget indices for close, resize and sticky boxes and for window captions 15 years ago
rubidium f8b79068e6 (svn r18274) -Codechange: remove the unused WDF flags 15 years ago
rubidium 69b6d9309a (svn r18274) -Codechange: remove the unused WDF flags 15 years ago
alberth 18b33fde83 (svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool. 15 years ago
alberth 2b6f792513 (svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool. 15 years ago
rubidium f106bbbe5c (svn r18212) -Codechange: remove unneeded 'parameters' for WWT_CAPTION, WWT_CLOSEBOX and WWT_STICKYBOX in the nested widget arrays 15 years ago
rubidium d913282e7a (svn r18212) -Codechange: remove unneeded 'parameters' for WWT_CAPTION, WWT_CLOSEBOX and WWT_STICKYBOX in the nested widget arrays 15 years ago
rubidium 8e11cd3a42 (svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets 15 years ago
rubidium 5f2ddfbc5a (svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets 15 years ago
rubidium b01251092e (svn r18086) -Codechange: remove 'widget' from WindowDesc 15 years ago
rubidium 3d2d7af88f (svn r18086) -Codechange: remove 'widget' from WindowDesc 15 years ago
rubidium 982b8ee5fc (svn r17693) -Cleanup: remove some unneeded includes 15 years ago
rubidium d6cded5380 (svn r17693) -Cleanup: remove some unneeded includes 15 years ago
alberth d54028fde8 (svn r17572) -Codechange: Use the Window::GetWidget() function to access nested widgets through the nested_array. 15 years ago
alberth 116c77c342 (svn r17572) -Codechange: Use the Window::GetWidget() function to access nested widgets through the nested_array. 15 years ago
rubidium d4a98be94a (svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/false 15 years ago
rubidium aca7ba714a (svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/false 15 years ago
rubidium 99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
smatz cab25f7c24 (svn r17164) -Fix: crash when clicking on the spacer in the build airport GUI 15 years ago
smatz bd6acb36ae (svn r17164) -Fix: crash when clicking on the spacer in the build airport GUI 15 years ago
rubidium d61be2637e (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 15 years ago
rubidium 1fe3ad3288 (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 15 years ago
rubidium 5bb7b8ad35 (svn r17062) -Change: unify the naming of some 125 strings 15 years ago
rubidium 4b2592dbc0 (svn r17062) -Change: unify the naming of some 125 strings 15 years ago
alberth 25fbeb47f9 (svn r17048) -Codechange: Airport toolbar and airport builder window use nested widgets. 15 years ago
alberth 926c8b6fef (svn r17048) -Codechange: Airport toolbar and airport builder window use nested widgets. 15 years ago
rubidium 3321f45246 (svn r16965) -Codechange: use tile area instead of sets of variables for the station joiner code. 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 2399f91f62 (svn r16906) -Fix (r12939): Child windows of build toolbars were placed inconsistently. 15 years ago
alberth 8083d67780 (svn r16906) -Fix (r12939): Child windows of build toolbars were placed inconsistently. 15 years ago
yexo c7647e2e15 (svn r16794) -Fix (r16752): setting coverage area highlight in the airport selection window didn't take effect immediatly 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 bd8f92d3ff (svn r16789) -Codechange: unify the drawing of the Accepts/Supplies cargo lists in the station build windows. 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 a656094395 (svn r16787) -Fix [FS#3027]: the noise level text in the airport build window was drawn over the lowest button 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 c633a98e0b (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 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 d85adeeca5 (svn r16752) -Codechange: Remove most of the window-changing code from AirportPickerWindow::OnPaint 15 years ago
yexo 96201f1a41 (svn r16752) -Codechange: Remove most of the window-changing code from AirportPickerWindow::OnPaint 15 years ago
yexo 679ffee940 (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
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 3174fef27c (svn r16486) -Codechange [FS#2939]: Added widget numbers to the airport toolbar (based on work by erikjanp) 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 0c10daa243 (svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index) 15 years ago
smatz 871107f529 (svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index) 15 years ago
rubidium 650cb3694e (svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for DrawString. 15 years ago
rubidium 53887e07bb (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 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 e88cb7f70f (svn r16088) -Codechange: merge HighLightStyle and ViewportHighlightMode as they are basically the same thing 15 years ago
rubidium 329cabab4f (svn r16088) -Codechange: merge HighLightStyle and ViewportHighlightMode as they are basically the same thing 15 years ago
alberth 8f5f39cf09 (svn r15820) -Codechange: Some windows using nested widgets 15 years ago
alberth 6567a29e18 (svn r15820) -Codechange: Some windows using nested widgets 15 years ago
alberth a151dfefe9 (svn r15810) -Fix: Airport-type labels overlapped with first button, background did not cover whole window 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 12f1abbce0 (svn r15808) -Codechange: use the new DrawString API in a number of GUIs 15 years ago
rubidium 57174a9301 (svn r15808) -Codechange: use the new DrawString API in a number of GUIs 15 years ago
alberth 24facf771d (svn r15805) -Codechange: Completing/fixing airportpicker widget names and adding them as comment 15 years ago
alberth 8324f65b4b (svn r15805) -Codechange: Completing/fixing airportpicker widget names and adding them as comment 15 years ago
rubidium 7f468dc142 (svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth) 15 years ago
rubidium f9def73be6 (svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth) 15 years ago
rubidium a7693c6059 (svn r15425) -Codechange: some color->colour changes and type safety. 16 years ago
rubidium 8dae160d0f (svn r15425) -Codechange: some color->colour changes and type safety. 16 years ago
rubidium cba3be0b4f (svn r15414) -Codechange: s/delete FindWindowById/DeleteWindowById/ 16 years ago
rubidium 57b27ffbab (svn r15414) -Codechange: s/delete FindWindowById/DeleteWindowById/ 16 years ago
rubidium 42fe0b65d2 (svn r15338) -Fix [FS#2598]: close all construction related windows whenever changing company. 16 years ago
rubidium ac7757324e (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
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 9021c20b5e (svn r15299) -Cleanup: remove many redundant includes 16 years ago
smatz 0d3f5e6e74 (svn r15299) -Cleanup: remove many redundant includes 16 years ago
rubidium 7a5798695d (svn r14919) -Feature: distant joining of stations (Frostregen and PhilSophus) 16 years ago
rubidium c8c61e36bd (svn r14919) -Feature: distant joining of stations (Frostregen and PhilSophus) 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
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 ac5c5fc2db (svn r14895) -Change: move CMD_NO_WATER from all DoCommandPs to the command table 16 years ago
rubidium 5fcf07f388 (svn r14895) -Change: move CMD_NO_WATER from all DoCommandPs to the command table 16 years ago
rubidium a41e60d255 (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 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 c331426ce0 (svn r14787) -Fix: landscape toolbar getting closed when rail/road/water/airport toolbar gets closed with linked toolbars turned on. 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 e83cca7d13 (svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter. 16 years ago
rubidium 87e5a8b52b (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 b650a86e58 (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 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 8dfe13a72e (svn r13875) -Codechange: Remove some magic numbers in favour of the Colours enum they are representing 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 cde65455ac (svn r13731) -Codechange: make a pool of the array of players. 16 years ago
rubidium 3a799389eb (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 d06529ef4d (svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool. 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
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 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
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 9da2cd6e02 (svn r13230) -Fix [FS#2030](r13171): When closing toolbars, also close their PickerWindows. 16 years ago
frosch 8b1e7c8189 (svn r13230) -Fix [FS#2030](r13171): When closing toolbars, also close their PickerWindows. 16 years ago
belugas 08671d2e78 (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
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 162e2e074b (svn r13185) -Codechange: remove everything related to the WindowProc callbacks. 16 years ago
rubidium 27c38052b7 (svn r13185) -Codechange: remove everything related to the WindowProc callbacks. 16 years ago
rubidium d60d22f45f (svn r13171) -Codechange: make a class of the Build[Air|Rail|Road|Dock]ToolbarWindows. 16 years ago
rubidium ade538828d (svn r13171) -Codechange: make a class of the Build[Air|Rail|Road|Dock]ToolbarWindows. 16 years ago
rubidium 4d5b9e38d6 (svn r13160) -Codechange: prepare GUIPlaceProcDragXY for the removal of WindowEvent. 16 years ago
rubidium fc4393dcfe (svn r13160) -Codechange: prepare GUIPlaceProcDragXY for the removal of WindowEvent. 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 8b54212900 (svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming. 16 years ago
belugas 47d9a8aa21 (svn r13134) -Codechange: make a class of the Airport Picker Window. 16 years ago
belugas 27c3d210c4 (svn r13134) -Codechange: make a class of the Airport Picker Window. 16 years ago
rubidium 6d880ada7f (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
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
belugas 8ebfbc2bd3 (svn r13026) -Codechange[FS#1999]: Further Dynamite Tool Unification.(Roujin) 16 years ago
belugas e099831210 (svn r13026) -Codechange[FS#1999]: Further Dynamite Tool Unification.(Roujin) 16 years ago
rubidium 0f7d925121 (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. 16 years ago
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. 16 years ago
rubidium 92aac531c2 (svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window. 16 years ago
rubidium 23fc96c3e8 (svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window. 16 years ago
rubidium 51cda2252c (svn r13004) -Codechange: replace AllocateWindow and AllocateWindowDesc with a Window constructor. 16 years ago
rubidium 2eef026fe3 (svn r13004) -Codechange: replace AllocateWindow and AllocateWindowDesc with a Window constructor. 16 years ago
rubidium c28ce39e3c (svn r12987) -Codechange: split viewport and tile selection. 16 years ago
rubidium 3d5567ccf7 (svn r12987) -Codechange: split viewport and tile selection. 16 years ago
belugas 343a1e6afd (svn r12983) -Codechange [FS#1987] : Unification of all dynamite tools calls to only one. Thanks to Roujin 16 years ago
belugas fa8ab829e9 (svn r12983) -Codechange [FS#1987] : Unification of all dynamite tools calls to only one. Thanks to Roujin 16 years ago
rubidium 9db77e3808 (svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) when it's certain that w != NULL. 16 years ago
rubidium 9bf519f26b (svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) when it's certain that w != NULL. 16 years ago
rubidium 8796331d83 (svn r12975) -Codechange: replace DeleteWindow(w) with delete w. 16 years ago
rubidium e6c944a6c4 (svn r12975) -Codechange: replace DeleteWindow(w) with delete w. 16 years ago
rubidium 1ce0b03bf0 (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. 16 years ago
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. 16 years ago
rubidium b35100e2a9 (svn r12939) -Codechange: do not use the window proc to determine whether a toolbar is a rail toolbar, but use the window number. 16 years ago
rubidium 8ca1035316 (svn r12939) -Codechange: do not use the window proc to determine whether a toolbar is a rail toolbar, but use the window number. 16 years ago
rubidium 49ded3f2c3 (svn r12918) -Fix [FS#1963] (r12679): last airport would always be shown as buildable even when it was not. 16 years ago
rubidium 9f3351fed4 (svn r12918) -Fix [FS#1963] (r12679): last airport would always be shown as buildable even when it was not. 16 years ago
rubidium 6d063c3ad6 (svn r12754) -Codechange: split depot.h into depot_map.h, depot_func.h and depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h. 16 years ago
rubidium 02cdf01507 (svn r12754) -Codechange: split depot.h into depot_map.h, depot_func.h and depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h. 16 years ago
belugas 03f9718489 (svn r12679) -Codechange : a little bit of widget enumification 16 years ago
belugas 604c5bbfb7 (svn r12679) -Codechange : a little bit of widget enumification 16 years ago
belugas 79cb5ec1c7 (svn r12647) -Codechange: Ooops... Too fast on the job... forgot to indent 3 lines 16 years ago
belugas fa1359ebc6 (svn r12647) -Codechange: Ooops... Too fast on the job... forgot to indent 3 lines 16 years ago
belugas 3491a3346e (svn r12646) -Codechange: another run of code-style cleanup 16 years ago
belugas ccd49d81a8 (svn r12646) -Codechange: another run of code-style cleanup 16 years ago
belugas 032924dbd6 (svn r12645) -Codechange: a bit of code-style cleanup 16 years ago
belugas f484b2e1c7 (svn r12645) -Codechange: a bit of code-style cleanup 16 years ago
rubidium bd432258cb (svn r12596) -Feature: show what cargos a station could be supplied with. Patch by Roujin. 16 years ago
rubidium 1bd5a29df5 (svn r12596) -Feature: show what cargos a station could be supplied with. Patch by Roujin. 16 years ago
rubidium c51b81c247 (svn r12489) -Codechange: split station.h into station_base.h and station_func.h. 16 years ago
rubidium 2edd403656 (svn r12489) -Codechange: split station.h into station_base.h and station_func.h. 16 years ago
rubidium b84b16cfcd (svn r12488) -Codechange: split order.h into order_base.h and order_func.h. 16 years ago
rubidium 4a1035ab95 (svn r12488) -Codechange: split order.h into order_base.h and order_func.h. 16 years ago
glx d7924424ac (svn r12155) -Fix (r12154): some warnings (always compile before commit) 17 years ago
glx 044ca2bbf6 (svn r12155) -Fix (r12154): some warnings (always compile before commit) 17 years ago
glx a148985087 (svn r12154) -Codechange: removed a magic number 17 years ago
glx 3e70ee6ed7 (svn r12154) -Codechange: removed a magic number 17 years ago
peter1138 ec1d547889 (svn r11993) -Fix: Resize station/roadstop/dock/airport construction windows if cargo acceptance list is too long. 17 years ago
peter1138 0847def759 (svn r11993) -Fix: Resize station/roadstop/dock/airport construction windows if cargo acceptance list is too long. 17 years ago
rubidium 9c0c798dd8 (svn r11834) -Codechange: only include settings_type.h if needed. 17 years ago
rubidium dc87b05e8c (svn r11834) -Codechange: only include settings_type.h if needed. 17 years ago
rubidium 90acd52f22 (svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h. 17 years ago
rubidium d4e6a6bf57 (svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h. 17 years ago
rubidium 2fc62eab05 (svn r11818) -Codechange: split player.h into smaller pieces. 17 years ago
rubidium ac528411df (svn r11818) -Codechange: split player.h into smaller pieces. 17 years ago
rubidium c004cc1fd9 (svn r11801) -Codechange: remove some unneeded includes from some header files. 17 years ago
rubidium 6c954cad5f (svn r11801) -Codechange: remove some unneeded includes from some header files. 17 years ago
rubidium 64d691bacc (svn r11787) -Codechange: more header rewrites. This time related to viewport.h. 17 years ago
rubidium 0e517fe023 (svn r11787) -Codechange: more header rewrites. This time related to viewport.h. 17 years ago
rubidium 444e77d8bc (svn r11774) -Change: do not include variables.h in a header when it is not needed. 17 years ago
rubidium b0ac283aec (svn r11774) -Change: do not include variables.h in a header when it is not needed. 17 years ago
rubidium 84606b5212 (svn r11768) -Codechange: move some terraform related gui stuff from main_gui.cpp to terraform_gui.cpp (and introduce terraform_gui.h). Based on a patch by Roujin. 17 years ago
rubidium aeff6e5761 (svn r11768) -Codechange: move some terraform related gui stuff from main_gui.cpp to terraform_gui.cpp (and introduce terraform_gui.h). Based on a patch by Roujin. 17 years ago
rubidium 445a733eb6 (svn r11719) -Codechange: split sound.h in a header with types and one with functions. 17 years ago
rubidium e5e75bd8f8 (svn r11719) -Codechange: split sound.h in a header with types and one with functions. 17 years ago
rubidium 722613f7f3 (svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes. 17 years ago
rubidium 384503e7d3 (svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes. 17 years ago
rubidium f82aeb82c5 (svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h). 17 years ago
rubidium 2786d789a1 (svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h). 17 years ago
rubidium 81bf9f8503 (svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h' 17 years ago
rubidium 429521a7d1 (svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h' 17 years ago
rubidium 1f6043458c (svn r11682) -Codechange: move some 'generic' geometry related types into a single file and do not include gfx.h everywhere to get a Point type. 17 years ago
rubidium 8f0e68285b (svn r11682) -Codechange: move some 'generic' geometry related types into a single file and do not include gfx.h everywhere to get a Point type. 17 years ago
rubidium 766551b0bc (svn r11677) -Codechange: move price and command related types/functions to their respective places. 17 years ago
rubidium 9e9cfe6e59 (svn r11677) -Codechange: move price and command related types/functions to their respective places. 17 years ago
rubidium 2cf7d5b2cb (svn r11668) -Codechange: more refactoring aimed at reducing compile time and making it more logic where function definitions can be found. 17 years ago
rubidium d582aea639 (svn r11668) -Codechange: more refactoring aimed at reducing compile time and making it more logic where function definitions can be found. 17 years ago
rubidium 8bfbfd0031 (svn r11667) -Codechange: split window.h into a header that defines some 'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps. 17 years ago
rubidium 8896bea306 (svn r11667) -Codechange: split window.h into a header that defines some 'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps. 17 years ago
belugas 544325590c (svn r11592) -Codechange: Use the Window member RaiseButtons and remove the now useless RaiseWindowButtons function 17 years ago
belugas 8c89641dbe (svn r11592) -Codechange: Use the Window member RaiseButtons and remove the now useless RaiseWindowButtons function 17 years ago
rubidium 92cb0e45ca (svn r11555) -Codechange: use the new members introduced in r11551. 17 years ago
rubidium 527b72749d (svn r11555) -Codechange: use the new members introduced in r11551. 17 years ago
skidd13 c0a2c0c23e (svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style 17 years ago
skidd13 71c4325c50 (svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style 17 years ago
rubidium ecdb16de42 (svn r11440) -Codechange: replace magic numbers with enumified WindowHighlightMode constants. Patch by SmatZ. 17 years ago
rubidium dace4686c0 (svn r11440) -Codechange: replace magic numbers with enumified WindowHighlightMode constants. Patch by SmatZ. 17 years ago
rubidium bd7483ba3c (svn r11040) -Fix [FS#1179]: removing CMD_AUTO from some commands could remotely trigger an assertion. 17 years ago
rubidium 9706c32ed6 (svn r11040) -Fix [FS#1179]: removing CMD_AUTO from some commands could remotely trigger an assertion. 17 years ago
rubidium 13ab17bca8 (svn r10704) -Codechange: provide an infrastructure to have resizable windows that are smaller than the default window size. 17 years ago
rubidium c03cb2c8db (svn r10704) -Codechange: provide an infrastructure to have resizable windows that are smaller than the default window size. 17 years ago
rubidium 690a27f8ce (svn r10522) -Fix: the "build truck station" GUI showed that it would accept tourists when it does not, whereas the "build bus station" GUI did not show them when it did accept them. 17 years ago
rubidium 7cd00468d6 (svn r10522) -Fix: the "build truck station" GUI showed that it would accept tourists when it does not, whereas the "build bus station" GUI did not show them when it did accept them. 17 years ago
maedhros 1242bb9a03 (svn r9905) -Feature: Allow building new stations adjacent to existing stations by holding down control. Based on a patch by Wolf01. 17 years ago