Corewar documentation 1.0.0
Loading...
Searching...
No Matches
touch.c File Reference

The file containing the touch functions. More...

Functions

void update_max_visual_index (corewar_t *corewar)
 Update the max visual index.
 
int check_touch (corewar_t *corewar)
 Check the touch.
 

Detailed Description

The file containing the touch functions.

Function Documentation

◆ check_touch()

int check_touch ( corewar_t * corewar)

Check the touch.

Parameters
corewarThe corewar structure
Returns
int 1 if the terminal is too small, 0 otherwise

◆ update_max_visual_index()

void update_max_visual_index ( corewar_t * corewar)

Update the max visual index.

Parameters
corewarThe corewar structure
Returns
void