Menu

Commit [r1392]  Maximize  Restore  History

Trunk 1.1: new API reengineering

- floor preparation for declartion in objects.xml instead of startup.lua
- object declarations for floors: swamp, space, abyss, ice, fixes for bridge
- floodstream floors:
fl_water, fl_water_source, fl_hay, fl_hay_framed, fl_rock, fl_rock_framed,
fl_wood, fl_wood_h, fl_wood_v, fl_wood_framed, fl_wood_framed_h and _v
- water and these framed floors, as created by floorbuilding stones, do
represent flooded areas
- all floors do support new attribute "floodable", default false
- flood activation by state FLOODING on water or framed floodstream floors
- fl_water_source is water in state FLOODING
- attribute "interval" on floodstream floors determines speed
- flood spreads on floodable areas and over water and framed floodstream floors
- flood is stopped by stones that deny spreading: all stones besides floating
onces and open doors and windows on sides without faces
- floorbuilder stones will fall on flood but will not stop flood
- flood continues when obstacle is removed, e.g. movable stone pushed away,
door opened, window face broken or pulled
- remove unused and depreceated global attribute "IceFriction"
- no new API access from Lua to depreceated global attribute "FlatForce"
- fix memory smasher on heating animation

ral 2008-12-13

1 2 > >> (Page 1 of 2)
changed /trunk/data/api1init.lua
renamed /trunk/data/gfx32/fl-hay.png -> /trunk/data/gfx32/fl_hay.png
renamed /trunk/data/gfx32/fl-rock.png -> /trunk/data/gfx32/fl_rock.png
renamed /trunk/data/gfx40/fl-hay.png -> /trunk/data/gfx40/fl_hay.png
renamed /trunk/data/gfx40/fl-rock.png -> /trunk/data/gfx40/fl_rock.png
renamed /trunk/data/gfx48/fl-hay.png -> /trunk/data/gfx48/fl_hay.png
renamed /trunk/data/gfx48/fl-rock.png -> /trunk/data/gfx48/fl_rock.png
changed /trunk/data/models-2d.lua
changed /trunk/data/schemas/objects.xml
changed /trunk/data/startup.lua
changed /trunk/src/Makefile.am
changed /trunk/src/WorldProxy.cc
changed /trunk/src/enigma-lua.pkg
changed /trunk/src/floors.cc
changed /trunk/src/floors.hh
changed /trunk/src/floors/BridgeFloor.cc
added /trunk/src/floors/FloodStream.cc
added /trunk/src/floors/FloodStream.hh
changed /trunk/src/lua-display.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/data/startup.lua Diff Switch to side-by-side view
Loading...
/trunk/src/Makefile.am Diff Switch to side-by-side view
Loading...
/trunk/src/WorldProxy.cc Diff Switch to side-by-side view
Loading...
/trunk/src/enigma-lua.pkg Diff Switch to side-by-side view
Loading...
/trunk/src/floors.cc Diff Switch to side-by-side view
Loading...
/trunk/src/floors.hh Diff Switch to side-by-side view
Loading...
/trunk/src/floors/BridgeFloor.cc Diff Switch to side-by-side view
Loading...
/trunk/src/floors/FloodStream.cc Diff Switch to side-by-side view
Loading...
/trunk/src/floors/FloodStream.hh Diff Switch to side-by-side view
Loading...
/trunk/src/lua-display.cc Diff Switch to side-by-side view
Loading...
1 2 > >> (Page 1 of 2)