24 #ifndef SWORD2_MEMORY_H 25 #define SWORD2_MEMORY_H 28 MAX_MEMORY_BLOCKS = 999
51 int16 findExactPointerInIndex(byte *ptr);
52 int16 findPointerInIndex(byte *ptr);
53 int16 findInsertionPointInIndex(byte *ptr);
59 int16 getNumBlocks() {
return _numBlocks; }
60 uint32 getTotAlloc() {
return _totAlloc; }
61 MemBlock *getMemBlocks() {
return _memBlocks; }
63 int32 encodePtr(byte *ptr);
64 byte *decodePtr(int32 n);
66 byte *memAlloc(uint32 size, int16 uid);
67 void memFree(byte *ptr);
Definition: animation.h:37