use automata and hardware constants in render
This commit is contained in:
6
Code/automata.inc
Normal file
6
Code/automata.inc
Normal file
@@ -0,0 +1,6 @@
|
||||
CELLS_WIDTH = 40
|
||||
CELLS_HEIGHT = 36
|
||||
CELLS_PER_TILE = 2
|
||||
TILE_WIDTH = CELLS_WIDTH / CELLS_PER_TILE
|
||||
TILE_HEIGHT = CELLS_HEIGHT / CELLS_PER_TILE
|
||||
BUFFER_SIZE = TILE_WIDTH * TILE_HEIGHT
|
||||
Reference in New Issue
Block a user