flipperzero-firmware/applications/dolphin/scenes/assets/items.h
2021-08-05 23:49:04 +03:00

15 lines
399 B
C

#pragma once
#include "dolphin/scenes/scene.h"
typedef enum {
ItemsFood,
ItemsConsole,
ItemsEnumTotal,
} ItemsEnum;
uint16_t roll_new(uint16_t prev, uint16_t max);
const Vec2 item_get_pos(SceneState* state, ItemsEnum item);
const Item* is_nearby(SceneState* state);
const Item** get_scene(SceneState* state);
const void scene_activate_item_callback(SceneState* state, Canvas* canvas);