summary refs log tree commit diff stats
path: root/src/consts.h
blob: 804c761a03677eb7566e136b0b09eab15ff0ee25 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef CONSTS_H
#define CONSTS_H

const int TILE_WIDTH = 8;
const int TILE_HEIGHT = 8;
const int GAME_WIDTH = 320;
const int GAME_HEIGHT = 200;
const int MAP_WIDTH = GAME_WIDTH/TILE_WIDTH;
const int MAP_HEIGHT = GAME_HEIGHT/TILE_HEIGHT - 1;

const int FRAMES_PER_SECOND = 60;
const double SECONDS_PER_FRAME = 1.0 / FRAMES_PER_SECOND;

#endif