You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
435 B

#ifndef DATA_HPP
#define DATA_GPP
#include <string>
void data_init( int r, int c );
void data_free( void );
char data_colour_at( int r, int c );
char data_text_at( int r, int c );
void data_set_colour( int r, int c, char colour );
void data_set_text( int r, int c, char text );
int data_get_row( void );
int data_get_col( void );
void data_write_file( const std::string& fn );
int data_read_file( const std::string& fn );