summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMax Roncace <me@caseif.net>2026-01-05 06:58:09 -0500
committerGitHub <noreply@github.com>2026-01-05 03:58:09 -0800
commite15ba03caac09f55e3055cbd2bf6d214e9d94372 (patch)
treed2b1a5e387d6b1d73c341c1833315c37f54859ff /include
parent22dc7a37dbc844b0eccba65025cf7f0950b98259 (diff)
Link d_a_npc and d_a_npc_cd2 (#3019)
Diffstat (limited to 'include')
-rw-r--r--include/d/actor/d_a_npc4.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/d/actor/d_a_npc4.h b/include/d/actor/d_a_npc4.h
index 76a6cd8381..bcecb54f5c 100644
--- a/include/d/actor/d_a_npc4.h
+++ b/include/d/actor/d_a_npc4.h
@@ -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; }