mirror of
https://git.planet-casio.com/Slyvtt/Collab_RPG.git
synced 2025-04-19 17:37:36 +02:00
Bug fix!
This commit is contained in:
parent
12eba00f62
commit
83200852d9
1 changed files with 4 additions and 1 deletions
|
@ -5,6 +5,7 @@
|
||||||
#define USB_FEATURE 0
|
#define USB_FEATURE 0
|
||||||
#define DEBUGMODE 0
|
#define DEBUGMODE 0
|
||||||
|
|
||||||
|
#include <gint/display.h>
|
||||||
|
|
||||||
/* Enable GrayMode on either FX and FX_G3A targets */
|
/* Enable GrayMode on either FX and FX_G3A targets */
|
||||||
#if GINT_RENDER_MONO && defined(COLOR2BIT)
|
#if GINT_RENDER_MONO && defined(COLOR2BIT)
|
||||||
|
@ -14,6 +15,7 @@
|
||||||
|
|
||||||
|
|
||||||
#if GINT_RENDER_RGB
|
#if GINT_RENDER_RGB
|
||||||
|
#warning "Ok!"
|
||||||
#define T_HEIGHT 16
|
#define T_HEIGHT 16
|
||||||
#define T_WIDTH 16
|
#define T_WIDTH 16
|
||||||
#define PXSIZE 2
|
#define PXSIZE 2
|
||||||
|
@ -21,6 +23,7 @@
|
||||||
#define P_WIDTH 16
|
#define P_WIDTH 16
|
||||||
#define P_HEIGHT 16
|
#define P_HEIGHT 16
|
||||||
#else
|
#else
|
||||||
|
#warning "Bad!"
|
||||||
#define T_HEIGHT 8
|
#define T_HEIGHT 8
|
||||||
#define T_WIDTH 8
|
#define T_WIDTH 8
|
||||||
#define PXSIZE 1
|
#define PXSIZE 1
|
||||||
|
@ -32,7 +35,7 @@
|
||||||
|
|
||||||
/* SPEED should NOT be 8 or bigger: it may cause bugs when handling
|
/* SPEED should NOT be 8 or bigger: it may cause bugs when handling
|
||||||
* collisions! */
|
* collisions! */
|
||||||
#define SPEED PXSIZE*2
|
#define SPEED (PXSIZE*2)
|
||||||
|
|
||||||
|
|
||||||
#define F_WIDTH (32*PXSIZE)
|
#define F_WIDTH (32*PXSIZE)
|
||||||
|
|
Loading…
Add table
Reference in a new issue