Wrath of Zeus
Made by Torchlight Games for CSE 125 SP24
Loading...
Searching...
No Matches
Data Structures | Enumerations | Functions
gui::img Namespace Reference

Data Structures

struct  Img
 
class  Loader
 
class  Logo
 

Enumerations

enum class  ImgID {
  Yoshi , AwesomeSauce , HealthPotion , UnknownPotion ,
  InvisPotion , FireSpell , HealSpell , Orb ,
  Mirror , Crosshair , Scroll , Dagger ,
  Sword , Hammer , Title , LeftHotbar ,
  RightHotbar , MiddleHotbar , MiddleSelected , DMLeftHotbar ,
  DMRightHotbar , DMMiddleHotbar , DMMiddleSelected , DMMiddleCooldown ,
  HealthBar , HealthTickEmpty , HealthTickFull , ManaBar ,
  ManaTickEmpty , ManaTickFull , Needle , ItemBG ,
  DMTrapBG , EventBG , DMEventBG , Compass0 ,
  Compass30 , Compass60 , Compass90 , Compass120 ,
  Compass150 , Compass180 , Compass210 , Compass240 ,
  Compass270 , Compass300 , Compass330 , FloorSpikeTrap ,
  Sungod , Teleporter , Lightning , LightCut ,
  ArrowTrap , SpikeTrap , DMCD_10 , DMCD_9 ,
  DMCD_8 , DMCD_7 , DMCD_6 , DMCD_5 ,
  DMCD_4 , DMCD_3 , DMCD_2 , DMCD_1 ,
  DMCD_Selected_10 , DMCD_Selected_9 , DMCD_Selected_8 , DMCD_Selected_7 ,
  DMCD_Selected_6 , DMCD_Selected_5 , DMCD_Selected_4 , DMCD_Selected_3 ,
  DMCD_Selected_2 , DMCD_Selected_1 , Skull , DestroyedSkull ,
  SkullBG , HelpBG , HelpDMBG , ExitBG ,
  ExitDMBG , ExitBGSelected , ExitDMBGSelected , ExitSelected ,
  Exit , LobbyButton , Victory , Defeat ,
  Death , Respawn , StartGame , StartGameSelected ,
  Player , PlayerSelected , Zeus , ZeusSelected ,
  ReadyPlayer , ReadyPlayerSelected , ReadyZeus , ReadyZeusSelected ,
  RowBG , Blank
}
 

Functions

std::string getImgFilepath (ImgID img)
 

Enumeration Type Documentation

◆ ImgID

enum class gui::img::ImgID
strong

Abstract representation of any image we would want to load in

NOTE: if you add a new ID, then also add it into the below macro so that the image loader will actually load it.

Enumerator
Yoshi 
AwesomeSauce 
HealthPotion 
UnknownPotion 
InvisPotion 
FireSpell 
HealSpell 
Orb 
Mirror 
Crosshair 
Scroll 
Dagger 
Sword 
Hammer 
Title 
LeftHotbar 
RightHotbar 
MiddleHotbar 
MiddleSelected 
DMLeftHotbar 
DMRightHotbar 
DMMiddleHotbar 
DMMiddleSelected 
DMMiddleCooldown 
HealthBar 
HealthTickEmpty 
HealthTickFull 
ManaBar 
ManaTickEmpty 
ManaTickFull 
Needle 
ItemBG 
DMTrapBG 
EventBG 
DMEventBG 
Compass0 
Compass30 
Compass60 
Compass90 
Compass120 
Compass150 
Compass180 
Compass210 
Compass240 
Compass270 
Compass300 
Compass330 
FloorSpikeTrap 
Sungod 
Teleporter 
Lightning 
LightCut 
ArrowTrap 
SpikeTrap 
DMCD_10 
DMCD_9 
DMCD_8 
DMCD_7 
DMCD_6 
DMCD_5 
DMCD_4 
DMCD_3 
DMCD_2 
DMCD_1 
DMCD_Selected_10 
DMCD_Selected_9 
DMCD_Selected_8 
DMCD_Selected_7 
DMCD_Selected_6 
DMCD_Selected_5 
DMCD_Selected_4 
DMCD_Selected_3 
DMCD_Selected_2 
DMCD_Selected_1 
Skull 
DestroyedSkull 
SkullBG 
HelpBG 
HelpDMBG 
ExitBG 
ExitDMBG 
ExitBGSelected 
ExitDMBGSelected 
ExitSelected 
Exit 
LobbyButton 
Victory 
Defeat 
Death 
Respawn 
StartGame 
StartGameSelected 
Player 
PlayerSelected 
Zeus 
ZeusSelected 
ReadyPlayer 
ReadyPlayerSelected 
ReadyZeus 
ReadyZeusSelected 
RowBG 
Blank 

Function Documentation

◆ getImgFilepath()

std::string gui::img::getImgFilepath ( ImgID  img)

Mapping from abstract image id to the filepath for that image

Parameters
imgID of the image to get the filepath of