-
Notifications
You must be signed in to change notification settings - Fork 1
Source files
Thomas Thurman edited this page Jun 4, 2013
·
6 revisions
The Avalot repository contains a great deal of source code, generally written in Turbo Pascal version 7. It falls into three groups: files in the core, other shipping code, and editors.
See also: missing INCs.
When I say "the core" here, I mean the main game, AVALOT9. This will become clearer after reading about AVX.
- avalot9.pas - This is the main file of AVALOT9 and hence of the whole application.
- basher.pas - Allegedly for keyboard-related routines, although this seems to have been interpreted rather broadly.
- gyro.pas - Gyro holds common functions and objects which many other files will need to refer to, and which don't otherwise fit into any of the more specific files. If you want a function to be visible everywhere in AVALOT9, it should live in here.
- lucerna.pas - A general place to keep screen-handling functions. Mouse support is also here. Keyboard support was moved out to Basher because Lucerna got too large.
- pingo.pas - Pingo contains full-screen routines used within the core of Avalot, such as the boss key and the routine to make the screen wobble after drinking alcohol. (The name is Latin for "I paint.")
- scrolls.pas - Scrolls contains both the routines to display scrolls on the screen, and the scrolldrivers. These are logically separate, but implemented in the same source file.
- trip5.pas (and other trip*.pas) - Trippancy, the sprite animation subsystem, which exists in several versions. Trip5 is the one that's used in the final product. All others are only of historical interest.
(Much more to come here)
(more here later)
Instead of writing the resource files in a friendly format and then compiling them, we mostly took the approach of writing our own editors for the resource file formats.
- also.pas - editor for Also files.
(more here later)