Open jmurrayufo opened 12 years ago
Solved solution somewhat Entities store a copy of a texture, but they ALL have a copy....
CTexture class is coming along very nicely. Need to finish it up, get it to initialize textures, and then get CEntities to talk to it.
Entities should store the openGL texture that is associated with them.
Copies should NOT store extra copies of the image!
Maybe we need a texture class to keep track of which files have been loaded into memory? That or each creature will need a global pointer to a texture.