aboutsummaryrefslogtreecommitdiffstats
path: root/oldrunner.h
diff options
context:
space:
mode:
authorFlavio Poletti <flavio@polettix.it>2019-06-16 14:24:26 +0000
committerFlavio Poletti <flavio@polettix.it>2019-06-16 14:24:26 +0000
commit630e697bbda7c2849f4af6d4f2876dd41f1f3bc1 (patch)
tree53c59affcef4d4bf6dc9ce0aee2e01c9867cf0e8 /oldrunner.h
parent8bb002ba7bb2f68f7d5b3ea8cf4f667724a1cd6e (diff)
downloadoldrunner-630e697bbda7c2849f4af6d4f2876dd41f1f3bc1.tar.gz
Add vim modeline, remove trailing spaces
Diffstat (limited to 'oldrunner.h')
-rw-r--r--oldrunner.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/oldrunner.h b/oldrunner.h
index 5e32306..14f4a3e 100644
--- a/oldrunner.h
+++ b/oldrunner.h
@@ -1,4 +1,6 @@
/* $Id: oldrunner.h,v 1.2 2012/01/06 10:11:30 culot Exp $ */
+/* vim: et ai sts=2 ts=2 sw=2:
+ * */
/*
* Copyright (c) 2010, 2012 Frederic Culot <frederic@culot.org>
@@ -70,10 +72,10 @@ enum sprite {
SP_LADDER,
SP_ROPE,
SP_ESCAPE_LADDER,
-
+
/* Sprites used for objects. */
SP_MONEY,
-
+
/* Sprites used to draw characters. */
SP_HERO,
SP_FOE,
@@ -92,7 +94,7 @@ enum move {
};
struct size {
- unsigned h; /* height */
+ unsigned h; /* height */
unsigned w; /* width */
};
@@ -112,13 +114,13 @@ struct usr_input {
};
struct game_info {
-#define NO_CHANGE 0x0
+#define NO_CHANGE 0x0
#define LEVEL_CHANGE 0x1
#define SCORE_CHANGE 0x2
-#define LIVES_CHANGE 0x4
+#define LIVES_CHANGE 0x4
int state;
-
- unsigned level;
+
+ unsigned level;
unsigned score;
unsigned lives;
};
Un proyecto texto-plano.xyz