mirror of
https://github.com/zoriya/ForecastingVillage.git
synced 2026-05-29 09:21:51 +00:00
Fixing attack timings
This commit is contained in:
@@ -20,6 +20,7 @@ struct dialog_line {
|
||||
char *text;
|
||||
int input_count;
|
||||
struct dialog_input *inputs;
|
||||
void (*callback)(gc_engine *engine);
|
||||
};
|
||||
|
||||
struct dialog_holder {
|
||||
@@ -46,8 +47,8 @@ struct dialog_manager {
|
||||
const struct dialog_manager dialog_manager;
|
||||
|
||||
void dialog_next(gc_engine *engine);
|
||||
void dialog_add_line(struct dialog_holder *this, char *name, char *text, \
|
||||
struct dialog_input *inputs);
|
||||
struct dialog_line *dialog_add_line(struct dialog_holder *this, char *name, \
|
||||
char *text, struct dialog_input *inputs);
|
||||
void show_dialog_if_hidden(gc_engine *engine);
|
||||
|
||||
#endif //MY_RPG_DIALOG_HOLDER_H
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
#ifndef MY_RPG_COMBAT_MANAGER_H
|
||||
#define MY_RPG_COMBAT_MANAGER_H
|
||||
|
||||
#include <components/attack_component.h>
|
||||
#include "system.h"
|
||||
#include "components/combat_holder.h"
|
||||
#include "components/dialog_holder.h"
|
||||
@@ -26,6 +27,7 @@ struct combat_manager {
|
||||
gc_system base;
|
||||
gc_scene *game_scene;
|
||||
struct enemy *current_enemy;
|
||||
struct attack_holder *next_enemy_attack;
|
||||
enum combat_state state;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user