// Copyright (c) 2014 Alex Diener. All rights reserved. #ifndef __ControlsScreen_H__ #define __ControlsScreen_H__ #ifdef __cplusplus extern "C" { #endif typedef struct ControlsScreen ControlsScreen; #include "glbitmapfont/GLBitmapFont.h" #include "inputcontroller/InputController.h" #include "screenmanager/Screen.h" #include "watertowerclassic/GameSession.h" #define ControlsScreen_structContents(self_type) \ Screen_structContents(self_type) \ \ GameSession * gameSession; \ InputController * inputController; \ GLuint vertexBufferID; \ GLuint indexBufferID; \ GLBitmapFont * bitmapFont; \ unsigned int menuItemIndex; \ bool waitingForInput; stemobject_struct_definition(ControlsScreen) ControlsScreen * ControlsScreen_create(GameSession * gameSession); bool ControlsScreen_init(ControlsScreen * self, GameSession * gameSession); void ControlsScreen_dispose(ControlsScreen * self); void ControlsScreen_activate(ControlsScreen * self); void ControlsScreen_deactivate(ControlsScreen * self); void ControlsScreen_draw(ControlsScreen * self); #ifdef __cplusplus } #endif #endif