summaryrefslogtreecommitdiffstats
path: root/atc/struct.h
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2014-03-22 22:45:05 +0000
committerdholland <dholland@NetBSD.org>2014-03-22 22:45:05 +0000
commit64808850222580f008163db7fd9e2267f505d35c (patch)
tree4d6341824811a87d5a56ef45703d26afd03bc006 /atc/struct.h
parent767da0d3e196c89c429ed4f929a2442be58e2220 (diff)
downloadbsdgames-darwin-64808850222580f008163db7fd9e2267f505d35c.tar.gz
bsdgames-darwin-64808850222580f008163db7fd9e2267f505d35c.tar.zst
bsdgames-darwin-64808850222580f008163db7fd9e2267f505d35c.zip
use more suitable types
Diffstat (limited to 'atc/struct.h')
-rw-r--r--atc/struct.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/atc/struct.h b/atc/struct.h
index 5ce9a2b3..ad5361dd 100644
--- a/atc/struct.h
+++ b/atc/struct.h
@@ -1,4 +1,4 @@
-/* $NetBSD: struct.h,v 1.8 2014/03/22 22:33:35 dholland Exp $ */
+/* $NetBSD: struct.h,v 1.9 2014/03/22 22:45:05 dholland Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -43,6 +43,8 @@
* For more info on this and all of my stuff, mail edjames@berkeley.edu.
*/
+#include <stdbool.h>
+
typedef struct {
int x, y;
int dir; /* used only sometimes */
@@ -86,8 +88,8 @@ typedef struct plane {
int fuel;
int xpos;
int ypos;
- int delayd;
- int delayd_no;
+ bool delayd;
+ unsigned delayd_no;
} PLANE;
typedef struct {