Collab_RPG/src/dialogs.h

29 lines
822 B
C
Raw Normal View History

#ifndef DIALOG_H
#define DIALOG_H
#include <gint/display.h>
#include <string.h>
#include "game.h"
#include "map.h"
#define F_WIDTH (32*PXSIZE)
#define F_HEIGHT (32*PXSIZE)
2023-07-13 12:06:48 +02:00
int showtext_opt(Game *game, bopti_image_t *face, char *text,
int call_before_end(Game *game), bool start_anim,
bool end_anim);
2023-07-13 12:06:48 +02:00
void showtext(Game *game, bopti_image_t *face, char *text);
2023-07-13 12:06:48 +02:00
void showtext_dialog_start(Game *game, bopti_image_t *face, char *text);
void showtext_dialog_mid(Game *game, bopti_image_t *face, char *text);
void showtext_dialog_end(Game *game, bopti_image_t *face, char *text);
int showtext_dialog_ask(Game *game, bopti_image_t *face, char *text, bool start,
bool end, char *choices, int choices_amount,
int default_choice);
#endif