summaryrefslogtreecommitdiff
path: root/src/units.h
AgeCommit message (Collapse)AuthorFilesLines
2025-01-21Replaced include guards with #pragma onceThorbjørn Lindeijer1-4/+1
Thanks to https://github.com/cgmb/guardonce and a follow-up replace to remove duplicated newlines at end of file: find src -type f -name '*.h' -exec \ sed --in-place -e :a -e '/^\n*$/{$d;N;};/\n$/ba' {} \; Source: https://unix.stackexchange.com/questions/81685/how-to-remove-multiple-newlines-at-eof Fixes compile on macOS, which appears to have been due to the EVENT_H include guard.
2025-01-20Wrapped xmlNodePtr access with a Node classThorbjørn Lindeijer1-1/+1
Slightly more ergonomic and this eliminates direct libxml2 usage from many places.
2013-05-04Client-side settings are now available from settings.xmlPrzemysław Grzywacz1-4/+6
2012-01-26Updated copyrights to 2012Thorbjørn Lindeijer1-1/+1
2010-02-21Do some more copyright header cleanupsJared Adams1-1/+1
Fix "(C) 2009-2009" to just "(C) 2009" Fix "(C) 2010 TMW" to "(C) 2010 Mana" Remove TMW compyright on (hopefully all) files added after 0.0.29.1
2010-02-22Modify copyright headersFreeyorp1-1/+2
2010-02-20License header update for The Mana ClientThorbjørn Lindeijer1-3/+2
2010-02-07Updated Copyright year to 2010!Bertram1-1/+1
Also added the update copyright tool from the Wormux Team. ( And not forgetting credit's due. :P )
2009-02-17Got rid of const where it does not make much senseBjørn Lindeijer1-2/+2
It's not that useful to make variables that are passed by value const. In the declaration it is even completely ignored.
2009-02-15Add configurable units systemJared Adams1-0/+46