Pol  Revision:cb584c9
realms.h
Go to the documentation of this file.
1 
10 #ifndef REALMS_H
11 #define REALMS_H
12 
13 #include <map>
14 #include <string>
15 #include <vector>
16 
17 namespace Pol
18 {
19 namespace Realms
20 {
21 class Realm;
22 }
23 namespace Core
24 {
25 Realms::Realm* find_realm( const std::string& name );
26 void add_realm( const std::string& name, Realms::Realm* base );
27 bool defined_realm( const std::string& name );
28 void remove_realm( const std::string& name );
29 
30 // Support up to 5 Maps: Britannia, Britannia_alt, Ilshenar, Malas, Tokuno, TerMur
31 #define MAX_NUMER_REALMS 6
32 }
33 }
34 #endif
bool defined_realm(const std::string &name)
Definition: realms.cpp:74
void remove_realm(const std::string &name)
Definition: realms.cpp:92
Realms::Realm * find_realm(const std::string &name)
Definition: realms.cpp:64
std::string name
Definition: osmod.cpp:943
void add_realm(const std::string &name, Realms::Realm *base)
Definition: realms.cpp:84
Definition: berror.cpp:12