fent que funcione en make

This commit is contained in:
2021-09-01 20:14:23 +02:00
parent 0e88abbe8f
commit 9fc9d0388c
18 changed files with 288 additions and 669 deletions

View File

@@ -8,13 +8,16 @@
#include "time.h"
#include <string>
/*
#ifndef WIN32
#include <libgen.h>
#endif
*/
int main( int argc, char* args[] ) {
#ifdef WIN32
JF_SetResourceFile("data.jrf");
/*#ifdef WIN32
JF_SetResourceFile("data.jrf");
#else
char res_file[255] = "";
@@ -27,7 +30,7 @@ int main( int argc, char* args[] ) {
printf("ARXIU DE RECURSOS: %s\n", res_file);
JF_SetResourceFile(res_file);
#endif
*/
srand( unsigned(time(NULL)) );
JG_Init();