BeOS and Haiku targets are now producing binaries. Still need to test them.
This commit is contained in:
parent
ffa1b89404
commit
111b527f40
3 changed files with 94 additions and 4 deletions
|
@ -258,8 +258,6 @@ static void _jlAudioCallback(void *userdata, Uint8 *buffer, int bytes) {
|
||||||
|
|
||||||
void jlDisplayPresent(void) {
|
void jlDisplayPresent(void) {
|
||||||
|
|
||||||
jlUtilIdle();
|
|
||||||
|
|
||||||
jint16 sourceX;
|
jint16 sourceX;
|
||||||
jint16 sourceY;
|
jint16 sourceY;
|
||||||
jint16 targetX;
|
jint16 targetX;
|
||||||
|
@ -268,6 +266,8 @@ void jlDisplayPresent(void) {
|
||||||
juint16 pixelRight;
|
juint16 pixelRight;
|
||||||
juint16 p = 0;
|
juint16 p = 0;
|
||||||
|
|
||||||
|
jlUtilIdle();
|
||||||
|
|
||||||
SDL_LockSurface(_jlWindow);
|
SDL_LockSurface(_jlWindow);
|
||||||
|
|
||||||
// Border.
|
// Border.
|
||||||
|
|
|
@ -261,6 +261,96 @@ typedef unsigned int juint16;
|
||||||
typedef long jint32;
|
typedef long jint32;
|
||||||
typedef unsigned long juint32;
|
typedef unsigned long juint32;
|
||||||
|
|
||||||
|
#elif __BEOS__
|
||||||
|
|
||||||
|
#define JOEY_BEOS
|
||||||
|
#define JOEY_PC
|
||||||
|
#define JOEY_LITLE_ENDIAN
|
||||||
|
#define JOEY_PATH_SEPARATOR '/'
|
||||||
|
typedef short jint16;
|
||||||
|
typedef unsigned short juint16;
|
||||||
|
typedef int jint32;
|
||||||
|
typedef unsigned int juint32;
|
||||||
|
|
||||||
|
#define JL_HAS_DISPLAYPRESENT
|
||||||
|
#define JL_HAS_DRAWBLIT8X8
|
||||||
|
#define JL_HAS_DRAWBLIT8X8A
|
||||||
|
#define JL_HAS_DRAWCLEAR
|
||||||
|
#define JL_HAS_DRAWPIXELGET
|
||||||
|
#define JL_HAS_DRAWPIXELSET
|
||||||
|
#define JL_HAS_DRAWSURFACEGET
|
||||||
|
#define JL_HAS_DRAWSURFACESET
|
||||||
|
#define JL_HAS_GAMEGETAXIS
|
||||||
|
#define JL_HAS_GAMEGETBUTTON
|
||||||
|
#define JL_HAS_IMGCREATE
|
||||||
|
#define JL_HAS_IMGDISPLAY
|
||||||
|
#define JL_HAS_KEYPRESSED
|
||||||
|
#define JL_HAS_KEYREAD
|
||||||
|
#define JL_HAS_MODCONTINUE
|
||||||
|
#define JL_HAS_MODFREE
|
||||||
|
#define JL_HAS_MODISPLAYING
|
||||||
|
#define JL_HAS_MODLOAD
|
||||||
|
#define JL_HAS_MODPAUSE
|
||||||
|
#define JL_HAS_MODPLAY
|
||||||
|
#define JL_HAS_MODSTOP
|
||||||
|
#define JL_HAS_MODVOLUME
|
||||||
|
#define JL_HAS_PALETTESET
|
||||||
|
#define JL_HAS_PALETTESETFROMIMG
|
||||||
|
#define JL_HAS_SOUNDFREE
|
||||||
|
#define JL_HAS_SOUNDISPLAYING
|
||||||
|
#define JL_HAS_SOUNDLOAD
|
||||||
|
#define JL_HAS_SOUNDPLAY
|
||||||
|
#define JL_HAS_SOUNDSTOP
|
||||||
|
#define JL_HAS_UTILIDLE
|
||||||
|
#define JL_HAS_UTILMUSTEXIT
|
||||||
|
#define JL_HAS_UTILTIMER
|
||||||
|
#define JL_HAS_UTILHASTITLESET
|
||||||
|
|
||||||
|
#elif __HAIKU__
|
||||||
|
|
||||||
|
#define JOEY_HAIKU
|
||||||
|
#define JOEY_PC
|
||||||
|
#define JOEY_LITLE_ENDIAN
|
||||||
|
#define JOEY_PATH_SEPARATOR '/'
|
||||||
|
typedef short jint16;
|
||||||
|
typedef unsigned short juint16;
|
||||||
|
typedef int jint32;
|
||||||
|
typedef unsigned int juint32;
|
||||||
|
|
||||||
|
#define JL_HAS_DISPLAYPRESENT
|
||||||
|
#define JL_HAS_DRAWBLIT8X8
|
||||||
|
#define JL_HAS_DRAWBLIT8X8A
|
||||||
|
#define JL_HAS_DRAWCLEAR
|
||||||
|
#define JL_HAS_DRAWPIXELGET
|
||||||
|
#define JL_HAS_DRAWPIXELSET
|
||||||
|
#define JL_HAS_DRAWSURFACEGET
|
||||||
|
#define JL_HAS_DRAWSURFACESET
|
||||||
|
#define JL_HAS_GAMEGETAXIS
|
||||||
|
#define JL_HAS_GAMEGETBUTTON
|
||||||
|
#define JL_HAS_IMGCREATE
|
||||||
|
#define JL_HAS_IMGDISPLAY
|
||||||
|
#define JL_HAS_KEYPRESSED
|
||||||
|
#define JL_HAS_KEYREAD
|
||||||
|
#define JL_HAS_MODCONTINUE
|
||||||
|
#define JL_HAS_MODFREE
|
||||||
|
#define JL_HAS_MODISPLAYING
|
||||||
|
#define JL_HAS_MODLOAD
|
||||||
|
#define JL_HAS_MODPAUSE
|
||||||
|
#define JL_HAS_MODPLAY
|
||||||
|
#define JL_HAS_MODSTOP
|
||||||
|
#define JL_HAS_MODVOLUME
|
||||||
|
#define JL_HAS_PALETTESET
|
||||||
|
#define JL_HAS_PALETTESETFROMIMG
|
||||||
|
#define JL_HAS_SOUNDFREE
|
||||||
|
#define JL_HAS_SOUNDISPLAYING
|
||||||
|
#define JL_HAS_SOUNDLOAD
|
||||||
|
#define JL_HAS_SOUNDPLAY
|
||||||
|
#define JL_HAS_SOUNDSTOP
|
||||||
|
#define JL_HAS_UTILIDLE
|
||||||
|
#define JL_HAS_UTILMUSTEXIT
|
||||||
|
#define JL_HAS_UTILTIMER
|
||||||
|
#define JL_HAS_UTILHASTITLESET
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#define JOEY_ST
|
#define JOEY_ST
|
||||||
|
|
|
@ -545,7 +545,7 @@ function doBuild() {
|
||||||
TARGET="${SOURCE}/temp"
|
TARGET="${SOURCE}/temp"
|
||||||
EXT=
|
EXT=
|
||||||
export CFLAGS="${CFLAGS} -Wall -D_REENTRANT"
|
export CFLAGS="${CFLAGS} -Wall -D_REENTRANT"
|
||||||
export LDFLAGS="-lm -lGL -lroot -lbe -lmedia -lgame -ldevice -ltextencoding"
|
export LDFLAGS="-lsupc++ -lm -lGL -lroot -lbe -lmedia -lgame -ldevice -ltextencoding"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
iigs)
|
iigs)
|
||||||
|
@ -1183,5 +1183,5 @@ function updateSystem() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#scriptIsDownloaded "$1" "$2" "$3"
|
scriptIsDownloaded "$1" "$2" "$3"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue