2021-05-25 13:24:48 +02:00
|
|
|
#ifndef _PLAGUE_DISPLAY_ENGINE_H
|
|
|
|
#define _PLAGUE_DISPLAY_ENGINE_H
|
|
|
|
|
2021-05-28 22:27:31 +02:00
|
|
|
#include "core.h"
|
|
|
|
|
2021-05-25 13:24:48 +02:00
|
|
|
// display_background : display the background
|
|
|
|
void display_background(const int background);
|
|
|
|
|
|
|
|
// display_foreground : display the foreground, planes, statistics
|
|
|
|
void display_foreground(const int background, const struct game *current_game);
|
|
|
|
|
|
|
|
// display_mutation : display the mutation selection screen
|
2021-05-28 22:27:31 +02:00
|
|
|
void display_mutation(const int table[4][8], const struct cursor c, const int mutation_menu);
|
2021-05-27 18:04:45 +02:00
|
|
|
|
2021-05-29 17:02:07 +02:00
|
|
|
// mutation_selected : display the mutation's informations screen
|
2021-05-29 23:02:51 +02:00
|
|
|
void display_mutation_buy(const struct cursor c, const int mutation_menu, const int table[4][8], const int button_selected);
|
2021-05-29 16:44:46 +02:00
|
|
|
|
2021-05-29 23:02:51 +02:00
|
|
|
// output_error : display text
|
|
|
|
void output_error(const char *msg);
|
2021-05-25 13:24:48 +02:00
|
|
|
#endif /* _PLAGUE_DISPLAY_ENGINE_H */
|