From 3e25a76b03a0d9e84ea689517af7fd681d26e96e Mon Sep 17 00:00:00 2001 From: sparky4 Date: Thu, 16 Feb 2017 12:38:57 -0600 Subject: [PATCH] i need to migrate to the memory manager stuff sometime --- TODO.md | 2 ++ sparky4.do | 3 --- spri.sh | 7 ++++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/TODO.md b/TODO.md index 256c46ae..2402c78b 100755 --- a/TODO.md +++ b/TODO.md @@ -33,6 +33,8 @@ What needs to be done - [ ] script system for text and interaction - [ ] ====00 IMPORTANT! 00==== AS PART OF FINISHING THE GRAPHICAL LIB. Make a palette manager that updates the display palette with the pallet of images and sprites. in a stack and reuse same colors in the pallette on the image by changing the image's values to the matching color. - Use a little database to keep track of the images loaded and have manipulated the display pallette. +- [ ] migrate from malloc and related to mm stuff + - [ ] fix any bugs found - [ ] make the game wwww diff --git a/sparky4.do b/sparky4.do index db36d406..1aa39f54 100755 --- a/sparky4.do +++ b/sparky4.do @@ -14,9 +14,6 @@ font! ok jis! ... memory segmentation! trying ow2 -update mapreading! to the new system! - replace png with pcx ^^; - so the game can read it~ dro from dosbox dro to vgm get diff --git a/spri.sh b/spri.sh index 172cc06e..4fea5d02 100755 --- a/spri.sh +++ b/spri.sh @@ -1,16 +1,17 @@ #! /bin/bash cd data/spri -if [ ! -f "$1".vrs ]; then +if [ ! -f "$1".vrs ] && [ -f "$1".vrl ] && [ -f "$1".sht ]; then ../../vrl2vrs -s "$1".sht -o "$1".vrs -hc "$1".h -hp _"$1"_ echo "$1".vrs created -# echo "1st condition ok!" +# echo "1st condition ok!" fi if [ -f "$1".sht ]; then ../../pcxsscut -s "$1".sht -hc "$1".h -hp _"$1"_ -i ../"$1".pcx -p "$1".pal -tc 0x"$2" -y # echo "2nd condition ok!" else ../../pcx2vrl -i ../"$1".pcx -o "$1".vrl -p "$1".pal -tc 0x"$2" - echo check if "$1".sht exist! + echo "$1".vrl created +# echo check if "$1".sht exist! # echo "3rd condition ok!" fi cd ../../ -- 2.39.5