Subversion Repositories Games.Carmageddon

Rev

Rev 18 | 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
 
20 pmbaty 4
#include "brender/br_types.h"
1 pmbaty 5
#include "dr_types.h"
6
#include "harness/compiler.h"
7
 
8
extern char* gError_messages[126];
9
extern int gError_code;
10
extern char* gPalette_copy__errors;    // suffix added to avoid duplicate symbol
11
extern int gPixel_buffer_size__errors; // suffix added to avoid duplicate symbol
12
extern int gMouse_was_started__errors; // suffix added to avoid duplicate symbol
13
extern char* gPixels_copy__errors;     // suffix added to avoid duplicate symbol
14
 
15
HARNESS_NORETURN void FatalError(int pStr_index, ...);
16
 
17
void NonFatalError(int pStr_index, ...);
18
 
19
void CloseDiagnostics(void);
20
 
21
void OpenDiagnostics(void);
22
 
23
void dr_dprintf(char* fmt_string, ...);
24
 
25
int DoErrorInterface(int pMisc_text_index);
26
 
27
#endif