rubidium
|
c1365b3cc1
|
(svn r17853) -Codechange: remove the 'delta' parameter from OnResize; it was used in ways that aren't always wanted, causing bugs and the like. Also with nested widgets most reasons for handling OnResize have gone.
|
15 years ago |
alberth
|
862b8b6247
|
(svn r17833) -Codechange: Depot gui should use relative widget coordinates for clicking.
|
15 years ago |
frosch
|
9259446b76
|
(svn r17830) -Fix [FS#3276]: Some windows already need their window_number when setting up smallest size (e.g. for DParams). So assign it earlier in Window::InitializeData instead of dealing with each window separately.
|
15 years ago |
rubidium
|
b72898c8a3
|
(svn r17786) -Fix [FS#3265]: graphical glitches (matrices/scrollbars with wrong 'size') upon reiniting windows
|
15 years ago |
alberth
|
0fdc77ef5a
|
(svn r17760) -Revert (r17648): _local_company is less constant than you'd expect.
|
15 years ago |
alberth
|
d771df960b
|
(svn r17653) -Fix (r17649): Widgets at the bottom button bar of the depot window should adapt to differences in height.
|
15 years ago |
alberth
|
d8f128b97c
|
(svn r17652) -Codechange: Merging/renaming the depot block-size functions.
|
15 years ago |
alberth
|
200a83d033
|
(svn r17650) -Codechange: Checking a condition once is enough.
|
15 years ago |
alberth
|
e678f32cb2
|
(svn r17649) -Codechange: Depot gui uses pure nested widgets.
|
15 years ago |
alberth
|
4a34775949
|
(svn r17648) -Codechange: Move type initialization and widget disabling to the constructor.
|
15 years ago |
alberth
|
01c38e380f
|
(svn r17647) -Codechange: Moving widget array access to outside the function.
|
15 years ago |
alberth
|
fe9235c224
|
(svn r17643) -Codechange: Code style for variables in depot gui.
|
15 years ago |
alberth
|
3682318c2c
|
(svn r17626) -Codechange: Use Dimension structs instead of array of length 2 for storing horizontal/vertical information.
|
15 years ago |
alberth
|
e89c79aeb7
|
(svn r17624) -Codechange: Swap entries in _resize_cap[][] so the code does what the docs say.
|
15 years ago |
smatz
|
f85b8c4e09
|
(svn r17596) -Codechange: constify some tables
|
15 years ago |
rubidium
|
2e5596025c
|
(svn r17579) -Fix: remove doxygen docs for removed parameters, or change @param to @tparam if necessary
|
15 years ago |
frosch
|
0e36260337
|
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
|
15 years ago |
rubidium
|
f660dd7109
|
(svn r17446) -Codechange: rename BUILD with BUY for strings that are about building (in the future buying) vehicles.
|
15 years ago |
rubidium
|
e80d296638
|
(svn r17369) -Codechange: make the depot, group and industry GUIs use the scrollbar wrappers
|
15 years ago |
rubidium
|
9442334163
|
(svn r17368) -Codechange: remove pointless passing of 'this' as parameter
|
15 years ago |
rubidium
|
99d46e0ad7
|
(svn r17248) -Fix: add GPL license notice where appropriate
|
15 years ago |
rubidium
|
c096e3d54c
|
(svn r17228) -Codechange: some coding style fixes
|
15 years ago |
alberth
|
fe2fcace25
|
(svn r17194) -Fix (r17175): Depot sell buttons did not raise again.
|
15 years ago |
frosch
|
50b1aacdb0
|
(svn r17185) -Codechange: Tweak depot gui and vehicle lists, so text overlaps less with vehicle images.
|
15 years ago |
rubidium
|
d61be2637e
|
(svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives
|
15 years ago |
rubidium
|
f62b2f9c7e
|
(svn r16922) -Codechange: unduplicate some vehicle CMD_*s and move the setting of the error message to a single place
|
15 years ago |
rubidium
|
01eabc5f4c
|
(svn r16921) -Codechange: make it more clear what strings are related to road vehicles; only ROAD isn't always enough. Also unify the way of writing it.
|
15 years ago |
rubidium
|
04ee98df52
|
(svn r16920) -Codechange: shuffle some strings around to simplify looking up vehicle type specific strings for a specific message
|
15 years ago |
rubidium
|
49fcb20a91
|
(svn r16919) -Codechange: unify some more StringID w.r.t. their naming
|
15 years ago |
frosch
|
fec6129cd1
|
(svn r16894) -Codechange: Add [Specialised]Vehicle::Last().
|
15 years ago |
frosch
|
f1f4edfbd1
|
(svn r16884) -Codechange: Add Train::GetFirstEnginePart() and use it.
|
15 years ago |
frosch
|
5310721e96
|
(svn r16874) -Change: Give the number behind free wagon chains in depots the same meaning as for trains.
|
15 years ago |
frosch
|
12ea92a257
|
(svn r16867) -Feature(ette): Turn variable 0E/8E (vertical offset for trains in depot) and variable 1E/9E bit 3 (wagon width in depot) into grf-local variables.
|
15 years ago |
alberth
|
fe9f5cbc46
|
(svn r16845) -Codechange: Introduction of constants for describing the bits in a WWT_MATRIX data field.
|
15 years ago |
smatz
|
a2ce1e6e8f
|
(svn r16820) -Codechange: remove unused parameter in HandleCloneVehClick()
|
15 years ago |
frosch
|
1fbbf29987
|
(svn r16817) -Codechange: Scroll depots horizontally in pixels instead of 1/8 vehicle length.
|
15 years ago |
frosch
|
fb9ec40e44
|
(svn r16799) -Codechange: When drawing articulated road vehicles in the vehicle details window, draw as many parts as the window fits instead of always up to a vehicle length of 80/8.
|
15 years ago |
rubidium
|
74f56861e9
|
(svn r16772) -Fix [FS#3019]: don't use the same error message for turning around road vehicles and flipping parts of trains in the depot
|
15 years ago |
rubidium
|
18fbe0aac4
|
(svn r16722) -Codechange: unify the naming of the Is/Set/HasArticulatedPart functions
|
15 years ago |
smatz
|
1e1f0ab2cf
|
(svn r16719) -Codechange: make IsArticulatedPart(), IsTrainEngine(), IsTrainWagon(), IsMultiheaded(), EngineHasArticPart() and IsRearDualheaded() members of Train
|
15 years ago |
smatz
|
20fedeb3d6
|
(svn r16717) -Codechange: make IsFrontEngine() member of Train
|
15 years ago |
frosch
|
523cde0798
|
(svn r16678) -Codechange: Turn CargoArray into a class, so one does not have to deal with sizeof() wrt. typedef-ed arrays.
|
15 years ago |
frosch
|
4c3f480f92
|
(svn r16676) -Codechange: Rename AcceptedCargo to CargoArray and its instances to more meaningful names.
|
15 years ago |
smatz
|
a9602401f0
|
(svn r16646) -Codechange: rename GetDepotByTile() to Depot::GetByTile()
|
15 years ago |
smatz
|
af85994f7f
|
(svn r16527) -Codechange: use static member functions instead of simple casts when converting Vehicle to specialised vehicle types. Includes safety check
|
16 years ago |
rubidium
|
d39f442bd0
|
(svn r16434) -Cleanup: remove some dead code; primarily stuff that can't be reached like break after returns or break after functions that never return (i.e. NOT_REACHED)
|
16 years ago |
rubidium
|
c496a3e014
|
(svn r16421) -Codechange: do not unnecessarily remove constness or unnecessarily add it.
|
16 years ago |
rubidium
|
cd382b28a3
|
(svn r16394) -Codechange: move (NewGRF) cache variables into a separate struct so (some vehicle related) NewGRF cache 'desyncs' can be tested easier.
|
16 years ago |
rubidium
|
4c0542c17f
|
(svn r16393) -Codechange: move VehicleRail to Train.
|
16 years ago |
rubidium
|
489253b630
|
(svn r16390) -Codechange: move u.road to RoadVehicle.
|
16 years ago |