X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Fvgmtest.c;h=3aa5cd0ceaef7d22111195874eb1b2e9775241d3;hb=7139dee03afda7a2c2fcce4f397a996402630885;hp=c3a3c176c7b1065d751bbc267ca695c3f643c323;hpb=2accbf2668001e82a8fec1e75f37c195996186b0;p=16.git diff --git a/src/vgmtest.c b/src/vgmtest.c index c3a3c176..3aa5cd0c 100755 --- a/src/vgmtest.c +++ b/src/vgmtest.c @@ -1,5 +1,5 @@ /* Project 16 Source Code~ - * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover + * Copyright (C) 2012-2017 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover * * This file is part of Project 16. * @@ -48,7 +48,7 @@ UINT8 OPL2_ReadStatus(void) void main(int argc, char *argv[]) { - global_game_variables_t gvar; + //++++global_game_variables_t gvar; VGM_FILE pee[9]; player_t player[MaxPlayers]; char *bakapee; @@ -57,18 +57,17 @@ main(int argc, char *argv[]) if(argv[1]) bakapee = argv[1]; else bakapee = "data/adlib.vgm"; printf("%x\n", OpenVGMFile(bakapee, &pee[0])); - IN_Startup(); - IN_Default(0,&player,ctrl_Joystick); + //IN_Startup(); IN_Default(0,&player,ctrl_Keyboard1); InitEngine(); PlayMusic(&pee[0]); - while(!IN_KeyDown(sc_Escape)) - //while(!kbhit()) + //while(!IN_KeyDown(sc_Escape)) + while(!kbhit()) { IN_ReadControl(0,&player); UpdateSoundEngine(); } StopMusic(); FreeVGMFile(&pee[0]); - IN_Shutdown(); DeinitEngine(); + //IN_Shutdown(); }