Have some problems with GetCurrentDirectory, don`t know how to use it (parameters).
I want to get the current directory with it, use file_dialog after what changes the directory and set the directory back with SetCurrentDirectory.
GetCurrentDirectory(?,?); // i know this is wrong ???
char* my_ent = file_dialog("Load entity","*.tga;*.bmp;*.pcx;*.dds;*.mdl");
SetCurrentDirectory(?);
If i set the directory manually it works:
SetCurrentDirectory("D:\\Dungeon");