pikuma_6502_nes/atlantico/actor.inc

23 lines
649 B
PHP
Raw Permalink Normal View History

2023-01-25 04:45:50 +00:00
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Enumeration with the different types of actors of our game
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2022-12-05 04:13:27 +00:00
.enum ActorType
NULL = 0
PLAYER = 1
SUBMARINE = 2
AIRPLANE = 3
MISSILE = 4
BOMB = 5
SPRITE0 = 6
2023-01-25 04:45:50 +00:00
PARACHUTE = 7
2022-12-05 04:13:27 +00:00
.endenum
2023-01-25 04:45:50 +00:00
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Struct to hold the data for one actor
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2022-12-05 04:13:27 +00:00
.struct Actor
Type .byte
XPos .byte
YPos .byte
.endstruct