Subversion Repositories Games.Carmageddon

Rev

Rev 1 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 pmbaty 1
#ifndef _ERRORS_H_
2
#define _ERRORS_H_
3
 
4
#include "dr_types.h"
5
#include "harness/compiler.h"
6
 
7
extern char* gError_messages[126];
8
extern int gError_code;
9
extern char* gPalette_copy__errors;    // suffix added to avoid duplicate symbol
10
extern int gPixel_buffer_size__errors; // suffix added to avoid duplicate symbol
11
extern int gMouse_was_started__errors; // suffix added to avoid duplicate symbol
12
extern char* gPixels_copy__errors;     // suffix added to avoid duplicate symbol
13
 
14
HARNESS_NORETURN void FatalError(int pStr_index, ...);
15
 
16
void NonFatalError(int pStr_index, ...);
17
 
18
void CloseDiagnostics(void);
19
 
20
void OpenDiagnostics(void);
21
 
22
void dr_dprintf(char* fmt_string, ...);
23
 
24
int DoErrorInterface(int pMisc_text_index);
25
 
26
#endif