- moved the I_Error prototypes to doomerrors.h to avoid having to include the low level system header for this.
This commit is contained in:
parent
1dcdfec733
commit
f6a91e1722
121 changed files with 123 additions and 91 deletions
|
|
@ -39,6 +39,7 @@
|
|||
#include <stdio.h>
|
||||
#include <exception>
|
||||
#include <stdexcept>
|
||||
#include "doomtype.h"
|
||||
|
||||
#define MAX_ERRORTEXT 1024
|
||||
|
||||
|
|
@ -103,4 +104,7 @@ public:
|
|||
CFatalError(const char *message) : CDoomError(message) {}
|
||||
};
|
||||
|
||||
void I_Error (const char *error, ...) GCCPRINTF(1,2);
|
||||
void I_FatalError (const char *error, ...) GCCPRINTF(1,2);
|
||||
|
||||
#endif //__ERRORS_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue