2021-04-26 12:19:14 +00:00
|
|
|
#pragma once
|
|
|
|
#include "dolphin/scenes/scene.h"
|
|
|
|
|
2021-08-05 20:49:04 +00:00
|
|
|
typedef enum {
|
|
|
|
ItemsFood,
|
|
|
|
ItemsConsole,
|
|
|
|
ItemsEnumTotal,
|
|
|
|
} ItemsEnum;
|
2021-04-26 12:19:14 +00:00
|
|
|
|
2021-08-05 20:49:04 +00:00
|
|
|
uint16_t roll_new(uint16_t prev, uint16_t max);
|
|
|
|
const Vec2 item_get_pos(SceneState* state, ItemsEnum item);
|
2021-04-26 12:19:14 +00:00
|
|
|
const Item* is_nearby(SceneState* state);
|
|
|
|
const Item** get_scene(SceneState* state);
|
|
|
|
const void scene_activate_item_callback(SceneState* state, Canvas* canvas);
|