X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2F16.c;h=10aad071ee088930de3f96cfc7ff7599e8d325ae;hb=535f618e80aa6546e61907026b2451e123655a5b;hp=fac98bf97290465e1dbcf6e814c38c9db4fc8f9a;hpb=f1605e99959acfb32b36ae875601fc14dd670742;p=16.git diff --git a/src/16.c b/src/16.c index fac98bf9..10aad071 100755 --- a/src/16.c +++ b/src/16.c @@ -1,5 +1,5 @@ /* Project 16 Source Code~ - * Copyright (C) 2012-2015 sparky4 & pngwen & andrius4669 + * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669 & joncampbell123 * * This file is part of Project 16. * @@ -22,16 +22,19 @@ #include "src/16.h" +global_game_variables_t gvar; +engi_stat_t engi_stat; +const char *cpus; +byte *dpal, *gpal; +player_t player[MaxPlayers]; +//page_t screen; + void main(int argc, char *argv[]) { - global_game_variables_t gvar; - engi_stat_t engi_stat; - const char *cpus; - byte *dpal, *gpal; - player_t player[MaxPlayers]; - + //screen = modexDefaultPage(); engi_stat = ENGI_RUN; + //textInit(); /* save the palette */ dpal = modexNewPal(); @@ -46,6 +49,7 @@ main(int argc, char *argv[]) modexPalBlack(); //so player will not see loadings~ IN_Startup(); IN_Default(0,&player,ctrl_Joystick); + //modexprint(&screen, 32, 32, 1, 2, 0, "a", 1); while(ENGI_EXIT != engi_stat) { IN_ReadControl(0,&player); @@ -58,8 +62,10 @@ main(int argc, char *argv[]) case 2: cpus = "386 or newer"; break; default: cpus = "internal error"; break; } - printf("detected CPU type: %s\n", cpus); VGAmodeX(0, &gvar); + printf("Project 16 16.exe. This is supposed to be the actual finished game executable!\n"); + printf("version %s\n", VERSION); + printf("detected CPU type: %s\n", cpus); IN_Shutdown(); modexFadeOn(4, dpal); }