Make table dynamic

This commit is contained in:
Michael Stapelberg
2009-02-08 04:04:35 +01:00
parent b77bed65b3
commit aaa697494c
6 changed files with 168 additions and 70 deletions

17
table.h Normal file

@ -0,0 +1,17 @@
#include <stdbool.h>
#include "data.h"
#ifndef _TABLE_H
#define _TABLE_H
#define CUR_CELL (table[current_col][current_row])
extern Container ***table;
extern struct table_dimensions_t table_dims;
void init_table();
void expand_table_rows();
void expand_table_cols();
bool cell_exists(int col, int row);
#endif