Doxygen Samurai Engine 0.0.1
Doxygen Samurai Engine Documentation
Loading...
Searching...
No Matches
marioCommon.h File Reference
#include <gl2d/gl2d.h>
Include dependency graph for marioCommon.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Block
 

Functions

bool isSolid (int id)
 
glm::vec4 getTileUV (gl2d::TextureAtlasPadding atlas, int id, int flip=0)
 
bool aabb (glm::vec4 b1, glm::vec4 b2, float delta)
 

Variables

constexpr const char * collisionMap
 

Function Documentation

◆ aabb()

bool aabb ( glm::vec4 b1,
glm::vec4 b2,
float delta )

Definition at line 17 of file marioCommon.cpp.

Here is the caller graph for this function:

◆ getTileUV()

glm::vec4 getTileUV ( gl2d::TextureAtlasPadding atlas,
int id,
int flip = 0 )

Definition at line 10 of file marioCommon.cpp.

Here is the caller graph for this function:

◆ isSolid()

bool isSolid ( int id)

Definition at line 5 of file marioCommon.cpp.

Here is the caller graph for this function:

Variable Documentation

◆ collisionMap

constexpr const char* collisionMap
constexpr
Initial value:
=
"XX-X-XXX"
"XX-XXXXX"
"--------"
"-XX--X--"
"-XX-----"
"-XX-XXXX"
"--X-XXX-"
"XX------"
"XX--XX--"
"XXXXXX--"

Definition at line 6 of file marioCommon.h.