Skip to content

Commit

Permalink
Remove agl folder (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePixelGamer authored Mar 2, 2023
1 parent 6c3fc0b commit d88a29f
Show file tree
Hide file tree
Showing 64 changed files with 125 additions and 125 deletions.
10 changes: 6 additions & 4 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,14 @@ DerivePointerAlignment: false
DisableFormat: false
ForEachMacros: []
IncludeCategories:
- Regex: '^<[Ww]indows\.h>$'
Priority: 1
- Regex: '^<'
- Regex: '^<(nn|nvn|vapours)/'
Priority: 2
- Regex: '^"'
- Regex: 'sead.*\.h>$'
Priority: 3
- Regex: '^<'
Priority: 1
- Regex: '^"'
Priority: 4
IndentCaseLabels: false
IndentWidth: 4
IndentWrappedFunctionNames: false
Expand Down
120 changes: 59 additions & 61 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,81 +1,79 @@
project(agl CXX ASM)

add_library(agl OBJECT
include/agl/aglGPUCommon.hpp
include/common/aglDisplayList.h
include/common/aglDrawContext.h
include/common/aglGPUCommon.hpp
include/common/aglGPUMemAddr.h
include/common/aglGPUMemBlock.h
include/common/aglRenderBuffer.h
include/common/aglRenderTarget.h
include/common/aglShader.h
include/common/aglShaderCompileInfo.h
include/common/aglShaderProgram.h
include/common/aglShaderProgramArchive.h
include/common/aglTextureData.h
include/common/aglTextureDataSerializer.h
include/common/aglTextureEnum.h

include/agl/common/aglDisplayList.h
include/agl/common/aglDrawContext.h
include/agl/common/aglGPUMemAddr.h
include/agl/common/aglGPUMemBlock.h
include/agl/common/aglRenderBuffer.h
include/agl/common/aglRenderTarget.h
include/agl/common/aglShader.h
include/agl/common/aglShaderCompileInfo.h
include/agl/common/aglShaderProgram.h
include/agl/common/aglShaderProgramArchive.h
include/agl/common/aglTextureData.h
include/agl/common/aglTextureEnum.h
include/detail/aglFileIOMgr.h
include/detail/aglGPUMemBlockMgr.h
include/detail/aglMemoryPoolHeap.h
include/detail/aglPrivateResource.h
include/detail/aglSurface.h

include/agl/detail/aglFileIOMgr.h
include/agl/detail/aglGPUMemBlockMgr.h
include/agl/detail/aglMemoryPoolHeap.h
include/agl/detail/aglPrivateResource.h
include/agl/detail/aglSurface.h
include/driver/aglGraphicsDriverMgr.h
include/driver/aglNVNMgr.h
include/driver/aglNVNimage.h
include/driver/aglNVNsampler.h
include/driver/aglNVNtexture.h

include/agl/driver/aglGraphicsDriverMgr.h
include/agl/driver/aglNVNMgr.h
include/agl/driver/aglNVNimage.h
include/agl/driver/aglNVNsampler.h
include/agl/driver/aglNVNtexture.h
include/environment/aglEnvObj.h
include/environment/aglEnvObjBuffer.h
include/environment/aglEnvObjMgr.h
include/environment/aglEnvObjSetMgr.h
include/environment/aglFog.h
include/environment/aglLight.h
include/environment/aglProjector.h

include/agl/env/aglEnvObj.h
include/agl/env/aglEnvObjBuffer.h
include/agl/env/aglEnvObjMgr.h
include/agl/env/aglEnvObjSetMgr.h
include/agl/env/aglFog.h
include/agl/env/aglLight.h
include/agl/env/aglProjector.h
include/effect/aglFxOfxLensFlare.h

include/agl/fx/aglFxOfxLensFlare.h
include/g3d/aglNW4FToNN.h

include/agl/g3d/aglNW4FToNN.h
include/postfx/aglBloom.h
include/postfx/aglDepthOfField.h

include/agl/pfx/aglBloom.h
include/agl/pfx/aglDepthOfField.h
include/shader_text/aglShaderTextClause.h
include/shader_text/aglShaderTextDefineLinker.h
include/shader_text/aglShaderTextExpressionEvaluator.h
include/shader_text/aglShaderTextLexer.h
include/shader_text/aglShaderTextPreprocessor.h
include/shader_text/aglShaderTextSyntaxTree.h

include/agl/shader_text/aglShaderTextClause.h
include/agl/shader_text/aglShaderTextDefineLinker.h
include/agl/shader_text/aglShaderTextExpressionEvaluator.h
include/agl/shader_text/aglShaderTextLexer.h
include/agl/shader_text/aglShaderTextPreprocessor.h
include/agl/shader_text/aglShaderTextSyntaxTree.h

include/agl/texture/aglTextureDataSerializer.h

include/agl/utl/aglAtomicPtrArray.h
include/agl/utl/aglParameter.h
include/agl/utl/aglParameterCurve.hpp
include/agl/utl/aglParameterIO.h
include/agl/utl/aglParameterList.h
include/agl/utl/aglParameterObj.h
include/agl/utl/aglParameterStringMgr.h
include/agl/utl/aglResCommon.h
include/agl/utl/aglResParameter.h
include/agl/utl/aglScreenShotMgr.h
include/utility/aglAtomicPtrArray.h
include/utility/aglParameter.h
include/utility/aglParameterCurve.hpp
include/utility/aglParameterIO.h
include/utility/aglParameterList.h
include/utility/aglParameterObj.h
include/utility/aglParameterStringMgr.h
include/utility/aglResCommon.h
include/utility/aglResParameter.h
include/utility/aglScreenShotMgr.h

src/detail/aglGPUMemBlockMgr.cpp

src/driver/aglGraphicsDriverMgr.cpp
src/driver/aglNVNMgr.cpp

src/utl/aglAtomicPtrArray.cpp
src/utl/aglParameter.cpp
src/utl/aglParameterIO.cpp
src/utl/aglParameterList.cpp
src/utl/aglParameterObj.cpp
src/utl/aglParameterStringMgr.cpp
src/utl/aglResCommon.cpp
src/utl/aglResParameter.cpp
src/utility/aglAtomicPtrArray.cpp
src/utility/aglParameter.cpp
src/utility/aglParameterIO.cpp
src/utility/aglParameterList.cpp
src/utility/aglParameterObj.cpp
src/utility/aglParameterStringMgr.cpp
src/utility/aglResCommon.cpp
src/utility/aglResParameter.cpp
)

target_compile_options(agl PRIVATE -fno-exceptions)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pragma once

#include <basis/seadTypes.h>
#include "aglGPUMemAddr.h"
#include "common/aglGPUMemAddr.h"

namespace sead {
class Heap;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

#include <basis/seadTypes.h>
#include <gfx/seadDrawContext.h>
#include <prim/seadRuntimeTypeInfo.h>
#include <thread/seadCriticalSection.h>
#include "prim/seadRuntimeTypeInfo.h"

namespace agl {

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pragma once

#include "agl/detail/aglMemoryPoolHeap.h"
#include "aglGPUMemBlock.h"
#include "common/aglGPUMemBlock.h"
#include "detail/aglMemoryPoolHeap.h"

namespace sead {
class Heap;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#pragma once

#include <nn/gfx/gfx_Types.h>
#include <container/seadPtrArray.h>
#include <heap/seadDisposer.h>
#include <hostio/seadHostIONode.h>
#include <math/seadMathCalcCommon.h>
#include <nn/gfx/gfx_Types.h>
#include <prim/seadTypedBitFlag.h>
#include <thread/seadCriticalSection.h>
#include "agl/aglGPUCommon.hpp"
#include "common/aglGPUCommon.hpp"

namespace agl {

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include "aglTextureData.h"
#include "common/aglTextureData.h"

namespace agl {

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#include <container/seadPtrArray.h>
#include <hostio/seadHostIONode.h>
#include "agl/common/aglShader.h"
#include "common/aglShader.h"

namespace sead {
class Heap;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#pragma once

#include <prim/seadSafeString.h>
#include "agl/common/aglDisplayList.h"
#include "agl/common/aglShader.h"
#include "common/aglDisplayList.h"
#include "common/aglShader.h"

namespace sead {
class Heap;
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#pragma once

#include <prim/seadSafeString.h>
#include "agl/detail/aglSurface.h"
#include "agl/driver/aglNVNtexture.h"
#include "detail/aglSurface.h"
#include "driver/aglNVNtexture.h"

namespace agl {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ class TextureDataSerializerTGA {
};
};

} // namespace agl
} // namespace agl
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#pragma once

#include <agl/aglGPUCommon.hpp>
#include <nvn/nvn.h>
#include <container/seadPtrArray.h>
#include <heap/seadDisposer.h>
#include <hostio/seadHostIONode.h>
#include <math/seadMathCalcCommon.h>
#include <nvn/nvn.h>
#include <prim/seadBitFlag.h>
#include <prim/seadTypedBitFlag.h>
#include <thread/seadCriticalSection.h>
#include "common/aglGPUCommon.hpp"

namespace agl::detail {

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#pragma once

#include <agl/common/aglGPUMemBlock.h>
#include <basis/seadTypes.h>
#include <heap/seadDisposer.h>
#include <hostio/seadHostIONode.h>
#include <prim/seadSafeString.h>
#include "common/aglGPUMemBlock.h"

namespace agl::detail {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#pragma once

#include <basis/seadTypes.h>
#include <nvn/nvn.h>
#include "agl/common/aglTextureEnum.h"
#include <basis/seadTypes.h>
#include "common/aglTextureEnum.h"

namespace agl::detail {

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#include <heap/seadDisposer.h>
#include <hostio/seadHostIONode.h>
#include "agl/driver/aglGraphicsDriverMgr.h"
#include "driver/aglGraphicsDriverMgr.h"

namespace agl::driver {

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pragma once

#include <basis/seadTypes.h>
#include <nvn/nvn.h>
#include <basis/seadTypes.h>

namespace agl::driver {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pragma once

#include <basis/seadTypes.h>
#include <nvn/nvn.h>
#include <basis/seadTypes.h>

namespace agl::driver {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include "agl/env/aglEnvObj.h"
#include "environment/aglEnvObj.h"

namespace agl::fx {

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pragma once

#include <container/seadSafeArray.h>
#include "agl/env/aglEnvObj.h"
#include "environment/aglEnvObj.h"

namespace agl::env {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include "agl/env/aglEnvObjBuffer.h"
#include "environment/aglEnvObjBuffer.h"

namespace agl::env {

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion include/agl/env/aglFog.h → include/environment/aglFog.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include "agl/env/aglEnvObj.h"
#include "environment/aglEnvObj.h"

namespace agl::env {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include "agl/env/aglEnvObj.h"
#include "environment/aglEnvObj.h"

namespace agl::env {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include "agl/env/aglEnvObj.h"
#include "environment/aglEnvObj.h"

namespace agl::env {

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion include/agl/pfx/aglBloom.h → include/postfx/aglBloom.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include "agl/env/aglEnvObj.h"
#include "environment/aglEnvObj.h"

namespace agl::pfx {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include "agl/env/aglEnvObj.h"
#include "environment/aglEnvObj.h"

namespace agl::pfx {

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit d88a29f

Please sign in to comment.