Original Post
Hello, I'm relatively new to SDL and I'm having a pretty annoying issue right now. Whenever I initialise a Player object, the game instantly quits upon execution. However, if I don't, the game runs fine.
PLAYER.H - http://pastebin.com/4wACH9dj
PLAYER.CPP - http://pastebin.com/xuv51qBX
GAME.H - http://pastebin.com/0TnpFWp4
GAME.CPP - http://pastebin.com/2YdKJjmr
MAIN.CPP - http://pastebin.com/ttsn3bVY
I'd be grateful if someone skimmed what I've typed and would help. Thx.
PLAYER.H - http://pastebin.com/4wACH9dj
PLAYER.CPP - http://pastebin.com/xuv51qBX
GAME.H - http://pastebin.com/0TnpFWp4
GAME.CPP - http://pastebin.com/2YdKJjmr
MAIN.CPP - http://pastebin.com/ttsn3bVY
I'd be grateful if someone skimmed what I've typed and would help. Thx.