Menu

Commit [r1912]  Maximize  Restore  History

Trunk 1.1:

- improve laser:
- shatter actors that approach laser beam center by 0.2 grids
- marble shatter in an unchanged distance
- pearls shatter earlier in a reasonable distance to the beam.
- add auto respawn feature:
- global attribute "AutoRespawn", default false
- on auto respawn last secure positions are recorded for every actor
- on death the following resurrection position is choosen:
- if it_flag has been dropped choose its position
- if no it_flag has been dropped, or it_flag has been picked up:
- center of last position where actor has not been moribund and
the floor adhesion allows actor to move (resurrect aside of water,
abyss, death, do not resurrect on space)
- if killed by laser, choose nearest grid edge to avoid endless laser
deaths
- on suicide choose the exactly last secure position - no center, no edge
offset to avoid shortcuts

ral 2009-12-13

changed /trunk/src/WorldProxy.cc
changed /trunk/src/actors.cc
changed /trunk/src/actors.hh
changed /trunk/src/actors/Balls.cc
changed /trunk/src/laser.cc
changed /trunk/src/server.cc
changed /trunk/src/server.hh
/trunk/src/WorldProxy.cc Diff Switch to side-by-side view
Loading...
/trunk/src/actors.cc Diff Switch to side-by-side view
Loading...
/trunk/src/actors.hh Diff Switch to side-by-side view
Loading...
/trunk/src/actors/Balls.cc Diff Switch to side-by-side view
Loading...
/trunk/src/laser.cc Diff Switch to side-by-side view
Loading...
/trunk/src/server.cc Diff Switch to side-by-side view
Loading...
/trunk/src/server.hh Diff Switch to side-by-side view
Loading...