wagenheimer

Untitled

Oct 18th, 2016
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. // Bouge les objets changes par les evenements
  2. // -------------------------------------------
  3. -(void)modif_ChangedObjects
  4. {
  5. int count = 0;
  6. for (int no = 0; no < rhNObjects; no++) // Des objets � voir?
  7. {
  8. while (rhObjectList[count] == nil)
  9. {
  10. count++;
  11. }
  12. CObject* pHo = rhObjectList[count];
  13. count++;
  14.  
  15. if ((pHo->hoOEFlags & (OEFLAG_ANIMATIONS | OEFLAG_MOVEMENTS | OEFLAG_SPRITES)) != 0)
  16. {
  17. if (pHo->roc->rcChanged)
  18. {
  19. [pHo modif];
  20. pHo->roc->rcChanged = NO;
  21. }
  22. }
  23. }
  24. }
Add Comment
Please, Sign In to add comment