I had an awesome vacation last week, I didn't get too much done in the way of coding, but it really got me refreshed and ready to get back on the bandwagon both at work and here on the hobby-front.
Before I left I mentioned I wanted to go really simple, breakout-clone style. No more multi-player this, physics-that. Just some old school arcade action to get a completed title under my belt. I've been coding OpenGL & DirectX for too long to not have a completed game to my name!!!
Rather than just go kamakazi and code up some messiness, I'm organizing my code into a statically linked library and making it as modular as possible for me to build on and use again later.
So far I've ported over all of my old math stuff, my console binding library, and I've just finished the bare-minimum for my graphics foundation. Here is an example screenie & code to use the graphics library.
using namespace Kyrite::Graphics;
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd)
CSprite *pSprite = NULL;
// Create the window.
window.Create(hInstance, false, "WindowTestbed", 800, 600, 16);
window.SetClearColor(RGBA_MAKE(0, 0, 255, 0));
//Create the sprite.
pSprite = new CSprite(&window);
// Application loop.
I have a basic GUI framework for my uber-engine that I'm kind of abandoning. In between tasks at work I'm starting to design a proper GUI that I'll use for my in-game editor. I'd like to distinctly seperate the GUI from any graphics and input so that it might be usefull to others, and if/when I have to upgrade my own graphics stuff, I don't have to redo all my GUI code :)