Menu

Commit [r1160]  Maximize  Restore  History

Trunk 1.1: new API reengineering item glasses

- it-glasses renamed to it_glasses
- fix glasses for multiple instances in inventory
- fix glasses for black plus white marbles
- glasses made configurable what to show - state
- global variable to request current glasses type
- world attribute "ExtralifeGlasses" for type of glasses on lasered extralife
Note:
- glasses use some code hacks, should be improved when items get separated
- all glasses affected objects need special handling for swapping, etc.

ral 2008-05-26

changed /trunk/data/api2init.lua
changed /trunk/data/models-2d.lua
changed /trunk/data/schemas/objects.xml
changed /trunk/src/Inventory.hh
changed /trunk/src/WorldProxy.cc
changed /trunk/src/items.cc
changed /trunk/src/player.cc
changed /trunk/src/server.cc
changed /trunk/src/server.hh
changed /trunk/src/stones/LightPassengerStone.cc
changed /trunk/src/stones/OxydStone.cc
changed /trunk/src/stones/OxydStone.hh
changed /trunk/src/stones_simple.cc
changed /trunk/src/world.hh
/trunk/data/api2init.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/Inventory.hh Diff Switch to side-by-side view
Loading...
/trunk/src/WorldProxy.cc Diff Switch to side-by-side view
Loading...
/trunk/src/items.cc Diff Switch to side-by-side view
Loading...
/trunk/src/player.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...
/trunk/src/stones/LightPassengerStone.cc Diff Switch to side-by-side view
Loading...
/trunk/src/stones/OxydStone.cc Diff Switch to side-by-side view
Loading...
/trunk/src/stones/OxydStone.hh Diff Switch to side-by-side view
Loading...
/trunk/src/stones_simple.cc Diff Switch to side-by-side view
Loading...
/trunk/src/world.hh Diff Switch to side-by-side view
Loading...