]> 4ch.mooo.com Git - 16.git/commitdiff
__seguse.txt added to show _seg usage also OpenVGMFile needs to be ported to 16_snd...
authorsparky4 <sparky4@cock.li>
Mon, 13 Mar 2017 17:48:47 +0000 (12:48 -0500)
committersparky4 <sparky4@cock.li>
Mon, 13 Mar 2017 17:48:47 +0000 (12:48 -0500)
DEBUG.16W [deleted file]
HEAP.16W [deleted file]
MEMINFO.16W [deleted file]
MMDUMP.16W [deleted file]
makefile
src/0.c
src/lib/16_tail.h
src/lib/scroll16.h
src/lib/testpatt.h
src/test.c
src/zcroll.c

diff --git a/DEBUG.16W b/DEBUG.16W
deleted file mode 100755 (executable)
index 3a895a4..0000000
--- a/DEBUG.16W
+++ /dev/null
@@ -1,210 +0,0 @@
-\e[0mSeg:0      Size:9028       Owner:0x0\r
-\e[41;31m+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\e[0m\e[42;32m0000\r
-\e[0m\e[0mSeg:2427       Size:39 Owner:0x0\r
-\e[41;31m++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:244e       Size:256        Owner:0x1d50\r
-\e[44;34m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:254e       Size:256        Owner:0x1ba6\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:264e       Size:256        Owner:0x1ba8\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:274e       Size:256        Owner:0x1baa\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:284e       Size:256        Owner:0x1bac\r
-\e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:294e       Size:256        Owner:0x1bae\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:2a4e       Size:256        Owner:0x1bb0\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:2b4e       Size:256        Owner:0x1bb2\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:2c4e       Size:256        Owner:0x1bb4\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:2d4e       Size:256        Owner:0x1bb6\r
-\e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:2e4e       Size:256        Owner:0x1bb8\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:2f4e       Size:256        Owner:0x1bba\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:304e       Size:256        Owner:0x1bbc\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:314e       Size:256        Owner:0x1bbe\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:324e       Size:256        Owner:0x1bc0\r
-\e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:334e       Size:256        Owner:0x1bc2\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:344e       Size:256        Owner:0x1bc4\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:354e       Size:256        Owner:0x1bc6\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:364e       Size:256        Owner:0x1bc8\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:374e       Size:256        Owner:0x1bca\r
-\e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:384e       Size:256        Owner:0x1bcc\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:394e       Size:256        Owner:0x1bce\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3a4e       Size:256        Owner:0x1bd0\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3b4e       Size:256        Owner:0x1bd2\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3c4e       Size:256        Owner:0x1bd4\r
-\e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3d4e       Size:256        Owner:0x1bd6\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3e4e       Size:256        Owner:0x1bd8\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3f4e       Size:256        Owner:0x1bda\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:404e       Size:256        Owner:0x1bdc\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:414e       Size:256        Owner:0x1bde\r
-\e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:424e       Size:256        Owner:0x1be0\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:434e       Size:256        Owner:0x1be2\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:444e       Size:256        Owner:0x1be4\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:454e       Size:256        Owner:0x1be6\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:464e       Size:256        Owner:0x1be8\r
-\e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:474e       Size:256        Owner:0x1bea\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:484e       Size:256        Owner:0x1bec\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:494e       Size:256        Owner:0x1bee\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4a4e       Size:256        Owner:0x1bf0\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4b4e       Size:256        Owner:0x1bf2\r
-\e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4c4e       Size:256        Owner:0x1bf4\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4d4e       Size:256        Owner:0x1bf6\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4e4e       Size:256        Owner:0x1bf8\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4f4e       Size:256        Owner:0x1bfa\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:504e       Size:256        Owner:0x1bfc\r
-\e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:514e       Size:256        Owner:0x1bfe\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:524e       Size:256        Owner:0x1c00\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:534e       Size:256        Owner:0x1c02\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:544e       Size:256        Owner:0x1c04\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:554e       Size:256        Owner:0x1c06\r
-\e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:564e       Size:256        Owner:0x1c08\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:574e       Size:256        Owner:0x1c0a\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:584e       Size:256        Owner:0x1c0c\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:594e       Size:256        Owner:0x1c0e\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5a4e       Size:256        Owner:0x1c10\r
-\e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5b4e       Size:256        Owner:0x1c12\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5c4e       Size:256        Owner:0x1c14\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5d4e       Size:256        Owner:0x1c16\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5e4e       Size:256        Owner:0x1c18\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5f4e       Size:256        Owner:0x1c1a\r
-\e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:604e       Size:256        Owner:0x1c1c\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:614e       Size:256        Owner:0x1c1e\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:624e       Size:256        Owner:0x1c20\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:634e       Size:256        Owner:0x1c22\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:644e       Size:256        Owner:0x1c24\r
-\e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:654e       Size:256        Owner:0x1c26\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:664e       Size:256        Owner:0x1c28\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:674e       Size:256        Owner:0x1c2a\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:684e       Size:256        Owner:0x1c2c\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:694e       Size:256        Owner:0x1c2e\r
-\e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6a4e       Size:256        Owner:0x1c30\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6b4e       Size:256        Owner:0x1c32\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6c4e       Size:256        Owner:0x1c34\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6d4e       Size:256        Owner:0x1c36\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6e4e       Size:256        Owner:0x1c38\r
-\e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6f4e       Size:256        Owner:0x1c3a\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:704e       Size:256        Owner:0x1c3c\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:714e       Size:256        Owner:0x1c3e\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:724e       Size:256        Owner:0x1c40\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:734e       Size:256        Owner:0x1c42\r
-\e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:744e       Size:256        Owner:0x1c44\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:754e       Size:256        Owner:0x1c46\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:764e       Size:256        Owner:0x1c48\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:774e       Size:256        Owner:0x1c4a\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:784e       Size:256        Owner:0x1c4c\r
-\e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:794e       Size:256        Owner:0x1c4e\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7a4e       Size:256        Owner:0x1c50\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7b4e       Size:256        Owner:0x1c52\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7c4e       Size:256        Owner:0x1c54\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7d4e       Size:256        Owner:0x1c56\r
-\e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7e4e       Size:256        Owner:0x1c58\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7f4e       Size:256        Owner:0x1c5a\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:804e       Size:256        Owner:0x1c5c\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:814e       Size:256        Owner:0x1c5e\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:824e       Size:256        Owner:0x1c60\r
-\e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:834e       Size:256        Owner:0x1c62\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:844e       Size:256        Owner:0x1c64\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:854e       Size:256        Owner:0x1c66\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:864e       Size:256        Owner:0x1c68\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:874e       Size:256        Owner:0x1c6a\r
-\e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:884e       Size:256        Owner:0x1c6c\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:894e       Size:273        Owner:0x1b7c\r
-\e[44;34m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:9d8d       Size:25202      Owner:0x0\r
-\e[41;31m++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\e[0m
\ No newline at end of file
diff --git a/HEAP.16W b/HEAP.16W
deleted file mode 100755 (executable)
index bcb93b4..0000000
--- a/HEAP.16W
+++ /dev/null
@@ -1,47 +0,0 @@
-\r
-       == default ==\r
-\r
-  USED block at 24490016 of size 26\r
-  USED block at 24490030 of size 26\r
-  FREE block at 2449004a of size 38914\r
-  USED block at 2449984c of size 136\r
-  USED block at 244998d4 of size 20\r
-  FREE block at 244998e8 of size 7972\r
-OK - end of heap\r
-\r
-       == near ==\r
-\r
-  USED block at 1448edc6 of size 12\r
-  USED block at 1448edd2 of size 332\r
-  USED block at 1448ef1e of size 52\r
-  USED block at 1448ef52 of size 20\r
-  USED block at 1448ef66 of size 20\r
-  USED block at 1448ef7a of size 20\r
-  USED block at 1448ef8e of size 20\r
-  USED block at 1448efa2 of size 20\r
-  USED block at 1448efb6 of size 4166\r
-OK - end of heap\r
-\r
-       == far ==\r
-\r
-  USED block at 24490016 of size 26\r
-  USED block at 24490030 of size 26\r
-  USED block at 2449004a of size 38914\r
-  USED block at 2449984c of size 136\r
-  USED block at 244998d4 of size 20\r
-  USED block at 244998e8 of size 7972\r
-OK - end of heap\r
-\r
-Memory Type         Total      Used       Free\r
-----------------  --------   --------   --------\r
-Default                   47094        208       46886\r
-Near              4662         496       4166\r
-Far               47094        208       46886\r
-----------------  --------   --------   --------\r
-HC_coreleft = 4164\r
-HC_farcoreleft = 458752\r
-HC_GetFreeSize = 46886\r
-HC_GetNearFreeSize = 4166\r
-HC_GetFarFreeSize = 46886\r
-memavl = 4164\r
-stackavail = 31606\r
diff --git a/MEMINFO.16W b/MEMINFO.16W
deleted file mode 100755 (executable)
index e69de29..0000000
diff --git a/MMDUMP.16W b/MMDUMP.16W
deleted file mode 100755 (executable)
index 4893d8b..0000000
Binary files a/MMDUMP.16W and /dev/null differ
index 2632b8b803171052d8efb12c46cc8071c73f3816..2a24bf8219aab899a8063bb750194bf488e85caf 100755 (executable)
--- a/makefile
+++ b/makefile
@@ -31,6 +31,8 @@
 # serial output is plain text ASCII.
 DEBUGSERIAL=1
 
+DELLOGFILE=1
+
 #192x144
 #wwww will add these
 !ifdef __LINUX__
@@ -106,7 +108,7 @@ UPXQ=-qqq
 #
 S_FLAGS=-sg -st -of+ -zu -zdf -zff -zgf -k32768
 Z_FLAGS=-zk0 -zc -zp8 -zm
-O_FLAGS=-opn -oe=24 -oil+ -outback -ohm                                -zp4##-ei -or
+O_FLAGS=-opnr -oe=24 -oil+ -outback -ohm                               -zp4##-ei
 T_FLAGS=-bt=dos -wx -m$(MEMORYMODE) -0 -fpi87 -d1 -fo=.$(OBJ) ##-e=65536
 
 DBUGFLAGS=-fm=$^&.meh -fd=$^&
@@ -388,13 +390,15 @@ clean: .symbolic
        @if exist *.smp $(REMOVECOMMAND) *.smp
        @if exist *.SMP $(REMOVECOMMAND) *.SMP
        @if exist *.hed $(REMOVECOMMAND) *.hed
-       @if exist *.mah $(REMOVECOMMAND) *.mah
-       @if exist *.MAH $(REMOVECOMMAND) *.MAH
+       @if exist *.meh $(REMOVECOMMAND) *.meh
+       @if exist *.MEH $(REMOVECOMMAND) *.MEH
        @if exist *.err $(REMOVECOMMAND) *.err
        @if exist TC*.SWP $(REMOVECOMMAND) TC*.SWP
-#      @if exist *.16W $(REMOVECOMMAND) *.16W
-#      @if exist *.16B $(REMOVECOMMAND) *.16B
-
+!ifeq DELLOGFILE 1
+       @if exist *.16W $(REMOVECOMMAND) *.16W
+       @if exist *.16B $(REMOVECOMMAND) *.16B
+       @if exist *.L16 $(REMOVECOMMAND) *.L16
+!endif
 #      @$(COPYCOMMAND) $(SRC)exmmtest.c $(EXMMTESTDIR)$(SRC)
 #      @$(COPYCOMMAND) $(SRCLIB)16_mm.* $(EXMMTESTDIR)$(SRCLIB)
 #      @$(COPYCOMMAND) $(SRCLIB)16_head.* $(EXMMTESTDIR)$(SRCLIB)
diff --git a/src/0.c b/src/0.c
index 901d8ef77492b5680e8dffd785941feac7e60b2a..28d5ff052871dd9d7c2ff40a7e80c9abfd985809 100755 (executable)
--- a/src/0.c
+++ b/src/0.c
@@ -34,6 +34,7 @@
 \r
 #define INITTNUM 1\r
 \r
+map_view_t mv[4];\r
 map_t map;//junk var\r
 \r
 int main(int argc,char **argv)\r
index bb190511a2125edf7ff9a728ab2c9e5149e3fca0..6bd889fddd4b1b77447c0b72b4f51ccdb932380b 100755 (executable)
 #define TAIL_PANKEYFUNZC \\r
        ZC_panPageManual(&gvar.mv, &gvar.player, 0);\r
 \r
-#define TAIL_FUNCTIONKEYSHOWMV \\r
+#define FUNCTIONKEYSHOWMV \\r
        if(IN_KeyDown(1+1)){ gvar.video.sp=0; ZC_ShowMV(&gvar.mv, 0, 0); } \\r
        if(IN_KeyDown(2+1)){ gvar.video.sp=1; ZC_ShowMV(&gvar.mv, 0, 0); } \\r
        if(IN_KeyDown(3+1)){ gvar.video.sp=2; ZC_ShowMV(&gvar.mv, 0, 1); } \\r
        if(IN_KeyDown(4+1)){ gvar.video.sp=3; ZC_ShowMV(&gvar.mv, 0, 1); }\r
 \r
 #define TAIL_FUNCTIONKEYDRAWJUNK \\r
-       TAIL_FUNCTIONKEYSHOWMV \\r
+       FUNCTIONKEYSHOWMV \\r
        TAIL_FUNCTIONKEYDRAWJUNKNOMV\r
 \r
 #define TAIL_FUNCTIONKEYDRAWJUNKNOMV \\r
index 7f146fe4c00f513b25a8e2dc6f4c537a24bd7b68..8a7cbb7ea744e68b91e2fc6622591dfea9deb09e 100755 (executable)
@@ -79,7 +79,7 @@
 //printf("mv[0]txy: %dx%d      ", mv[0].tx, mv[0].ty); printf("mv[1]txy: %dx%d", mv[1].tx, mv[1].ty);\r
 #define SCROLLEXITMESG         printf("page[0]dxy: %dx%d", gvar.video.page[0].dx, gvar.video.page[0].dy);\\r
        printf("\n\n");\\r
-       printf("gvar.player vars:\n");\\r
+       printf("player vars:\n");\\r
        printf("        xy: %dx%d", gvar.player[0].enti.x, gvar.player[0].enti.y); printf("     txy: %dx%d", gvar.player[0].enti.tx, gvar.player[0].enti.ty); printf("  triggxy: %dx%d", gvar.player[0].enti.triggerx, gvar.player[0].enti.triggery); printf("  value: %d\n", gvar.mv[1].map->layerdata[0].data[(gvar.player[0].enti.triggerx-1)+(map.width*(gvar.player[0].enti.triggery-1))]);\\r
        printf("        hp: %d", (gvar.player[0].enti.hp));     printf("        q: %u", gvar.player[0].enti.q); printf("        info.dir: %u", gvar.player[0].info.dir);        printf("        d: %u", gvar.player[0].enti.d); printf("        dire: %u", gvar.player[0].enti.dire);\\r
                printf("        pdir: %u\n", gvar.player[0].pdir); printf("     delay=%u", gvar.player[0].enti.spri.delay);\\r
index 0b9086183aae20316cb09a7efdb209c4472fc880..bd73e577e492eb0b6722f8368897111ef0ce0e7a 100755 (executable)
@@ -68,16 +68,16 @@ DRAWOTHERCORNERBOX_BOTTOMLEFT; \
 DRAWOTHERCORNERBOX_BOTTOMRIGHT;\r
 \r
 #define TESTBG1 \\r
-       modexClearRegion(&gvar.video.page[0], 0, 0, gvar.video.page[0].width, gvar.video.page[0].height, 15); \\r
-       modexClearRegion(&gvar.video.page[0], 16, 16, gvar.video.page[0].sw, gvar.video.page[0].sh, 128); \\r
-       modexClearRegion(&gvar.video.page[0], 32, 32, gvar.video.page[0].sw-32, gvar.video.page[0].sh-32, 42); \\r
-       modexClearRegion(&gvar.video.page[0], 48, 48, gvar.video.page[0].sw-64, gvar.video.page[0].sh-64, 128);\r
+       modexClearRegion(&gvar.video.page[0], 0, 0, gvar.video.page[0].width, gvar.video.page[0].height, 1); \\r
+       modexClearRegion(&gvar.video.page[0], 16, 16, gvar.video.page[0].sw, gvar.video.page[0].sh, 2); \\r
+       modexClearRegion(&gvar.video.page[0], 32, 32, gvar.video.page[0].sw-32, gvar.video.page[0].sh-32, 3); \\r
+       modexClearRegion(&gvar.video.page[0], 48, 48, gvar.video.page[0].sw-64, gvar.video.page[0].sh-64, 2);\r
 \r
 #define TESTBG2 \\r
-       modexClearRegion(&gvar.video.page[1], 0, 0, gvar.video.page[1].width, gvar.video.page[1].height, 20); \\r
-       modexClearRegion(&gvar.video.page[1], 16, 16, gvar.video.page[1].sw, gvar.video.page[1].sh, 133); \\r
-       modexClearRegion(&gvar.video.page[1], 32, 32, gvar.video.page[1].sw-32, gvar.video.page[1].sh-32, 47); \\r
-       modexClearRegion(&gvar.video.page[1], 48, 48, gvar.video.page[1].sw-64, gvar.video.page[1].sh-64, 133);\r
+       modexClearRegion(&gvar.video.page[1], 0, 0, gvar.video.page[1].width, gvar.video.page[1].height, 5); \\r
+       modexClearRegion(&gvar.video.page[1], 16, 16, gvar.video.page[1].sw, gvar.video.page[1].sh, 6); \\r
+       modexClearRegion(&gvar.video.page[1], 32, 32, gvar.video.page[1].sw-32, gvar.video.page[1].sh-32, 7); \\r
+       modexClearRegion(&gvar.video.page[1], 48, 48, gvar.video.page[1].sw-64, gvar.video.page[1].sh-64, 6);\r
 \r
 #define TESTBG12 \\r
        TESTBG1 \\r
index 5464355e3cc262e2eac6579d90daab44d7df8876..a4a7f4891991fbcbd4d56185476cd2f494c9d350 100755 (executable)
@@ -49,6 +49,7 @@ void main(int argc, char *argv[])
        static word paloffset=0;\r
        static global_game_variables_t gvar;\r
 \r
+//     map_view_t mv[4];\r
        map_t map;\r
 \r
        int i, j;\r
index a245efad61b2bc762447c5ec828cb9369175f394..b7e2b7302bb59dd03be3a77432f5db41b5233f98 100755 (executable)
@@ -27,6 +27,7 @@
 \r
 #define FADE\r
 \r
+//map_view_t mv[4];\r
 static map_t map;\r
 float t;\r
 \r
@@ -72,7 +73,7 @@ void main(int argc, char *argv[])
 \r
        // OK, this one takes hellova time and needs to be done in farmalloc or MM_...\r
        //IN CA i think you use CAL_SetupGrFile but i do think we should work together on this part --sparky4\r
-//     gvar.player[0].enti.spri.spritesheet = malloc(sizeof(struct vrs_container));\r
+       //----gvar.player[0].enti.spri.spritesheet = malloc(sizeof(struct vrs_container));\r
 \r
        // create the map\r
 //     fprintf(stderr, "testing map load~      ");\r