2016-06-28 18:54:55 +00:00
|
|
|
#ifndef __URDE_CDRAWABLE_HPP__
|
|
|
|
#define __URDE_CDRAWABLE_HPP__
|
|
|
|
|
|
|
|
#include "GCNTypes.hpp"
|
|
|
|
#include "zeus/CAABox.hpp"
|
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
enum class EDrawableType
|
|
|
|
{
|
2016-07-21 02:03:24 +00:00
|
|
|
World,
|
|
|
|
Particle,
|
|
|
|
UnsortedDrawable,
|
|
|
|
SortedDrawable
|
2016-06-28 18:54:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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__
|