diff --git a/build.py b/build.py index 5d582ffd..d0ba7016 100644 --- a/build.py +++ b/build.py @@ -64,7 +64,7 @@ def main(compile_non_matching, use_ninja, clean_ninja, link): isNotWindows = os.name != "nt" - flags = "-c -Cpp_exceptions off -nodefaults -proc gekko -fp hard -lang=c++ -ipa file -inline auto,level=2 -O4,s -rtti off -sdata 4 -sdata2 4 -align powerpc -enum int -msgstyle gcc " + flags = "-c -Cpp_exceptions off -maxerrors 1 -nodefaults -proc gekko -fp hard -lang=c++ -ipa file -inline auto,level=2 -O4,s -rtti off -sdata 4 -sdata2 4 -align powerpc -enum int -msgstyle gcc " includes = "-i . -I- -i include " default_compiler_path = pathlib.Path("GC/3.0a3/") diff --git a/include/Game/LiveActor/ShadowController.hpp b/include/Game/LiveActor/ShadowController.hpp index 46d2fd60..8ad1680c 100644 --- a/include/Game/LiveActor/ShadowController.hpp +++ b/include/Game/LiveActor/ShadowController.hpp @@ -4,6 +4,7 @@ #include "Game/LiveActor/LiveActor.hpp" #include "Game/Scene/SceneObjHolder.hpp" #include "Game/Util.hpp" +#include "Game/Util/Array.hpp" class CollisionPartsFilterBase; class ShadowDrawer; diff --git a/include/Game/Util/ActorStateUtil.hpp b/include/Game/Util/ActorStateUtil.hpp index b2573e90..95435e33 100644 --- a/include/Game/Util/ActorStateUtil.hpp +++ b/include/Game/Util/ActorStateUtil.hpp @@ -1,7 +1,8 @@ #pragma once -class LiveActor; -class ActorStateBaseInterface; +#include "Game/LiveActor/LiveActor.hpp" +#include "Game/LiveActor/ActorStateBase.hpp" + class Nerve; namespace MR {