Monday, January 28, 2008

Progress and next steps

I've cleaned up the whole listbox code and made it much more robust now, so I think I can call this one a wrap. It also supports PGUP, PGDN, Home and End keys.

Started messing with underwater fog - the usual MHQuake correct underwater fog colour will apply. I've rewritten the code for this in a test engine I did some work on before this one, so it will be reusable here. It's a fairly neat method that does away with the whole awkward "world volume" system I had in the past. After some thoughts about how it works, I've decided to fog the entire world if the player is underwater, otherwise translucent water surfaces can look very odd. I'll probably use a different fog equation for overwater than I use for underwater, though.

This will be a nice break before I get back to working on the whole menu system, which will be a major undertaking, as I'm deeply unhappy with Quake's menus as they stood in the original.

0 comments: