From 9f1c9694199969e1cd1fb9bf731d0e8ef2d8c184 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Wed, 17 Nov 2010 23:37:52 +0000 Subject: Removed core::Info.model(), info record models must be referenced through Info::modelname(). Prevent the loading of all info record models in render::load(). Added r_loadmodels engine function, which can be used to load all referenced models at once. --- src/core/info.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/core/info.h') diff --git a/src/core/info.h b/src/core/info.h index d32ccab..dfec17c 100644 --- a/src/core/info.h +++ b/src/core/info.h @@ -94,10 +94,6 @@ public: inline const std::string & modelname() const { return info_modelname; } - - inline const model::Model *model() const { - return info_model; - } inline const long price() const { return info_price; @@ -133,8 +129,6 @@ public: void set_modelname(const char *modelname); - void set_model(const model::Model *model); - /** * @brief associated price, in credits */ @@ -184,8 +178,6 @@ private: unsigned long info_timestamp; std::string info_modelname; - const model::Model* info_model; - Text info_text; /* ---- static info registry --------------------------------------- */ -- cgit v1.2.3