- Timestamp:
- Jan 27, 2007, 10:24:52 PM (18 years ago)
- Location:
- trunk/src/world_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/cameraman.cc
r10413 r10414 63 63 { 64 64 BaseObject::loadParams(root); 65 const TiXmlElement* camerasTag = root->FirstChildElement("Cameras"); 66 if( camerasTag != NULL) 67 { 65 LoadParamXML(root, "Cameras", this, CameraMan, createCameras); 66 } 67 68 69 void CameraMan::createCameras(const TiXmlElement* camerasTag) 70 { 71 68 72 LOAD_PARAM_START_CYCLE(camerasTag, object); 69 73 { … … 71 75 } 72 76 LOAD_PARAM_END_CYCLE(object); 73 } 74 75 } 77 78 } 79 76 80 77 81 -
trunk/src/world_entities/cameraman.h
r10413 r10414 26 26 void setCam(Camera* camera); 27 27 28 void createCameras(const TiXmlElement* camerasTag); 28 29 void createCam(const TiXmlElement* root); 29 30 void moveCam(int x, int y, int z, int camNo);
Note: See TracChangeset
for help on using the changeset viewer.