DungeonCrawl
Loading...
Searching...
No Matches
combat_output.h
Go to the documentation of this file.
1
5#ifndef COMBAT_OUTPUT_H
6#define COMBAT_OUTPUT_H
7
9#include "../../../common.h"
10
11#include <stdbool.h>
12#include <stdint.h>
13
28vector2d_t draw_combat_view(vector2d_t anchor, const character_t* player, const character_t* enemy, const char* enemy_sprite, int sprite_height, bool red_enemy_sprite);
29
42void draw_combat_menu(vector2d_t anchor, const char* menu_name, char** menu_options, int menu_option_count, int selected_index, const char* tail_msg);
43
52void draw_combat_log(vector2d_t anchor, const char* combat_log_message);
53
59void draw_game_over(void);
60
61
71int draw_resource_bar(vector2d_t anchor, const character_t* c);
72
73#endif// COMBAT_OUTPUT_H
Exposes a forward strucht for the character type.
void draw_combat_log(vector2d_t anchor, const char *combat_log_message)
Draws the combat log.
vector2d_t draw_combat_view(vector2d_t anchor, const character_t *player, const character_t *enemy, const char *enemy_sprite, int sprite_height, bool red_enemy_sprite)
Draws the combat view UI.
int draw_resource_bar(vector2d_t anchor, const character_t *c)
Draws the resource bar for a character.
void draw_game_over(void)
Draws the game over screen.
void draw_combat_menu(vector2d_t anchor, const char *menu_name, char **menu_options, int menu_option_count, int selected_index, const char *tail_msg)
Draws the combat menu.
Defines common macros, types, and global variables for color schemes and utilities.
2-dimensional vector struct
Definition common.h:164