- Use obstacks for memory allocation for lispfiles and DrawingRequests,
authorMatthias Braun <matze@braunis.de>
Wed, 28 Feb 2007 18:16:37 +0000 (18:16 +0000)
committerMatthias Braun <matze@braunis.de>
Wed, 28 Feb 2007 18:16:37 +0000 (18:16 +0000)
commit7b74666be6929322c6a603a6edd0131378f4c144
tree08feb377c499751f5f9e0625487518369024907b
parent56322cf3e2240e785833dba4f51f4dfa0cd8bb12
- Use obstacks for memory allocation for lispfiles and DrawingRequests,
  this should speedup the game a bit (esp. on windows where malloc is slow)
- fixed a bunch of memory leaks
- some experiments with the camera (disable and they didn't work out too well)

SVN-Revision: 4882
31 files changed:
src/Jamfile
src/audio/stream_sound_source.cpp
src/game_session.cpp
src/gameconfig.cpp
src/level.cpp
src/lisp/lexer.cpp
src/lisp/lexer.hpp
src/lisp/lisp.cpp
src/lisp/lisp.hpp
src/lisp/list_iterator.hpp
src/lisp/parser.cpp
src/lisp/parser.hpp
src/main.cpp
src/mainloop.cpp
src/object/camera.cpp
src/object/camera.hpp
src/object/player.cpp
src/object_factory.cpp
src/obstack/obstack.c [new file with mode: 0644]
src/obstack/obstack.h [new file with mode: 0644]
src/obstack/obstackpp.hpp [new file with mode: 0644]
src/resources.cpp
src/sprite/sprite_manager.cpp
src/textscroller.cpp
src/tile_manager.cpp
src/title.cpp
src/video/drawing_context.cpp
src/video/drawing_context.hpp
src/video/texture_manager.cpp
src/world.cpp
src/worldmap/worldmap.cpp