Menu

Commit [r1404]  Maximize  Restore  History

Trunk 1.1: new API reengineering

- actors reengineering part I:
- ac-blackball renamed to ac_marble_black
- ac-whiteball renamed to ac_marble_white
- ac-whiteball renamed to ac_pearl_white
- ac_marble defaults to ac_marble_black
- ac_pearl defaults to ac_pearl_white
- attribute "mousefactor" renamed to "adhesion" for all actors
- the othe existing "ball" attributes remain unchanged besides:
- ac_pearl is assigned to "player" 0 what reflects its main usage in
meditation levels. A not assigned pearl needs to reset the player
attribute to "nil" or DEFAULT, if done in a Lua table
Note:
- additional attribute and message declaration will follow, but they will not
affect existing levels
- other actors will follow in the renaming by just switching the hyphen into
an underscore.
- all existing new API levels need an update!

ral 2008-12-21

changed /trunk/data/api1init.lua
changed /trunk/data/models-2d.lua
changed /trunk/data/schemas/objects.xml
changed /trunk/src/Makefile.am
added /trunk/src/actors
changed /trunk/src/actors.cc
changed /trunk/src/actors.hh
added /trunk/src/actors/Balls.cc
added /trunk/src/actors/Balls.hh
changed /trunk/src/items.cc
changed /trunk/src/items/Meditation.cc
changed /trunk/src/oxyd.cc
changed /trunk/src/player.cc
removed /trunk/src/sim
changed /trunk/src/stones.cc
changed /trunk/src/stones/Switch.cc
changed /trunk/src/stones_simple.cc
changed /trunk/src/world.cc
/trunk/data/api1init.lua Diff Switch to side-by-side view
Loading...
/trunk/data/models-2d.lua Diff Switch to side-by-side view
Loading...
/trunk/data/schemas/objects.xml Diff Switch to side-by-side view
Loading...
/trunk/src/Makefile.am Diff Switch to side-by-side view
Loading...
/trunk/src/actors
Directory.
/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/actors/Balls.hh Diff Switch to side-by-side view
Loading...
/trunk/src/items.cc Diff Switch to side-by-side view
Loading...
/trunk/src/items/Meditation.cc 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/sim
File was removed.
/trunk/src/stones.cc Diff Switch to side-by-side view
Loading...
/trunk/src/stones/Switch.cc Diff Switch to side-by-side view
Loading...
/trunk/src/stones_simple.cc Diff Switch to side-by-side view
Loading...
/trunk/src/world.cc Diff Switch to side-by-side view
Loading...