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>2009-11-14 14:14:21 +0000
committerStijn Buys <ingar@osirion.org>2009-11-14 14:14:21 +0000
commit4293e8854a30443e4d5818fc55df404976dbfd9b (patch)
tree816665ba37acfd5a39c0544c3b2acbf04c8c5d3d /src/game/base/shipmodel.cc
parenta993d31910b63a1f897e470842934e6ffefad32c (diff)
update the info system, fixes network info exchange
Diffstat (limited to 'src/game/base/shipmodel.cc')
-rw-r--r--src/game/base/shipmodel.cc14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/game/base/shipmodel.cc b/src/game/base/shipmodel.cc
index 9bd7573..4f219eb 100644
--- a/src/game/base/shipmodel.cc
+++ b/src/game/base/shipmodel.cc
@@ -35,10 +35,10 @@ ShipModel::~ShipModel()
void ShipModel::generate_info()
{
- clear_text();
+ //clear_text();
add_text("");
- add_text("^B" + name() + " specifications:^N");
+ add_text("^BSpecifications:^N");
std::stringstream str;
str << "price: ^B" << price() << " ^Ncredits";
add_text(str.str());
@@ -67,16 +67,6 @@ void ShipModel::generate_info()
}
}
-void ShipModel::list()
-{
- core::Info::list_class(shipmodel_infotype);
-}
-
-ShipModel *ShipModel::find(const unsigned int id)
-{
- return (ShipModel *) core::Info::find(shipmodel_infotype, id);
-}
-
ShipModel *ShipModel::find(const std::string & label)
{
return (ShipModel *) core::Info::find(shipmodel_infotype, label);