Use an array instead of ctype to cache tron colour

This commit is contained in:
jacksonmj
2012-04-27 17:59:24 +01:00
parent c8a1524d6b
commit 6101c04ff9
3 changed files with 21 additions and 21 deletions

View File

@@ -329,6 +329,8 @@ int graphics_DCEL(GRAPHICS_FUNC_ARGS);
int graphics_GEL(GRAPHICS_FUNC_ARGS);
int graphics_TRON(GRAPHICS_FUNC_ARGS);
void TRON_init_graphics();
#define UPDATE_FUNC_ARGS int i, int x, int y, int surround_space, int nt
// to call another update function with same arguments:
#define UPDATE_FUNC_SUBCALL_ARGS i, x, y, surround_space, nt