Per Jason's request, added config file code for the com tower. Also, added readouts for the different powerups, and tweaked the health bar so the whole
thing looks good.
-- MacMason - 16 Dec 2004
Added a health meter under the score bar. Starts out white, gets redder as time passes. Sent an e-mail to the team asking about look, feel of bar, to see what they think.
-- MacMason - 07 Dec 2004
Added a step to the draw stuff to switch out to ortho view and draw some text; at the moment, it draws the score (and increments it, so that it changes). Next step is a health bar of some sort, and finally a radar display.
-- MacMason - 07 Dec 2004
Forgot to update the last time the config file code was modified; it should now read in all the documented "shortcut" commands,
although we have yet to define things like warehouse2, so it just creates warehouse1s. (there are a few other similar cases, all ready to be fixed; should take about thirty seconds each)
-- MacMason - 07 Dec 2004
Brian caught an order-of-events mistake, so the config file works now.
-- MacMason - 23 Nov 2004
Hooray Progress!
Just added a bunch of config-file stuff, including proper model loading. Should work now.
As we've seen before, however, it doesn't; the models don't seem to actually get added. Strange.
-- MacMason - 22 Nov 2004
Added the basic config-file-reading-in code a few minutes ago.
This reads from a file called config.txt, and adds mobiles, and immobiles, and so on from there.
The readConfigFile function is actually being called from the TankWorld? constructor, so it knows how to
create all these nice models it's using.
We have something of a problem with the model constructors; they want Model* input, and all I can
get from the config file is strings. Unless somebody has a bright idea, I'll bust out my STL reference
and see if I can build a string->Model* map and use that.
-- MacMason - 22 Nov 2004
Added a bunch of height-mapping code that should work; also added a basic .raw file.
But it doesn't actually work yet; I imagine this stems from me misunderstanding Brian's representation of the terrain.
Should be sorted out soon, though.
-- MacMason - 18 Nov 2004
Dropped a bunch of the code from NeHe? lesson 6 into globals.cpp to make it run. As of now, we have a spinning cube.
-- MacMason - 07 Nov 2004