summaryrefslogtreecommitdiff
path: root/game/vehicles/railVehicleClass.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-04-14 17:45:31 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2023-04-14 17:45:31 +0100
commit66da4f83c1b5bb6f3ceda880820e01c2f8e23e43 (patch)
treea28addf0ca4533f2b0f7562e218bba6843432957 /game/vehicles/railVehicleClass.h
parentLoad all assets in red dir with asset factory (diff)
downloadilt-66da4f83c1b5bb6f3ceda880820e01c2f8e23e43.tar.bz2
ilt-66da4f83c1b5bb6f3ceda880820e01c2f8e23e43.tar.xz
ilt-66da4f83c1b5bb6f3ceda880820e01c2f8e23e43.zip
Remove the old .obj load, assets and supporting stuff
Diffstat (limited to 'game/vehicles/railVehicleClass.h')
-rw-r--r--game/vehicles/railVehicleClass.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/game/vehicles/railVehicleClass.h b/game/vehicles/railVehicleClass.h
index 61ec4ec..1a52e2b 100644
--- a/game/vehicles/railVehicleClass.h
+++ b/game/vehicles/railVehicleClass.h
@@ -9,14 +9,10 @@
class SceneShader;
class ShadowMapper;
class Texture;
-class ObjParser;
class Location;
class RailVehicleClass : public Asset {
public:
- explicit RailVehicleClass(const std::string & name);
- RailVehicleClass();
-
void render(const SceneShader &, const Location &, const std::array<Location, 2> &) const;
void shadows(const ShadowMapper &, const Location &, const std::array<Location, 2> &) const;
@@ -31,10 +27,5 @@ protected:
friend Persistence::SelectionPtrBase<std::shared_ptr<RailVehicleClass>>;
bool persist(Persistence::PersistenceStore & store) override;
void postLoad() override;
-
-private:
- RailVehicleClass(std::unique_ptr<ObjParser> obj, std::shared_ptr<Texture>);
- static float bogieOffset(ObjParser & o);
- static float objectLength(ObjParser & o);
};
using RailVehicleClassPtr = std::shared_ptr<RailVehicleClass>;