Skip to content

Commit

Permalink
upd sokoban
Browse files Browse the repository at this point in the history
  • Loading branch information
xMasterX committed May 24, 2024
1 parent 6e894df commit f33c540
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion non_catalog_apps/sokoban/application.fam
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ App(
order=50,
fap_description="Sokoban on Flipper Zero. Solve your path to victory!",
fap_category="Games",
fap_version="1.1",
fap_version="1.3",
fap_author="Racso",
fap_weburl="https://games.by.rac.so/flipper-zero",
fap_icon="sokoban.png",
Expand Down
1 change: 1 addition & 0 deletions non_catalog_apps/sokoban/scripts/wave/graphics/icons.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include <gui/icon.h>
#include <gui/icon_i.h>

const uint8_t _I_icon_button_ok_0[] = {
Expand Down
9 changes: 2 additions & 7 deletions non_catalog_apps/sokoban/scripts/wave/scene_management.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,7 @@ typedef void (*TransitionCallback)(int from, int to, void*);
typedef struct Scene Scene;
typedef struct SceneManager SceneManager;

Scene* scene_alloc(
RenderCallback render_callback,
TickCallback tick_callback,
InputCallback input_callback,
TransitionCallback transition_callback,
void* context);
Scene* scene_alloc(RenderCallback render_callback, TickCallback tick_callback, InputCallback input_callback, TransitionCallback transition_callback, void* context);
void scene_destroy(Scene* s);

SceneManager* scene_manager_alloc_auto();
Expand All @@ -30,4 +25,4 @@ void scene_manager_register_scene(SceneManager* sm, int id, Scene* scene);
void scene_manager_set_scene(SceneManager* sm, int id);
void scene_manager_tick(SceneManager* sm);
int scene_manager_get_current_scene_id(SceneManager* sm);
bool scene_manager_has_scene(SceneManager* sm);
bool scene_manager_has_scene(SceneManager* sm);

0 comments on commit f33c540

Please sign in to comment.