A WIP Roguelike game by Adekto, VonBednat, Trelemar and Wuuff made for CGAJam in spring 2017

Dependencies:   PokittoLib

Fork of Arcade by Pokitto Community Team

Revision:
15:67fb7b0c1149
Parent:
10:590a26231903
--- a/main.cpp	Wed May 02 06:29:49 2018 +0000
+++ b/main.cpp	Mon May 21 18:04:18 2018 +0000
@@ -122,6 +122,8 @@
 #include "gui.h"
 #include "crapai.h"
 using namespace std;
+
+
 int main () {
 init_solids();
 srand(SEED);
@@ -136,9 +138,12 @@
 inventory.push_back("wuuff");
 Ent Etemp(3,3);
 ents.push_back(Etemp);
+pokInitSD(); // before game.begin if streaming
+game.sound.playMusicStream("coffins/coffins.snd"); // before game.begin if streaming
 game.begin();
+game.sound.playMusicStream(); //after game.begin so that sound buffer is ready
 game.display.setFont(font5x7);
-game.sound.playMusicStream("COFFINS.SND");
+
 //mapgen(0,0,0,20,20);
 
 game.display.loadRGBPalette(paletteCGA);
@@ -285,7 +290,7 @@
 
 
         drawHP( playerHP);
-        ents[0].draw();
+        //ents[0].draw();
 
         game.display.drawBitmap(14*(7),14*(6),sprites[ID_PLAYER]);
 
@@ -299,3 +304,4 @@
 return 1;
 }
 
+