In case anybody’s using VectorStorm for their own stuff, I wanted to make a quick comment about an upcoming change to the texture API. I’ve made this change inside the Lord codebase, and will be migrating it back into trunk as soon as it’s definitely stable.
In the previous API, to get a texture you called “vsTextureManager::Instance()->LoadTexture(“filename”);“, and when you were finished with the texture, you let it leak. In the new API, you just call “new vsTexture(“filename”);“, and delete the object normally when you’re finished with it. The new system still reference-counts textures internally (so if the texture is already loaded, you won’t end up with a second copy clogging up your video card’s memory or anything), but will now throw assertions if you don’t clean up your textures properly when your game shuts down. This makes textures work the same way as other objects within VectorStorm.
(wow.. nothing for two weeks, and then three posts in two days! It never rains but it pours!)