25 #ifndef GRAPHICS_AURORA_MODEL_WITCHER_H 26 #define GRAPHICS_AURORA_MODEL_WITCHER_H 32 class SeekableReadStream;
39 class ModelNode_Witcher;
55 std::list<ModelNode_Witcher *>
nodes;
105 std::vector<Common::UString> &textures);
121 #endif // GRAPHICS_AURORA_MODEL_WITCHER_H
std::vector< float > weights
ParserContext(const Common::UString &name)
A class holding an UTF-8 string.
Model_Witcher(const Common::UString &name, ModelType type=kModelTypeObject)
void addState(ParserContext &ctx)
A real object in the game world.
void readMesh(Model_Witcher::ParserContext &ctx)
void load(ParserContext &ctx)
void readNodeControllers(Model_Witcher::ParserContext &ctx, uint32 offset, uint32 count, std::vector< float > &data)
ModelType
The display type of a model.
Common::SeekableReadStream * mdb
A node within a 3D model.
void readTextures(Model_Witcher::ParserContext &ctx, std::vector< Common::UString > &textures)
void evaluateTextures(int n, std::vector< Common::UString > &textures, const Common::UString *staticTextures, const uint32 *tVertsCount, bool lightMapDayNight, const Common::UString &lightMapName)
void load(Model_Witcher::ParserContext &ctx)
void readTexturePaint(Model_Witcher::ParserContext &ctx)
void newState(ParserContext &ctx)
A 3D model in the The Witcher MDB format.
std::list< ModelNode_Witcher * > nodes
Interface for a seekable & readable data stream.
ModelNode_Witcher(Model &model)