summaryrefslogtreecommitdiff
path: root/src/engine/editor/Editor.h
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/editor/Editor.h
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/editor/Editor.h')
-rw-r--r--src/engine/editor/Editor.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/engine/editor/Editor.h b/src/engine/editor/Editor.h
index bfd7b1290..956d795b7 100644
--- a/src/engine/editor/Editor.h
+++ b/src/engine/editor/Editor.h
@@ -4,6 +4,7 @@
#include <libultraship/libultraship.h>
#include <libultra/gbi.h>
+#include "defines.h"
#ifdef __cplusplus
#include "GameObject.h"
@@ -57,13 +58,6 @@ private:
} // namespace TrackEditor
#endif // __cplusplus
-
-#ifdef __cplusplus
-#define EXTERN_C extern "C"
-#else
-#define EXTERN_C
-#endif
-
EXTERN_C void Editor_Launch(const char* resourceName);
EXTERN_C void Editor_SetLevelDimensions(s16 minX, s16 maxX, s16 minZ, s16 maxZ, s16 minY, s16 maxY);
EXTERN_C bool Editor_IsEnabled();