alberth
|
22273fb8e8
|
(svn r21550) -Codechange: Move the small static functions into the switch.
|
14 years ago |
alberth
|
27d4a64020
|
(svn r21549) -Codechange: Unfold the _build_road_button_proc array into a switch.
|
14 years ago |
alberth
|
1e07f74b1e
|
(svn r21548) -Codechange: Code style, multi line statements should indent two tabs.
|
14 years ago |
alberth
|
f5c6fd1a25
|
(svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint().
|
14 years ago |
terkhen
|
897bb71621
|
(svn r20856) -Fix [FS#4141]: Road/water toolbars did not get updated when the first vehicle of their type becomes available.
|
14 years ago |
rubidium
|
30f2afac9b
|
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
|
14 years ago |
frosch
|
ed4f806f1d
|
(svn r20283) -Codechange: Unify start of doygen comments.
|
14 years ago |
rubidium
|
e356cb9405
|
(svn r20281) -Codechange: unify case scope closure + break coding style
|
14 years ago |
yexo
|
19f86951d9
|
(svn r20073) -Feature: customizable hotkeys for the road toolbar
|
14 years ago |
frosch
|
0f656010c8
|
(svn r19637) -Codechange: Pass complete TransportType to CmdBuildTunnel.
|
14 years ago |
smatz
|
53aaabe6e9
|
(svn r19507) -Codechange: remove semicolon after DECLARE_POSTFIX_INCREMENT and DECLARE_ENUM_AS_BIT_SET
|
14 years ago |
frosch
|
0f9be95e03
|
(svn r19445) -Change: No need to drag an area when overbuilding bridges.
|
14 years ago |
terkhen
|
aba24e44cf
|
(svn r19230) -Feature: Allow to remove multiple road stops using drag and drop.
|
15 years ago |
terkhen
|
70b1bc5048
|
(svn r19229) -Feature: Allow to build multiple road stops using drag and drop (Based on Wolf01 work)
|
15 years ago |
terkhen
|
524a10b375
|
(svn r19227) -Codechange: Reorganization of parameters at CmdBuildRoadStop.
|
15 years ago |
frosch
|
88019e64e1
|
(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick().
|
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 |
rubidium
|
c390e8f00e
|
(svn r18803) -Feature [FS#3318]: make building (long) roads work like building rail; build upon the first obstruction instead of failing totally. Patch by Terkhen.
|
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
|
1f0da3710f
|
(svn r18324) -Codechange: there's no need for a default size when the window isn't resizable
|
15 years ago |
rubidium
|
293dfd7c3e
|
(svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice.
|
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
|
8d6e323ef8
|
(svn r18280) -Codechange: remove widget indices that are not needed for custom drawing/handling input
|
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
|
69b6d9309a
|
(svn r18274) -Codechange: remove the unused WDF flags
|
15 years ago |
rubidium
|
e57d6a8e48
|
(svn r18269) -Fix [FS#3326]: crash because there was no (hidden) one way widget for the tram toolbar
|
15 years ago |
alberth
|
2b6f792513
|
(svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool.
|
15 years ago |
rubidium
|
81087052dc
|
(svn r18224) -Codechange: make the road construction windows big font aware
|
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
|
5f2ddfbc5a
|
(svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets
|
15 years ago |
rubidium
|
3d2d7af88f
|
(svn r18086) -Codechange: remove 'widget' from WindowDesc
|
15 years ago |
rubidium
|
d6cded5380
|
(svn r17693) -Cleanup: remove some unneeded includes
|
15 years ago |
alberth
|
116c77c342
|
(svn r17572) -Codechange: Use the Window::GetWidget() function to access nested widgets through the nested_array.
|
15 years ago |
frosch
|
ebd916be3d
|
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
|
15 years ago |
alberth
|
86ebf88176
|
(svn r17314) -Fix (r17313): Allow the picker window to change size.
|
15 years ago |
rubidium
|
753e063cad
|
(svn r17313) -Codechange: make the road station picker nested
|
15 years ago |
rubidium
|
ff2034b073
|
(svn r17312) -Codechange: make the road toolbars and depot picker nested
|
15 years ago |
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 |
rubidium
|
1fe3ad3288
|
(svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives
|
15 years ago |
yexo
|
113d276ca5
|
(svn r17059) -Codechange: Rename a few strings to reflect their usage
|
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 |
rubidium
|
2b374824dc
|
(svn r16870) -Codechange: unmagicify road stop/waypoint picker drawing
|
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
|
58ee544cff
|
(svn r16788) -Fix: with modified_catchment off the build road station window would not display all possible cargos in the Accepts/Supplies lists
|
15 years ago |
smatz
|
871107f529
|
(svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index)
|
15 years ago |
alberth
|
c29f4fd738
|
(svn r16219) -Codechange: Added nested widgets to rv station picker window.
|
15 years ago |
alberth
|
8ae0696447
|
(svn r16218) -Codechange: Move BuildRoadStationWidgets enum outside window struct.
|
15 years ago |
alberth
|
c8ac8decce
|
(svn r16217) -Codechange: Make rv station picker widgets non-overlapping, fix doc typo.
|
15 years ago |
smatz
|
fc63e37616
|
(svn r16155) -Codechange: remove MarkTileDirty, use MarkTileDirtyByTile instead
|
15 years ago |
smatz
|
3dbcc66cb1
|
(svn r16119) -Fix [FS#2582](r12167): road was removed when both the Remove button was active and Ctrl was pressed (Terkhen)
|
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 |
yexo
|
84b632d60f
|
(svn r15862) -Codechange: New widgets for the road, rail and ship depot guis.
|
15 years ago |
yexo
|
9061cd8b18
|
(svn r15858) -Codechange: New widgets for the road toolbars.
|
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
|
9d018723b7
|
(svn r15711) -Codechange: lots of whitespace cleanup/fixes
|
16 years ago |
rubidium
|
faeb00008a
|
(svn r15415) -Change: close the (station) joiner window when pressing the bulldozer.
|
16 years ago |
rubidium
|
57b27ffbab
|
(svn r15414) -Codechange: s/delete FindWindowById/DeleteWindowById/
|
16 years ago |
rubidium
|
856f26e35b
|
(svn r15413) -Fix [FS#2529/2533]: inconsistencies between station and bridge building w.r.t. tile selection and when the window should be closed.
|
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
|
11da45ee55
|
(svn r14949) -Cleanup: pointer coding style
|
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
|
87f95cd4cf
|
(svn r13899) -Codechange: Replace numbers with Colours enum on roads gui.
save command file before commiting :P
|
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 |
skidd13
|
41b09d4027
|
(svn r13628) -Feature: enable building of aqueducts in the scenario editor
-Codechange: related to this split the waterway based buttons from the landscape generation window
|
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 |
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 |
glx
|
b68943e4df
|
(svn r13144) -Codechange: make classes of the BuildRoad[Depot|Station]Window.
|
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 |
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
|
e099831210
|
(svn r13026) -Codechange[FS#1999]: Further Dynamite Tool Unification.(Roujin)
|
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
|
23fc96c3e8
|
(svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window.
|
16 years ago |
rubidium
|
2eef026fe3
|
(svn r13004) -Codechange: replace AllocateWindow and AllocateWindowDesc with a Window constructor.
|
16 years ago |
rubidium
|
3d5567ccf7
|
(svn r12987) -Codechange: split viewport and tile selection.
|
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
|
9bf519f26b
|
(svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) when it's certain that w != NULL.
|
16 years ago |
rubidium
|
e6c944a6c4
|
(svn r12975) -Codechange: replace DeleteWindow(w) with delete w.
|
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
|
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
|
1b2773445d
|
(svn r12765) -Codechange: move some stuff out of variables.h that required including other headers in variables.h.
|
16 years ago |
rubidium
|
1bd5a29df5
|
(svn r12596) -Feature: show what cargos a station could be supplied with. Patch by Roujin.
|
16 years ago |
smatz
|
d1c0e57901
|
(svn r12570) -Cleanup: further variable scope in road_gui.cpp
|
16 years ago |
smatz
|
b78e8f82e1
|
(svn r12569) -Cleanup: variable scope and coding style in road*.cpp
|
16 years ago |
rubidium
|
2edd403656
|
(svn r12489) -Codechange: split station.h into station_base.h and station_func.h.
|
16 years ago |
skidd13
|
9a96f89646
|
(svn r12365) -Fix: missing redraw call in the road gui
|
17 years ago |
smatz
|
8b56e7544e
|
(svn r12167) -Feature(tte): change colour of autorail and autoroad selection when Ctrl is pressed
|
17 years ago |
glx
|
3e70ee6ed7
|
(svn r12154) -Codechange: removed a magic number
|
17 years ago |
frosch
|
43c0f7ea8e
|
(svn r12141) -Codechange: Introduce IsNormalRoad[Tile](), IsRoadDepot[Tile]() and HasTileRoadType(); and use them.
|
17 years ago |
belugas
|
81b3652f37
|
(svn r12135) -Codechange: Road and rail bridge selection windows were identical apart the caption. So remove one window definition and set manually the caption accordingly.
-Codechange: prepare the "type" of bridge parameter only once, at the beginning of the selection process. Makes less magic around.
|
17 years ago |
smatz
|
379f89fc7e
|
(svn r12010) -Fix (r11994): build tramway window should use STR_WHITE_TRAMWAY_CONSTRUCTION
|
17 years ago |
maedhros
|
21eef65e77
|
(svn r11994) -Codechange: Remove numbers from string names where the strings aren't present in TTD, since they don't correspond to either TTD's TextIDs or OpenTTD's StringIDs.
|
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
|
dc87b05e8c
|
(svn r11834) -Codechange: only include settings_type.h if needed.
|
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
|
ac528411df
|
(svn r11818) -Codechange: split player.h into smaller pieces.
|
17 years ago |
rubidium
|
6c954cad5f
|
(svn r11801) -Codechange: remove some unneeded includes from some header files.
|
17 years ago |
rubidium
|
0e517fe023
|
(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.
|
17 years ago |
peter1138
|
931e6ea49d
|
(svn r11786) -Codechange: shuffle more includes
|
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 |
peter1138
|
75472cbc16
|
(svn r11729) -Codechange: Don't rely on the first railtype's sprite offset being zero when drawing road stations.
|
17 years ago |
rubidium
|
e5e75bd8f8
|
(svn r11719) -Codechange: split sound.h in a header with types and one with functions.
|
17 years ago |
rubidium
|
384503e7d3
|
(svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes.
|
17 years ago |
rubidium
|
2786d789a1
|
(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.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
|
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
|
9e9cfe6e59
|
(svn r11677) -Codechange: move price and command related types/functions to their respective places.
|
17 years ago |
rubidium
|
433a9f3c09
|
(svn r11675) -Codechange: split the string types from the string functions.
|
17 years ago |
rubidium
|
5b49e75453
|
(svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.h
|
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
|
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 |
rubidium
|
e4ef359f47
|
(svn r11663) -Codechange: moving of the road related types and functions.
|
17 years ago |
skidd13
|
98bd772119
|
(svn r11587) -Fix (r11457): The one way road button wasn't reset on abort
|
17 years ago |
rubidium
|
527b72749d
|
(svn r11555) -Codechange: use the new members introduced in r11551.
|
17 years ago |
rubidium
|
6cf5e4cf05
|
(svn r11512) -Change: make the subsidy window able to resize to something smaller than 640x127 (especially the 640 part) when the screen is really too small.
|
17 years ago |
rubidium
|
81c7ba42af
|
(svn r11505) -Fix/Feature: make CTRL work on all road/rail construction options that 'work' with the 'Bulldozer' button instead of only a few.
|
17 years ago |
skidd13
|
eeaa348f8b
|
(svn r11484) -Codechange: Remove the doubled function SetBitT and rename the remaining 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 |
smatz
|
96d156944f
|
(svn r11466) -Fix (r11339): operator priority problem resulting in problematic autoroad placement in some cases
|
17 years ago |
skidd13
|
afbd03b49c
|
(svn r11459) -Fix: (r11457) The selection highlight color hasn't been reset
|
17 years ago |
skidd13
|
9737bf20c0
|
(svn r11457) -Fix: (r11455) Reenable the accidentaly removed one way roads option
-Change: Enable one way roads like the remove via a toolbar icon
|
17 years ago |
rubidium
|
5b21a839a9
|
(svn r11455) -Codechange: make autoroad, 'normal' road building and 'normal' rail building all react the same on CTRL as autorail.
|
17 years ago |
skidd13
|
9b4252bd62
|
(svn r11446) -Codechange: change the naming of road related code parts to something more descriptive
-Change: invert the two single roads gui buttons, making it consistent with rails toolbar
Based on a patch by Octopussy
|
17 years ago |
belugas
|
f920686762
|
(svn r11344) -Codechange: Removes some magic numbers referring the highlighting mode in road_gui.cpp
Some typos fixed too.(FS#1371-skidd13)
|
17 years ago |
rubidium
|
2c1bfe10ac
|
(svn r11339) -Add: autoroad; same as autorail, but for road and trams and only on X and Y direction. Patch by Octopussy and skidd13.
|
17 years ago |
rubidium
|
4276173922
|
(svn r11264) -Codechange: replace a lot of magic numbers with enums for the rail and road GUIs. Patch by skidd13.
|
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
|
7fb3f54584
|
(svn r10733) -Codechange: change MP_STREET into MP_ROAD as we use the word "road" everywhere except in the tile type.
|
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
|
e8acc3d35d
|
(svn r10702) -Fix: "Can't build ..." instead of "Can't remove ..." message shown for road stops for trucks/cargo trams.
|
17 years ago |
rubidium
|
3dd6362bb8
|
(svn r10601) -Codechange: store (and use) the type of stations instead of hardcoding station types by graphics IDs.
|
17 years ago |
rubidium
|
efc7fdf2fd
|
(svn r10587) -Codechange: move the string/dparam related stuff from variables.h to strings.h
|
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 |
rubidium
|
52fbdd62a2
|
(svn r10353) -Fix/Feature [FS#669]: disallow (in the GUI) the building of infrastructure you do not have available vehicles for. This means that the airport building button is disabled till you can actually build aircraft. The game itself will not disallow you to build the infrastructure and this "new" behaviour can be overriden with a patch setting.
|
17 years ago |