GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • WaspLib documentation

This view

  • Original page
  • New address

GeezerVison is showing docs.waspscripts.com — Interface Definition

Interface Definition¶

Components of the game’s interfaces - one widget each.


ReadSignedShort¶

function ReadSignedShort(const data: TByteArray; var offset: Integer): Integer;

Read16Bits reinterpreted as signed, for the interface fields that can be negative.


InterfaceDefinition.Create¶

function TInterfaceDefinition.Create(id: Integer; const data: TByteArray): TInterfaceDefinition; static;

Decodes an interface component - one widget of the game’s UI.

Unlike most definitions this is not opcode driven: the fields come in a fixed order, and which of them are present depends on IfType. Only the size, type and sprite are kept, but the rest are still read so that the ones after them land in the right place.

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.