Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Entities Store Texture #5

Open
jmurrayufo opened this issue Jul 26, 2012 · 2 comments
Open

Entities Store Texture #5

jmurrayufo opened this issue Jul 26, 2012 · 2 comments

Comments

@jmurrayufo
Copy link
Owner

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.

@jmurrayufo
Copy link
Owner Author

Solved solution somewhat Entities store a copy of a texture, but they ALL have a copy....

@jmurrayufo
Copy link
Owner Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant