mirror of
https://github.com/zoriya/My3D.git
synced 2026-05-30 09:18:41 +00:00
removing calls to map_mange_click (deprecated)
This commit is contained in:
+8
-1
@@ -242,7 +242,14 @@ 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/include/map_interactions.h)
|
||||
lib/gamacon/src/components/map_interactions.c
|
||||
lib/gamacon/include/map_interactions.h
|
||||
lib/gamacon/include/keybindings.h
|
||||
lib/gamacon/src/ui/tooltip.c
|
||||
lib/gamacon/src/components/tooltip_component.c
|
||||
lib/gamacon/include/components/tooltip_component.h
|
||||
lib/gamacon/src/systems/tooltip_system.c
|
||||
)
|
||||
|
||||
add_compile_options(-W -Wall -Wextra -Wshadow)
|
||||
|
||||
|
||||
+1
-1
Submodule lib/gamacon updated: e98d32430c...4b4013f8bd
@@ -12,7 +12,7 @@ char *my_str_replace(char *str, const char *to_replace, char c)
|
||||
while ((p = my_strstr(str, to_replace))) {
|
||||
*p = c;
|
||||
p++;
|
||||
for (char *ptr = p + len; *ptr; ptr++, p++)
|
||||
for (char *ptr = p + len - 1; *ptr; ptr++, p++)
|
||||
*p = *ptr;
|
||||
*p = '\0';
|
||||
}
|
||||
|
||||
@@ -42,11 +42,11 @@
|
||||
|
||||
<panel src="panel" x="50%" y="98%" width="120%" height="4%"/>
|
||||
<panel src="happiness" x="3%" y="98%" width="%" height="3%"/>
|
||||
<text text="100%" x="6%" y="98%" size="13">
|
||||
<text text="100%" x="6%" y="98%" size="13" tooltip="The level of happiness of your students.\n" padding_x="17">
|
||||
<game_display stats="happiness" />
|
||||
</text>
|
||||
<panel src="clown" x="10%" y="98%" width="%" height="3%"/>
|
||||
<text text="100%" x="13%" y="98%" size="13">
|
||||
<panel src="clown" x="10%" y="98%" width="%" height="3%" />
|
||||
<text text="100%" x="13%" y="98%" size="13" tooltip="The level of stupidity of your students.\nThey start doing stupid things if you'are too kind with them.\n\nYou will loose if this stat reach 100%" padding_x="17">
|
||||
<game_display stats="stupidity" />
|
||||
</text>
|
||||
</gc_entities>
|
||||
|
||||
@@ -29,7 +29,6 @@ int register_customcmps(gc_engine *engine)
|
||||
engine->add_callback(engine, "options", &options);
|
||||
engine->add_callback(engine, "goto_main_menu", &goto_main_menu);
|
||||
engine->add_callback(engine, "quit", &quit);
|
||||
engine->add_callback(engine, "map_manage_click", &map_manage_click);
|
||||
engine->add_callback(engine, "fullscreen", &fullscreen);
|
||||
engine->add_callback(engine, "resolution_down", &resolution_down);
|
||||
engine->add_callback(engine, "resolution_up", &resolution_up);
|
||||
|
||||
Reference in New Issue
Block a user