Just™ Game Engine
|
Namespaces | |
namespace | Key |
namespace | LuaEngine |
namespace | LuaGlobal |
namespace | LuaInput |
namespace | math |
namespace | Mouse |
namespace | Platform |
namespace | Renderer |
namespace | Renderer2D |
namespace | RendererAPI |
Typedefs | |
template<typename T > | |
using | Scope = std::unique_ptr< T > |
template<typename T > | |
using | Ref = std::shared_ptr< T > |
using | u8 = uint8_t |
using | u16 = uint16_t |
using | u32 = uint32_t |
using | u64 = uint64_t |
using | s8 = int8_t |
using | s16 = int16_t |
using | s32 = int32_t |
using | s64 = int64_t |
using | f32 = float |
using | f64 = double |
using | AllComponents = ComponentGroup< TransformComponent, CameraComponent, CircleRendererComponent, SpriteRendererComponent, BoxCollider2DComponent, CircleCollider2DComponent, Rigidbody2DComponent, LuaScriptComponent > |
Enumerations | |
enum class | EventType { None = 0 , WindowClose , WindowResize , WindowFocus , WindowNotFocus , WindowMove , GameTick , GameUpdate , GameRender , KeyPress , KeyRelease , MouseButtonPress , MouseButtonRelease , MouseMove , MouseScroll } |
enum class | TextureFormat { None , RGBA8 , R32 , Depth24Stencil8 } |
enum class | TextureFilter { Linear , Nearest } |
enum class | TextureWrapMode { Clamp , Wrap } |
enum class | LuaComponentID : s64 { Camera , SpriteRenderer , CircleRenderer , BoxCollider2D , CircleCollider2D , Rigidbody2D } |
Functions | |
template<typename T , typename ... Args> | |
constexpr Scope< T > | makeScope (Args &&...args) |
template<typename T , typename ... Args> | |
constexpr Ref< T > | makeRef (Args &&...args) |
std::ostream & | operator<< (std::ostream &os, const Event &event) |
bool | readFile (const char *filename, char *data, size_t &size, bool binary) |
bool | writeFile (const char *filename, const char *data, size_t size, bool binary) |
std::wstring | stringToWstring (const std::string &string) |
Variables | |
constexpr float | PHYSICS_SCALE = 30.f |
constexpr float | PHYSICS_TIMESTEP = 1.f / 60.f |
constexpr int | PHYSICS_VEL_ITERATIONS = 8 |
constexpr int | PHYSICS_POS_ITERATIONS = 3 |
constexpr float | PI_F = 3.14159265f |
constexpr double | PI_D = 3.141592653589793 |
constexpr double | NANO_TO_BASE_MULTIPLIER = 0.000000001 |
struct jng::GLFWInitializer | globalGLFWInitializer |
using jng::f32 = typedef float |
using jng::f64 = typedef double |
using jng::Ref = typedef std::shared_ptr<T> |
using jng::s16 = typedef int16_t |
using jng::s32 = typedef int32_t |
using jng::s64 = typedef int64_t |
using jng::s8 = typedef int8_t |
using jng::Scope = typedef std::unique_ptr<T> |
using jng::u16 = typedef uint16_t |
using jng::u32 = typedef uint32_t |
using jng::u64 = typedef uint64_t |
using jng::u8 = typedef uint8_t |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
constexpr |
|
constexpr |
|
inline |
bool jng::readFile | ( | const char * | filename, |
char * | data, | ||
size_t & | size, | ||
bool | binary | ||
) |
std::wstring jng::stringToWstring | ( | const std::string & | string | ) |
bool jng::writeFile | ( | const char * | filename, |
const char * | data, | ||
size_t | size, | ||
bool | binary | ||
) |
struct jng::GLFWInitializer jng::globalGLFWInitializer |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |