More main progress; tons of headers & stuff

This commit is contained in:
2022-09-13 00:26:54 -04:00
parent 38acae22fe
commit a6e365791b
95 changed files with 1673 additions and 202 deletions

View File

@@ -5,21 +5,14 @@
#include <dolphin/gx/GXEnum.h>
#include "MetaRender/Renderer.hpp"
#include "Kyoto/Graphics/CColor.hpp"
#include "Kyoto/Math/CAABox.hpp"
#include "Kyoto/Math/CTransform4f.hpp"
#include "Kyoto/Math/CVector2f.hpp"
#include "rstl/pair.hpp"
class IRenderer {
public:
enum EDrawableSorting {
kDS_SortedCallback,
kDS_UnsortedCallback,
};
// TODO vtable
};
class CCubeRenderer {
public:
virtual ~CCubeRenderer();

View File

@@ -0,0 +1,25 @@
#ifndef _RENDERER_HPP
#define _RENDERER_HPP
#include "types.h"
class IRenderer {
public:
enum EDrawableSorting {
kDS_SortedCallback,
kDS_UnsortedCallback,
};
virtual ~IRenderer();
// TODO vtable
};
class COsContext;
class CMemorySys;
class CResFactory;
namespace Renderer {
IRenderer* AllocateRenderer(IObjectStore&, COsContext&, CMemorySys&, CResFactory&);
};
#endif