Menu

Commit [r962]  Maximize  Restore  History

Trunk 1.1: reengineering of onoff objects and switches

- new subclass StateObject as basis for all gaming objects
- Switch rewrite: added "color" attribute, "inverse" support
- FourSwitch rewrite:
- state set/get attribute representing the direction
- action value of direction for global targets to steer boulder, oneway
(direction made compatible to signal values 1,0)
- action value bool for triggering on state dependent targets
- "inverse" support
- added "counterclock" attribute defaulting to false
- "toggle", "signal" support
- renaming support for new API - new obect names:
st_switch, st_switch_black, st_switch_white, st_fourswitch
- invert support extended from bool to arbitrary values
- message: overriden methods call their direct superclass
- Value added operator <=,>=(int)
Note:
- Blocking of unsupported messages and attributes of StateObject is
still missing.

ral 2008-01-03

1 2 > >> (Page 1 of 2)
changed /trunk/data/init.lua
changed /trunk/src/GridObject.cc
changed /trunk/src/GridObject.hh
changed /trunk/src/Makefile.am
changed /trunk/src/Object.cc
changed /trunk/src/Object.hh
added /trunk/src/StateObject.cc
added /trunk/src/StateObject.hh
changed /trunk/src/Value.cc
changed /trunk/src/Value.hh
changed /trunk/src/actors.cc
changed /trunk/src/actors.hh
changed /trunk/src/display.hh
changed /trunk/src/floors.cc
changed /trunk/src/items.cc
changed /trunk/src/laser.cc
changed /trunk/src/lua.cc
changed /trunk/src/lua.hh
changed /trunk/src/ox_extra.cc
changed /trunk/src/ox_magnum.cc
changed /trunk/src/ox_oxyd1.cc
changed /trunk/src/ox_peroxyd.cc
changed /trunk/src/st_switches.cc
changed /trunk/src/stones.cc
changed /trunk/src/stones.hh
/trunk/data/init.lua Diff Switch to side-by-side view
Loading...
/trunk/src/GridObject.cc Diff Switch to side-by-side view
Loading...
/trunk/src/GridObject.hh Diff Switch to side-by-side view
Loading...
/trunk/src/Makefile.am Diff Switch to side-by-side view
Loading...
/trunk/src/Object.cc Diff Switch to side-by-side view
Loading...
/trunk/src/Object.hh Diff Switch to side-by-side view
Loading...
/trunk/src/StateObject.cc Diff Switch to side-by-side view
Loading...
/trunk/src/StateObject.hh Diff Switch to side-by-side view
Loading...
/trunk/src/Value.cc Diff Switch to side-by-side view
Loading...
/trunk/src/Value.hh 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/display.hh Diff Switch to side-by-side view
Loading...
/trunk/src/floors.cc Diff Switch to side-by-side view
Loading...
/trunk/src/items.cc Diff Switch to side-by-side view
Loading...
/trunk/src/laser.cc Diff Switch to side-by-side view
Loading...
/trunk/src/lua.cc Diff Switch to side-by-side view
Loading...
/trunk/src/lua.hh Diff Switch to side-by-side view
Loading...
/trunk/src/ox_extra.cc Diff Switch to side-by-side view
Loading...
/trunk/src/ox_magnum.cc Diff Switch to side-by-side view
Loading...
/trunk/src/ox_oxyd1.cc Diff Switch to side-by-side view
Loading...
/trunk/src/ox_peroxyd.cc Diff Switch to side-by-side view
Loading...
/trunk/src/st_switches.cc Diff Switch to side-by-side view
Loading...
/trunk/src/stones.cc Diff Switch to side-by-side view
Loading...
/trunk/src/stones.hh Diff Switch to side-by-side view
Loading...
1 2 > >> (Page 1 of 2)