make GameObjects reference counted (this avoids crashs when scripts hold reference...
authorMatthias Braun <matze@braunis.de>
Mon, 24 Apr 2006 16:37:10 +0000 (16:37 +0000)
committerMatthias Braun <matze@braunis.de>
Mon, 24 Apr 2006 16:37:10 +0000 (16:37 +0000)
commit13c6f377301f91c8d79ab768ba97b5eb771ed624
tree891775d1eec672230289cea9b69d149b14db7cbb
parentcfa0b7de9edb5cc2cfe834dda6a254ce191986bc
make GameObjects reference counted (this avoids crashs when scripts hold reference to gameobjects for too long and should allow a better implementation of destroy listeners alter)

SVN-Revision: 3413
12 files changed:
src/game_object.hpp
src/player_status.cpp
src/player_status.hpp
src/ref.hpp [new file with mode: 0644]
src/refcounter.hpp [new file with mode: 0644]
src/scripting/floating_image.cpp
src/scripting/floating_image.hpp
src/scripting/functions.cpp
src/scripting/functions.hpp
src/scripting/wrapper.cpp
src/sector.cpp
src/worldmap/worldmap.cpp