TeaPacket v0.0.1
Multiplatform Game Engine
|
Namespaces | |
namespace | Assets |
Functionality relating to files. | |
namespace | Error |
Custom errors specific to TeaPacket. | |
namespace | Files |
Functionality relating to files. | |
namespace | Graphics |
Functionality relating to drawing graphics to the screen. | |
namespace | Interface |
Functionality relating to core application management, such as event-handling and process management. | |
namespace | Math |
Math related functions and classes for TeaPacket. | |
namespace | Memory |
Functions | |
void | Print (const std::string &message) |
Prints a string to the debugging console. | |
template<typename T> | |
std::enable_if_t< std::is_arithmetic_v< T > > | Print (const T &val) |
Prints arithmetic values. | |
template<> | |
std::enable_if_t< std::is_arithmetic_v< char > > | Print (const char &val) |
Prints a character. | |
template<typename T> | |
std::enable_if_t<!std::is_arithmetic_v< T > > | Print (const T &val) |
Prints a non-arithmetic, but string-convertable type. | |
void | Print (const char *const &message) |
Prints a C string. | |
void | Print (char *const &message) |
Also prints a C string. | |
template<typename T> | |
void | PrintLine (const T &val) |
Prints a value, followed by a line. | |
bool | Initialize () |
bool | ShouldRun () |
void | Tick () |
Perform all engine functionality for 1 frame (or Tick). | |
void | DeInitialize () |
De-initialize all engine functionality. | |
void | RunEngine () |
A helper function which handles the basic engine loop automatically. | |
void TeaPacket::DeInitialize | ( | ) |
De-initialize all engine functionality.
bool TeaPacket::Initialize | ( | ) |
Initialize all engine functionality.
|
inline |
Also prints a C string.
|
inline |
Prints a character.
|
inline |
Prints a C string.
void TeaPacket::Print | ( | const std::string & | message | ) |
Prints a string to the debugging console.
std::enable_if_t< std::is_arithmetic_v< T > > TeaPacket::Print | ( | const T & | val | ) |
Prints arithmetic values.
std::enable_if_t<!std::is_arithmetic_v< T > > TeaPacket::Print | ( | const T & | val | ) |
Prints a non-arithmetic, but string-convertable type.
void TeaPacket::PrintLine | ( | const T & | val | ) |
Prints a value, followed by a line.
void TeaPacket::RunEngine | ( | ) |
A helper function which handles the basic engine loop automatically.
bool TeaPacket::ShouldRun | ( | ) |
Returns whether the app should continue running.
void TeaPacket::Tick | ( | ) |
Perform all engine functionality for 1 frame (or Tick).