|New on the left, old on the right.|
There are some subtle differences between the versions. In a perfect world I would of set up headings and other auto-format items, but as the original documentation was already formatted, I didn't bother. However, the headers are what's used for the auto table of contents and linking system. This is why the title in the page header is also missing. Even though the current version is a page-for-page copy of the original (for the most part), I have a lot of aggressive page breaks that's going to wreck havoc when I update the documentation. I'll worry about that when I'm in the finalization phase.
Next is the tutorials. I was monkeying with the demo save/record functions a little bit today. I'm not keen on the timers yet so I need to figure those out. There are 4 timers in the game, and they all have a resolution of 100ths of a second. Originally they were dependent on clock(), which required <time.h> but I wrapped allegro's timer function around them.
The 4 timers are as follows.
long mtime //The master timer that starts from 0 and runs as the game plays
long ktime // The keyboard timer for keeping track of when keys were pressed for demo recording playback
long rtime //??
long ntime //??
The last two are used for time swapping but never really investigated as they just seemed to work after I replaced the clock() function. This will be getting scrutinized as I convert the demo system into a tutorial one. That's tomarrow's mission.