![]() |
cmdfx 0.2.1
Lightweight game engine for your terminal
|
Primary namespace for CmdFX. More...
Namespaces | |
namespace | Builder |
C++ wrapper for the CmdFX Builder API. | |
namespace | Canvas |
C++ wrapper for the CmdFX canvas. | |
namespace | Device |
C++ wrapper for the CmdFX Device API. | |
namespace | Engine |
A C++ wrapper around the CmdFX Physics Engine. | |
namespace | Screen |
C++ wrapper for the CmdFX Screen API. | |
namespace | SpriteForces |
A C++ wrapper around Sprite forces. | |
namespace | Window |
C++ wrapper for the CmdFX Window API. | |
Classes | |
class | Button |
A C++ wrapper around the CmdFX_Button struct. More... | |
class | Scene |
A C++ wrapper around a CmdFX_Scene struct. More... | |
class | SceneButtons |
class | Sprite |
A C++ wrapper around a CmdFX_Sprite struct. More... | |
class | SpriteCostumes |
A C++ wrapper around a CmdFX_SpriteCostumes struct. More... | |
class | SpriteMass |
A C++ wrapper around a CmdFX_SpriteMass struct. More... | |
class | SpriteMotion |
A C++ wrapper around a CmdFX_Sprite struct for motion-related functions. More... | |
class | Switch |
A C++ wrapper around the CmdFX_Button struct for switch buttons. More... | |
class | Vector |
A C++ wrapper around a CmdFX_Vector struct. More... | |
Functions | |
int | getWidth (char **array) |
int | getWidth (char ***array) |
int | getHeight (char **array) |
int | getHeight (char ***array) |
char ** | createCopy (char **array) |
char *** | createCopy (char ***array) |
int | isSameSize (char **array1, char **array2) |
int | isSameSize (char ***array1, char ***array2) |
int | compare (char **array1, char **array2) |
int | compare (char ***array1, char ***array2) |
int | print (char **array) |
int | print (char ***array) |
char ** | to2DArray (std::vector< std::string > string) |
Converts a 1D vector of strings to a 2D array of characters. | |
char *** | to3DArray (std::vector< std::vector< std::string > > string) |
Converts a 2D vector of strings to a 3D array of characters. | |
int | getTickSpeed () |
int | setTickSpeed (int tickspeed) |
unsigned long | launchThread (void(*func)(void *), void *arg) |
int | joinThread (unsigned long thread) |
int | detachThread (unsigned long thread) |
void * | getInternalMutex (int id) |
int | lockMutex (void *mutex) |
int | unlockMutex (void *mutex) |
void | tryLockMutex (int id) |
void | tryUnlockMutex (int id) |
int | isThreadSafeEnabled () |
int | initThreadSafe () |
int | destroyThreadSafe () |
Primary namespace for CmdFX.
This is the main namespace for the CmdFX library. All classes and functions are defined within this namespace. The CmdFX library is designed to provide a simple and easy-to-use interface for creating graphics and animations in the terminal.
char ** CmdFX::to2DArray | ( | std::vector< std::string > | string | ) |
Converts a 1D vector of strings to a 2D array of characters.
string | The vector of strings to convert. |
char *** CmdFX::to3DArray | ( | std::vector< std::vector< std::string > > | string | ) |
Converts a 2D vector of strings to a 3D array of characters.
string | The vector of strings to convert. |