[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Enigma-devel] Callbacks crash Enigma / Fix for "Double-Maze"

From: Daniel Heck
Subject: Re: [Enigma-devel] Callbacks crash Enigma / Fix for "Double-Maze"
Date: Tue, 18 Mar 2003 10:38:04 +0100

Ralf Westram wrote:

> My problem is that Enigma 0.70 crashes reproducable and now I'm trying
> to figure out why..
> I tested "Double-Maze", because there are some similarities to my
> level and found out, that this level crashes as well (WIN98SE), when I
> use the switch several times. I was able to fix "Double-Maze" by
> avoiding to set the switch twice (I uploaded the patch).

Double Maze works perfectly for me, but I will take a look at your

> But I'm not able to fix it for my own level, because my switches move
> - so they have to be set mutiple times.
> To what is the callback bound? To the position or to the switch
> itself?

To the switch itself.

> One more question: Is it possible to _remove_ a stone from the level?
> Currently I do this by replacing it with "st-grate2", but I would
> prefer removing if possible.

Yes, you can.  Simply call

        enigma.KillStone(x, y)

A couple of levels actually use this function already.


Daniel Heck                             address@hidden
Bergheimerstr. 137
69115 Heidelberg                                   tel +49-6221-656047

reply via email to

[Prev in Thread] Current Thread [Next in Thread]