mirror of
https://github.com/zeldaret/st
synced 2026-09-07 03:09:52 -04:00
Misc Stuff 5 (#63)
* name item 31 to 34 * name item 25 to 29 * decompile PassengerManager (95%) * started cargo manager * local attribute * passenger/cargo manager ov001 functions * name item manager functions * fix build issues & more docs on 027e0cd8 * format
This commit is contained in:
@@ -67,6 +67,17 @@ typedef s32 unk32;
|
||||
|
||||
DECL_PTMF(PTMF);
|
||||
typedef void (*UnkCallback)(u16 param1);
|
||||
|
||||
template <typename T> class AutoInstance {
|
||||
public:
|
||||
AutoInstance() {
|
||||
T::SetInstance((T *) this);
|
||||
}
|
||||
|
||||
~AutoInstance() {
|
||||
T::ClearInstance();
|
||||
}
|
||||
};
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user