diff options
author | Stijn Buys <ingar@osirion.org> | 2010-11-12 00:03:31 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2010-11-12 00:03:31 +0000 |
commit | d07d7e0d0ba022d555f418e9a072d71c190ed225 (patch) | |
tree | 40428732c2eab0796e7c4b8b8089cbf58ecea76e /src/game/base/cargo.h | |
parent | 128d1f7b752a25f2fd2ee105c9acfe8f9d1b9be5 (diff) |
read factions.ini and add te ablity to apply faction colors to entities,
read templates.ini and add te ablity to apply template settings to entities.
Diffstat (limited to 'src/game/base/cargo.h')
-rw-r--r-- | src/game/base/cargo.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/game/base/cargo.h b/src/game/base/cargo.h index eb616a5..bee0502 100644 --- a/src/game/base/cargo.h +++ b/src/game/base/cargo.h @@ -23,15 +23,20 @@ public: void eject(core::EntityControlable *ejector, const int amount); - /* -- static functions -- */ - - static core::InfoType *cargo_infotype; + /* --- static registry functions ---------------------------------- */ static Cargo *find(const std::string & label); static bool init(); static void list(); + + static inline const core::InfoType *infotype() { + return cargo_infotype; + } + +private: + static core::InfoType *cargo_infotype; }; } // namespace game |