mirror of
https://github.com/zeldaret/ss
synced 2026-07-11 14:48:32 -04:00
d_a_knight_leader_bird OK
This commit is contained in:
@@ -44,6 +44,11 @@
|
||||
return *mStateMgr.getStateID() == value; \
|
||||
}
|
||||
|
||||
#define STATE_MGR_DEFINE_UTIL_GETOLDSTATEID(class_name) \
|
||||
const sFStateID_c<class_name> &getOldStateID() const { \
|
||||
return (sFStateID_c<class_name> &)*mStateMgr.getOldStateID(); \
|
||||
}
|
||||
|
||||
// TODO this is probably not the whole solution.
|
||||
// The problems with this approach are:
|
||||
// * You can't define the same state name for multiple files in the same TU due to baseID_ symbol clash.
|
||||
|
||||
Reference in New Issue
Block a user