]> 4ch.mooo.com Git - 16.git/commitdiff
added screen width and height value displaying for memory consumtion calculations...
authorsparky4 <sparky4@cock.li>
Wed, 8 Apr 2015 01:20:59 +0000 (20:20 -0500)
committersparky4 <sparky4@cock.li>
Wed, 8 Apr 2015 01:20:59 +0000 (20:20 -0500)
modified:   pcxtest.exe
modified:   scroll.exe
modified:   src/scroll.c
modified:   test.exe
modified:   test2.exe

pcxtest.exe
scroll.exe
src/scroll.c
test.exe
test2.exe

index a972d5307ece7f0994f544e8c2374761208de160..61f6d6f12d0c146050345598b237503ed018aab8 100644 (file)
Binary files a/pcxtest.exe and b/pcxtest.exe differ
index 4f6083f231f6c92b23b58f6aa36c21ccc5e33082..8eb9e1e7950c4bb77dd018f667a31f51410c6d3f 100644 (file)
Binary files a/scroll.exe and b/scroll.exe differ
index f06019ed0914cfafe3dc75685f8a52ca579bdf65..d47b19364220248b395555d1c296a8520c1880d6 100644 (file)
@@ -574,7 +574,7 @@ void main() {
        modexLeave();\r
        setkb(0);\r
        //system("mem /E /P");\r
-       printf("Project 16 scroll.exe\n");\r
+       printf("Project 16 scroll.exe\n");
        printf("tx: %d\n", bg->tx);\r
        printf("ty: %d\n", bg->ty);\r
        printf("player.x: %d", player.x);\r
@@ -592,7 +592,8 @@ void main() {
        printf("Total free: %zu\n", GetFreeSize());
        printf("temporary player sprite 0: http://www.pixiv.net/member_illust.php?mode=medium&illust_id=45556867\n");\r
        printf("temporary player sprite 1: http://www.pixiv.net/member_illust.php?mode=medium&illust_id=44606385\n");\r
-       printf("\n");\r
+       printf("Screen: %dx", screen.width);\r
+       printf("%d\n", screen.height);\r
        //xmsfree(&map);\r
        //xmsfree(bg);\r
        //xmsfree(spri);\r
index 90399227f155fb6ae842b97227f5e8b810c9e4a6..0197de868e2ca136c065167ac072c3af04770642 100644 (file)
Binary files a/test.exe and b/test.exe differ
index 42e957bc80f155cda2fa7a078d446ed439d0c523..38143b0af4ad1feb6da6351f5ade1d2110fc8f2c 100644 (file)
Binary files a/test2.exe and b/test2.exe differ