summaryrefslogtreecommitdiffstats
path: root/phantasia/phantglobs.c
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2009-08-31 08:27:16 +0000
committerdholland <dholland@NetBSD.org>2009-08-31 08:27:16 +0000
commitf317851cef910ed84d916f18ef477f31e735802d (patch)
treee275e53266046ba2d99b4ce26a427ee5a769a2ec /phantasia/phantglobs.c
parent261019cf959bb2b883a896cb49cb696257730a87 (diff)
downloadbsdgames-darwin-f317851cef910ed84d916f18ef477f31e735802d.tar.gz
bsdgames-darwin-f317851cef910ed84d916f18ef477f31e735802d.tar.zst
bsdgames-darwin-f317851cef910ed84d916f18ef477f31e735802d.zip
Dumping all system includes anything uses in one big header file is so 1986.
XXX: Removing unused declarations (thus, unused headers can trigger XXX: it) sometimes causes gcc to generate substantially different XXX: code. Dunno why but it looks rather like a gcc bug.
Diffstat (limited to 'phantasia/phantglobs.c')
-rw-r--r--phantasia/phantglobs.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/phantasia/phantglobs.c b/phantasia/phantglobs.c
index 58769881..d20b3441 100644
--- a/phantasia/phantglobs.c
+++ b/phantasia/phantglobs.c
@@ -1,10 +1,16 @@
-/* $NetBSD: phantglobs.c,v 1.5 1999/09/08 21:17:54 jsm Exp $ */
+/* $NetBSD: phantglobs.c,v 1.6 2009/08/31 08:27:16 dholland Exp $ */
/*
* phantglobs.c - globals for Phantasia
*/
-#include "include.h"
+#include <setjmp.h>
+#include <stdio.h>
+
+#include "phantdefs.h"
+#include "phantstruct.h"
+#include "phantglobs.h"
+
double Circle; /* which circle player is in */
double Shield; /* force field thrown up in monster battle */