mirror of
https://github.com/a2-4am/pitch-dark.git
synced 2025-01-01 14:31:16 +00:00
move to text/ directory for all game descriptions
This commit is contained in:
parent
e38436ed8d
commit
ea47d16d7f
Binary file not shown.
BIN
res/pitchdark.po
BIN
res/pitchdark.po
Binary file not shown.
@ -11,6 +11,9 @@
|
||||
;
|
||||
|
||||
!zone {
|
||||
kGameRootDirectory ; length-prefixed pathname of where game subdirectories are stored
|
||||
!byte 14
|
||||
!raw "/PITCH.DARK/Z/" ; TODO use relative path ('Z/') for final release
|
||||
.keys
|
||||
!byte $D0,ID_PLAY ; P
|
||||
!byte $F0,ID_PLAY ; p
|
||||
|
14
src/config.a
14
src/config.a
@ -20,12 +20,9 @@
|
||||
kNumberOfGames = 25
|
||||
gCurrentGame
|
||||
!byte $FD ; set at runtime
|
||||
kGameRootDirectory ; length-prefixed pathname of where game subdirectories are stored
|
||||
!byte 14
|
||||
!raw "/PITCH.DARK/Z/" ; TODO use relative path ('Z/') for final release
|
||||
.infoFilename ; length-prefixed partial pathname of game info file, starting with '/' because reasons
|
||||
kTextRootDirectory
|
||||
!byte 5
|
||||
!raw "/INFO"
|
||||
!raw "TEXT/"
|
||||
GAMES ; length of this array must = kNumberOfGames, there is no range checking
|
||||
!word .ballyhoo
|
||||
!word .cutthroats
|
||||
@ -162,8 +159,8 @@ addrVersions
|
||||
;------------------------------------------------------------------------------
|
||||
LoadGameInfo
|
||||
jsr ResetPath
|
||||
lda #<kGameRootDirectory
|
||||
ldy #>kGameRootDirectory
|
||||
lda #<kTextRootDirectory
|
||||
ldy #>kTextRootDirectory
|
||||
jsr AddToPath
|
||||
lda gCurrentGame
|
||||
asl
|
||||
@ -171,9 +168,6 @@ LoadGameInfo
|
||||
lda GAMES,x
|
||||
ldy GAMES+1,x
|
||||
jsr AddToPath
|
||||
lda #<.infoFilename
|
||||
ldy #>.infoFilename
|
||||
jsr AddToPath
|
||||
|
||||
jsr LoadFile
|
||||
!word gPathname
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
!cpu 6502
|
||||
*=$2000
|
||||
!to "../build/QUIT.SYSTEM#FF2000",plain
|
||||
|
||||
lda $c083
|
||||
lda $c083
|
||||
@ -76,6 +77,6 @@ prefix_e
|
||||
|
||||
filename
|
||||
!byte (filename_e-filename)-1
|
||||
!text "BIN/PITCHDRK.SYSTEM"
|
||||
!text "PITCHDRK.SYSTEM"
|
||||
filename_e
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user