mirror of
https://github.com/dschmenk/PLASMA.git
synced 2025-04-09 16:40:38 +00:00
Prep for generic sprite compilation
This commit is contained in:
parent
fee8eabd36
commit
00d0956a19
@ -201,12 +201,7 @@ def dcgrRect(x, y, w, h)#0
|
||||
dcgrHLin(x, x2, v)
|
||||
next
|
||||
end
|
||||
////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Test Harness //
|
||||
// //
|
||||
////////////////////////////////////////////////////////////////
|
||||
def compileSprite#0
|
||||
def dcgrCompSprite#0
|
||||
byte i
|
||||
|
||||
for i = 0 to 6
|
||||
@ -228,6 +223,11 @@ def compileSprite#0
|
||||
dcgrMemBl7(sprite7w, i * SPR_HEIGHT, sprite7w, SPR_HEIGHT, sprite7msk[i], sprite7span)
|
||||
next
|
||||
end
|
||||
////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Test Harness //
|
||||
// //
|
||||
////////////////////////////////////////////////////////////////
|
||||
def dcgrTest#0
|
||||
word i, j, k, i7, im7, k7, km7, s7w, inci, incj, inck
|
||||
word backblk, backspan
|
||||
@ -334,7 +334,7 @@ def dcgrTest#0
|
||||
end
|
||||
|
||||
dcgrMode(0)
|
||||
compileSprite
|
||||
dcgrCompSprite
|
||||
dcgrTest
|
||||
dcgrMode(-1)
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user