Difference between revisions of "User:Buddha^/GSoC2007-ProjectDiary"

Jump to navigation Jump to search
Added info on weird piece of logic in Apple IIGS King's Quest I.
(Added info about single instruments' lengths.)
(Added info on weird piece of logic in Apple IIGS King's Quest I.)
Line 978: Line 978:
word giving the length of the whole instrument set (So it's
word giving the length of the whole instrument set (So it's
1192 with Space Quest I, 1292 with all the others).
1192 with Space Quest I, 1292 with all the others).
== 2007-08-01 (Wednesday) - Instrument data and some commits ==
Still played a bit with the Python program that handles the
Apple IIGS instrument data extraction. Now I feel like I'm
getting a bit of a hang of the instrument data.
Here's an odd bit of logic code I found from Apple IIGS
version of King's Quest I (I added the comments):
<pre>
if (v20 == 0) // v20 is computer type, value 0 is IBM-PC
  set.game.id("PQ"); // Police Quest?!
else
  set.game.id("KQ");
</pre>
Look at [[AGI/Specifications/Internals#Variables_used_by_the_interpreter | variables used by AGI]] for info on v20.
Like what? Why? Why would the game want to change its game ID
based on what computer it's being run on? Totally weird...
417

edits

Navigation menu