9 #if defined(_DEBUG) && defined(_WINDOWS)
10 #define DEBUG_NEW new(_NORMAL_BLOCK, __FILE__, __LINE__)
18 Play_State(
const Play_State &);
19 Play_State operator=(
const Play_State &);
46 Instructions_State(
const Instructions_State &);
47 Instructions_State operator=(
const Instructions_State &);
69 #elif defined(_MACOSX)
84 Window::set_title(
"zenilib Application");
102 int main(
int argc,
char **argv) {
Controllers & get_Controllers()
Get access to the singleton.
Sounds & get_Sounds()
Get access to the singleton.
int main(int argc, char **argv)
Colors & get_Colors()
Get access to the singleton.
Provide a simple title screen for games.
void reset_vibration_all()
Set vibration for all controllers to <0,0>
static void render(const Vertex_Buffer_Macrorenderer ¯orenderer, std::vector< Vertex_Buffer::Vertex_Buffer_Range * > &descriptors)
Gamestate pop_state()
Pop a Gamestate off the stack. Pop the current Gamestate with caution. All members will instantly bec...
void set_mouse_state(const Mouse_State &mouse_state)
Game & get_Game()
Get access to the singleton.
Keyboard button event structure (event.key.*)
class Bootstrap g_bootstrap
Gamestate_Zero_Initializer * g_gzi
Textures & get_Textures()
Get access to the singleton.
Window & get_Window()
Get access to the singleton.
The base class for all gamestates.
Fonts & get_Fonts()
Get access to the singleton.
int zenilib_main(int argc, char **argv)
Video & get_Video()
Get access to the singleton.
float get_text_height() const
Get the height of the font. The width is usually half the height, by default.
A 2D Point represented with floats.
void push_Popup_Menu_State()
virtual void render_text(const String &text, const Point2f &position, const Color &color, const JUSTIFY &justify=ZENI_DEFAULT_JUSTIFY) const =0
Render text at screen position (x, y), with justification JUSTIFY.