mirror of
https://github.com/zoriya/Gamacon.git
synced 2026-06-05 12:50:05 +00:00
fixing Makefile compilation
This commit is contained in:
+3
-2
@@ -10,6 +10,7 @@
|
|||||||
#include "engine.h"
|
#include "engine.h"
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include "components/vertex_component.h"
|
#include "components/vertex_component.h"
|
||||||
|
#include "systems/sfml_renderer_system.h"
|
||||||
|
|
||||||
#define ANGLE_X 25
|
#define ANGLE_X 25
|
||||||
#define ANGLE_Y 35
|
#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_from_pos(struct vertex_component *map, gc_vector2 pos);
|
||||||
struct tile *get_tile_at(struct vertex_component *v, gc_vector2i p);
|
struct tile *get_tile_at(struct vertex_component *v, gc_vector2i p);
|
||||||
gc_vector2 gc_vector2_from_coords(float x, float y, float z);
|
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 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);
|
||||||
@@ -10,6 +10,7 @@
|
|||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include "components/vertex_component.h"
|
#include "components/vertex_component.h"
|
||||||
#include "stdint.h"
|
#include "stdint.h"
|
||||||
|
#include "systems/sfml_renderer_system.h"
|
||||||
|
|
||||||
gc_vector2 gc_vector2_from_coords(float x, float y, float z)
|
gc_vector2 gc_vector2_from_coords(float x, float y, float z)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user