Hey everyone, and thanks in advance.
I know my question is not SFML specific, but more about C++, but I thought you may be able to help me anyways.
Part of my code is here
https://gist.github.com/4123800 I have not included all the files, because the program is HUGE. It's a roguelike game ...and I have been working on the data for some time, and I am putting it together to render and play with for the first time now and my problem is with the drawFloor() function.
The call itself is right at the end of main().
I know I need to cast the objects and send the pointers as parameters, but I cannot find the correct syntax.
sf::Texture floortile1 ---can be found on line 9 of floorsprites.cpp sf::RenderWindow window ---can be found on line 39 of main.cpp
Also, I have left the two commas in the prototype, the call, and the function itself where my parameters need to go.
Again, thanks in advance.
Also, I will be here if anyone needs to see more code.