summaryrefslogtreecommitdiff
path: root/src/signs_cmd.cpp
AgeCommit message (Collapse)Author
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-03-25Fix #7414: Reinstate marking sign dirty before removal. (#7416)PeterN
2019-03-25Fix #7410: Sign position/width not set on initial creation. (#7413)PeterN
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.
2019-03-09Codechange: Make a merged k-d tree index of all viewport signsNiels Martin Hansen
2014-04-25(svn r26509) -Codechange: replace strdup with stredup (the latter ensures ↵rubidium
the return is not NULL)
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2012-01-22(svn r23835) -Change [FS#4999]: Make signs placed in scenario editor belong ↵frosch
to the GS. That way they are always shown in game and are not editable.
2011-12-19(svn r23621) -Add: allow manipulation of signs via GameScriptstruebrain
2011-11-04(svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ ↵rubidium
functions if they return the Z in pixels (like TilePixelHeight)
2011-05-01(svn r22406) -Document: some more "random-ish" tidbitsrubidium
2010-12-05(svn r21413) -Codechange: limit sign name by amount of characters, not bytesrubidium
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-01-11(svn r18781) -Codechange: pass the CommandCost to the callback instead of ↵rubidium
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.
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-09-18(svn r17567) -Fix: some doxygen warningsrubidium
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-07-13(svn r16825) -Codechange: unify dirtying when updating the viewport signs.rubidium
2009-07-13(svn r16821) -Codechange: unify the naming of type::UpdateVirtCoord and ↵rubidium
UpdateAll[Type]VirtCoords.
2009-07-08(svn r16764) -Codechange: unify the way viewport signs are marked dirtyrubidium
2009-05-18(svn r16352) -Codechange: use PoolItem::GetIfValid() instead of ↵smatz
PoolItem::IsValidID() and PoolItem::Get()
2009-05-17(svn r16327) -Codechange: replace IsValidPoolItemID(index) by ↵smatz
PoolItem::IsValidID(index)
2009-05-16(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)smatz
2009-04-21(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had ↵rubidium
this ID' from 'some' strings and replace the string name with something more sensible.
2009-03-13(svn r15704) -Cleanup: remove further includes from recently split filessmatz
2009-03-13(svn r15700) -Codechange: split Cmd* from signs.cpp to signs_cmd.cpp.rubidium