Audio Manager = done!
Well after a few days, it's finally done. Sorry it took so long, I've been pretty lazy.
Well after a few days, it's finally done. Sorry it took so long, I've been pretty lazy.
So the 'secret project' was a bot for the game Conquer Online. My friend had it working, and a lot of it worked quite well. I guess they released something that shut it down though, and my friend doesn't want to continue with it. More time for me I guess.
Well I finished kind of cleaning up my code, and made a 10 minute long video... with my own audio commentary =D.
Well Finals are over =D. I got As on all my finals, and have a 4.3 GPA for the semester, so I'm in good shape. Anyways, back to the actual development stuff.
void LoadImage(std::string filename){if(m_pSurface != NULL){delete m_pSurface;m_pSurface = NULL;}SDL_Surface* loadedImage;SDL_Surface* optimizedImage;//I don't feel like typing the rest, but basically//I load the image into loaded image, and if it isn't NULL, then I format the image,//Then I assign the value of optimizedImage (which is now loaded and formatted)//To m_pSurface(which is the abstracted surface).
Just wanted to say that I finally took care of all those errors, and the project now compiles fine, with just a single warning (just a little tidbit about losing data, because I convert from a double to an int) =D. Anyways, the event handling works well.