Rev 172 | Rev 179 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 172 | Rev 177 | ||
---|---|---|---|
Line 154... | Line 154... | ||
154 | bool PGNFile_Save (board_t *board, const wchar_t *pgnfile_pathname); |
154 | bool PGNFile_Save (board_t *board, const wchar_t *pgnfile_pathname); |
155 | 155 | ||
156 | // pipe.cpp function prototypes |
156 | // pipe.cpp function prototypes |
157 | FILE *pipe_open (const wchar_t *shell_command, const wchar_t *mode); |
157 | FILE *pipe_open (const wchar_t *shell_command, const wchar_t *mode); |
158 | int pipe_close (FILE *stream); |
158 | int pipe_close (FILE *stream); |
159 | int pipe_isalive (FILE * |
159 | int pipe_isalive (FILE *stream, int64_t *exit_code); |
160 | int pipe_hasdata (FILE *stream); |
160 | int pipe_hasdata (FILE *stream); |
161 | int pipe_read (FILE *stream, void *dstbuf, int nbytes); |
161 | int pipe_read (FILE *stream, void *dstbuf, int nbytes); |
162 | int pipe_write (FILE *stream, void *srcbuf, int nbytes); |
162 | int pipe_write (FILE *stream, void *srcbuf, int nbytes); |
163 | 163 | ||
164 | // player.cpp function prototypes |
164 | // player.cpp function prototypes |
Line 195... | Line 195... | ||
195 | void *SAFE_realloc (void *allocation, int old_count, int new_count, size_t element_size, bool cleanup); |
195 | void *SAFE_realloc (void *allocation, int old_count, int new_count, size_t element_size, bool cleanup); |
196 | void SAFE_free (void **address_of_pointer_to_allocation); |
196 | void SAFE_free (void **address_of_pointer_to_allocation); |
197 | 197 | ||
198 | // san.cpp function prototypes |
198 | // san.cpp function prototypes |
199 | bool Move_SetupFromSAN (boardmove_t *move, boardmove_t *new_move, int move_color); |
199 | bool Move_SetupFromSAN (boardmove_t *move, boardmove_t *new_move, int move_color); |
200 | bool Move_DescribeInSAN (boardmove_t * |
200 | bool Move_DescribeInSAN (boardmove_t *move, boardmove_t *previousmove); |
201 | 201 | ||
202 | // scene.cpp function prototypes |
202 | // scene.cpp function prototypes |
203 | void Scene_Init (scene_t *scene, board_t *board); |
203 | void Scene_Init (scene_t *scene, board_t *board); |
204 | void Scene_Shutdown (scene_t *scene); |
204 | void Scene_Shutdown (scene_t *scene); |
205 | void Scene_Update (scene_t *scene, board_t *board); |
205 | void Scene_Update (scene_t *scene, board_t *board); |
Line 243... | Line 243... | ||
243 | 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); |
244 | int MonthStringToNumber (wchar_t *month_string); |
244 | int MonthStringToNumber (wchar_t *month_string); |
245 | bool GetImageSize (const wchar_t *imagefile_pathname, int *width, int *height); |
245 | bool GetImageSize (const wchar_t *imagefile_pathname, int *width, int *height); |
246 | void Debug_Init (const wchar_t *logfile_name); |
246 | void Debug_Init (const wchar_t *logfile_name); |
247 | void Debug_Log (const wchar_t *fmt, ...); |
247 | void Debug_Log (const wchar_t *fmt, ...); |
- | 248 | void Debug_LogMove (boardmove_t *move, const wchar_t *fmt, ...); |
|
248 | bool Debug_SendLogToAuthor (bool should_include_description); |
249 | bool Debug_SendLogToAuthor (char *reason, bool should_include_description); |
249 | int RecvWithTimeout (int socket_id, float timeout_in_seconds, char *outbuf, size_t outbuf_size, int flags); |
250 | int RecvWithTimeout (int socket_id, float timeout_in_seconds, char *outbuf, size_t outbuf_size, int flags); |
250 | const wchar_t *GetLastNetworkError (void); |
251 | const wchar_t *GetLastNetworkError (void); |
251 | HICON W32LoadIcon (const wchar_t *fmt, ...); |
252 | HICON W32LoadIcon (const wchar_t *fmt, ...); |
252 | HBITMAP W32LoadImage (const wchar_t *fmt, ...); |
253 | HBITMAP W32LoadImage (const wchar_t *fmt, ...); |
253 | bool IsRegistrationCorrect (const wchar_t *email, const unsigned __int32 code); |
254 | bool IsRegistrationCorrect (const wchar_t *email, const unsigned __int32 code); |