From 218ca90543758a20ac326e444ca0643174ca7384 Mon Sep 17 00:00:00 2001 From: Rebellion Developments Date: Thu, 16 Mar 2000 11:25:00 +0100 Subject: Import Aliens vs Predator - Gold (Build 116) Source code release, imported from: https://www.gamefront.com/games/aliens-vs-predator-3/file/avp-gold-complete-source-code All text files were converted to Unix format. --- 3dc/win95/fail.c | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 3dc/win95/fail.c (limited to '3dc/win95/fail.c') diff --git a/3dc/win95/fail.c b/3dc/win95/fail.c new file mode 100644 index 0000000..013f1ec --- /dev/null +++ b/3dc/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 -- cgit v1.3