extern int maptype;
extern int editoractive;
extern int editorpathtype;
-extern TGAImageRec texture;
+extern ImageRec texture;
extern float hostiletime;
{
LOGFUNC;
//Load Image
- unsigned char fileNamep[256];
- CopyCStringToPascal(fileName, fileNamep);
- bool opened;
- opened = upload_image(fileNamep, 1);
+ bool opened = upload_image(fileName);
float alphanum;
//Is it valid?
}
/********************> Tick() <*****/
-extern bool save_image(const char * fname);
+extern bool save_screenshot(const char * fname);
void Screenshot (void)
{
char filename[1024];
mkdir("Screenshots");
#endif
- save_image(filename);
+ save_screenshot(filename);
}
void Game::SetUpLighting()