]> 4ch.mooo.com Git - 16.git/commitdiff
stack overflow issue with sprite compiling... wwww
authorsparky4 <sparky4@cock.li>
Mon, 11 Apr 2016 15:43:22 +0000 (10:43 -0500)
committersparky4 <sparky4@cock.li>
Mon, 11 Apr 2016 15:43:22 +0000 (10:43 -0500)
data/spri/ED.PAL [new file with mode: 0755]
data/spri/PTMP.PAL [new file with mode: 0755]
data/spri/PTMP1.PAL [new file with mode: 0755]
makefile
spri.bat

diff --git a/data/spri/ED.PAL b/data/spri/ED.PAL
new file mode 100755 (executable)
index 0000000..4e55845
Binary files /dev/null and b/data/spri/ED.PAL differ
diff --git a/data/spri/PTMP.PAL b/data/spri/PTMP.PAL
new file mode 100755 (executable)
index 0000000..5227fbb
Binary files /dev/null and b/data/spri/PTMP.PAL differ
diff --git a/data/spri/PTMP1.PAL b/data/spri/PTMP1.PAL
new file mode 100755 (executable)
index 0000000..b9673a3
Binary files /dev/null and b/data/spri/PTMP1.PAL differ
index 8657cc0c20bb98b77e830b251a0f6003eeaf8236..ff9eecc68368731f74910c0b82c989fc60d52406 100755 (executable)
--- a/makefile
+++ b/makefile
@@ -520,4 +520,5 @@ mx_: .symbolic
        @cd $(PDIR)$(PDIR)
 
 ed: .symbolic
+@cd $(DOSLIBDIR)$(DIRSEP)hw$(DIRSEP)vga && .$(DIRSEP)make.sh
 @call spri.bat
index b28b54d19a09a847002bc72b6602a2fb784e433f..485a523def4ac475ee8e67583f406ae846094b02 100755 (executable)
--- a/spri.bat
+++ b/spri.bat
@@ -1,2 +1,7 @@
-src\lib\doslib\hw\vga\dos86l\pcxsscut -s data\spri\ptmp.sht -hc data\spri\ptmp.h -hp data\spri\demoanim_ptmp_ -i data\ptmp.pcx -p data\spri\ptmp.pal -tc 0x84 -y\r
-src\lib\doslib\hw\vga\dos86l\vrl2vrs -s data\spri\ptmp.sht -hc data\spri\ptmps.h -hp data\spri\demoanim_ptmp_ -o data\spri\ptmp.vrs\r
+rem @echo off\r
+@cd data\spri\r
+@rem src\lib\doslib\hw\vga\dos86l\pcxsscut -s data\spri\%1.sht -hc %1.h -hp _%1_ -i data\%1.pcx -p data\spri\%1.pal -tc 0x84 -y\r
+@rem src\lib\doslib\hw\vga\dos86l\vrl2vrs -s data\spri\%1.sht -hc %1s.h -hp _%1_ -o data\spri\%1.vrs\r
+..\..\src\lib\doslib\hw\vga\dos86l\pcxsscut -s %1.sht -hc %1.h -hp _%1_ -i ..\%1.pcx -p %1.pal -tc 0x84 -y\r
+..\..\src\lib\doslib\hw\vga\dos86l\vrl2vrs -s %1.sht -hc %1s.h -hp _%1_ -o %1.vrs\r
+@cd ..\..\\r