fixing Makefile compilation

This commit is contained in:
Clément Le Bihan
2020-04-30 14:33:49 +02:00
parent 45f10a7f73
commit ebfdd0b4e9
2 changed files with 4 additions and 2 deletions
+3 -2
View File
@@ -10,6 +10,7 @@
#include "engine.h"
#include <stdbool.h>
#include "components/vertex_component.h"
#include "systems/sfml_renderer_system.h"
#define ANGLE_X 25
#define ANGLE_Y 35
@@ -18,6 +19,6 @@
struct tile *get_tile_from_pos(struct vertex_component *map, gc_vector2 pos);
struct tile *get_tile_at(struct vertex_component *v, gc_vector2i p);
gc_vector2 gc_vector2_from_coords(float x, float y, float z);
bool is_pos_in_tile(gc_vector2 pos, struct tile *tile);
struct tile*get_selected_tile(struct sfml_renderer_system *this, \
struct vertex_component *info, gc_vector2 pos);
struct vertex_component *info, gc_vector2 pos);
bool is_pos_in_tile(gc_vector2 pos, struct tile *tile);
+1
View File
@@ -10,6 +10,7 @@
#include <math.h>
#include "components/vertex_component.h"
#include "stdint.h"
#include "systems/sfml_renderer_system.h"
gc_vector2 gc_vector2_from_coords(float x, float y, float z)
{