Add kabufuda and more stubs

This commit is contained in:
Phillip Stephens 2016-06-28 11:54:55 -07:00
parent 9d62e7d9f1
commit fc8f3e3881
8 changed files with 52 additions and 1 deletions

3
.gitmodules vendored
View File

@ -10,3 +10,6 @@
[submodule "amuse"] [submodule "amuse"]
path = amuse path = amuse
url = https://github.com/AxioDL/amuse.git url = https://github.com/AxioDL/amuse.git
[submodule "kabufuda"]
path = kabufuda
url = https://github.com/AxioDL/kabufuda.git

View File

@ -93,9 +93,11 @@ add_definitions(-DZE_ATHENA_TYPES=1)
set(ZEUS_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/specter/zeus/include) set(ZEUS_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/specter/zeus/include)
include_directories(${ATHENA_INCLUDE_DIR} ${LOGVISOR_INCLUDE_DIR} ${HECL_INCLUDE_DIR} include_directories(${ATHENA_INCLUDE_DIR} ${LOGVISOR_INCLUDE_DIR} ${HECL_INCLUDE_DIR}
${NOD_INCLUDE_DIR} ${ZEUS_INCLUDE_DIR} ${BOO_INCLUDE_DIR} ${AMUSE_INCLUDE_DIR} ${NOD_INCLUDE_DIR} ${ZEUS_INCLUDE_DIR} ${BOO_INCLUDE_DIR} ${AMUSE_INCLUDE_DIR}
${SPECTER_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}) ${SPECTER_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR} ${KABUFUDA_INCLUDE_DIR} ${CMAKE_CURRENT_SOURCE_DIR})
add_subdirectory(DataSpec) add_subdirectory(DataSpec)
add_subdirectory(kabufuda)
add_subdirectory(Editor) add_subdirectory(Editor)
set(CLIENT_SOURCES set(CLIENT_SOURCES
${CMAKE_SOURCE_DIR}/Editor/ProjectResourceFactoryBase.hpp ${CMAKE_SOURCE_DIR}/Editor/ProjectResourceFactoryBase.hpp
${CMAKE_SOURCE_DIR}/Editor/ProjectResourceFactoryBase.cpp ${CMAKE_SOURCE_DIR}/Editor/ProjectResourceFactoryBase.cpp

View File

View File

@ -0,0 +1,28 @@
#ifndef __URDE_CDRAWABLE_HPP__
#define __URDE_CDRAWABLE_HPP__
#include "GCNTypes.hpp"
#include "zeus/CAABox.hpp"
namespace urde
{
enum class EDrawableType
{
Zero,
One,
};
class CDrawable
{
public:
CDrawable(EDrawableType, u16, float, const zeus::CAABox&, const void*);
EDrawableType GetType() const;
const zeus::CAABox& GetBounds() const;
float GetDistance() const;
void* GetData() const;
void GetExtraSort() const;
};
}
#endif // __URDE_CDRAWABLE_HPP__

View File

@ -0,0 +1,15 @@
#ifndef __URDE_CDRAWABLEOBJECT_HPP__
#define __URDE_CDRAWABLEOBJECT_HPP__
#include "CDrawable.hpp"
#include "zeus/CPlane.hpp"
namespace urde
{
class CDrawablePlaneObject
{
CDrawablePlaneObject(EDrawableType, float, float, const zeus::CAABox&, bool, const zeus::CPlane&, bool, const void*);
};
}
#endif // __URDE_CDRAWABLEOBJECT_HPP__

View File

@ -7,6 +7,8 @@ endif()
set(GRAPHICS_SOURCES set(GRAPHICS_SOURCES
IRenderer.hpp IRenderer.hpp
CBooRenderer.hpp CBooRenderer.cpp CBooRenderer.hpp CBooRenderer.cpp
CDrawable.hpp CDrawable.cpp
CDrawablePlaneObject.hpp CDrawablePlaneObject.cpp
CLineRenderer.hpp CLineRenderer.cpp CLineRenderer.hpp CLineRenderer.cpp
CLineRendererShaders.hpp CLineRendererShadersGLSL.cpp CLineRendererShaders.hpp CLineRendererShadersGLSL.cpp
CMetroidModelInstance.hpp CMetroidModelInstance.hpp

1
kabufuda Submodule

@ -0,0 +1 @@
Subproject commit 2a9c18534a5085763c191c151447d598c0f9e90f