mirror of
https://github.com/MonsterDruide1/OdysseyDecomp.git
synced 2024-11-26 23:00:25 +00:00
Add agl
as submodule
This commit is contained in:
parent
d13da8bbfd
commit
8f70a3ac62
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -4,3 +4,6 @@
|
|||||||
[submodule "include/NintendoSDK"]
|
[submodule "include/NintendoSDK"]
|
||||||
path = include/NintendoSDK
|
path = include/NintendoSDK
|
||||||
url = https://github.com/open-ead/nnheaders
|
url = https://github.com/open-ead/nnheaders
|
||||||
|
[submodule "include/agl"]
|
||||||
|
path = include/agl
|
||||||
|
url = https://github.com/open-ead/agl
|
||||||
|
@ -33,4 +33,7 @@ add_subdirectory(include/NintendoSDK)
|
|||||||
target_link_libraries(odyssey PUBLIC NintendoSDK)
|
target_link_libraries(odyssey PUBLIC NintendoSDK)
|
||||||
|
|
||||||
add_subdirectory(include/sead)
|
add_subdirectory(include/sead)
|
||||||
target_link_libraries(odyssey PUBLIC sead)
|
target_link_libraries(odyssey PUBLIC sead)
|
||||||
|
|
||||||
|
add_subdirectory(include/agl)
|
||||||
|
target_link_libraries(odyssey PUBLIC agl)
|
1
include/agl
Submodule
1
include/agl
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit e6bd74df66d65f387c575a17dc5949531d38dbdd
|
@ -1,6 +1,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "nn/g3d.h"
|
#include <nn/g3d/ResFile.h>
|
||||||
#include <filedevice/seadFileDevice.h>
|
#include <filedevice/seadFileDevice.h>
|
||||||
#include <filedevice/seadArchiveFileDevice.h>
|
#include <filedevice/seadArchiveFileDevice.h>
|
||||||
#include <resource/seadResource.h>
|
#include <resource/seadResource.h>
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
#include <nn/g3d/g3d_ResFile.h>
|
|
@ -1,24 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
#include "nn/util/util_AccessorBase.h"
|
|
||||||
|
|
||||||
namespace nn
|
|
||||||
{
|
|
||||||
namespace g3d
|
|
||||||
{
|
|
||||||
struct ResFileData
|
|
||||||
{
|
|
||||||
// empty for now
|
|
||||||
};
|
|
||||||
|
|
||||||
class ResFile : public nn::util::AccessorBase<ResFileData>
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
|
|
||||||
static ResFile* ResCast(void *);
|
|
||||||
|
|
||||||
void ReleaseTexture();
|
|
||||||
void Reset();
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
@ -1,17 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
namespace nn
|
|
||||||
{
|
|
||||||
namespace util
|
|
||||||
{
|
|
||||||
template<typename T>
|
|
||||||
class AccessorBase : protected T
|
|
||||||
{
|
|
||||||
protected:
|
|
||||||
AccessorBase();
|
|
||||||
|
|
||||||
public:
|
|
||||||
typedef T value_type;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
@ -4,8 +4,7 @@
|
|||||||
#include <heap/seadHeap.h>
|
#include <heap/seadHeap.h>
|
||||||
#include <heap/seadHeapMgr.h>
|
#include <heap/seadHeapMgr.h>
|
||||||
#include <resource/seadResource.h>
|
#include <resource/seadResource.h>
|
||||||
|
#include <agl/g3d/g3dResFile.h>
|
||||||
#include <agl/g3d.h>
|
|
||||||
|
|
||||||
namespace al
|
namespace al
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user