- Timestamp:
- Jan 30, 2006, 3:35:17 AM (19 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/story_entities/simple_game_menu.cc
r6851 r6852 140 140 BaseObject* created = Factory::fabricate(element); 141 141 if( created != NULL ) 142 PRINTF(4)("Created a %s: %s\n", created->getClassName(), created->getName()); 142 { 143 PRINTF(4)("Created a %s::%s\n", created->getClassName(), created->getName()); 144 if (!created->isA(CL_ELEMENT_2D)) 145 PRINTF(2)("Error the Created Entity is not an Element2D but an %s::%s\n", created->getClassName(), created->getName()); 146 } 143 147 element = element->NextSiblingElement(); 144 148 } -
trunk/src/world_entities/image_entity.cc
r6851 r6852 39 39 { 40 40 this->init(); 41 if( root)41 if(root != NULL) 42 42 this->loadParams(root); 43 43 } -
trunk/src/world_entities/image_entity.h
r6815 r6852 27 27 28 28 void init(); 29 v oid loadParams(const TiXmlElement* root);29 virtual void loadParams(const TiXmlElement* root); 30 30 31 31 void setSize(float sizeX, float sizeY);
Note: See TracChangeset
for help on using the changeset viewer.