mirror of
https://github.com/zoriya/My3D.git
synced 2026-06-02 18:41:03 +00:00
map supports rotation in both directions and supports new click handler
This commit is contained in:
+3
-3
@@ -69,7 +69,7 @@ add_executable(My3D
|
||||
lib/gamacon/src/components/parallax_component.c
|
||||
lib/gamacon/src/components/renderer.c
|
||||
lib/gamacon/src/components/transform_component.c
|
||||
lib/gamacon/src/components/vertex_component.c
|
||||
lib/gamacon/src/components/renderers/vertex_component.c
|
||||
lib/gamacon/src/deserializer/deserialize_entity.c
|
||||
lib/gamacon/src/deserializer/prefab.c
|
||||
lib/gamacon/src/engine/discard_player.c
|
||||
@@ -211,7 +211,7 @@ add_executable(My3D
|
||||
lib/my/my/my_str_replace.c
|
||||
lib/gamacon/src/sfml_renderer/sfml_init.c
|
||||
lib/gamacon/src/sfml_renderer/sfml_events.c
|
||||
lib/gamacon/src/components/map_managment.c
|
||||
lib/gamacon/src/components/renderers/map_managment.c
|
||||
lib/gamacon/include/components/map_managment.h
|
||||
lib/xmlparser/src/otherget.c
|
||||
src/options.c
|
||||
@@ -242,7 +242,7 @@ add_executable(My3D
|
||||
src/systems/game_manager_system.c
|
||||
include/systems/game_manager_system.h
|
||||
lib/gamacon/include/keybindings.h
|
||||
lib/gamacon/src/components/map_interactions.c
|
||||
lib/gamacon/src/components/renderers/map_interactions.c
|
||||
lib/gamacon/include/map_interactions.h
|
||||
lib/gamacon/include/keybindings.h
|
||||
lib/gamacon/src/ui/tooltip.c
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 3.1 KiB |
+1
-1
Submodule lib/gamacon updated: af57877b65...eb501adc05
@@ -8,12 +8,18 @@
|
||||
<sprite name="happiness" src="assets/ui/happiness.png" />
|
||||
<sprite name="clown" src="assets/ui/clown.png" />
|
||||
<sprite name="cobblestone" src="assets/sprites/cobblestone.png" />
|
||||
<sprite name="comparator_on" src="assets/sprites/comparator_on.png" />
|
||||
<sprite name="mossy_cobblestone" src="assets/sprites/cobblestone_mossy.png" />
|
||||
<sprite name="command_block" src="assets/sprites/command_block.png" />
|
||||
<sprite name="black_background" src="assets/ui/black_background.png" />
|
||||
<sprite name="crafting_table" src="assets/sprites/crafting_table_top.png" />
|
||||
<music src="assets/musics/music.ogg"/>
|
||||
<font src="assets/fonts/roboto.ttf" />
|
||||
|
||||
<tiles>
|
||||
<tile name="cobblestone" />
|
||||
<tile name="command_block" />
|
||||
</tiles>
|
||||
</data>
|
||||
<gc_entities>
|
||||
<gc_entity>
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
#include "components/game_display.h"
|
||||
#include "components/game_manager.h"
|
||||
#include "systems/game_manager_system.h"
|
||||
#include "map_interactions.h"
|
||||
|
||||
int register_customcmps(gc_engine *engine)
|
||||
{
|
||||
@@ -30,6 +31,7 @@ int register_customcmps(gc_engine *engine)
|
||||
engine->add_callback(engine, "goto_main_menu", &goto_main_menu);
|
||||
engine->add_callback(engine, "quit", &quit);
|
||||
engine->add_callback(engine, "fullscreen", &fullscreen);
|
||||
engine->add_callback(engine, "map_manage_click", &tile_interact);
|
||||
engine->add_callback(engine, "resolution_down", &resolution_down);
|
||||
engine->add_callback(engine, "resolution_up", &resolution_up);
|
||||
engine->add_callback(engine, "absent_check", &absent_check);
|
||||
|
||||
Reference in New Issue
Block a user