Map Debugger

Tool to help debug TRSMap and TRSMapLoader.

Example:

{$I WaspLib/osrs.simba}

begin
  Map.Setup([ERSChunk.VARROCK]);
  MapDebugger.Setup(@Map.Loader);
  MapDebugger.Show();
end.
_images/map_debugger.gif

TMapDebugger

Main record used to hold core values of the Map Debugger.


MapDebugger.Show

procedure TMapDebugger.Show();

Shows the MapDebugger form. You must first call TMapDebugger.Setup before calling this.

Example:

MapDebugger.Show();

MapDebugger.Setup

procedure TMapDebugger.Setup(loader: ^TRSMapLoader);

Setup method for the MapDebugger form. A pointer to a TRSMapLoader must be passed into this as loader.

Example:

MapDebugger.Setup(@Map.Loader);

MapDebugger variable

Global TMapDebugger variable.