Michael Lutz
63ccb36ef3
Codechange: Use std::string for most of the user-settable custom names.
4 years ago
Jonathan G Rennison
c3223903ed
Codechange: Cache resolved town, station and industry name strings
5 years ago
glx
ddabfed1cd
Codechange: Replace station related FOR_ALL with range-based for loops
5 years ago
Niels Martin Hansen
9900af38f5
Fix #7847 : Use ViewportSign coordinates for sign Kdtree coordinates ( #7849 )
...
Ensure the same coordinates are used for station/town/player signs regardless of how the landscape changes below it after the coordinates were first determined.
By keeping track of whether each ViewportSign is valid for Kdtree use (and only ever registering the viewport sign when the object is valid) a lot of code can be simplified and become more robust at the same time.
5 years ago
S. D. Cloudt
13cc8a0cee
Cleanup: Removed SVN headers
5 years ago
Charles Pigott
5b34c8019f
Codechange: Remove Company/OwnerByte types
6 years ago
Charles Pigott
fb6ae81415
Codechange: Remove StationFacilityByte type
6 years ago
Henry Wilson
7c8e7c6b6e
Codechange: Use null pointer literal instead of the NULL macro
6 years ago
Niels Martin Hansen
ce10d9be3f
Fix #7374 : Ensure k-d trees are always updated when station sign moves
6 years ago
PeterN
4cebebcf68
Change: Add CargoTypes type for cargo masks. ( #6790 )
6 years ago
frosch
db894b0b3f
(svn r26085) -Codechange: Pass ResolverObjects as reference instead of pointer since they are never NULL.
11 years ago
peter1138
c00a400cc7
(svn r24905) -Feature(ish): Implement station randomisation triggers.
12 years ago
truebrain
1c9bec1999
(svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC)
13 years ago
alberth
f65a9a5515
(svn r21593) -Codechange: endif comment correcttions.
14 years ago
yexo
bf6167710f
(svn r19351) -Codechange: use TileArea for AfterRemoveRect
15 years ago
alberth
6a3dbaf99a
(svn r19350) -Codechange: StationRect::BeforeAddRect() returns a CommandCost.
15 years ago
alberth
d4b748e27e
(svn r19335) -Codechange: StationRect::BeforeAddTile() returns a CommandCost.
15 years ago
alberth
993c9e6f62
(svn r19334) -Codechange: method-call codestyle fixes, and introduction of const reference formal parameter.
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
2e2f72b971
(svn r18342) -Fix: erroneous spaces before ;
15 years ago
rubidium
c60cebd4bb
(svn r17508) -Fix [FS#3195] (r16859): join station window didn't get updated when stations were removed from the pool
15 years ago
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
rubidium
47a37b6093
(svn r16965) -Codechange: use tile area instead of sets of variables for the station joiner code.
15 years ago
rubidium
2dd998ab06
(svn r16962) -Codechange: more work towards multi tile waypoints
15 years ago
rubidium
7440ec7a73
(svn r16947) -Codechange: use TileArea instead of train_tile, trainst_w and trainst_h.
15 years ago
rubidium
63f2da7492
(svn r16945) -Fix (r16940): comments got swapped
15 years ago
rubidium
c3d2c47faa
(svn r16940) -Codechange: make the pathfinders behave the same when finding waypoints or stations, i.e. don't force exactly one destination tile for a waypoint
15 years ago
rubidium
803cf87885
(svn r16934) -Codechange: introduce a simple helper function to check whether a station is pending deletion or not
15 years ago
rubidium
6e3d999dce
(svn r16914) -Codechange: split Station and BaseStation into different files
15 years ago