mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-09 03:47:42 +00:00
More defs for CStateManagerContainer & friends
This commit is contained in:
35
include/MetroidPrime/CSortedLists.hpp
Normal file
35
include/MetroidPrime/CSortedLists.hpp
Normal file
@@ -0,0 +1,35 @@
|
||||
#ifndef _CSORTEDLISTS_HPP
|
||||
#define _CSORTEDLISTS_HPP
|
||||
|
||||
#include "types.h"
|
||||
|
||||
#include "MetroidPrime/CObjectList.hpp"
|
||||
|
||||
#include "Kyoto/Math/CAABox.hpp"
|
||||
|
||||
class CActor;
|
||||
|
||||
namespace SL {
|
||||
struct SNode {
|
||||
CActor* x0_actor;
|
||||
CAABox x4_box;
|
||||
s16 x1c_selfIdxs[6];
|
||||
s16 x28_next;
|
||||
bool x2a_populated;
|
||||
};
|
||||
CHECK_SIZEOF(SNode, 0x2c);
|
||||
|
||||
struct SSortedList {
|
||||
s16 x0_ids[kMaxObjects];
|
||||
u32 x800_size;
|
||||
};
|
||||
CHECK_SIZEOF(SSortedList, 0x804);
|
||||
|
||||
class CSortedListManager {
|
||||
SNode x0_nodes[kMaxObjects];
|
||||
SSortedList xb000_sortedLists[6];
|
||||
};
|
||||
CHECK_SIZEOF(CSortedListManager, 0xe018);
|
||||
} // namespace SL
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user