summaryrefslogtreecommitdiff
path: root/include/d/a
diff options
context:
space:
mode:
authorrobojumper <robojumper@gmail.com>2024-09-12 22:23:11 +0200
committerGitHub <noreply@github.com>2024-09-12 16:23:11 -0400
commite2c4bb7be7fa731a335bce4bc22283d899133e39 (patch)
tree91152d84cae384b376f4ce4c87e9e247255ec954 /include/d/a
parent9aa30ee4995be938e1ea05f6d476d63fcb8cc67e (diff)
Dowsing (#17)
* Dowsing. * d_t_dowsing * d_t_holy_water OK
Diffstat (limited to 'include/d/a')
-rw-r--r--include/d/a/d_a_base.h16
1 files changed, 1 insertions, 15 deletions
diff --git a/include/d/a/d_a_base.h b/include/d/a/d_a_base.h
index 46072cb0..659a3d59 100644
--- a/include/d/a/d_a_base.h
+++ b/include/d/a/d_a_base.h
@@ -10,6 +10,7 @@
#include "m/m_angle.h"
#include "m/m_vec.h"
#include "toBeSorted/room_manager.h"
+#include "toBeSorted/tlist.h"
class dAcBase_c;
@@ -60,21 +61,6 @@ public:
}
};
-template <typename T, int offset>
-struct TList {
- T *GetOffset() {
- return (T *)((u8 *)this - offset);
- }
- TList() {
- sound_info_next = GetOffset();
- sound_info_tail = GetOffset();
- count = 0;
- }
- T *sound_info_tail;
- T *sound_info_next;
- s32 count;
-};
-
// Ghidra: ActorBase
// size: 0xFC
// non-official name