forked from aburguera/YAP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
VAR.X68
69 lines (45 loc) · 2.77 KB
/
VAR.X68
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
; =============================================================================
; GAME VARS
; =============================================================================
; --- GAME STATE RELATED VARIABLES --------------------------------------------
STACUR DS.W 1 ; CURRENT GAME STATE
STANEXT DS.W 1 ; NEXT GAME STATE
; --- GENERAL PURPOSE VARIABLES -----------------------------------------------
GENFRMCT DS.B 1 ; FRAME COUNTER
; --- PLAYER RELATED VARIABLES ------------------------------------------------
; VARIABLES SPECIFIC FOR PLAYER (NOT IN AGENT DATABLOCK)
PLRLIFE DS.W 1 ; PLAYER'S LIFE
PLRDBLK ; PLACEHOLDER FOR DATABLOCK
; PLAYER VARIABLES
PLRFACE DS.W 1 ; FACE RIGHT OR LEFT
PLRPOSX DS.W 1 ; PLAYER X POSITION (PIXELS)
PLRPOSY DS.L 1 ; PLAYER Y POSITION (PIX, FIX. PNT)
PLRSPDY DS.L 1 ; PLAYER Y SPEED (PIX, FIX. PNT)
; PLAYER COMMANDS
PLRMOT DS.B 1 ; DESIRED MOTION (KBDVAL FORMAT)
; PLAYER PARAMETERS. STORED IN RAM TO REUSE GENERIC AGENT CODE
PLRTYPE DS.B 1 ; SET TO FF
PLRFRMS DS.L 1 ; MSW LEFT FRAME, LSW RIGHT FRAME
PLRSPDX DS.W 1 ; PLAYER X SPEED
; --- MAP RELATED VARIABLES --------------------------------------------------
MAPPOSX DS.W 1 ; CURRENT SCREEN X
MAPPOSY DS.W 1 ; CURRENT SCREEN Y
MAPSCPTR DS.L 1 ; CURRENT SCREEN POINTER
MAPNUMEN DS.W 1 ; NUMBER OF LIVING ENEMIES IN SCR
MAPCMPLT DS.W MAPWIDTH*MAPHEIGH ; FLAGS FOR VISITED/COMPLETED ROOM
; --- GAME OVER RELATED VARIABLES --------------------------------------------
GOVCUROF DS.W 1 ; CURTAIN OFFSET FOR GAME OVER
; --- ATTRACT MODE RELATED VARIABLES -----------------------------------------
ATRPTR DS.L 1 ; POINTER TO CURRENT KEYSTROKE
ATRCTR DS.W 1 ; ATTRACT MODE COUNTER
ATRTUTP DS.L 1 ; POINTER TO TUTORIAL TEXT
; --- AUDIO RELATED VARIABLES ------------------------------------------------
AUDACCSN DS.B 1 ; ACCEPT NEW SOUNDS?
DS.W 0
; --- UTILITY VARIABLES ------------------------------------------------------
UTLRNDIX DS.B 1 ; NEXT INDEX TO RANDOM NUMBER
DS.W 0
*~Font name~Courier New~
*~Font size~10~
*~Tab type~0~
*~Tab size~4~