- Timestamp:
- 06/02/04 18:11:32 (21 years ago)
- Location:
- ps/trunk/source/simulation
- Files:
-
- 5 edited
-
Collision.cpp (modified) (1 diff)
-
Entity.h (modified) (1 diff)
-
EntityHandles.h (modified) (1 diff)
-
EntityManager.h (modified) (2 diffs)
-
EntityProperties.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ps/trunk/source/simulation/Collision.cpp
r284 r357 42 42 43 43 delete( entities ); 44 return ( HEntity());44 return HEntity(); 45 45 } 46 46 -
ps/trunk/source/simulation/Entity.h
r284 r357 50 50 class CEntity 51 51 { 52 friend CEntityManager;52 friend class CEntityManager; 53 53 private: 54 54 // Intrinsic properties -
ps/trunk/source/simulation/EntityHandles.h
r284 r357 38 38 class HEntity 39 39 { 40 friend CEntityManager;40 friend class CEntityManager; 41 41 u16 m_handle; 42 42 void addRef(); -
ps/trunk/source/simulation/EntityManager.h
r284 r357 30 30 class CEntityManager : public Singleton<CEntityManager> 31 31 { 32 friend HEntity;33 friend CHandle;32 friend class HEntity; 33 friend class CHandle; 34 34 CHandle m_entities[MAX_HANDLES]; 35 35 std::vector<HEntity> m_reaper; … … 56 56 57 57 #endif 58 -
ps/trunk/source/simulation/EntityProperties.cpp
r334 r357 300 300 } 301 301 case PROP_PTR: 302 return ( CStr());303 default: 304 assert( 0 && "Invalid property type" ); 305 } 306 return ( CStr());302 return CStr(); 303 default: 304 assert( 0 && "Invalid property type" ); 305 } 306 return CStr(); 307 307 } 308 308 … … 317 317 case PROP_STRING: 318 318 case PROP_PTR: 319 return ( CVector3D());320 default: 321 assert( 0 && "Invalid property type" ); 322 } 323 return ( CVector3D());319 return CVector3D(); 320 default: 321 assert( 0 && "Invalid property type" ); 322 } 323 return CVector3D(); 324 324 } 325 325 … … 552 552 return( CStr( *m_floatptr ) ); 553 553 default: 554 return ( CStr());554 return CStr(); 555 555 } 556 556 } … … 563 563 return( *m_vector ); 564 564 default: 565 return ( CVector3D());565 return CVector3D(); 566 566 } 567 567 }
Note:
See TracChangeset
for help on using the changeset viewer.
