Mercurial > mm7
comparison mm7_5.cpp @ 1207:96a81634669e
arrays to std::arrays phase 3 - finishing global arrays
undone changes in render.h, because framerate dropped by half
author | Grumpy7 |
---|---|
date | Sun, 09 Jun 2013 01:30:36 +0200 |
parents | ab6560001f5b |
children | 0d6c7ff3cddd |
comparison
equal
deleted
inserted
replaced
1206:ab6560001f5b | 1207:96a81634669e |
---|---|
8828 //----- (00408896) -------------------------------------------------------- | 8828 //----- (00408896) -------------------------------------------------------- |
8829 void InitializeSpriteObjects() | 8829 void InitializeSpriteObjects() |
8830 { | 8830 { |
8831 for (uint i = 0; i < uNumSpriteObjects; ++i) | 8831 for (uint i = 0; i < uNumSpriteObjects; ++i) |
8832 { | 8832 { |
8833 auto item = pSpriteObjects + i; | 8833 auto item = &pSpriteObjects[i]; |
8834 | 8834 |
8835 if (item->uType && | 8835 if (item->uType && |
8836 (item->uSoundID & 8 || pObjectList->pObjects[item->uType].uFlags & 0x10)) | 8836 (item->uSoundID & 8 || pObjectList->pObjects[item->uType].uFlags & 0x10)) |
8837 SpriteObject::OnInteraction(i); | 8837 SpriteObject::OnInteraction(i); |
8838 } | 8838 } |