Menu

Commit [r910]  Maximize  Restore  History

Trunk 1.1:

- GridObject pos reengineering:
- pos represents position in world boundaries only if object is on a layer
- items owned by bags store mirrored bag position as pos
- items owned by player inventories store player id as pos
- other items mark the pos as invalid -1,-1
- IsInsideLevel, IsLevelBorder speed optimized

ral 2007-10-22

changed /trunk/src/Inventory.cc
changed /trunk/src/Inventory.hh
changed /trunk/src/floors.cc
changed /trunk/src/items.cc
changed /trunk/src/lua.cc
changed /trunk/src/objects.cc
changed /trunk/src/objects_decl.hh
changed /trunk/src/player.cc
changed /trunk/src/stones_simple.cc
changed /trunk/src/world.cc
changed /trunk/src/world.hh
changed /trunk/src/world_internal.hh
/trunk/src/Inventory.cc Diff Switch to side-by-side view
Loading...
/trunk/src/Inventory.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/lua.cc Diff Switch to side-by-side view
Loading...
/trunk/src/objects.cc Diff Switch to side-by-side view
Loading...
/trunk/src/objects_decl.hh Diff Switch to side-by-side view
Loading...
/trunk/src/player.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...
/trunk/src/world.hh Diff Switch to side-by-side view
Loading...
/trunk/src/world_internal.hh Diff Switch to side-by-side view
Loading...