mirror of
https://git.planet-casio.com/Slyvtt/Collab_RPG.git
synced 2024-12-28 04:23:42 +01:00
Remove silly goofy string breaking everything
This commit is contained in:
parent
f29fbf73de
commit
522f6d25a8
5 changed files with 8 additions and 7 deletions
|
@ -134,7 +134,7 @@ elseif("${FXSDK_PLATFORM_LONG}" STREQUAL fxCG50)
|
|||
endif()
|
||||
|
||||
if("${COLORMODE_cg}" STREQUAL EGA64)
|
||||
target_compile_options(myaddin PRIVATE -Wall -Wextra -Os -g -DCOLOREGA)
|
||||
target_compile_options(myaddin PRIVATE -Wall -Wextra -O0 -g -DCOLOREGA)
|
||||
endif()
|
||||
|
||||
if("${COLORMODE_cg}" STREQUAL 1b)
|
||||
|
|
|
@ -37,7 +37,6 @@ def convert_world(input, output, params, target):
|
|||
if DEBUG: print( "So let's go ... ")
|
||||
|
||||
structWorld = fxconv.Structure()
|
||||
structWorld += fxconv.string("DEBUG")
|
||||
#structExtra = fxconv.Structure()
|
||||
|
||||
for i in range(nbMaps):
|
||||
|
@ -74,7 +73,6 @@ def convert_world(input, output, params, target):
|
|||
structWorld += fxconv.ptr( map )
|
||||
|
||||
structWorld += fxconv.u32(0)
|
||||
structWorld += fxconv.string("DEBUG")
|
||||
|
||||
#generate !
|
||||
fxconv.elf(structWorld, output, "_" + params["name"], **target)
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
|
||||
#define USB_FEATURE 0
|
||||
#define DEBUGMODE 0
|
||||
#define DEBUGMODE 1
|
||||
|
||||
#include <gint/display.h>
|
||||
|
||||
|
|
|
@ -126,6 +126,9 @@ int main(void) {
|
|||
dgray(DGRAY_ON);
|
||||
#endif
|
||||
|
||||
dupdate();
|
||||
getkey();
|
||||
|
||||
do{
|
||||
/* clear screen */
|
||||
dclear(C_WHITE);
|
||||
|
@ -133,7 +136,7 @@ int main(void) {
|
|||
/* render the map */
|
||||
game_draw(&game);
|
||||
|
||||
#if DEBUGMODE && GINT_RENDER_RGB
|
||||
/*#if DEBUGMODE && GINT_RENDER_RGB
|
||||
if (game.debug_map)
|
||||
{
|
||||
dfont( NULL );
|
||||
|
@ -170,7 +173,7 @@ int main(void) {
|
|||
game.map_level->dialogs[ game.map_level->extradata[i].dialogID ].ID,
|
||||
game.map_level->dialogs[ game.map_level->extradata[i].dialogID ].conclusion1[0] );
|
||||
}
|
||||
#endif
|
||||
#endif*/
|
||||
|
||||
/* start the logic of the game */
|
||||
game_logic(&game);
|
||||
|
|
|
@ -178,7 +178,7 @@ void map_render_by_layer(Game *game, int layer) {
|
|||
int currentIndex = (y+ty) * map_level->w + tx+x;
|
||||
/* we get the ID of the tile in the current drawable layers
|
||||
*/
|
||||
tile = map_level->layers[layer][currentIndex];
|
||||
tile = map_level->layers[layer][currentIndex]; //DEBUG : Unaligned read here
|
||||
|
||||
/* tile == -1 means nothing to be drawn */
|
||||
if(tile >= 0){
|
||||
|
|
Loading…
Reference in a new issue