Category:Graphic Novels and AGI ROOM 0: Difference between pages
m 1 revision imported |
m 1 revision imported |
||
Line 1: | Line 1: | ||
{{TechStub}} | |||
<div align="center" style="font-size: 22pt">ROOM #0</div><br /> | |||
<div class="Quote"> | |||
{{Quote|Attrib = Adventure Game Development System<ref>From the [[Adventure Game Development System Official Documentation|Adventure Game Development System (AGDS) Official Documentation]]</ref> | |||
}} | |||
ROOM #0 contains the LOGICS that are common to the entire game, low level functions like "SAVE GAME," "HELP," etc. Instead of coding instructions to handle saving the game into every room, put it in room 0. DYNAMIC LOGICS are used for the same reason. They are rooms that have no picture, but process commands that occur in multiple ROOMs. Every ROOM that needs swimming can load a LGC.SWIM which deals with commands like SWIM, and standing ego up when he is no longer in water. It would be a nuisance and a waste of disk space to code this redundantly for each ROOM with water in it. If it were in ROOM #0 it would occupy ram even in ROOMs without water. Memory is valuable; anything that cuts down memory requirements is good! | |||
</div> | |||
[[Category: | ==<br /> Description == | ||
Logic 0 is special, so a room number of 0 is not valid. | |||
==<br /> References == | |||
<references /> | |||
== See also == | |||
* [[New.room|new.room]] | |||
* [[Special Variable (AGI)|Special variables (AGI)]] | |||
* [[AGI Specifications]] | |||
| |||
[[Category:Technical Info]] | |||
[[Category:References]] | |||
[[Category:AGI References]] | |||
[[Category:Documentation]] | |||
[[Category:AGI Documentation]] |
Revision as of 00:26, 3 June 2024
![]() |
This article is a technical stub page. You can help the Sierra Wiki by expanding it. |
ROOM #0 contains the LOGICS that are common to the entire game, low level functions like "SAVE GAME," "HELP," etc. Instead of coding instructions to handle saving the game into every room, put it in room 0. DYNAMIC LOGICS are used for the same reason. They are rooms that have no picture, but process commands that occur in multiple ROOMs. Every ROOM that needs swimming can load a LGC.SWIM which deals with commands like SWIM, and standing ego up when he is no longer in water. It would be a nuisance and a waste of disk space to code this redundantly for each ROOM with water in it. If it were in ROOM #0 it would occupy ram even in ROOMs without water. Memory is valuable; anything that cuts down memory requirements is good!
Description
Logic 0 is special, so a room number of 0 is not valid.
References
See also
Media in category "Graphic Novels"
This category contains only the following file.
-
GK3 Graphic Novel.pdf 0 × 0; 3.12 MB