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
|
17 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.
|
17 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.
|
17 years ago |
frosch
|
8b1e7c8189
|
(svn r13230) -Fix [FS#2030](r13171): When closing toolbars, also close their PickerWindows.
|
17 years ago |
rubidium
|
27c38052b7
|
(svn r13185) -Codechange: remove everything related to the WindowProc callbacks.
|
17 years ago |
rubidium
|
ade538828d
|
(svn r13171) -Codechange: make a class of the Build[Air|Rail|Road|Dock]ToolbarWindows.
|
17 years ago |
rubidium
|
fc4393dcfe
|
(svn r13160) -Codechange: prepare GUIPlaceProcDragXY for the removal of WindowEvent.
|
17 years ago |
glx
|
b68943e4df
|
(svn r13144) -Codechange: make classes of the BuildRoad[Depot|Station]Window.
|
17 years ago |
rubidium
|
8b54212900
|
(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming.
|
17 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.
|
17 years ago |
belugas
|
e099831210
|
(svn r13026) -Codechange[FS#1999]: Further Dynamite Tool Unification.(Roujin)
|
17 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.
|
17 years ago |
rubidium
|
23fc96c3e8
|
(svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window.
|
17 years ago |
rubidium
|
2eef026fe3
|
(svn r13004) -Codechange: replace AllocateWindow and AllocateWindowDesc with a Window constructor.
|
17 years ago |
rubidium
|
3d5567ccf7
|
(svn r12987) -Codechange: split viewport and tile selection.
|
17 years ago |
belugas
|
fa8ab829e9
|
(svn r12983) -Codechange [FS#1987] : Unification of all dynamite tools calls to only one. Thanks to Roujin
|
17 years ago |
rubidium
|
9bf519f26b
|
(svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) when it's certain that w != NULL.
|
17 years ago |
rubidium
|
e6c944a6c4
|
(svn r12975) -Codechange: replace DeleteWindow(w) with delete w.
|
17 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.
|
17 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.
|
17 years ago |
rubidium
|
1b2773445d
|
(svn r12765) -Codechange: move some stuff out of variables.h that required including other headers in variables.h.
|
17 years ago |
rubidium
|
1bd5a29df5
|
(svn r12596) -Feature: show what cargos a station could be supplied with. Patch by Roujin.
|
17 years ago |
smatz
|
d1c0e57901
|
(svn r12570) -Cleanup: further variable scope in road_gui.cpp
|
17 years ago |
smatz
|
b78e8f82e1
|
(svn r12569) -Cleanup: variable scope and coding style in road*.cpp
|
17 years ago |
rubidium
|
2edd403656
|
(svn r12489) -Codechange: split station.h into station_base.h and station_func.h.
|
17 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.
|
18 years ago |
rubidium
|
ecd36dd34f
|
(svn r10015) -Fix: one could build (only) tram tracks when that was the last built roadtype (in a normal game).
|
18 years ago |
rubidium
|
253aa1b0b0
|
(svn r9999) -Feature: make it possible to disallow busses and lorries to go a specific way on straight pieces of road.
|
18 years ago |
rubidium
|
1b2016a4b2
|
(svn r9933) -Fix (9925): unified a little too much.
|
18 years ago |
rubidium
|
71614fef81
|
(svn r9925) -Fix: wrong tooltips in station picker.
|
18 years ago |
rubidium
|
17390241e6
|
(svn r9923) -Add: support for Action 0 Road vehicles, property 1C, bit 0.
|
18 years ago |
maedhros
|
2832a95f25
|
(svn r9909) -Fix (r9897): Highlight road tunnels properly when building them.
|
18 years ago |
rubidium
|
6b176e74c8
|
(svn r9908) -Codechange: prepare the station picker for more road types.
|
18 years ago |
rubidium
|
930957d132
|
(svn r9907) -Codechange: prepare the road gui for more road types.
|
18 years ago |
maedhros
|
39016328cc
|
(svn r9905) -Feature: Allow building new stations adjacent to existing stations by holding down control. Based on a patch by Wolf01.
|
18 years ago |
maedhros
|
35ce34d55a
|
(svn r9901) -Codechange: Decide what to do with selected land areas based on the specific variable, not how it was highlighted.
|
18 years ago |
maedhros
|
ca5c578d0f
|
(svn r9900) -Codechange: Separate the variables for how to highlight a land area and what to do with it afterwards.
|
18 years ago |
rubidium
|
b7748a686e
|
(svn r9897) -Codechange: prepare the toolbar for more road types.
|
18 years ago |
rubidium
|
07535d857b
|
(svn r9893) -Fix (r9892): various small bugs that only act up when using something different than plain roads.
|
18 years ago |
rubidium
|
d86b5e5e93
|
(svn r9892) -Codechange: lots of ground work for allowing multiple types of "road" with multiple owners on a single tile.
|
18 years ago |
rubidium
|
2dc5589290
|
(svn r9673) -Cleanup: remove spaces before tabs and replace non-indenting tabs with spaces.
|
18 years ago |
rubidium
|
80c259f64f
|
(svn r9672) -Cleanup: lots of coding style fixes around operands.
|
18 years ago |
belugas
|
386e298acd
|
(svn r9523) -Cleanup: doxygen changes. Time to take care of "R"
|
18 years ago |
rubidium
|
36bb92ae24
|
(svn r9050) -Codechange: Foo(void) -> Foo()
|
18 years ago |
rubidium
|
fd4a0dafc2
|
(svn r8837) -Fix [FS#626]: drive through stations did not connect to neighbouring roads (mart3p).
|
18 years ago |
rubidium
|
c04c8382ca
|
(svn r8765) -Codechange: remove logic redundancy by moving it from the gui into the cmd code.
|
18 years ago |