Subversion Repositories Games.Chess Giants

Rev

Rev 150 | Rev 154 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 150 Rev 153
Line 7... Line 7...
7
// audio.cpp function prototypes
7
// audio.cpp function prototypes
8
bool Audio_Init (void);
8
bool Audio_Init (void);
9
void Audio_Shutdown (void);
9
void Audio_Shutdown (void);
10
void Audio_Think (void);
10
void Audio_Think (void);
11
void Audio_PlaySound (int sound_type, float pos_x, float pos_y, float pos_z);
11
void Audio_PlaySound (int sound_type, float pos_x, float pos_y, float pos_z);
-
 
12
 
-
 
13
// base64.cpp function prototypes
-
 
14
size_t base64_encode (char *dest, const char *source, size_t source_len);
-
 
15
size_t base64_decode (unsigned char *dest, const unsigned char *source, size_t source_len);
12
 
16
 
13
// board.cpp function prototypes
17
// board.cpp function prototypes
14
bool Board_Init (board_t *board, int white_playertype, int black_playertype, wchar_t *fen_string);
18
bool Board_Init (board_t *board, int white_playertype, int black_playertype, wchar_t *fen_string);
15
void Board_Shutdown (board_t *board);
19
void Board_Shutdown (board_t *board);
16
bool Board_Reset (board_t *board, wchar_t *fen_string);
20
bool Board_Reset (board_t *board, wchar_t *fen_string);
Line 114... Line 118...
114
bool Move_SetupFromFEN (boardmove_t *move, wchar_t *fen_string);
118
bool Move_SetupFromFEN (boardmove_t *move, wchar_t *fen_string);
115
bool Move_SetupFromStyle12 (boardmove_t *move, wchar_t *positions, int move_color, int pawnrush_column,
119
bool Move_SetupFromStyle12 (boardmove_t *move, wchar_t *positions, int move_color, int pawnrush_column,
116
                            bool can_white_castle_short, bool can_white_castle_long, bool can_black_castle_short, bool can_black_castle_long, wchar_t *pretty_movestring);
120
                            bool can_white_castle_short, bool can_white_castle_long, bool can_black_castle_short, bool can_black_castle_long, wchar_t *pretty_movestring);
117
 
121
 
118
// network.cpp function prototypes
122
// network.cpp function prototypes
-
 
123
bool Network_Init (void);
119
bool PlayerNetwork_Init (player_t *player);
124
bool PlayerNetwork_Init (player_t *player);
120
void PlayerNetwork_Shutdown (player_t *player);
125
void PlayerNetwork_Shutdown (player_t *player);
121
bool PlayerNetwork_Think (player_t *player);
126
bool PlayerNetwork_Think (player_t *player);
122
 
127
 
123
// network-eval.cpp function prototypes
128
// network-eval.cpp function prototypes
Line 238... Line 243...
238
void SecondsToWideCharString (wchar_t *dest, size_t dest_size_in_wchars, int seconds);
243
void SecondsToWideCharString (wchar_t *dest, size_t dest_size_in_wchars, int seconds);
239
int MonthStringToNumber (wchar_t *month_string);
244
int MonthStringToNumber (wchar_t *month_string);
240
bool GetImageSize (const wchar_t *imagefile_pathname, int *width, int *height);
245
bool GetImageSize (const wchar_t *imagefile_pathname, int *width, int *height);
241
void Debug_Init (const wchar_t *logfile_name);
246
void Debug_Init (const wchar_t *logfile_name);
242
void Debug_Log (const wchar_t *fmt, ...);
247
void Debug_Log (const wchar_t *fmt, ...);
-
 
248
int RecvWithTimeout (int socket_id, float timeout_in_seconds, char *outbuf, size_t outbuf_size, int flags);
243
const wchar_t *GetLastNetworkError (void);
249
const wchar_t *GetLastNetworkError (void);
244
HICON W32LoadIcon (const wchar_t *fmt, ...);
250
HICON W32LoadIcon (const wchar_t *fmt, ...);
245
HBITMAP W32LoadImage (const wchar_t *fmt, ...);
251
HBITMAP W32LoadImage (const wchar_t *fmt, ...);
246
bool IsRegistrationCorrect (const wchar_t *email, const unsigned __int32 code);
252
bool IsRegistrationCorrect (const wchar_t *email, const unsigned __int32 code);
247
 
253