Corewar documentation 1.0.0
|
The file containing the display functions. More...
#include "../include/corewar.h"
Functions | |
void | init_display (corewar_t *corewar) |
Initialize the display. | |
void | set_color (int address, char *owner) |
Set the color of the texte. | |
void | display_register (int *champion_register) |
Display the register of the champion. | |
void | display_champions (corewar_t *corewar) |
Display the champions. | |
void | display_corewar (corewar_t *corewar) |
Display the corewar. | |
The file containing the display functions.
void display_champions | ( | corewar_t * | corewar | ) |
Display the champions.
corewar | The corewar structure |
void display_corewar | ( | corewar_t * | corewar | ) |
Display the corewar.
corewar | The corewar structure |
void display_register | ( | int * | champion_register | ) |
Display the register of the champion.
champion_register | The register of the champion |
void init_display | ( | corewar_t * | corewar | ) |
Initialize the display.
corewar | The corewar structure |
void set_color | ( | int | address, |
char * | owner ) |
Set the color of the texte.
address | The address of the cell |
owner | The owner of the cell |