Compare commits
No commits in common. "ac796e911d9a1bc89241bf6aa3e001bc2bd30b85" and "3060f2910c3a54d2b3ffb9429943eeb37bd30f27" have entirely different histories.
ac796e911d
...
3060f2910c
3
.ccls
3
.ccls
|
|
@ -3,7 +3,6 @@ gcc
|
|||
-Isrc/headers
|
||||
-Isrc/ecs/headers
|
||||
-Isrc/ecs/components/headers
|
||||
-ISDL_Core/src/headers
|
||||
-INCurses_Core/src/headers
|
||||
-Icore/src/headers
|
||||
-Iassets/asset_builder/src/headers
|
||||
-DASSET_FILE_NAME="$(make print-ASSET_OUTPUT)"
|
||||
|
|
@ -1,2 +1,3 @@
|
|||
.ccls-cache
|
||||
build
|
||||
core
|
||||
|
|
|
|||
2
Makefile
2
Makefile
|
|
@ -28,7 +28,7 @@ all: build_core build_src build_assets
|
|||
|
||||
# Sub Makefiles
|
||||
SOURCE_DIR = src
|
||||
CORE_DIR = SDL_Core/src
|
||||
CORE_DIR = core/src
|
||||
ASSETS_DIR = assets
|
||||
|
||||
include $(CORE_DIR)/Makefile
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 0ef33e0b09c5834dbca891f86e2b4f89a55d3ffb
|
||||
1
SDL_Core
1
SDL_Core
|
|
@ -1 +0,0 @@
|
|||
Subproject commit c1a3dea5609002d1be55a3e5a2c11ebc0fa7e57e
|
||||
|
|
@ -106,9 +106,8 @@ void animation_system_create_frames_clips(animation_system_data_t *system_data)
|
|||
|
||||
inline void animation_system_change_animation(animation_system_data_t *system_data, const char *name, size_t nb_frames)
|
||||
{
|
||||
sprite_component_set_texture(system_data->sprite_component_data, name);
|
||||
system_data->sprite_component_data->src_rect = *(rect_t *)system_data->actual_frame->data;
|
||||
|
||||
system_data->nb_frames = nb_frames;
|
||||
sprite_component_set_texture(system_data->sprite_component_data, name);
|
||||
animation_system_create_frames_clips(system_data);
|
||||
system_data->sprite_component_data->src_rect = *(rect_t *)system_data->actual_frame->data;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue