summaryrefslogtreecommitdiff
path: root/sprdef.h
diff options
context:
space:
mode:
Diffstat (limited to 'sprdef.h')
-rw-r--r--sprdef.h517
1 files changed, 517 insertions, 0 deletions
diff --git a/sprdef.h b/sprdef.h
new file mode 100644
index 0000000..2e8df28
--- /dev/null
+++ b/sprdef.h
@@ -0,0 +1,517 @@
+
+#define b 0
+#define W 1
+#define R 2
+#define G 3
+#define B 4
+#define Y 5
+#define C 6
+#define M 7
+
+SpriteDef shipspr1_1=
+ {{ /* SHIP */
+ {b,b,b,B,B,b,b,b,},
+ {b,b,B,B,B,B,b,b,},
+ {b,b,B,W,W,B,b,b,},
+ {b,b,b,B,B,b,b,b,},
+ {b,Y,b,B,B,b,Y,b,},
+ {b,R,B,B,B,B,R,b,},
+ {b,R,B,B,B,B,R,b,},
+ {b,R,b,B,B,b,R,b,},
+ }};
+
+SpriteDef shipspr1_2=
+ {{ /* SHIP */
+ {b,b,b,B,B,b,b,b,},
+ {b,b,B,B,B,B,b,b,},
+ {b,b,B,W,W,B,b,b,},
+ {b,b,b,B,B,b,b,b,},
+ {b,R,b,B,B,b,R,b,},
+ {b,Y,B,B,B,B,Y,b,},
+ {b,R,B,B,B,B,R,b,},
+ {b,R,b,B,B,b,R,b,},
+ }};
+
+SpriteDef shipspr1_3=
+ {{ /* SHIP */
+ {b,b,b,B,B,b,b,b,},
+ {b,b,B,B,B,B,b,b,},
+ {b,b,B,W,W,B,b,b,},
+ {b,b,b,B,B,b,b,b,},
+ {b,R,b,B,B,b,R,b,},
+ {b,R,B,B,B,B,R,b,},
+ {b,Y,B,B,B,B,Y,b,},
+ {b,R,b,B,B,b,R,b,},
+ }};
+
+SpriteDef shipspr1_4=
+ {{ /* SHIP */
+ {b,b,b,B,B,b,b,b,},
+ {b,b,B,B,B,B,b,b,},
+ {b,b,B,W,W,B,b,b,},
+ {b,b,b,B,B,b,b,b,},
+ {b,R,b,B,B,b,R,b,},
+ {b,R,B,B,B,B,R,b,},
+ {b,R,B,B,B,B,R,b,},
+ {b,Y,b,B,B,b,Y,b,},
+ }};
+
+SpriteDef alienbullet1=
+ {{ /* ALIEN BULLET */
+ {b,b,b,W,W,b,b,b,},
+ {b,b,b,W,W,b,b,b,},
+ {b,b,b,W,W,b,b,b,},
+ {b,b,b,b,b,b,b,b,},
+ {b,b,b,b,b,b,b,b,},
+ {b,b,b,b,b,b,b,b,},
+ {b,b,b,b,b,b,b,b,},
+ {b,b,b,b,b,b,b,b,},
+ }};
+
+SpriteDef shipbullet1=
+ {{ /* SHIP BULLET */
+ {b,b,b,b,b,b,b,b,},
+ {b,b,b,b,b,b,b,b,},
+ {b,b,b,b,b,b,b,b,},
+ {b,b,b,b,b,b,b,b,},
+ {b,b,b,b,b,b,b,b,},
+ {b,b,b,C,C,b,b,b,},
+ {b,b,b,C,C,b,b,b,},
+ {b,b,b,C,C,b,b,b,},
+ }};
+
+SpriteDef galax1_1=
+ {{ /* GALAX 1 */
+ {b,G,b,b,b,b,G,b,},
+ {b,G,b,b,b,b,G,b,},
+ {b,b,G,G,G,G,b,b,},
+ {b,G,b,G,G,b,G,b,},
+ {b,G,G,G,G,G,G,b,},
+ {G,b,G,b,b,G,b,G,},
+ {G,b,b,G,G,b,b,G,},
+ {b,b,b,G,G,b,b,b,},
+ }};
+
+SpriteDef galax1_2=
+ {{ /* GALAX 1 */
+ {G,b,b,b,b,b,b,G,},
+ {b,G,b,b,b,b,G,b,},
+ {b,b,G,G,G,G,b,b,},
+ {b,G,b,G,G,b,G,b,},
+ {b,G,G,G,G,G,G,b,},
+ {G,b,G,b,b,G,b,G,},
+ {b,G,b,G,G,b,G,b,},
+ {b,b,G,b,b,G,b,b,},
+ }};
+
+SpriteDef galax2_1=
+ {{ /* GALAX 2 */
+ {b,b,b,M,M,b,b,b,},
+ {b,b,M,M,M,M,b,b,},
+ {b,M,b,M,M,b,M,b,},
+ {b,M,M,M,M,M,M,b,},
+ {b,M,M,M,M,M,M,b,},
+ {M,b,M,M,M,M,b,M,},
+ {M,b,b,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R,},
+ {b,R,R,R,R,R,R,b,},
+ {b,b,b,R,R,b,b,b,},
+ }};
+
+SpriteDef safeshipspr1_1=
+ {{ /* SAFESHIP */
+ {b,b,b,W,W,b,b,b,},
+ {b,b,W,W,W,W,b,b,},
+ {b,b,W,W,W,W,b,b,},
+ {b,b,b,W,W,b,b,b,},
+ {b,W,b,W,W,b,W,b,},
+ {b,W,W,W,W,W,W,b,},
+ {b,W,W,W,W,W,W,b,},
+ {b,W,b,W,W,b,W,b,},
+ }};
+
+SpriteDef safeshipspr1_2=
+ {{ /* SAFESHIP */
+ {b,b,b,R,R,b,b,b,},
+ {b,b,R,R,R,R,b,b,},
+ {b,b,R,R,R,R,b,b,},
+ {b,b,b,R,R,b,b,b,},
+ {b,R,b,R,R,b,R,b,},
+ {b,R,R,R,R,R,R,b,},
+ {b,R,R,R,R,R,R,b,},
+ {b,R,b,R,R,b,R,b,},
+ }};
+
+
+#undef b
+#undef W
+#undef R
+#undef G
+#undef B
+#undef Y
+#undef C
+#undef M
+
+
+
+
+SpriteAnim anim[NOSPR]=
+ {
+ { /* SHIP */
+ 4,
+ {
+ &shipspr1_1,
+ &shipspr1_2,
+ &shipspr1_3,
+ &shipspr1_4,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ }
+ },
+ { /* ALIEN BULLET */
+ 1,
+ {
+ &alienbullet1,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ }
+ },
+ { /* SHIP BULLET */
+ 1,
+ {
+ &shipbullet1,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ }
+ },
+ { /* GALAX1 */
+ 2,
+ {
+ &galax1_1,
+ &galax1_2,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ }
+ },
+ { /* GALAX2 */
+ 2,
+ {
+ &galax2_1,
+ &galax2_2,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ }
+ },
+ { /* GALAX3 */
+ 4,
+ {
+ &galax3_1,
+ &galax3_2,
+ &galax3_3,
+ &galax3_4,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ }
+ },
+ { /* FLAG1 */
+ 1,
+ {
+ &flag1,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ }
+ },
+ { /* FLAG10 */
+ 1,
+ {
+ &flag10,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ }
+ },
+ { /* ENTITY1 */
+ 4,
+ {
+ &entity1_1,
+ &entity1_2,
+ &entity1_3,
+ &entity1_4,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ }
+ },
+ { /* ALIENUFO */
+ 4,
+ {
+ &alienufo1_1,
+ &alienufo1_2,
+ &alienufo1_3,
+ &alienufo1_4,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ }
+ },
+ { /* SAFESHIP */
+ 2,
+ {
+ &safeshipspr1_1,
+ &safeshipspr1_2,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ }
+ },
+ };
+
+SpriteDef *spr[NOSPR]=
+ {
+ &shipspr1_1,
+ &alienbullet1,
+ &shipbullet1,
+ &galax1_1,
+ &galax2_1,
+ &galax3_1,
+ &flag1,
+ &flag10,
+ &entity1_1,
+ &safeshipspr1_1,
+ };