#include <map.h>
|
void | init (Textures *t) |
|
u32 | vbo () const |
|
u32 | ebo () const |
|
bool | set_max (std::size_t n) |
|
bool | set_graphics (Graphics *g) |
|
bool | load (unsigned int tex, float sprite_scale, float trans_x, float trans_y, float scale_x, float scale_y, unsigned int width, unsigned int height, nngn::lua::table_view tiles) |
|
bool | enabled () const |
|
bool | perspective () const |
|
bool | set_enabled (bool e) |
|
void | init (Textures *t) |
|
u32 | vbo () const |
|
u32 | ebo () const |
|
bool | set_max (std::size_t n) |
|
bool | set_graphics (Graphics *g) |
|
bool | load (unsigned int tex, float sprite_scale, float trans_x, float trans_y, float scale_x, float scale_y, unsigned int width, unsigned int height, nngn::lua::table_view tiles) |
|
bool | enabled () const |
|
bool | perspective () const |
|
bool | set_enabled (bool e) |
|
◆ Flag [1/2]
Enumerator |
---|
ENABLED | |
PERSPECTIVE | |
ENABLED | |
PERSPECTIVE | |
◆ Flag [2/2]
Enumerator |
---|
ENABLED | |
PERSPECTIVE | |
ENABLED | |
PERSPECTIVE | |
◆ ebo() [1/2]
u32 nngn::Map::ebo |
( |
| ) |
const |
|
inline |
◆ ebo() [2/2]
u32 nngn::Map::ebo |
( |
| ) |
const |
|
inline |
◆ enabled() [1/2]
bool nngn::Map::enabled |
( |
| ) |
const |
|
inline |
◆ enabled() [2/2]
bool nngn::Map::enabled |
( |
| ) |
const |
|
inline |
◆ gen() [1/2]
bool nngn::Map::gen |
( |
| ) |
const |
|
private |
◆ gen() [2/2]
bool nngn::Map::gen |
( |
| ) |
const |
|
private |
◆ init() [1/2]
◆ init() [2/2]
◆ load() [1/2]
◆ load() [2/2]
◆ load_tiles() [1/2]
◆ load_tiles() [2/2]
◆ perspective() [1/2]
bool nngn::Map::perspective |
( |
| ) |
const |
|
inline |
◆ perspective() [2/2]
bool nngn::Map::perspective |
( |
| ) |
const |
|
inline |
◆ set_enabled() [1/2]
◆ set_enabled() [2/2]
◆ set_graphics() [1/2]
◆ set_graphics() [2/2]
◆ set_max() [1/2]
bool nngn::Map::set_max |
( |
std::size_t |
n | ) |
|
◆ set_max() [2/2]
bool nngn::Map::set_max |
( |
std::size_t |
n | ) |
|
◆ vbo() [1/2]
u32 nngn::Map::vbo |
( |
| ) |
const |
|
inline |
◆ vbo() [2/2]
u32 nngn::Map::vbo |
( |
| ) |
const |
|
inline |
◆ graphics
Graphics * nngn::Map::graphics = nullptr |
|
private |
◆ m_ebo
u32 nngn::Map::m_ebo = {} |
|
private |
◆ m_flags
Flags< Flag > nngn::Map::m_flags = {Flag::ENABLED | Flag::PERSPECTIVE} |
|
private |
◆ m_vbo
u32 nngn::Map::m_vbo = {} |
|
private |
◆ max
std::size_t nngn::Map::max = {} |
|
private |
◆ scale
vec2 nngn::Map::scale = {} |
|
private |
◆ size
uvec2 nngn::Map::size = {} |
|
private |
◆ sprite_scale
float nngn::Map::sprite_scale = 1.0f |
|
private |
◆ tex
unsigned int nngn::Map::tex = 0 |
|
private |
◆ textures
Textures * nngn::Map::textures = nullptr |
|
private |
◆ trans
vec2 nngn::Map::trans = {} |
|
private |
◆ uv
std::vector< uvec2 > nngn::Map::uv = {} |
|
private |
The documentation for this class was generated from the following files: