Menu

Commit [r1204]  Maximize  Restore  History

Trunk 1.1: new API reengineering

- Other: new object type besides Floor, Item, Stone, Actor
- superclass for unpositioned objects and gadgets
- Rubberband:
- elimintion of all old structurs and code
- made a full valued Enigma object of type Other
- named "ot_rubberband"
- full support of attributes, messages, naming,...
- own attributes: "anchor1", "anchor2", "strength", "length", "threshold"
- adjustments to all involved objects like, scissor, st_rubberband,
it_rubberband
- Wirecontrol: new object
- name "ot_wirecontrol"
- wires to stones given by attributes: "anchor1", "anchor2"
- transfers stoneimpulses between its stones
- wo:add() new method to add Other objects given by a tile or table declaration
- all objects support new attributes:
- "rubbers" - read only, a group of all connected rubbers
- "wires" - read only, a group of all connected wires
- "fellows" - read only, a group of all objects connected by rubbers or wires
- fix YieldedGridStone: set correct owner positions for yielded stones
(avoid rubberband jumping temporarily to -1,-1)
Note:
- did temporarily brake support of turnstile stones and rubberbands
- rubberband needs support of min and max values to avoid infinite moves
- wirecontrol impulse behaviour has to be settled for various special stones

ral 2008-07-02

1 2 > >> (Page 1 of 2)
changed /trunk/data/schemas/objects.xml
changed /trunk/data/schemas/objects.xsd
changed /trunk/src/Makefile.am
changed /trunk/src/Object.cc
changed /trunk/src/Object.hh
changed /trunk/src/d_engine.hh
changed /trunk/src/display.cc
changed /trunk/src/display.hh
changed /trunk/src/items.cc
changed /trunk/src/lua.cc
added /trunk/src/others
added /trunk/src/others/Other.cc
added /trunk/src/others/Other.hh
added /trunk/src/others/Rubberband.cc
added /trunk/src/others/Rubberband.hh
added /trunk/src/others/WireControl.cc
added /trunk/src/others/WireControl.hh
changed /trunk/src/oxyd.cc
changed /trunk/src/player.cc
changed /trunk/src/stones.cc
changed /trunk/src/stones.hh
changed /trunk/src/stones/BoulderStone.cc
changed /trunk/src/stones/BoulderStone.hh
changed /trunk/src/stones/ChessStone.cc
changed /trunk/src/stones/ChessStone.hh
/trunk/data/schemas/objects.xml Diff Switch to side-by-side view
Loading...
/trunk/data/schemas/objects.xsd 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/d_engine.hh Diff Switch to side-by-side view
Loading...
/trunk/src/display.cc Diff Switch to side-by-side view
Loading...
/trunk/src/display.hh Diff Switch to side-by-side view
Loading...
/trunk/src/items.cc Diff Switch to side-by-side view
Loading...
/trunk/src/lua.cc Diff Switch to side-by-side view
Loading...
/trunk/src/others
Directory.
/trunk/src/others/Other.cc Diff Switch to side-by-side view
Loading...
/trunk/src/others/Other.hh Diff Switch to side-by-side view
Loading...
/trunk/src/others/Rubberband.cc Diff Switch to side-by-side view
Loading...
/trunk/src/others/Rubberband.hh Diff Switch to side-by-side view
Loading...
/trunk/src/others/WireControl.cc Diff Switch to side-by-side view
Loading...
/trunk/src/others/WireControl.hh Diff Switch to side-by-side view
Loading...
/trunk/src/oxyd.cc Diff Switch to side-by-side view
Loading...
/trunk/src/player.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...
/trunk/src/stones/BoulderStone.cc Diff Switch to side-by-side view
Loading...
/trunk/src/stones/BoulderStone.hh Diff Switch to side-by-side view
Loading...
/trunk/src/stones/ChessStone.cc Diff Switch to side-by-side view
Loading...
/trunk/src/stones/ChessStone.hh Diff Switch to side-by-side view
Loading...
1 2 > >> (Page 1 of 2)