I'm working on a game for my final project in my entry level c++ class. I've run into two issues that are totally kicking my ass at the moment:
1 - I can debug my program from within Visual Studio 2008 just fine. I hit F5, the program compiles, it runs, and everything works perfectly. However, when I try to run the program from the exe in the debug folder of my project, it fires up, lets me scroll around the main menu, but as soon as I try to start a new game, it locks up.
2 - I figured maybe it had something to do with the way the debug executable was built, so instead I tried building a release version... and I get an error saying the entry point is undefined. I can switch back to a debug build and it works.
I'm totally lost here at this point. Any help with either of the above issues would be spectacular. My (sloppy) code can be found at http://www.chrispiekarz.com/files/csc160project.zip if anybody wants to poke around it. Note that it is a little under 10 megs at this point, but it includes all my image files, the compiled debug version (that crashes), the SDL libraries that I'm using, and my Visual Studio 2008 solution files.
Though the 2 issues listed above are my primary concern, I'm definitely interested in hearing any other feedback about the project - it's lightyears from being perfect, but it's my first large-scale application in C++, my first time doing any sort of graphics work, and my first attempt at any sort of game, so I know there's a lot for me to learn from it.
Edit: Oh and forgive the crappy art, I'm working on replacing some crap I produced in MS Paint with some free tile/sprite sets I've found online
1 - I can debug my program from within Visual Studio 2008 just fine. I hit F5, the program compiles, it runs, and everything works perfectly. However, when I try to run the program from the exe in the debug folder of my project, it fires up, lets me scroll around the main menu, but as soon as I try to start a new game, it locks up.
2 - I figured maybe it had something to do with the way the debug executable was built, so instead I tried building a release version... and I get an error saying the entry point is undefined. I can switch back to a debug build and it works.
I'm totally lost here at this point. Any help with either of the above issues would be spectacular. My (sloppy) code can be found at http://www.chrispiekarz.com/files/csc160project.zip if anybody wants to poke around it. Note that it is a little under 10 megs at this point, but it includes all my image files, the compiled debug version (that crashes), the SDL libraries that I'm using, and my Visual Studio 2008 solution files.
Though the 2 issues listed above are my primary concern, I'm definitely interested in hearing any other feedback about the project - it's lightyears from being perfect, but it's my first large-scale application in C++, my first time doing any sort of graphics work, and my first attempt at any sort of game, so I know there's a lot for me to learn from it.
Edit: Oh and forgive the crappy art, I'm working on replacing some crap I produced in MS Paint with some free tile/sprite sets I've found online