]> 4ch.mooo.com Git - 16.git/commitdiff
ok wwww
authorsparky4 <sparky4@cock.li>
Wed, 23 Sep 2015 14:51:21 +0000 (09:51 -0500)
committersparky4 <sparky4@cock.li>
Wed, 23 Sep 2015 14:51:21 +0000 (09:51 -0500)
modified:   16.exe
modified:   scroll.exe
modified:   src/16.c
modified:   src/scroll.c

16.exe
scroll.exe
src/16.c
src/scroll.c

diff --git a/16.exe b/16.exe
index 54c5bb42fa3f2b9b7aade533d71faca94aec88ad..1fbbd08fb739fd72a7006c83f537fa65569b44e7 100755 (executable)
Binary files a/16.exe and b/16.exe differ
index 0aaefb0c09615e3cf1aa3ead73a46edc0ad8f30d..eab8720110678add34f6db69425d4db330ee2b34 100755 (executable)
Binary files a/scroll.exe and b/scroll.exe differ
index fac98bf97290465e1dbcf6e814c38c9db4fc8f9a..c9cd55d50093386cec31ab277ae6312ec10fba52 100755 (executable)
--- a/src/16.c
+++ b/src/16.c
 \r
 #include "src/16.h"\r
 \r
+global_game_variables_t gvar;\r
+engi_stat_t engi_stat;\r
+const char *cpus;\r
+byte *dpal, *gpal;\r
+player_t player[MaxPlayers];\r
+//page_t screen;\r
+\r
 void\r
 main(int argc, char *argv[])\r
 {\r
-       global_game_variables_t gvar;\r
-       engi_stat_t engi_stat;\r
-       const char *cpus;\r
-       byte *dpal, *gpal;\r
-       player_t player[MaxPlayers];\r
-\r
+       //screen = modexDefaultPage();\r
        engi_stat = ENGI_RUN;\r
+       //textInit();\r
 \r
        /* save the palette */\r
        dpal = modexNewPal();\r
@@ -46,6 +49,7 @@ main(int argc, char *argv[])
        modexPalBlack();        //so player will not see loadings~\r
        IN_Startup();\r
        IN_Default(0,&player,ctrl_Joystick);\r
+       //modexprint(&screen, 32, 32, 1, 2, 0, "a");\r
        while(ENGI_EXIT != engi_stat)\r
        {\r
                IN_ReadControl(0,&player);\r
@@ -58,8 +62,10 @@ main(int argc, char *argv[])
                case 2: cpus = "386 or newer"; break;\r
                default: cpus = "internal error"; break;\r
        }\r
-       printf("detected CPU type: %s\n", cpus);\r
        VGAmodeX(0, &gvar);\r
+       printf("Project 16 16.exe. This is supposed to be the actual finished game executable!\n");\r
+       printf("version %s\n", VERSION);\r
+       printf("detected CPU type: %s\n", cpus);\r
        IN_Shutdown();\r
        modexFadeOn(4, dpal);\r
 }\r
index 8a078365b8848da24ef6661a5ddeb7216da5131e..02cdd8c621476502a2144f93bf8cddc0aff12ce5 100755 (executable)
@@ -42,8 +42,8 @@ void main()
 {
 //     word panswitch=0, panq=1, pand=0;
        word panpagenum=0; //for panning!
-       int i;
-       static word paloffset=0;
+       unsigned int i;
+       //static word paloffset=0;
        const char *cpus;
        //static int persist_aniframe = 0;    /* gonna be increased to 1 before being used, so 0 is ok for default */