T-Engine

Welcome to the t-engine Bug Tracker

Please note that this is a tracker for ToME 3 issues. Please list any ToME 2 issues on the ToME wiki.

For information on the wiki format used for the tickets and comments, see the Dokuwiki Syntax Reference.

Thanks,
Eric (sdltome-at-gmail:dot:com)

| Tasklist |

FS#193 - Make cavern levels work again

Attached to Project: T-Engine
Opened by Nerdanel (nerdanel) - Thursday, 16 July 2009, 12:02 GMT-7
Task Type Developer Task
Category T-Engine
Status New
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version alpha18
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Cavern levels have currently been disabled due to a bug that causes crashes and corrupt panic saves when such levels are being generated. The bug should be fixed so that this feature could be re-enabled.

Small fractal caves still occur, and the same crash bug would occasionally affect them too were it not a helpful bug that SOMEHOW stops the crashes.

The fortuitously buggy line in generate.c:

#define EMPTY_FEAT 65536

The EMPTY_FEAT number can’t be anything nice like -1 or anything that would fit in the s16b datatype, the sort to which EMPTY_FEAT gets compared, otherwise the crashes come back.

This bug also stops the cavern levels from crashing, but it also stops them from ever being generated, so such levels are currently disabled for real.

This task depends upon

Loading...