speeduino/table.h

19 lines
471 B
C
Raw Normal View History

2013-02-04 13:05:35 -08:00
/*
This file is used for everything related to maps/tables including their definition, functions etc
*/
struct table {
//All tables must be the same size for simplicity
const static int xSize = 8;
const static int ySize = 8;
int values[xSize][ySize];
//static boolean useInterp = false; //Whether or not interpolation should be used (Assuming we have enough CPU for it)
};
int getTableValue(struct table fromTable, int X, int Y)
{
return 1;
}