OSX ready, encara no compila. Implementació del lector de GIFs quasi acabada

This commit is contained in:
2016-02-19 11:55:33 +01:00
parent d9d74c7f36
commit 8074486a63
16 changed files with 1099 additions and 24 deletions

View File

@@ -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");