I am making a game and i need to reference to a variable that holds a texture so i define it in my main.cpp file, but for some reason it still errors when it goes to compile the other files that use it saying that it cant find the variables, Then when i made a .h file and put the def in there it had a lnk error saying it was multiply defined. Is there some kind of special global variable i hav eto define???????????
Thanks ~Doug