Been slowly getting there; spent a good chunk of time working on the Save/Load menu. I've been aware ever since I released 1.2 that it was in need of some performance and usability improvements, basic things like not reloading the entire list everytime you enter the menu, preserving the old selection position, and so on. There were also some bugs present; one case where I'd forgotten to replace "/save/" with host_savedir.string, and another (that had wider implications) where I'd somewhat stupidly assumed that that Windows API CreateDirectory function could take quotes around the directory name (e.g. for if it had spaces in it).
Lesson 1: what's normal behaviour in the shell is not necessarily the way things are in the API - make no assumptions.
The remaining item is to decide how to handle saves from the command-line. Right now the selective rebuilding of the menu lists and checking for changes to host_savedir is confined to the menus.
The code for this menu has become quite complex and messy by now, and no doubt another slew of bugs will emerge when it goes public.
Other news; I've decided to get down off my high horse and drop the whole cvar and cmd protection thing. At the end of the day what it boils down to is that Quake is so old a game that anyone using it is going to know what they're getting anyway, so the whole concept seems a bit silly.
With the advent of LIT file support I really need to check out a number of different machines. I had something funny last week where the lightmaps were RGB on one machine but BGR on another, but I think I was working off an older codebase at the time. I definitely want to confirm that all is OK before releasing anything.
So when will I release 1.3? Can't commit at the moment, there's quite a bit that needs to be tightened up, but otherwise it's pretty much in "feature freeze" mode. This was a problem I had with the GL engine earlier on, where I could never discipline myself to stop adding new things, but thankfully I seem to have it licked by now.
Sometime next week is a possibility, all going well.
Sunday, January 4, 2009
Fun with stuff
Posted by
mhquake
at
12:03 AM
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment