- [NEW] Passat a SDL3
- [NEW] Passat a de SDL_Mixer a JailAudio - [NEW] Actualitzat a Respack2 - [NEW] Llevat el data.jrf i afegit el directori 'data' amb els arxius. Molt millor per a developar. - [CHG] Músiques passades a OGG - [NEW] Afegit lagueirtofile
This commit is contained in:
9
main.cpp
9
main.cpp
@@ -1,6 +1,6 @@
|
||||
#include "jgame.h"
|
||||
#include "jdraw8.h"
|
||||
#include "jsound.h"
|
||||
#include "jail_audio.h"
|
||||
#include "jfile.h"
|
||||
#include "info.h"
|
||||
#include "modulegame.h"
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
int main( int argc, char* args[] ) {
|
||||
|
||||
JF_SetResourceFile("data.jrf");
|
||||
file_setresourcefilename("data.jrf");
|
||||
/*#ifdef WIN32
|
||||
JF_SetResourceFile("data.jrf");
|
||||
#else
|
||||
@@ -35,7 +35,7 @@ int main( int argc, char* args[] ) {
|
||||
|
||||
JG_Init();
|
||||
JD8_Init("Aventures En Egipte");
|
||||
JS_Init();
|
||||
JA_Init(48000, SDL_AUDIO_S16, 2);
|
||||
|
||||
Info info;
|
||||
info.num_habitacio = 1;
|
||||
@@ -72,8 +72,7 @@ int main( int argc, char* args[] ) {
|
||||
}
|
||||
}
|
||||
|
||||
JF_Quit();
|
||||
JS_Finalize();
|
||||
JA_Quit();
|
||||
JD8_Quit();
|
||||
JG_Finalize();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user