19 #ifndef PAWS_GENERIC_VIEW_HEADER 20 #define PAWS_GENERIC_VIEW_HEADER 22 #include <iengine/camera.h> 23 #include <csutil/deprecated_warn_off.h> 24 #include <iengine/engine.h> 25 #include <csutil/deprecated_warn_on.h> 26 #include <iengine/light.h> 27 #include <iengine/material.h> 28 #include <iengine/mesh.h> 29 #include <iengine/movable.h> 30 #include <iengine/sector.h> 32 #include <imesh/object.h> 33 #include <imesh/sprite3d.h> 35 #include <cstool/csview.h> 36 #include <csutil/leakguard.h> 57 bool Setup(iDocumentNode* node);
66 bool LoadMap(
const char* map,
const char* sector = 0);
85 csRef<iEngine> engine;
86 csRef<iCollection> col;
This widget is used to view a mesh in it's own seperate world.
const char * GetMapName() const
CREATE_PAWS_FACTORY(pawsGenericView)
void Draw()
Draws the widget and all of it's children.
bool Setup(iDocumentNode *node)
Creates the room ( world ) for the mesh to be placed.
bool LoadMap(const char *map, const char *sector=0)
Loads a map to use as the backdrop.