Past 2 weeks

Ok, so I’ve been slacking off with the typing, and didn’t work for a week after new year. So here’s a summary.

I mentioned that SDL_Timer took a lot of CPU last time, and it was partially true, but not the sole reason. I had forgot to add SDL_delay(), causing the application to use any available CPU power, updating an arbitrary amount of times a second. after adding a delay of 10ms, it worked smoothly (albeit still use more CPU than otherwise necessary because of the timer). The problem then arose that having a delay of 10ms, the timer could be missed sometimes or update at irregular intervals, lowering the delay to 1ms mostly fixed that (or at least lowered the frequency of it), but in turn increased the CPU usage, though 7% as opposed to 100% is much more acceptable.

After a week of being sick and exhausted (still feeling a bit under the weather) I resumed work. Most of the hard work for my part was done earlier, so I finished the 7 states I could complete without any dependencies in a night. Problem now is that I need the Game State to be at least partially done before I can resume work on the other states I was supposed to do, namely the Save State and monster states. Since the Game State isn’t even partially done, I can’t do anything for now.