substitute gint includes w/ raygint

This commit is contained in:
KikooDX 2021-11-16 23:11:16 +01:00
parent 7b89a80eb8
commit ef48c9828d
12 changed files with 12 additions and 12 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
build/
build-cg/
build-fx/
*.g3a

View File

@ -61,7 +61,7 @@ if ("${FXSDK_PLATFORM_LONG}" STREQUAL fxCG50)
fxconv_declare_assets(${ASSETS} WITH_METADATA)
add_executable(target ${SOURCES} ${ASSETS})
target_compile_options(target PRIVATE ${FLAGS})
target_compile_options(target PRIVATE ${FLAGS} -DGINT)
target_link_libraries(target Gint::Gint)
target_link_options(target PRIVATE -Wl,-Map=map)
@ -72,7 +72,6 @@ if ("${FXSDK_PLATFORM_LONG}" STREQUAL fxCG50)
)
else()
add_executable(target ${SOURCES})
target_compile_options(target PRIVATE ${FLAGS})
target_compile_options(target PRIVATE ${FLAGS} -DRAYLIB)
target_link_libraries(target raylib)
endif()

View File

@ -1,6 +1,6 @@
#pragma once
#include "raygint/display.h"
#include "vec.h"
#include <gint/display.h>
struct Anim {
bopti_image_t *texture;

View File

@ -1,5 +1,5 @@
#pragma once
#include <gint/display.h>
#include "raygint/display.h"
#define TARGET_FPS 60
#define TILE_SIZE 16

View File

@ -1,7 +1,7 @@
#include "anim.h"
#include "camera.h"
#include "raygint/display.h"
#include "vec.h"
#include <gint/display.h>
struct Anim
anim_new(bopti_image_t *texture, int x, int y, int frame_width,

View File

@ -1,5 +1,5 @@
#include "input.h"
#include <gint/keyboard.h>
#include "raygint/keyboard.h"
static struct Input input;

View File

@ -3,9 +3,9 @@
#include "conf.h"
#include "particles.h"
#include "player.h"
#include "raygint/display.h"
#include "tile.h"
#include "vec.h"
#include <gint/display.h>
#include <stdlib.h>
static struct Level self;

View File

@ -4,11 +4,11 @@
#include "level.h"
#include "particles.h"
#include "player.h"
#include "raygint/display.h"
#include "results.h"
#include "stars.h"
#include "vec.h"
#include <gint/cpu.h>
#include <gint/display.h>
#include <gint/keyboard.h>
#include <gint/timer.h>
#include <stdlib.h>

View File

@ -3,11 +3,11 @@
#include "conf.h"
#include "input.h"
#include "level.h"
#include "raygint/display.h"
#include "shatter.h"
#include "tile.h"
#include "util.h"
#include "vec.h"
#include <gint/display.h>
static struct Player self;

View File

@ -1,6 +1,6 @@
#include "results.h"
#include "conf.h"
#include <gint/display.h>
#include "raygint/display.h"
void
results_draw(void)

View File

@ -3,9 +3,9 @@
#include "conf.h"
#include "level.h"
#include "particles.h"
#include "raygint/display.h"
#include "tile.h"
#include "vec.h"
#include <gint/display.h>
static void callback(struct Anim *);

View File

@ -1,6 +1,6 @@
#include "stars.h"
#include "conf.h"
#include <gint/display.h>
#include "raygint/display.h"
#include <stdlib.h>
struct Star {