Age | Commit message (Collapse) | Author |
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
Sign width was only updated when the text was changed. This seems to work for player-placed
signs as there is always a rename operation, however AIs can create a sign with text in one
go, in which case the width was never set.
|
|
|
|
the return is not NULL)
|
|
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
|
|
to the GS. That way they are always shown in game and are not editable.
|
|
|
|
functions if they return the Z in pixels (like TilePixelHeight)
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
UpdateAll[Type]VirtCoords.
|
|
|
|
PoolItem::IsValidID() and PoolItem::Get()
|
|
PoolItem::IsValidID(index)
|
|
|
|
this ID' from 'some' strings and replace the string name with something more sensible.
|
|
|
|
|