Difference between revisions of "Glk"

Jump to navigation Jump to search
74 bytes added ,  08:41, 7 July 2020
adding links, expanding, fixing a few bits of grammar here and there
m (Text replacement - "Frotz" to "ZCode")
(adding links, expanding, fixing a few bits of grammar here and there)
Line 1: Line 1:
{{EngineDescription
{{EngineDescription
|name=Glk
|name=Glk
|developer=[[User:dreammaster|dreammaster]], Tor Andersson
|developer=[[User:dreammaster|dreammaster]], [[Tor Andersson]]
|companies=See [[Glk#Sub-engines|Sub-engines]]
|companies=See [[Glk#Sub-engines|Sub-engines]]
|usedBy=See [[Glk#Sub-engines|Sub-engines]]
|usedBy=See [[Glk#Sub-engines|Sub-engines]]
Line 9: Line 9:


==About==
==About==
Glk is an engine that implements the Glk API for text adventures (a.k.a. interactive fiction). Under it sits a number of sub-engines, each supporting a different company's and/or category of text adventures.
The Glk API for text adventures (a.k.a. interactive fiction) was created by [[Andrew Plotkin]].
 
The ScummVM Glk engine implements the Glk API. Under it sits a number of sub-engines, each supporting games from different companies and/or a category of text adventures.


==Sub-engines==
==Sub-engines==
Line 18: Line 20:
* [[Glk/Alan3|Alan3]] - For playing games created with the Alan 3 standard library version of the Adventure Language System.
* [[Glk/Alan3|Alan3]] - For playing games created with the Alan 3 standard library version of the Adventure Language System.
* [[Glk/Archetype|Archetype]] - For playing games created with the Archetype object-oriented programming language.
* [[Glk/Archetype|Archetype]] - For playing games created with the Archetype object-oriented programming language.
* [[Glk/Comprehend|Comprehend]] - For playing games commerically released using the Comprehend engine.
* [[Glk/Comprehend|Comprehend]] - For playing games commercially released using the Comprehend engine.
* [[Glk/ZCode|ZCode]] - For playing Infocom games and more recent Z-code games authored using Inform.
* [[Glk/ZCode|ZCode]] - For playing Infocom games and more recent Z-code games authored using Inform.
* [[Glk/Glulxe|Glulxe]] - For playing Glulx games authored using Inform.
* [[Glk/Glulxe|Glulxe]] - For playing Glulx games authored using Inform.
Line 30: Line 32:


==Notes==
==Notes==
Whilst at first I tried to keep the sub-engines as close to the original source they're derived from as possible, this quickly proved impossible. Not only did I have to add in proper C++ namespaces to encapsulate all the code, I also had to do various conversions to change them over from using STL to using ScummVM classes. So don't anticipate that it'll be easy to take any interpreters converted specifically for ScummVM Glk and simply drop them into any other Glk implementations.
Whilst at first I tried to keep the sub-engines as close to the original source they're derived from as possible, this quickly proved impossible. Not only did I have to add in proper C++ namespaces to encapsulate all the code, but I also had to do various conversions to change them over from using STL to using ScummVM classes. So don't anticipate that it'll be easy to take any interpreters converted specifically for ScummVM Glk and simply drop them into any other Glk implementations.


==TODO==
==TODO==
* support user gestalts. So far, very few games use them, since the specification was only written recently and not many people know about them, but in future there might be more. One game being written, xyzabcde2, uses user gestalts 0x1400 and 0x140C.
* support user gestalts. So far, very few games use them, since the specification was only written recently and not many people know about them, but in the future, there might be more. One game being written, xyzabcde2, uses user gestalts 0x1400 and 0x140C.


==External links==
==External links==
7,987

edits

Navigation menu