Crazy Eddie's GUI System
${CEGUI_VERSION}
|
Public Member Functions | |
virtual bool | initialise (CEGUI::GUIContext *guiContext) |
void | initGame () |
void | setupMouseCursor () |
virtual void | deinitialise () |
virtual void | onEnteringSample () |
virtual void | update (float timeSinceLastUpdate) |
CEGUI::Window * | spawnPlate () |
![]() | |
const CEGUI::String & | getUsedFilesString () |
Static Public Attributes | |
static const CEGUI::String | s_imageNamePlate = "HUDDemo/Plate" |
static const CEGUI::String | s_imageNameBread = "HUDDemo/Bread" |
static const CEGUI::String | s_imageNamePoo = "HUDDemo/Poo" |
static const CEGUI::String | s_imageNamePrizza = "HUDDemo/Prizza" |
static const CEGUI::String | s_imageNameSteak = "HUDDemo/Steak" |
static const CEGUI::String | s_imageNameVegPeople = "HUDDemo/VegetablePeople" |
static const CEGUI::String | s_imageNameVegFruits = "HUDDemo/VegetablesAndFruits" |
Protected Member Functions | |
void | updateMouseCursor () |
void | updatePlates (float timeSinceLastUpdate) |
bool | handlePlateWindowClicked (const CEGUI::EventArgs &args) |
bool | handleScorePopupAnimationEnded (const CEGUI::EventArgs &args) |
bool | handleWeaponLeftArrowClicked (const CEGUI::EventArgs &args) |
bool | handleWeaponRightArrowClicked (const CEGUI::EventArgs &args) |
bool | handleRestartButtonClicked (const CEGUI::EventArgs &args) |
void | updateScoreWindow () |
void | createScorePopup (const CEGUI::Vector2< float > &mousePos, int points) |
void | handleLivesChanged () |
void | delayDestroyWindows () |
void | selectedWeapon (SelectedWeapon weapon) |
Static Protected Member Functions | |
static const CEGUI::String & | getRandomGameImage () |
Protected Attributes | |
CEGUI::GUIContext * | d_guiContext |
CEGUI::Window * | d_root |
CEGUI::Window * | d_rootIngame |
CEGUI::Window * | d_rootGameOver |
CEGUI::Window * | d_mouseCursorWnd |
int | d_score |
std::vector< GamePlate * > | d_gamePlates |
std::vector< CEGUI::Window * > | d_delayDestroyWindows |
CEGUI::ProgressBar * | d_lifeBar |
int | d_lives |
SelectedWeapon | d_selectedWeapon |
![]() | |
CEGUI::String | d_usedFiles |