|
Angband Borg with graphics patch
|
Current version: 0.0.2 (27th January 2000)
Author: Robert Ruehlmann
Download: borg-graphics-patch.zip (6 kByte)
Patches:
Description:
This patch allows the Borg to run with graphics turned on.
It has been tested with pure ASCII, ASCII + pseudo-graphics for walls,
8x8 tiles, and Adam Bolt's 16x16 tiles. Other tilesets should work too.
Implementation details:
The patch adds an 128 kByte translation-table for converting graphical
tiles into the original ASCII attr/char values. Usage of the
translation-table can be switched on and off with the
'ALLOW_BORG_GRAPHICS' define in 'config.h'.
Possible bugs:
Switching the graphics mode after the Borg is already prepared
(on the Borg command prompt) can crash the game since the translation
table is still initialized for the old mode and doesn't know about
the new one.
The Borg may get trouble if two things (monsters, objects, terrains)
have the same graphical representation but different internal ASCII
representation. There seem to be no problems with the current
tilesets, but things like a monochrome ASCII tileset would confuse
the Borg.
History:
- Version 0.0.1 (24th January 2000):
- Version 0.0.2 (27th January 2000):
- Adapted the patch for the APW Borg.
ToDo:
- Find a fix for the first bug.
- Check for the second problem mentioned above and switch back to using
the default ASCII representations in that case.
- Allocate the memory dynamically and only use the translation-table if
graphics are really used.
- Port the code to other Borgs.