| 1 | #ifndef SEAD_ARENA_H_ |
|---|---|
| 2 | #define SEAD_ARENA_H_ |
| 3 | |
| 4 | #include <basis/seadTypes.h> |
| 5 | |
| 6 | namespace sead |
| 7 | { |
| 8 | class Arena |
| 9 | { |
| 10 | public: |
| 11 | Arena(); |
| 12 | ~Arena(); |
| 13 | |
| 14 | void initialize(size_t size); |
| 15 | void destroy(); |
| 16 | |
| 17 | u8* mStart = nullptr; |
| 18 | size_t mSize = 0; |
| 19 | bool mInitWithStartAddress = false; |
| 20 | }; |
| 21 | |
| 22 | } // namespace sead |
| 23 | |
| 24 | #endif // SEAD_ARENA_H_ |
| 25 |