- 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:
Christoph Oelckers 2019-01-31 19:38:04 +01:00
commit f6a91e1722
121 changed files with 123 additions and 91 deletions

View file

@ -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__