summaryrefslogtreecommitdiff
path: root/src/resources/attributes.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-2/+2
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-2/+11
2013-04-27Always read the attributes.xml fileThorbjørn Lindeijer1-0/+68
This way it can also be used when connecting to a tmwAthena server for customizing the min/max of attributes and the amount of starting points. Mantis-issue: 501 Reviewed-by: Ablu