From: sparky4 Date: Fri, 10 Mar 2017 20:14:27 +0000 (-0600) Subject: __seguse.txt added to show _seg usage also OpenVGMFile needs to be ported to 16_snd... X-Git-Url: http://4ch.mooo.com/gitweb/?p=16.git;a=commitdiff_plain;h=5c33a30248aff1745430cd0e926c343242e4c889 __seguse.txt added to show _seg usage also OpenVGMFile needs to be ported to 16_snd.c ][ ca needs huge amounts of work and i should remember what needs to be done soon also i should reverify 16_in.c to make sure it can work with other code of id engine ][ added 1.9 support wwww and fixed 16_vlpal.obj compile error\~ [it was a 8.3 file name extention error it was a simple issue wwww] [going to work on more on 16_in.c] --- diff --git a/src/0.c b/src/0.c index d3c6ba50..ba9ced80 100755 --- a/src/0.c +++ b/src/0.c @@ -102,7 +102,7 @@ int main(int argc,char **argv) vrl_lineoffs = vrl1_vgax_genlineoffsets(vrl_header,buffer+sizeof(*vrl_header),bufsz-sizeof(*vrl_header)); if (vrl_lineoffs == NULL) return 1; - IN_Startup(&gvar); + IN_Startup(); IN_Default(0,&gvar.player,ctrl_Keyboard1); EN_initPlayer(&gvar.player, 0, &gvar.video); @@ -302,7 +302,7 @@ if(!noanim) { } } } - IN_Shutdown(&gvar); + IN_Shutdown(); VGAmodeX(0, 1, &gvar); free(vrl_lineoffs); buffer = NULL; diff --git a/src/inputest.c b/src/inputest.c index 6481ad7b..1ba8b227 100755 --- a/src/inputest.c +++ b/src/inputest.c @@ -34,7 +34,7 @@ main(int argc, char *argv[]) dbg_testcontrolnoisy=1; start_timer(&gvar); //Startup16(&gvar); - IN_Startup(&gvar); + IN_Startup(); //IN_Default(0,&gvar.player,ctrl_Joystick1); //IN_SetControlType(0,&gvar.player,ctrl_Joystick1); IN_Default(0,&gvar.player,ctrl_Keyboard1); @@ -102,7 +102,7 @@ main(int argc, char *argv[]) //IN_Ack(); } } - IN_Shutdown(&gvar); + IN_Shutdown(); //Shutdown16(&gvar); //printf("%u\n", in.Keyboard[sc_Escape]); printf("inputest.exe ");