Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2010-11-17 23:37:52 +0000
committerStijn Buys <ingar@osirion.org>2010-11-17 23:37:52 +0000
commit9f1c9694199969e1cd1fb9bf731d0e8ef2d8c184 (patch)
tree8d8b603680db00b628e7d8b916b4a1e4d3c03e90 /src/core/info.cc
parentee017172af06f4b247038510e5ef7f8ac3596f66 (diff)
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.
Diffstat (limited to 'src/core/info.cc')
-rw-r--r--src/core/info.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/core/info.cc b/src/core/info.cc
index 2ff6669..60a88f9 100644
--- a/src/core/info.cc
+++ b/src/core/info.cc
@@ -81,7 +81,6 @@ Info::Info(const InfoType *type, const char *label) : Label(label)
info_type = type;
info_registry.push_back(this);
- info_model = 0;
info_timestamp = 0;
info_price = 0;
info_volume = 0;
@@ -94,7 +93,6 @@ Info::Info(const unsigned int id)
info_type = 0;
info_registry.push_back(this);
- info_model = 0;
info_price = 0;
info_timestamp = 1;
@@ -108,7 +106,6 @@ Info::~Info()
info_modelname.clear();
info_text.clear();
info_timestamp = 0;
- info_model = 0;
info_type = 0;
}
@@ -132,11 +129,6 @@ void Info::set_modelname(const char *modelname)
info_modelname.assign(modelname);
}
-void Info::set_model(const model::Model *model)
-{
- info_model = model;
-}
-
void Info::set_price(const long price)
{
info_price = price;