From: sparky4 Date: Thu, 16 Feb 2017 18:38:57 +0000 (-0600) Subject: i need to migrate to the memory manager stuff sometime X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=3e25a76b03a0d9e84ea689517af7fd681d26e96e;p=16.git i need to migrate to the memory manager stuff sometime --- 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 ../../