Changeset 9846 in orxonox.OLD for branches/new_class_id/src/lib/graphics
- Timestamp:
- Sep 27, 2006, 11:23:43 PM (18 years ago)
- Location:
- branches/new_class_id/src/lib/graphics
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/graphics/importer/md2/resource_md2.h
r9824 r9846 25 25 MD2ResourcePointer(const std::string& loadString, const Resources::KeepLevel& keepLevel, const MD2Data::Pointer& data); 26 26 inline const MD2Data::Pointer& ptr() const { return pointer; } 27 private: 27 virtual bool last() const { return pointer.count() == 1; } 28 private: 28 29 MD2Data::Pointer pointer; 29 30 }; -
branches/new_class_id/src/lib/graphics/importer/resource_obj.h
r9831 r9846 23 23 OBJResourcePointer(const std::string& loadString, const Resources::KeepLevel& keepLevel, const StaticModelData::Pointer& data); 24 24 inline const StaticModelData::Pointer& ptr() const { return pointer; } 25 virtual bool last() const { return pointer.count() == 1; } 25 26 private: 26 27 StaticModelData::Pointer pointer; -
branches/new_class_id/src/lib/graphics/importer/resource_texture.h
r9823 r9846 24 24 TextureResourcePointer(const std::string& loadString, const Resources::KeepLevel& keepLevel, const TextureData::Pointer& data); 25 25 inline const TextureData::Pointer& ptr() const { return pointer; } 26 private: 26 virtual bool last() const { return pointer.count() == 1; } 27 private: 27 28 TextureData::Pointer pointer; 28 29 }; -
branches/new_class_id/src/lib/graphics/resource_shader.h
r9823 r9846 24 24 ShaderResourcePointer(const std::string& loadString, const Resources::KeepLevel& keepLevel, const ShaderData::Pointer& data); 25 25 inline const ShaderData::Pointer& ptr() const { return pointer; } 26 virtual bool last() const { return pointer.count() == 1; } 26 27 private: 27 28 ShaderData::Pointer pointer; -
branches/new_class_id/src/lib/graphics/text_engine/resource_font.h
r9839 r9846 24 24 FontResourcePointer(const std::string& loadString, const Resources::KeepLevel& keepLevel, const FontData::Pointer& data); 25 25 inline const FontData::Pointer& ptr() const { return pointer; } 26 private: 26 virtual bool last() const { return pointer.count() == 1; } 27 private: 27 28 FontData::Pointer pointer; 28 29 };
Note: See TracChangeset
for help on using the changeset viewer.