paulofmandown / rotLove

Roguelike Toolkit in Love. A Love2D/lua port of rot.js
http://paulofmandown.github.io/rotLove/
Other
262 stars 26 forks source link

Inaccessible rooms with ROT.Map.Brogue #2

Closed giann closed 9 years ago

giann commented 9 years ago

Using ROT.Map.Brogue, I get entire sections of the map cut off and inaccessible.

paulofmandown commented 9 years ago

I'd have to see your project to know for sure, but I can't create an instance where the map gets split like that. It wasn't clear in the documentation, but the value passed to the callback in create() can be a few different values. 0/floor, 1/wall, and 2or3/door. Latest update no longer returns 3.

giann commented 9 years ago

Oh right. I've seen mention of doors in the code but stick to the documentation definition for the callback arguments. I guess this is the problem.

paulofmandown commented 9 years ago

Updated docs to be more clear about the possible values. Thanks for pointing this out to me.