flipperzero-firmware/applications/dolphin/scenes/assets/items.h

15 lines
399 B
C
Raw Normal View History

#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);