/////////////////////////////////////////////////////////////////////
| 903 | |
| 904 | ////////////////////////////////////////////////////////////////////////// |
| 905 | void CEntitySystem::ResetEntities(void) |
| 906 | { |
| 907 | // call on reset for every entity |
| 908 | EntityMap::iterator it = m_mapEntities.begin(); |
| 909 | while (it != m_mapEntities.end()) |
| 910 | { |
| 911 | CEntity *ent = it->second; |
| 912 | if (ent) |
| 913 | { |
| 914 | ent->Reset(); |
| 915 | ent->SendScriptEvent(ScriptEvent_Reset,0); |
| 916 | } |
| 917 | it++; |
| 918 | } |
| 919 | /* |
| 920 | it = m_mapEntities.begin(); |
| 921 | while (it != m_mapEntities.end()) |
| 922 | { |
| 923 | CEntity *ent = it->second; |
| 924 | if (ent) |
| 925 | { |
| 926 | ent->OnBindAI( 0 ); |
| 927 | } |
| 928 | it++; |
| 929 | } |
| 930 | */ |
| 931 | } |
| 932 | |
| 933 | ////////////////////////////////////////////////////////////////////////// |
| 934 | void CEntitySystem::GetMemoryStatistics(ICrySizer *pSizer) |
no test coverage detected