gvar->handle.profilehandle = open("profile.16w", O_CREAT | O_WRONLY | O_TEXT);\r
#endif\r
#endif\r
-// unlink("debug0.16");\r
-// gvar->handle.showmemhandle = open("debug0.16", O_CREAT | O_WRONLY | O_TEXT);\r
+/* CAL_SetupMapFile ();\r
+ CAL_SetupGrFile ();\r
+ CAL_SetupAudioFile ();*/\r
/*++++\r
// MDM begin - (GAMERS EDGE)\r
//\r
\r
#ifndef NOGRAPHICS\r
CAL_SetupGrFile ();\r
-#endif\r
+#endif*/\r
\r
- mapon = -1;\r
- ca_levelbit = 1;\r
- ca_levelnum = 0;\r
+ gvar->ca.mapon = -1;\r
+ gvar->ca.ca_levelbit = 1;\r
+ gvar->ca.ca_levelnum = 0;\r
\r
- drawcachebox = CAL_DialogDraw;\r
+/* drawcachebox = CAL_DialogDraw;\r
updatecachebox = CAL_DialogUpdate;\r
finishcachebox = CAL_DialogFinish;*/\r
}\r
//\r
// free graphics\r
//\r
- CA_FreeGraphics ();\r
-}\r
-\r
-\r
-void CA_SetGrPurge (void)\r
-{\r
- int i;\r
-\r
-//\r
-// free graphics\r
-//\r
- for (i=0;i<NUMCHUNKS;i++)\r
- if (grsegs[i])\r
- MM_SetPurge (&(memptr)grsegs[i],3);\r
+ CA_SetGrPurge ();\r
}*/\r
\r
\r