215 lines
3.2 KiB
C
215 lines
3.2 KiB
C
/*
|
|
* JoeyLib
|
|
* Copyright (C) 2018-2019 Scott Duensing <scott@kangaroopunch.com>
|
|
*
|
|
* This software is provided 'as-is', without any express or implied
|
|
* warranty. In no event will the authors be held liable for any damages
|
|
* arising from the use of this software.
|
|
*
|
|
* Permission is granted to anyone to use this software for any purpose,
|
|
* including commercial applications, and to alter it and redistribute it
|
|
* freely, subject to the following restrictions:
|
|
*
|
|
* 1. The origin of this software must not be misrepresented; you must not
|
|
* claim that you wrote the original software. If you use this software
|
|
* in a product, an acknowledgment in the product documentation would be
|
|
* appreciated but is not required.
|
|
* 2. Altered source versions must be plainly marked as such, and must not be
|
|
* misrepresented as being the original software.
|
|
* 3. This notice may not be removed or altered from any source distribution.
|
|
*/
|
|
|
|
|
|
#include "joey.h"
|
|
|
|
|
|
void jlDisplayPresent(void) {
|
|
}
|
|
|
|
|
|
void jlDrawBlit8x8(jlSurfaceT source, jint16 cx1, jint16 cy1, jint16 cx2, jint16 cy2) {
|
|
(void)source;
|
|
(void)cx1;
|
|
(void)cy1;
|
|
(void)cx2;
|
|
(void)cy2;
|
|
}
|
|
|
|
|
|
void jlDrawBlit8x8a(jlSurfaceT source, jint16 cx1, jint16 cy1, jint16 cx2, jint16 cy2, byte offset) {
|
|
(void)source;
|
|
(void)cx1;
|
|
(void)cy1;
|
|
(void)cx2;
|
|
(void)cy2;
|
|
}
|
|
|
|
|
|
void jlDrawBlitMap(jint16 startX, jint16 startY, jint16 width, jint16 height, byte *mapData, juint16 stride, jlSurfaceT source) {
|
|
(void)startX;
|
|
(void)startY;
|
|
(void)width;
|
|
(void)height;
|
|
(void)mapData;
|
|
(void)stride;
|
|
(void)source;
|
|
}
|
|
|
|
|
|
void jlDrawClear(void) {
|
|
}
|
|
|
|
|
|
byte jlDrawPixelGet(jint16 x, jint16 y) {
|
|
(void)x;
|
|
(void)y;
|
|
|
|
return 0;
|
|
}
|
|
|
|
|
|
void jlDrawPixelSet(jint16 x, jint16 y) {
|
|
(void)x;
|
|
(void)y;
|
|
}
|
|
|
|
|
|
jlSurfaceT jlDrawSurfaceGet(void) {
|
|
return _jlDrawTarget;
|
|
}
|
|
|
|
|
|
void jlDrawSurfaceSet(jlSurfaceT target) {
|
|
_jlDrawTarget = target;
|
|
if (target == NULL) {
|
|
_jlDrawTargetActual = NULL;
|
|
}
|
|
}
|
|
|
|
|
|
jint16 jlGameGetAxis(byte which) {
|
|
(void)which;
|
|
|
|
return 0;
|
|
}
|
|
|
|
|
|
bool jlGameGetButton(byte which) {
|
|
(void)which;
|
|
|
|
return false;
|
|
}
|
|
|
|
|
|
bool jlKeyPressed(void) {
|
|
return false;
|
|
}
|
|
|
|
|
|
char jlKeyRead(void) {
|
|
return 0;
|
|
}
|
|
|
|
|
|
void jlPaletteSet(byte index, byte r, byte g, byte b) {
|
|
(void)index;
|
|
(void)r;
|
|
(void)g;
|
|
(void)b;
|
|
}
|
|
|
|
|
|
void jlPaletteSetFromSta(jlStaT *sta) {
|
|
(void)sta;
|
|
}
|
|
|
|
|
|
void jlSoundFree(jlSoundT *sound) {
|
|
(void)sound;
|
|
}
|
|
|
|
|
|
bool jlSoundIsPlaying(jlSoundT *sound) {
|
|
(void)sound;
|
|
|
|
return false;
|
|
}
|
|
|
|
|
|
bool _jlSoundLoad(jlSoundT **sound, char *filename) {
|
|
(void)sound;
|
|
(void)filename;
|
|
|
|
return false;
|
|
}
|
|
|
|
|
|
void jlSoundMusicContinue(void) {
|
|
}
|
|
|
|
|
|
bool jlSoundMusicIsPlaying(void) {
|
|
return false;
|
|
}
|
|
|
|
|
|
void jlSoundMusicPause(void) {
|
|
}
|
|
|
|
|
|
void jlSoundMusicPlay(char *name) {
|
|
(void)name;
|
|
}
|
|
|
|
|
|
void jlSoundMusicStop(void) {
|
|
}
|
|
|
|
|
|
void jlSoundPlay(jlSoundT *sound) {
|
|
(void)sound;
|
|
}
|
|
|
|
|
|
bool _jlStaCreate(jlStaT **sta) {
|
|
(void)sta;
|
|
|
|
return false;
|
|
}
|
|
|
|
|
|
void jlStaDisplay(jlStaT *sta) {
|
|
(void)sta;
|
|
}
|
|
|
|
|
|
void jlUtilIdle(void) {
|
|
}
|
|
|
|
|
|
bool jlUtilMustExit(void) {
|
|
return false;
|
|
}
|
|
|
|
|
|
void jlUtilNibbleSwap(byte *mem, jint16 count, byte old, byte new) {
|
|
(void)mem;
|
|
(void)count;
|
|
(void)old;
|
|
(void)new;
|
|
}
|
|
|
|
|
|
void jlUtilShutdown(void) {
|
|
jlUtilDie("Clean Exit.");
|
|
}
|
|
|
|
|
|
void jlUtilStartup(char *appTitle) {
|
|
(void)appTitle;
|
|
}
|
|
|
|
|
|
juint16 jlUtilTimer(void) {
|
|
return 0;
|
|
}
|