enigma-cvs
[Top][All Lists]
Advanced

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

[Enigma-cvs] enigma/src actors.cc enigma.cc enigma.hh items....


From: Ralf Westram
Subject: [Enigma-cvs] enigma/src actors.cc enigma.cc enigma.hh items....
Date: Sat, 03 May 2003 03:16:35 -0400

CVSROOT:        /cvsroot/enigma
Module name:    enigma
Changes by:     Ralf Westram <address@hidden>   03/05/03 03:16:35

Modified files:
        src            : actors.cc enigma.cc enigma.hh items.cc 
                         object_mixins.hh objects.cc objects.hh world.cc 
                         world.hh 

Log message:
        * src/world.cc: - GetActorsInRange gets _reference_ to vector
        * src/actors.cc: - GridPos::GridPos(V2) replaces local function 
get_field
        
        * src/*: - actor_hit() uses SendImpulse() instead of MaybeMoveStone()
        - 'impulses' propagate via Stone::on_impulse()
        i.e. Stones move themselve when an impulse is received
        - MaybeMoveStone() replaced by Stone::move_stone()
        - Pullers and ImpulseStones also send impulses. This fixes several bugs:
        - when ShogunStones where pushed/pulled they always moved in one piece
        - ShogunDots didn't get activated when ShogunStones were not moved 
directly by actor
        - PuzzleStones didn't move at all when pushed/pulled
        - Turnstiles didn't rotate
        - ImpulseStones _first_ search all targets in their neighbourhood 
_before_ sending the
        first impulse => Stones which move into neighbourhood as result of one 
of the sent
        impulses, don't get another impulse yet.
        - Turnstile_Pivot looks for nearby actors and warps them during 
rotation (working but unfinished)
        
        At the moment the whole impulse-mechanism can be switched off by 
undefining USE_IMPULSES (3x).
        I kept the old code inside until the new code proves stable.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/enigma/enigma/src/actors.cc.diff?tr1=1.11&tr2=1.12&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/enigma/enigma/src/enigma.cc.diff?tr1=1.11&tr2=1.12&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/enigma/enigma/src/enigma.hh.diff?tr1=1.7&tr2=1.8&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/enigma/enigma/src/items.cc.diff?tr1=1.23&tr2=1.24&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/enigma/enigma/src/object_mixins.hh.diff?tr1=1.6&tr2=1.7&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/enigma/enigma/src/objects.cc.diff?tr1=1.55&tr2=1.56&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/enigma/enigma/src/objects.hh.diff?tr1=1.14&tr2=1.15&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/enigma/enigma/src/world.cc.diff?tr1=1.20&tr2=1.21&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/enigma/enigma/src/world.hh.diff?tr1=1.11&tr2=1.12&r1=text&r2=text





reply via email to

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