diff options
| author | Steven Fuller <relnev@icculus.org> | 2001-07-01 00:55:22 +0000 |
|---|---|---|
| committer | Patryk Obara <dreamer.tan@gmail.com> | 2019-08-20 02:09:04 +0200 |
| commit | 2186d5f3f95cd74a070a490d899291648d58667a (patch) | |
| tree | 55241a1afa3e1a22e0b6593a8dead0b703800f44 /src/win95/fail.c | |
| parent | 218ca90543758a20ac326e444ca0643174ca7384 (diff) | |
Initial revision
Diffstat (limited to 'src/win95/fail.c')
| -rw-r--r-- | src/win95/fail.c | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/win95/fail.c b/src/win95/fail.c new file mode 100644 index 0000000..013f1ec --- /dev/null +++ b/src/win95/fail.c @@ -0,0 +1,37 @@ +/* LotU: Error handling functions. + + Copyright (C) 1995, Jamie Lokier. + Written for Rebellion Developments, Ltd. + + Permission to use, copy, modify and distribute this file for any + purpose by Rebellion Developments, Ltd. is hereby granted. If you + want to use this file outside the company, please let me know. +*/ + +#include "3dc.h" +#include "fail.h" +#include "dxlog.h" + +void +fail (const char * format, ...) +{ + va_list ap; + + LOGDXSTR(format); + va_start (ap, format); + if (format != 0) + vfprintf (stderr, format, ap); + va_end (ap); + + exit (EXIT_FAILURE); +} + +void FAILHandleCompilerWarningMessage(void) +{ + int temp; + + temp = D3DRMMAP_PERSPCORRECT; + temp = D3DRMMAP_WRAPU; + temp = D3DRMMAP_WRAPV; + temp = D3DRMGROUP_ALLGROUPS; +}
\ No newline at end of file |
