A reimplementation of Mario Kart Wii's physics engine in C++
Loading...
Searching...
No Matches
ObjectHitTable.hh
1#pragma once
2
3#include "game/field/obj/ObjectId.hh"
4
5#include "game/kart/KartCollide.hh"
6
7#include <span>
8
9namespace Field {
10
12public:
13 ObjectHitTable(const char *filename);
15
16 Kart::Reaction reaction(s16 i) const;
17 s16 slot(ObjectId id) const;
18
19private:
20 s16 m_count;
21 s16 m_fieldCount;
22 std::span<s16> m_reactions;
23 const s16 *m_slots;
24};
25
26} // namespace Field
Pertains to collision.