OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
ArcomageGame Struct Reference

#include <Arcomage.h>

Public Member Functions

 ArcomageGame ()
 

Static Public Member Functions

static bool LoadSprites ()
 
static bool MsgLoop (int a1, ArcomageGame_InputMSG *a2)
 
static void playSound (int event_id)
 
static void onKeyPress (PlatformKey key)
 
static void OnMouseClick (char right_left, bool bDown)
 
static void OnMouseMove (int x, int y)
 
static void GetCardRect (int uCardID, Recti *pCardRect)
 
static void PrepareArcomage ()
 
static void Loop ()
 

Public Attributes

FrameLimiter _frameLimiter
 
int _targetFPS { 32 }
 
ArcomageGame_InputMSG stru1
 
int mouse_x = 0
 
int mouse_y = 0
 
char mouse_left = 0
 
char field_39 = 0
 
char mouse_right = 0
 
char field_3B = 0
 
GUIFontpfntComic = nullptr
 
GUIFontpfntArrus = nullptr
 
int field_50 = 0
 
int field_54 = 0
 
GraphicsImagepGameBackground = nullptr
 
GraphicsImagepSprites = nullptr
 
int uGameWinner = 0
 
int Victory_type = 0
 
std::string pPlayer1Name
 
std::string pPlayer2Name
 
char force_am_exit = 0
 
char GameOver = 0
 
char prev_mouse_left = 0
 
char prev_mouse_right = 0
 
char check_exit = 0
 
char bGameInProgress = 0
 

Constructor & Destructor Documentation

◆ ArcomageGame()

ArcomageGame::ArcomageGame ( )
inline

Member Function Documentation

◆ GetCardRect()

void ArcomageGame::GetCardRect ( int  uCardID,
Recti pCardRect 
)
static

◆ LoadSprites()

bool ArcomageGame::LoadSprites ( )
static

◆ Loop()

void ArcomageGame::Loop ( )
static

◆ MsgLoop()

bool ArcomageGame::MsgLoop ( int  a1,
ArcomageGame_InputMSG a2 
)
static

◆ onKeyPress()

void ArcomageGame::onKeyPress ( PlatformKey  key)
static

◆ OnMouseClick()

void ArcomageGame::OnMouseClick ( char  right_left,
bool  bDown 
)
static

◆ OnMouseMove()

void ArcomageGame::OnMouseMove ( int  x,
int  y 
)
static

◆ playSound()

void ArcomageGame::playSound ( int  event_id)
static

◆ PrepareArcomage()

void ArcomageGame::PrepareArcomage ( )
static

Member Data Documentation

◆ _frameLimiter

FrameLimiter ArcomageGame::_frameLimiter

◆ _targetFPS

int ArcomageGame::_targetFPS { 32 }

◆ bGameInProgress

char ArcomageGame::bGameInProgress = 0

◆ check_exit

char ArcomageGame::check_exit = 0

◆ field_39

char ArcomageGame::field_39 = 0

◆ field_3B

char ArcomageGame::field_3B = 0

◆ field_50

int ArcomageGame::field_50 = 0

◆ field_54

int ArcomageGame::field_54 = 0

◆ force_am_exit

char ArcomageGame::force_am_exit = 0

◆ GameOver

char ArcomageGame::GameOver = 0

◆ mouse_left

char ArcomageGame::mouse_left = 0

◆ mouse_right

char ArcomageGame::mouse_right = 0

◆ mouse_x

int ArcomageGame::mouse_x = 0

◆ mouse_y

int ArcomageGame::mouse_y = 0

◆ pfntArrus

GUIFont* ArcomageGame::pfntArrus = nullptr

◆ pfntComic

GUIFont* ArcomageGame::pfntComic = nullptr

◆ pGameBackground

GraphicsImage* ArcomageGame::pGameBackground = nullptr

◆ pPlayer1Name

std::string ArcomageGame::pPlayer1Name

◆ pPlayer2Name

std::string ArcomageGame::pPlayer2Name

◆ prev_mouse_left

char ArcomageGame::prev_mouse_left = 0

◆ prev_mouse_right

char ArcomageGame::prev_mouse_right = 0

◆ pSprites

GraphicsImage* ArcomageGame::pSprites = nullptr

◆ stru1

ArcomageGame_InputMSG ArcomageGame::stru1

◆ uGameWinner

int ArcomageGame::uGameWinner = 0

◆ Victory_type

int ArcomageGame::Victory_type = 0

The documentation for this struct was generated from the following files: