mirror of https://git.sr.ht/~kikoodx/crystal-tower
substitute gint includes w/ raygint
This commit is contained in:
parent
7b89a80eb8
commit
ef48c9828d
|
@ -1,3 +1,4 @@
|
|||
build/
|
||||
build-cg/
|
||||
build-fx/
|
||||
*.g3a
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#pragma once
|
||||
#include "raygint/display.h"
|
||||
#include "vec.h"
|
||||
#include <gint/display.h>
|
||||
|
||||
struct Anim {
|
||||
bopti_image_t *texture;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#pragma once
|
||||
#include <gint/display.h>
|
||||
#include "raygint/display.h"
|
||||
|
||||
#define TARGET_FPS 60
|
||||
#define TILE_SIZE 16
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#include "input.h"
|
||||
#include <gint/keyboard.h>
|
||||
#include "raygint/keyboard.h"
|
||||
|
||||
static struct Input input;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include "results.h"
|
||||
#include "conf.h"
|
||||
#include <gint/display.h>
|
||||
#include "raygint/display.h"
|
||||
|
||||
void
|
||||
results_draw(void)
|
||||
|
|
|
@ -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 *);
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include "stars.h"
|
||||
#include "conf.h"
|
||||
#include <gint/display.h>
|
||||
#include "raygint/display.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
struct Star {
|
||||
|
|
Loading…
Reference in New Issue