New Update (Finals are OVER!)
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.
So I made myself a check list of things I want done before I make a video. I've started on it, and have already completed half of it.
Right now, the current issue at hand, is my surface abstraction. I made an example real quick to test image loading/clipping. Everything compiles and links just fine, but when I execute it, I get an Access Violation error whenever it comes to the abstracted surface in the code.
So I have a LoadImage method in my abstracted surface class:
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).
Anyways, right here: if(m_pSurface != NULL), is where it happens... I take that out, and it has an access violation the next time I mention m_pSurface.
I'll find the problem today hopefully. But after that, my checklist is:
*Extend functionality of surface abstraction to allow direct pixel manipulation
*Add support to select an icon for the window
*Place everything in a namespace
*Clean up and comments
so after I do everything, I'm going to go through, and organize things a bit better, and get things ready. I also haven't been consistent with comments, so I'm going to comment it as I'm reorganizing things.
But as it is now, to make anything, all I will have to do is:
Create a derived class from CApplicationManager (or use the basic one I made, which will just be used for simple demos) and then make my own set of states.
Well that's it for now, I'll make another post if I get anything done
0 Response to "New Update (Finals are OVER!)"
Post a Comment