d_a_knight_leader_bird OK

This commit is contained in:
robojumper
2025-09-14 17:03:33 +02:00
parent 67c9e3346c
commit c05597754e
12 changed files with 505 additions and 67 deletions
+5
View File
@@ -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.