Link d_a_npc and d_a_npc_cd2 (#3019)

This commit is contained in:
Max Roncace
2026-01-05 06:58:09 -05:00
committed by GitHub
parent 22dc7a37db
commit e15ba03caa
4 changed files with 79 additions and 49 deletions
+9
View File
@@ -409,6 +409,15 @@ public:
class daNpcF_MoveBgActor_c : public daNpcF_c {
private:
public:
// these functions are inferred based on daBaseNpc_moveBgActor_c -
// defining them in this order fixes weak function order for this class in d_a_npc
// (otherwise Delete is placed under Draw instead of under Create)
int MoveBGCreateHeap();
int MoveBGCreate();
int MoveBGDelete();
int MoveBGExecute();
int MoveBGDraw();
virtual bool CreateHeap() { return true; }
virtual bool Create() { return true; }
virtual bool Execute(Mtx**) { return true; }