Hey,
I always create an huge enum in my project and one function where all the 'loadTexture' functions are called. I think its not the best way so i thougt i could easy read the img src from an extern file (url:foo.png name:TEXTURE_TREE).
The only problem is: I still have to declare the enum. ( In there are some values like 'TEXTURE_TREE' and so on that are called on orher places). Is there a way to automatically fill this enum, or do you have a better idea?
thanks,
Daniel