summaryrefslogtreecommitdiff
path: root/src/main.c
blob: b72d67858a2a5d98affd5518699f9236cc1576d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <engine/engine.h>
#include <rogue/resources.h>

#define MEMORY_SIZE 65536

int main(void) {

	Platform *p = engine_init("rogue",
      0,0,
	                          1.f, 0,
	                          MEMORY_SIZE,
	                          NULL,
	                          NULL);

	engine_run(p, STATE_titlescreen);
  engine_stop(p);
}