mirror of
https://github.com/dschmenk/PLASMA.git
synced 2025-01-13 11:30:10 +00:00
Sprite editor update for toolkit
This commit is contained in:
parent
96a7553ee3
commit
e23419e0c0
Binary file not shown.
@ -6,14 +6,14 @@ include "inc/dcgrutils.plh"
|
||||
|
||||
sysflags restxt1|restxt2|resxtxt1|reshgr1|resxhgr1 // Reserve all the pages
|
||||
|
||||
byte sprinit = $55,$00,$00,$55
|
||||
byte = $05,$AA,$AA,$50
|
||||
byte = $A0,$FF,$FF,$0A
|
||||
byte = $A0,$5F,$F5,$0A
|
||||
byte = $A0,$5F,$F5,$0A
|
||||
byte = $A0,$FF,$FF,$0A
|
||||
byte = $05,$AA,$AA,$50
|
||||
byte = $55,$00,$00,$55
|
||||
//byte sprinit = $55,$00,$00,$55
|
||||
//byte = $05,$AA,$AA,$50
|
||||
//byte = $A0,$FF,$FF,$0A
|
||||
//byte = $A0,$5F,$F5,$0A
|
||||
//byte = $A0,$5F,$F5,$0A
|
||||
//byte = $A0,$FF,$FF,$0A
|
||||
//byte = $05,$AA,$AA,$50
|
||||
//byte = $55,$00,$00,$55
|
||||
byte[40*48] grSprite
|
||||
byte[40*24] dcgrSprite
|
||||
char[64] filename = "Untitled"
|
||||
@ -236,14 +236,13 @@ def dcgrTestView(bounce)#0
|
||||
grView
|
||||
end
|
||||
|
||||
memset(@grSprite, $0505, 40*48)
|
||||
arg = argNext(argFirst)
|
||||
if ^arg
|
||||
memcpy(@filename, arg, ^arg + 1)
|
||||
modified = readFile
|
||||
fin
|
||||
if modified
|
||||
dcgr2gr(8, 8, @sprinit)
|
||||
memset(@grSprite, $0505, 40*48)
|
||||
modified = 0
|
||||
fin
|
||||
grMode(grPage1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user