I fixed a dumb bug in phantomnation!
Uh, if you called map_resize with corner values that resulted in a map with zero area, it would let you. And there was some confusion I don't quite understand still, how if the map had tiles and was set to zero-area, the tile's memory wouldn't be freed.
And I had to re-download the GLu dev files (evidently they got left behind when I did a dist-upgrade), and while doing so I noticed there's a libglpng library. That should make loading textures SO MUCH EASIER, since I wouldn't have to write my own weird texture loader (I had libsdlpng, so I was going to write up something that turned a png into a sdl texture, then converted it into a opengl texture... but that would be a bad idea), which would totally save time. And effort!
This post has no comments / Add a Comment