Jump to content

  • Log In with Google      Sign In   
  • Create Account


Hojjat

Member Since 19 Mar 2011
Offline Last Active Sep 05 2014 02:05 PM

Posts I've Made

In Topic: FMOD C# api crash

06 January 2014 - 09:04 AM

Found my solution, I was iterating through a generic List of string containing music cue names to get cue iterator, a List<string> musicCueNames, like this :

ERRCHECK(musicSystem.getCues(ref iter, musicCueNames[i])); // Crash!

I changed it to something like this :
 


string cueName = musicCueNames[i];
ERRCHECK(musicSystem.getCues(ref iter, cueName)); // Works!

and now everything works properly, but don't know exactly why.


In Topic: Rogue Legacy Random Level

08 October 2013 - 10:30 AM

Thanx Álvaro,

I was wondering about expanding rooms according to their doors in a DFS like manner but I didn't know how depth should I go into or should I expand rooms in Breadth.

For this case I'm trying to build a random BSP tree and putting the rooms at the leaf of the tree and match the doors, this will reduce the number of trial and errors.


PARTNERS