OSX ready, encara no compila. Implementació del lector de GIFs quasi acabada
This commit is contained in:
8
main.cpp
8
main.cpp
@@ -18,12 +18,16 @@ int main( int argc, char* args[] ) {
|
||||
#else
|
||||
char res_file[255] = "";
|
||||
strcpy(res_file, dirname(args[0]));
|
||||
strcat(res_file, "/data.jrf");
|
||||
#ifdef __APPLE__
|
||||
strcat(res_file, "/../Resources/data.jrf");
|
||||
#else
|
||||
strcat(res_file, "/data.jrf");
|
||||
#endif
|
||||
printf("ARXIU DE RECURSOS: %s\n", res_file);
|
||||
JF_SetResourceFile(res_file);
|
||||
#endif
|
||||
|
||||
srand( time(NULL) );
|
||||
srand( unsigned(time(NULL)) );
|
||||
|
||||
JG_Init();
|
||||
JD8_Init("Aventures En Egipte");
|
||||
|
||||
Reference in New Issue
Block a user