diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2011-03-22 22:29:39 +0100 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2011-03-24 17:04:29 +0100 |
commit | 94d97450bc3a52cd90baa696320bd08d91ac301f (patch) | |
tree | fc2f5db6583040772aac1d39a14928bdfe7aa4eb /src/common/configuration.cpp | |
parent | 7967b82c19bfa5bd2249abcb807a7a55af031abe (diff) | |
download | manaserv-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