summaryrefslogtreecommitdiff
path: root/src/helpers.hpp
AgeCommit message (Collapse)Author
2007-10-20(svn r11312) -Codechange: implement a overflow safe integer and use that for ↵rubidium
money and don't misuses CommandCost to have a overflow safe integer. Based on a patch by Noldo.
2007-03-01(svn r8950) -Cleanup: doxygen changes. Mostly @files missing tags and a few ↵belugas
comments style.
2007-02-25(svn r8901) -Fixtron
Get rid of DECLARE_ENUM_AS_BIT_INDEX(Trackdir, TrackdirBits) and DECLARE_ENUM_AS_BIT_INDEX() altogether
2007-02-23(svn r8867) -Fix(r8866): revert yapf_costrail.hpp commited by mistake, ↵KUDr
helpers.hpp had wrong line ending
2007-02-23(svn r8866) -Doc: added more comments to template struct MakeEnumPropsTKUDr
2007-02-23(svn r8864) -Codechange: make ClrBitT(), SetBitT() and ToggleBitT more like ↵KUDr
CLRBIT() and so on (modify value of the first parameter instead or returning the result)
2007-02-19(svn r8818) -Codechange: remove the #ifdef _cplusplus remnants.rubidium
2007-01-19(svn r8276) -Fixtron
Change the signature of Swap() to be less error prone, i.e. pass the variables to be swapped by reference instead of passing pointers to the variables. Just do Swap(x, y) instead of Swap(&x, &y). This prevents accidents when the variables are pointers.
2007-01-11(svn r8066) - Codechange: MallocT(), CallocT(), ReallocT() now return the ↵KUDr
pointer to allocated memory instead of modifying the pointer given as parameter
2007-01-10(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, ↵rubidium
stillunknown and pv2b.