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