summaryrefslogtreecommitdiff
path: root/src/common/configuration.cpp
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2011-03-22 22:29:39 +0100
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2011-03-24 17:04:29 +0100
commit94d97450bc3a52cd90baa696320bd08d91ac301f (patch)
treefc2f5db6583040772aac1d39a14928bdfe7aa4eb /src/common/configuration.cpp
parent7967b82c19bfa5bd2249abcb807a7a55af031abe (diff)
downloadmanaserv-94d97450bc3a52cd90baa696320bd08d91ac301f.tar.gz
manaserv-94d97450bc3a52cd90baa696320bd08d91ac301f.tar.bz2
manaserv-94d97450bc3a52cd90baa696320bd08d91ac301f.tar.xz
manaserv-94d97450bc3a52cd90baa696320bd08d91ac301f.zip
Use a map to quickly find items and monsters by their name
Introduced a template class NameMap, which provides a nice API for mapping any custom types by their name. This change also makes any duplicate item or monster definitions be complete ignored, rather than being merged into the first definition. Reviewed-by: Philipp Sehmisch Reviewed-by: Yohann Ferreira
Diffstat (limited to 'src/common/configuration.cpp')
0 files changed, 0 insertions, 0 deletions