summaryrefslogtreecommitdiff
path: root/src/engine/objects
diff options
context:
space:
mode:
authorMegaMech <MegaMech@users.noreply.github.com>2025-12-18 11:24:38 -0700
committerGitHub <noreply@github.com>2025-12-18 11:24:38 -0700
commitf0c2cea0eec6c49a335e9c044fcc28218e1ab749 (patch)
tree422128eeb081feffca8ad3ac87566a35358e077f /src/engine/objects
parent99b56300556434580ed23edc27e5e7d982751e47 (diff)
Impl RandomItemTable class (#598)
* Impl RandomItem class * Refactor func * Impl RandomItemTable * Revert probability inaccuracy * Remove unnecessary comment * Fix compile, probably * As per review 1 --------- Co-authored-by: MegaMech <7255464+MegaMech@users.noreply.github.com>
Diffstat (limited to 'src/engine/objects')
-rw-r--r--src/engine/objects/Bat.h2
-rw-r--r--src/engine/objects/BombKart.h2
-rw-r--r--src/engine/objects/Boos.h2
-rw-r--r--src/engine/objects/CheepCheep.h2
-rw-r--r--src/engine/objects/Crab.h2
-rw-r--r--src/engine/objects/Flagpole.h2
-rw-r--r--src/engine/objects/GrandPrixBalloons.h2
-rw-r--r--src/engine/objects/Hedgehog.h2
-rw-r--r--src/engine/objects/HotAirBalloon.h2
-rw-r--r--src/engine/objects/Penguin.h2
-rw-r--r--src/engine/objects/Podium.h2
-rw-r--r--src/engine/objects/Seagull.h2
-rw-r--r--src/engine/objects/Snowman.h2
-rw-r--r--src/engine/objects/Thwomp.h2
-rw-r--r--src/engine/objects/TrashBin.h2
-rw-r--r--src/engine/objects/Trophy.h2
16 files changed, 16 insertions, 16 deletions
diff --git a/src/engine/objects/Bat.h b/src/engine/objects/Bat.h
index d38f3e8a2..67c5a0d74 100644
--- a/src/engine/objects/Bat.h
+++ b/src/engine/objects/Bat.h
@@ -4,7 +4,7 @@
#include <vector>
#include "Object.h"
-#include "RegisterContent.h"
+#include "engine/registry/RegisterContent.h"
#include "World.h"
#include "CoreMath.h"
diff --git a/src/engine/objects/BombKart.h b/src/engine/objects/BombKart.h
index 5d59eeb1a..3ce2d35b2 100644
--- a/src/engine/objects/BombKart.h
+++ b/src/engine/objects/BombKart.h
@@ -1,7 +1,7 @@
#pragma once
#include <libultraship.h>
-#include "RegisterContent.h"
+#include "engine/registry/RegisterContent.h"
#include "engine/objects/Object.h"
#include "World.h"
diff --git a/src/engine/objects/Boos.h b/src/engine/objects/Boos.h
index 175fd45fc..b29757fa7 100644
--- a/src/engine/objects/Boos.h
+++ b/src/engine/objects/Boos.h
@@ -4,7 +4,7 @@
#include <vector>
#include "Object.h"
-#include "RegisterContent.h"
+#include "engine/registry/RegisterContent.h"
#include "World.h"
#include "CoreMath.h"
diff --git a/src/engine/objects/CheepCheep.h b/src/engine/objects/CheepCheep.h
index 45b0ff435..bca65d100 100644
--- a/src/engine/objects/CheepCheep.h
+++ b/src/engine/objects/CheepCheep.h
@@ -3,7 +3,7 @@
#include <libultraship.h>
#include <vector>
#include "Object.h"
-#include "RegisterContent.h"
+#include "engine/registry/RegisterContent.h"
#include "engine/CoreMath.h"
#include "World.h"
diff --git a/src/engine/objects/Crab.h b/src/engine/objects/Crab.h
index 0c285e92c..425361b02 100644
--- a/src/engine/objects/Crab.h
+++ b/src/engine/objects/Crab.h
@@ -2,7 +2,7 @@
#include <libultraship.h>
#include <vector>
-#include "RegisterContent.h"
+#include "engine/registry/RegisterContent.h"
#include "engine/objects/Object.h"
#include "CoreMath.h"
#include "World.h"
diff --git a/src/engine/objects/Flagpole.h b/src/engine/objects/Flagpole.h
index 218c2a6bf..99ef151ba 100644
--- a/src/engine/objects/Flagpole.h
+++ b/src/engine/objects/Flagpole.h
@@ -4,7 +4,7 @@
#include <vector>
#include "Object.h"
-#include "RegisterContent.h"
+#include "engine/registry/RegisterContent.h"
#include "World.h"
extern "C" {
diff --git a/src/engine/objects/GrandPrixBalloons.h b/src/engine/objects/GrandPrixBalloons.h
index 91bbb24b9..f807fb350 100644
--- a/src/engine/objects/GrandPrixBalloons.h
+++ b/src/engine/objects/GrandPrixBalloons.h
@@ -2,7 +2,7 @@
#include <libultraship.h>
-#include "RegisterContent.h"
+#include "engine/registry/RegisterContent.h"
#include "engine/World.h"
#include "engine/objects/Object.h"
diff --git a/src/engine/objects/Hedgehog.h b/src/engine/objects/Hedgehog.h
index 560639f26..c5df0ea6f 100644
--- a/src/engine/objects/Hedgehog.h
+++ b/src/engine/objects/Hedgehog.h
@@ -4,7 +4,7 @@
#include <vector>
#include "Object.h"
-#include "RegisterContent.h"
+#include "engine/registry/RegisterContent.h"
#include "engine/World.h"
extern "C" {
diff --git a/src/engine/objects/HotAirBalloon.h b/src/engine/objects/HotAirBalloon.h
index 49b5c7e82..dfbe3cfdb 100644
--- a/src/engine/objects/HotAirBalloon.h
+++ b/src/engine/objects/HotAirBalloon.h
@@ -3,7 +3,7 @@
#include <libultraship.h>
#include "Object.h"
-#include "RegisterContent.h"
+#include "engine/registry/RegisterContent.h"
#include "World.h"
class OHotAirBalloon : public OObject {
diff --git a/src/engine/objects/Penguin.h b/src/engine/objects/Penguin.h
index f4f79d461..e40cc7bdb 100644
--- a/src/engine/objects/Penguin.h
+++ b/src/engine/objects/Penguin.h
@@ -1,7 +1,7 @@
#pragma once
#include <libultraship.h>
-#include "RegisterContent.h"
+#include "engine/registry/RegisterContent.h"
#include "engine/World.h"
#include "engine/objects/Object.h"
diff --git a/src/engine/objects/Podium.h b/src/engine/objects/Podium.h
index 2f00bb50d..52cef0761 100644
--- a/src/engine/objects/Podium.h
+++ b/src/engine/objects/Podium.h
@@ -2,7 +2,7 @@
#include <libultraship.h>
-#include "RegisterContent.h"
+#include "engine/registry/RegisterContent.h"
#include "World.h"
diff --git a/src/engine/objects/Seagull.h b/src/engine/objects/Seagull.h
index b944c1348..11b59e41c 100644
--- a/src/engine/objects/Seagull.h
+++ b/src/engine/objects/Seagull.h
@@ -3,7 +3,7 @@
#include <libultraship.h>
#include "Object.h"
-#include "RegisterContent.h"
+#include "engine/registry/RegisterContent.h"
#include "engine/World.h"
//! @todo unk_0D5 needs to be a struct variable probably. What does it do? Behaviour?
diff --git a/src/engine/objects/Snowman.h b/src/engine/objects/Snowman.h
index cc08c443a..2aac7366a 100644
--- a/src/engine/objects/Snowman.h
+++ b/src/engine/objects/Snowman.h
@@ -3,7 +3,7 @@
#include <libultraship.h>
#include "Object.h"
-#include "RegisterContent.h"
+#include "engine/registry/RegisterContent.h"
#include "World.h"
extern "C" {
diff --git a/src/engine/objects/Thwomp.h b/src/engine/objects/Thwomp.h
index e46e682c5..52996a018 100644
--- a/src/engine/objects/Thwomp.h
+++ b/src/engine/objects/Thwomp.h
@@ -1,7 +1,7 @@
#pragma once
#include <libultraship.h>
-#include "RegisterContent.h"
+#include "engine/registry/RegisterContent.h"
#include "engine/World.h"
#include "engine/SpawnParams.h"
#include "engine/CoreMath.h"
diff --git a/src/engine/objects/TrashBin.h b/src/engine/objects/TrashBin.h
index d516cbe2c..551f2d44e 100644
--- a/src/engine/objects/TrashBin.h
+++ b/src/engine/objects/TrashBin.h
@@ -3,7 +3,7 @@
#include <libultraship.h>
#include "Object.h"
-#include "RegisterContent.h"
+#include "engine/registry/RegisterContent.h"
#include "World.h"
class OTrashBin : public OObject {
diff --git a/src/engine/objects/Trophy.h b/src/engine/objects/Trophy.h
index aedfef48c..a6747aedc 100644
--- a/src/engine/objects/Trophy.h
+++ b/src/engine/objects/Trophy.h
@@ -2,7 +2,7 @@
#include <libultraship.h>
#include "Object.h"
-#include "RegisterContent.h"
+#include "engine/registry/RegisterContent.h"
#include "World.h"
#include "engine/particles/StarEmitter.h"