Skip to content

Commit f9ddbd7

Browse files
committed
fixed the draw button
1 parent 5c973bc commit f9ddbd7

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

Client/Atari/FujiLlama.bas

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -153,11 +153,11 @@ data byte = 255,252,240,240,192,192,192,0,
153153
data byte = 255,63,15,15,3,3,3,0,
154154
data byte = 0,192,192,192,240,240,252,255,
155155
data byte = 0,3,3,3,15,15,63,255,
156-
data byte = 255,252,240,240,192,192,192,0,
156+
data byte = 10,47,191,181,183,183,183,183,
157157
data byte = 12,12,12,12,252,252,12,12,
158158
data byte = 12,12,12,12,15,15,12,12,
159159
data byte = 0,0,0,0,255,255,12,12,
160-
data byte = 0,48,116,220,220,220,116,48,
160+
data byte = 128,224,248,248,120,120,120,120,
161161
data byte = 5,21,31,31,126,126,126,126,
162162
data byte = 85,85,255,239,238,238,238,238,
163163
data byte = 64,80,208,212,244,244,244,244,
@@ -178,7 +178,7 @@ data byte = 16,48,184,236,236,236,184,48,
178178
data byte = 106,106,106,106,255,255,0,0,
179179
data byte = 170,170,170,170,255,255,0,0,
180180
data byte = 0,0,0,0,0,32,32,128,
181-
data byte = 0,32,236,184,184,184,236,32,
181+
data byte = 183,183,183,183,181,191,47,10,
182182
data byte = 0,0,0,80,0,0,0,0,
183183
data byte = 0,0,0,0,15,15,12,12,
184184
data byte = 0,0,0,0,252,252,12,12,
@@ -188,7 +188,7 @@ data byte = 164,164,164,164,255,255,0,0,
188188
data byte = 0,8,8,32,32,32,128,128,
189189
data byte = 0,0,0,0,168,0,0,0,
190190
data byte = 12,12,12,12,255,255,0,0,
191-
data byte = 0,0,0,0,0,0,0,0
191+
data byte = 120,120,120,120,248,248,224,128
192192

193193
' DLI Colors
194194
data background_color()B.=$0,0,0
@@ -222,7 +222,7 @@ next i
222222
ok=0
223223
' Player and table selection variables
224224
TableNumber=0
225-
myName$="SIMON" ' Default name will get this from App key when I learn how to do that
225+
myName$="TESTER" ' Default name will get this from App key when I learn how to do that
226226
gameover=0
227227
shown=0
228228

@@ -293,7 +293,7 @@ DO
293293
ENDIF
294294
if playerStatus(PlayerIndex)<>1
295295
@readGameState
296-
if LastMovePlayed$<>PreviousLastMovePlayed$ then @DrawGameState
296+
@DrawGameState
297297
ENDIF
298298
@ReadKeyPresses
299299
if GameStatus(tablenumber)=4 then @ShowResults
@@ -790,7 +790,7 @@ PROC ReadGameState
790790
EXIT
791791
ENDIF
792792
loop
793-
if LastMovePlayed$=PreviousLastMovePlayed$ then exit
793+
if LastMovePlayed$=PreviousLastMovePlayed$ and playerStatus(PlayerIndex)=1 then exit
794794
@NInput &dummy$ ' Read the Start of the Player Array
795795
INDEX=0
796796
do ' Loop reading key/value pairs until we reach the Start of the Player Array
@@ -941,7 +941,7 @@ PROC DrawGameState
941941
if PlayerStatus(PlayerIndex)=1
942942
@POS 1,24: @PrintUpper & LastMovePlayed$[1,23]
943943
@Print &", YOUR TURN NOW"
944-
@POS 2,20: @Print &"DRAW"
944+
@printDrawButton 2,20
945945
@printFoldButton 37,20
946946
ENDIF
947947
@DrawBufferEnd
@@ -1123,8 +1123,8 @@ ENDPROC
11231123

11241124
PROC PrintDrawButton _col _row
11251125
XXX=_col:YYY=_row
1126-
@POS XXX,YYY:@PrintByte 247:@PrintByte 248
1127-
@POS XXX,YYY+1:@PrintByte 249:@PrintByte 250
1126+
@POS XXX,YYY:@PrintByte 220:@PrintByte 224
1127+
@POS XXX,YYY+1:@PrintByte 245:@PrintByte 255
11281128
ENDPROC
11291129

11301130
PROC PrintFoldButton _col _row

Client/Atari/bin/FujiLlama.xex

46 Bytes
Binary file not shown.

Client/Atari/llama-fontmaker.fnt

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)