Move al to library-like structure

This commit is contained in:
MonsterDruide1 2023-08-13 19:00:58 +02:00
parent 151843cbdb
commit f94d98e8f1
294 changed files with 458 additions and 457 deletions

View file

@ -34,6 +34,7 @@ foreach (SOURCE ${SOURCES_COMBINED})
endforeach()
target_include_directories(odyssey PRIVATE src)
target_include_directories(odyssey PRIVATE lib/al/include)
target_compile_definitions(odyssey PRIVATE NON_MATCHING)
target_compile_options(odyssey PRIVATE -fno-rtti -fno-exceptions)
target_compile_options(odyssey PRIVATE -Wall -Wextra -Wdeprecated)

View file

@ -124,7 +124,7 @@ Before opening a PR, please format your code with clang-format 12 and ensure the
* Use `#include "..."` when including `al` and `rs` (SMO) header files.
* Include paths should be relative to lib/.
* OK: `#include "al/Library/LiveActor/LiveActor.h"`
* OK: `#include "Library/LiveActor/LiveActor.h"`
* Not OK: `#include "LiveActor.h"`
* Use `#include <...>` for system or library includes. Examples:

View file

@ -1,9 +0,0 @@
#pragma once
#include "al/Library/HostIO/HioNode.h"
#include "al/Library/Message/IUseMessageSystem.h"
#include "al/Library/Scene/ISceneObj.h"
namespace al {
class GameDataHolderBase : public ISceneObj, HioNode, IUseMessageSystem {};
} // namespace al

View file

@ -2,7 +2,7 @@
#include <math/seadMatrix.h>
#include <math/seadVector.h>
#include "al/Library/HostIO/HioNode.h"
#include "Library/HostIO/HioNode.h"
namespace al {
class AudioDirector;

View file

@ -1,10 +1,10 @@
#pragma once
#include <container/seadPtrArray.h>
#include "al/audio/IAudioSystemPause.h"
#include "al/Library/HostIO/HioNode.h"
#include "al/Library/Area/IUseAreaObj.h"
#include "al/util/OtherUtil.h"
#include "audio/IAudioSystemPause.h"
#include "Library/HostIO/HioNode.h"
#include "Library/Area/IUseAreaObj.h"
#include "util/OtherUtil.h"
namespace aal {
class AudioFrameProcessMgr;

View file

@ -2,7 +2,7 @@
#include <math/seadMatrix.h>
#include <math/seadVector.h>
#include "al/Library/HostIO/HioNode.h"
#include "Library/HostIO/HioNode.h"
namespace al {
class AudioDirector;

View file

@ -1,8 +1,8 @@
#pragma once
#include <math/seadMatrix.h>
#include "al/Library/HostIO/HioNode.h"
#include "al/Library/Execute/IUseExecutor.h"
#include "Library/HostIO/HioNode.h"
#include "Library/Execute/IUseExecutor.h"
namespace al {
class SceneCameraInfo;

View file

@ -5,13 +5,13 @@
#include <math/seadQuat.h>
#include <math/seadVector.h>
#include "al/Library/Area/IUseAreaObj.h"
#include "al/Library/Audio/IUseAudioKeeper.h"
#include "al/Library/Collision/IUseCollision.h"
#include "al/Library/HostIO/HioNode.h"
#include "al/Library/HostIO/IUseName.h"
#include "al/Library/Nerve/IUseNerve.h"
#include "al/Library/Rail/IUseRail.h"
#include "Library/Area/IUseAreaObj.h"
#include "Library/Audio/IUseAudioKeeper.h"
#include "Library/Collision/IUseCollision.h"
#include "Library/HostIO/HioNode.h"
#include "Library/HostIO/IUseName.h"
#include "Library/Nerve/IUseNerve.h"
#include "Library/Rail/IUseRail.h"
namespace al {
class CameraVerticalAbsorber;

View file

@ -1,9 +1,9 @@
#pragma once
#include <gfx/seadCamera.h>
#include "al/Library/Audio/IUseAudioKeeper.h"
#include "al/Library/Nerve/NerveExecutor.h"
#include "al/Library/Yaml/ByamlIter.h"
#include "Library/Audio/IUseAudioKeeper.h"
#include "Library/Nerve/NerveExecutor.h"
#include "Library/Yaml/ByamlIter.h"
struct CameraParam {
bool gotMin;

View file

@ -3,8 +3,8 @@
#include <math/seadMatrix.h>
#include <math/seadVector.h>
#include "al/Library/Collision/IUseCollision.h"
#include "al/Library/HostIO/HioNode.h"
#include "Library/Collision/IUseCollision.h"
#include "Library/HostIO/HioNode.h"
namespace al {
struct SphereInterpolator;

View file

@ -3,7 +3,7 @@
#include <container/seadPtrArray.h>
#include <math/seadVector.h>
#include <prim/seadDelegate.h>
#include "al/Library/Execute/IUseExecutor.h"
#include "Library/Execute/IUseExecutor.h"
namespace al {
class ICollisionPartsKeeper;

View file

@ -1,8 +1,8 @@
#include "al/Library/Execute/ExecuteOrder.h"
#include "al/Library/Execute/ExecuteTable.h"
#include "Library/Execute/ExecuteOrder.h"
#include "Library/Execute/ExecuteTable.h"
#include "al/Library/Execute/ExecuteTableHolderDraw.h"
#include "al/Library/Execute/ExecuteTableHolderUpdate.h"
#include "Library/Execute/ExecuteTableHolderDraw.h"
#include "Library/Execute/ExecuteTableHolderUpdate.h"
static constexpr al::ExecuteOrder drawTableArr[] = {
// 3D(カリング)

View file

@ -1,6 +1,6 @@
#pragma once
#include "al/Library/HitSensor/HitSensor.h"
#include "Library/HitSensor/HitSensor.h"
namespace al {
class HitSensorKeeper {

View file

@ -1,6 +1,6 @@
#pragma once
#include "al/Library/HostIO/IUseName.h"
#include "Library/HostIO/IUseName.h"
namespace al {
class LayoutKeeper;

View file

@ -1,6 +1,6 @@
#pragma once
#include "al/Library/HostIO/IUseName.h"
#include "Library/HostIO/IUseName.h"
namespace al {
class LayoutActionKeeper;

View file

@ -1,15 +1,15 @@
#pragma once
#include <prim/seadSafeString.h>
#include "al/Library/Audio/IUseAudioKeeper.h"
#include "al/Library/Camera/IUseCamera.h"
#include "al/Library/Effect/IUseEffectKeeper.h"
#include "al/Library/HostIO/HioNode.h"
#include "al/Library/Layout/IUseLayout.h"
#include "al/Library/Layout/IUseLayoutAction.h"
#include "al/Library/Message/IUseMessageSystem.h"
#include "al/Library/Nerve/IUseNerve.h"
#include "al/Library/Scene/IUseSceneObjHolder.h"
#include "Library/Audio/IUseAudioKeeper.h"
#include "Library/Camera/IUseCamera.h"
#include "Library/Effect/IUseEffectKeeper.h"
#include "Library/HostIO/HioNode.h"
#include "Library/Layout/IUseLayout.h"
#include "Library/Layout/IUseLayoutAction.h"
#include "Library/Message/IUseMessageSystem.h"
#include "Library/Nerve/IUseNerve.h"
#include "Library/Scene/IUseSceneObjHolder.h"
namespace al {
class NerveKeeper;

View file

@ -1,6 +1,6 @@
#pragma once
#include "al/Library/LiveActor/LiveActor.h"
#include "Library/LiveActor/LiveActor.h"
namespace al {
class TriangleFilterBase;

View file

@ -1,6 +1,6 @@
#pragma once
#include "al/Library/Factory/Factory.h"
#include "Library/Factory/Factory.h"
namespace al {
class LiveActor;

View file

@ -7,9 +7,9 @@
#include <math/seadMatrix.h>
#include <math/seadVector.h>
#include <prim/seadSafeString.h>
#include "al/Library/LiveActor/ActorSceneInfo.h"
#include "al/Library/Nerve/NerveUtil.h"
#include "al/Library/Placement/PlacementInfo.h"
#include "Library/LiveActor/ActorSceneInfo.h"
#include "Library/Nerve/NerveUtil.h"
#include "Library/Placement/PlacementInfo.h"
namespace al {
class LiveActor;

View file

@ -1,16 +1,16 @@
#pragma once
#include <math/seadMatrix.h>
#include "al/Library/Area/IUseAreaObj.h"
#include "al/Library/Audio/IUseAudioKeeper.h"
#include "al/Library/Camera/IUseCamera.h"
#include "al/Library/Collision/IUseCollision.h"
#include "al/Library/Effect/IUseEffectKeeper.h"
#include "al/Library/HostIO/HioNode.h"
#include "al/Library/Nerve/IUseNerve.h"
#include "al/Library/Rail/IUseRail.h"
#include "al/Library/Scene/IUseSceneObjHolder.h"
#include "al/Library/Stage/IUseStageSwitch.h"
#include "Library/Area/IUseAreaObj.h"
#include "Library/Audio/IUseAudioKeeper.h"
#include "Library/Camera/IUseCamera.h"
#include "Library/Collision/IUseCollision.h"
#include "Library/Effect/IUseEffectKeeper.h"
#include "Library/HostIO/HioNode.h"
#include "Library/Nerve/IUseNerve.h"
#include "Library/Rail/IUseRail.h"
#include "Library/Scene/IUseSceneObjHolder.h"
#include "Library/Stage/IUseStageSwitch.h"
namespace al {
class ActorPoseKeeperBase;

View file

@ -1,6 +1,6 @@
#pragma once
#include "al/Library/LiveActor/LiveActor.h"
#include "Library/LiveActor/LiveActor.h"
namespace al {
void isExistSubActorKeeper(const LiveActor*);

View file

@ -1,7 +1,7 @@
#pragma once
#include <basis/seadTypes.h>
#include "al/Library/HostIO/HioNode.h"
#include "Library/HostIO/HioNode.h"
namespace al {
class LiveActor;

View file

@ -4,8 +4,8 @@
#include <math/seadQuat.h>
#include <math/seadVector.h>
#include <prim/seadSafeString.h>
#include "al/Library/LiveActor/LiveActor.h"
#include "al/Library/Nerve/Nerve.h"
#include "Library/LiveActor/LiveActor.h"
#include "Library/Nerve/Nerve.h"
namespace al {

View file

@ -1,7 +1,7 @@
#pragma once
#include <basis/seadTypes.h>
#include "al/Library/LiveActor/ActorInitInfo.h"
#include "Library/LiveActor/ActorInitInfo.h"
// TODO: bring this up to sanae
// temp solution to figure out a solution to bitflag enums (stole this right from nvn headers)

View file

@ -1,6 +1,6 @@
#pragma once
#include "al/Library/LiveActor/LiveActor.h"
#include "Library/LiveActor/LiveActor.h"
namespace al {
class FixMapParts : public LiveActor {

View file

@ -1,7 +1,7 @@
#pragma once
#include <basis/seadTypes.h>
#include "al/Library/HostIO/HioNode.h"
#include "Library/HostIO/HioNode.h"
namespace agl {
class DrawContext;

View file

@ -1,6 +1,6 @@
#pragma once
#include "al/Library/HostIO/HioNode.h"
#include "Library/HostIO/HioNode.h"
namespace al {
class ActorResource;

View file

@ -2,7 +2,7 @@
#include <math/seadMatrix.h>
#include <math/seadVector.h>
#include "al/Library/LiveActor/LiveActor.h"
#include "Library/LiveActor/LiveActor.h"
namespace al {

View file

@ -1,7 +1,7 @@
#pragma once
#include "al/Library/Nerve/Nerve.h"
#include "al/Library/Nerve/NerveUtil.h"
#include "Library/Nerve/Nerve.h"
#include "Library/Nerve/NerveUtil.h"
namespace al {
class NerveAction : public Nerve {

View file

@ -1,7 +1,7 @@
#pragma once
#include "al/Library/HostIO/HioNode.h"
#include "al/Library/Nerve/IUseNerve.h"
#include "Library/HostIO/HioNode.h"
#include "Library/Nerve/IUseNerve.h"
namespace al {
class Nerve;

View file

@ -1,7 +1,7 @@
#pragma once
#include "al/Library/Nerve/Nerve.h"
#include "al/Library/Nerve/NerveKeeper.h"
#include "Library/Nerve/Nerve.h"
#include "Library/Nerve/NerveKeeper.h"
/*

Some files were not shown because too many files have changed in this diff Show more