Mercurial > mm7
comparison Actor.cpp @ 1583:75fafd8ced59
Allocator (CMemory) bye-bye
author | Nomad |
---|---|
date | Tue, 10 Sep 2013 21:07:07 +0200 |
parents | e303d8a9bcdc |
children | c58916c53d8e |
comparison
equal
deleted
inserted
replaced
1577:1b6217e07b26 | 1583:75fafd8ced59 |
---|---|
30 #include "MM7.h" | 30 #include "MM7.h" |
31 #include "SpriteObject.h" | 31 #include "SpriteObject.h" |
32 #include "stru298.h" | 32 #include "stru298.h" |
33 #include "Log.h" | 33 #include "Log.h" |
34 #include "Texts.h" | 34 #include "Texts.h" |
35 #include "Allocator.h" | |
36 | 35 |
37 | 36 |
38 | 37 |
39 | 38 |
40 | 39 |
5399 | 5398 |
5400 v4 = uNumActors; | 5399 v4 = uNumActors; |
5401 monster_id = a1; | 5400 monster_id = a1; |
5402 x_ = x; | 5401 x_ = x; |
5403 v15 = a1; | 5402 v15 = a1; |
5404 if (uNumActors < 500 | 5403 if (uNumActors < 500) |
5405 && ((signed int)pAllocator->uBigBufferSizeAligned >> 10) - ((signed int)pAllocator->uNextFreeOffsetInBigBuffer >> 10) >= 2000 ) | |
5406 { | 5404 { |
5407 v16 = 0; | 5405 v16 = 0; |
5408 if ( uCurrentlyLoadedLevelType == LEVEL_Indoor ) | 5406 if ( uCurrentlyLoadedLevelType == LEVEL_Indoor ) |
5409 { | 5407 { |
5410 v6 = pIndoor->GetSector(x, y, z); | 5408 v6 = pIndoor->GetSector(x, y, z); |