if (os_id == 5); // Dreamcast
load_fpg("/cd/shit.fpg");
else // PC
load_fpg("shit.fpg");
end
Cita
Fuseki ha escrito:
Sounds great! Yes… the Dreamcast port of Bennu has been neglected. I have asked for help on the official forum, but no one answers. I have the engine for my next game finished (the game just needs new graphics and some tuning), and am considering porting it over to Bennu for the Dreamcast, as I'd like to have VMU saving support. I'll keep checking the page to see how you're doing with OGG support. I'm using s3m songs right now.
>> sudo apt-get install build-essential subversion mingw-w64 mingw-w64-tools
>> apt-get source zlib1g
>> cd zlib-1.2.8.dfsg
>> CC=i686-w64-mingw32-gcc AR=i686-w64-mingw32-ar RANLIB=i686-w64-mingw32-ranlib CFLAGS="-DNO_FSEEKO" ./configure --prefix=/usr/i686-w64-mingw32/
>> make
>> sudo make install
>> wget http://www.openssl.org/source/openssl-1.0.1p.tar.gz
>> tar -zxf openssl-1.0.1p.tar.gz
>> cd openssl-1.0.1p
>> PATH=/usr/i686-w64-mingw32/bin/:$PATH ./Configure no-shared disable-capieng --prefix=/usr/i686-w64-mingw32/ mingw
>> PATH=/usr/i686-w64-mingw32/bin/:$PATH make CC=i686-w64-mingw32-gcc RANLIB=i686-w64-mingw32-ranlib
>> sudo make install
>> wget http://kent.dl.sourceforge.net/project/libpng/libpng16/1.6.18/libpng-1.6.18.tar.gz
>> tar -zxf libpng-1.6.18.tar.gz
>> cd libpng-1.6.18
>> ./configure --prefix=/usr/i686-w64-mingw32/ --host=i686-w64-mingw32
>> make
>> sudo make install
>> wget http://www.libsdl.org/release/SDL-1.2.14.tar.gz
>> tar -zxf SDL-1.2.14.tar.gz
>> cd SDL-1.2.14
>> ./configure --prefix=/usr/i686-w64-mingw32/ --host=i686-w64-mingw32 --disable-directx
>> make
>> sudo make install
# Libraries that this one depends upon.
dependency_libs =
>> wget http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.12.tar.gz
>> tar -zxf SDL_mixer-1.2.12.tar.gz
>> cd SDL_mixer-1.2.12
>> ./configure --prefix=/usr/i686-w64-mingw32/ --host=i686-w64-mingw32
>> make
>> sudo make install
PKG_CONFIG_PATH=/usr/i686-w64-mingw32/lib/pkgconfig
CFLAGS ="-O2 -I${WIN32CROSS}/include -I${WIN32CROSS}/include/[b]openssl[/b] -I${WIN32CROSS}/include/SDL"
Cambiad los 3 "make" que están en core, modules y tools por esto: make SDL_LIBS='-lSDL'