dungeon_crawler
diff prototype/src/main.cc @ 26:21999ef6636b
lalala
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 25 Aug 2012 04:07:51 +0300 |
parents | 527fede30057 |
children | 2fc004802739 |
line diff
1.1 --- a/prototype/src/main.cc Sat Aug 25 02:16:08 2012 +0300 1.2 +++ b/prototype/src/main.cc Sat Aug 25 04:07:51 2012 +0300 1.3 @@ -86,6 +86,10 @@ 1.4 return false; 1.5 } 1.6 1.7 + if(!init_cmdcon()) { 1.8 + return false; 1.9 + } 1.10 + 1.11 // load a tileset 1.12 tileset = new TileSet; 1.13 printf("loading tileset: %s\n", cfg.tileset_file); 1.14 @@ -111,6 +115,8 @@ 1.15 delete tileset; 1.16 1.17 destroy_renderer(); 1.18 + 1.19 + cleanup_cmdcon(); 1.20 } 1.21 1.22 void idle() 1.23 @@ -163,7 +169,7 @@ 1.24 1.25 void draw() 1.26 { 1.27 - render_deferred(level); 1.28 + //render_deferred(level); 1.29 1.30 if(show_con) { 1.31 draw_cmdcon();