Main Page | Namespace List | Class List | File List | Namespace Members | Class Members | File Members

init.cpp File Reference

#include <header.h>

Functions

void initdirs ()
void initsdl ()
int childfilter (const SDL_Event *event)
int filter (const SDL_Event *event)
void initchildfilter ()
void initfilter ()
static SDL_Cursor * init_system_cursor (const char *image[])
void initcursor ()
void loadimages ()
void initfonts ()
void initarmies ()

Variables

mode game_mode
bool DEBUGG
char LOCDIR [LSL]
char PRGDIR [LSL]
char DATDIR [LSL]
char IMGDIR [LSL]
char SNDDIR [LSL]
char FNTDIR [LSL]
char HOMDIR [LSL]
SDL_Rect r_bg = {0,0,799,599}
SDL_Rect r_logo_i = {0,0,299,69}
SDL_Rect r_logo_o = {250,5,299,69}
SDL_Rect r_caze_i = {0,0,48,48}
SDL_Rect r_board_i = {0,0,490,490}
SDL_Rect r_board_o = {20,83,490,490}
SDL_Rect r_camp_i = {0,0,245,392}
SDL_Rect r_camp_o = {534,83,245,392}
SDL_Rect r_status = {0,580,799,19}
SDL_Surface * screen
SDL_Surface * screenbak
SDL_Surface * s_bg
SDL_Surface * s_button
SDL_Surface * s_logo
SDL_Surface * s_about
SDL_Surface * s_board
SDL_Surface * s_board_grid
SDL_Surface * s_piece
SDL_Surface * s_armies
SDL_Surface * s_camp
SDL_Surface * s_camp_grid
SDL_Surface * s_test
Uint32 rmask
Uint32 gmask
Uint32 bmask
Uint32 amask
SoFontfont
SoFontsfont
bool opt_doublebuffering
bool opt_fullscreen
bool opt_nowindow
char * _name [SSL] = {_("Flag"), _("Marshal"), _("General"), _("Colonel"), _("Major"), _("Captain"), _("Lieutenant"), _("Sergeant"), _("Miner"), _("Scout"), _("Spy"), _("Bomb"), _("Unknown")}
int _power [12] = {0,10,9,8,7,6,5,4,3,2,1,11}
piecearmy [82]
caze board_array [10 *10]
caze camp_array [5 *8]
caze cimetery_array [5 *8]
field board
field camp
static const char * arrow []

Function Documentation

int childfilter const SDL_Event *  event  ) 
 

int filter const SDL_Event *  event  ) 
 

static SDL_Cursor* init_system_cursor const char *  image[]  )  [static]
 

void initarmies  ) 
 

void initchildfilter  ) 
 

void initcursor  ) 
 

void initdirs  ) 
 

void initfilter  ) 
 

void initfonts  ) 
 

void initsdl  ) 
 

void loadimages  ) 
 


Variable Documentation

char* _name[SSL] = {_("Flag"), _("Marshal"), _("General"), _("Colonel"), _("Major"), _("Captain"), _("Lieutenant"), _("Sergeant"), _("Miner"), _("Scout"), _("Spy"), _("Bomb"), _("Unknown")}
 

int _power[12] = {0,10,9,8,7,6,5,4,3,2,1,11}
 

Uint32 amask
 

piece* army[82]
 

const char* arrow[] [static]
 

Uint32 bmask
 

field board
 

caze board_array[10 *10]
 

field camp
 

caze camp_array[5 *8]
 

caze cimetery_array[5 *8]
 

char DATDIR[LSL]
 

bool DEBUGG
 

char FNTDIR[LSL]
 

SoFont* font
 

mode game_mode
 

Uint32 gmask
 

char HOMDIR[LSL]
 

char IMGDIR[LSL]
 

char LOCDIR[LSL]
 

bool opt_doublebuffering
 

bool opt_fullscreen
 

bool opt_nowindow
 

char PRGDIR[LSL]
 

SDL_Rect r_bg = {0,0,799,599}
 

SDL_Rect r_board_i = {0,0,490,490}
 

SDL_Rect r_board_o = {20,83,490,490}
 

SDL_Rect r_camp_i = {0,0,245,392}
 

SDL_Rect r_camp_o = {534,83,245,392}
 

SDL_Rect r_caze_i = {0,0,48,48}
 

SDL_Rect r_logo_i = {0,0,299,69}
 

SDL_Rect r_logo_o = {250,5,299,69}
 

SDL_Rect r_status = {0,580,799,19}
 

Uint32 rmask
 

SDL_Surface* s_about
 

SDL_Surface* s_armies
 

SDL_Surface* s_bg
 

SDL_Surface* s_board
 

SDL_Surface* s_board_grid
 

SDL_Surface* s_button
 

SDL_Surface* s_camp
 

SDL_Surface* s_camp_grid
 

SDL_Surface* s_logo
 

SDL_Surface* s_piece
 

SDL_Surface* s_test
 

SDL_Surface* screen
 

SDL_Surface* screenbak
 

SoFont* sfont
 

char SNDDIR[LSL]
 




Little Neo, 2005 (+ doxygen)

  xtratego

  Home