Project

General

Profile

« Previous | Next » 

Revision 9396e6c2

Added by skyjake over 12 years ago

Refactor: Relocated memory zone, concurrency, Garbage to libdeng

This big commit moves the memory zone, concurrency module, and
the garbage collector to the libdeng1 library. The code has gone through
a little big of cleanup during the move.

Some common definitions, macros and types were moved to
de/libdeng.h and de/types.h.

The commit also removes the LegacyCore* argument from all
libdeng2 C wrapper functions. The argument is not needed as
the LegacyCore is a singleton that can be accessed via the static
LegacyCore::instance() method. Consequently, calls to the C
wrapper functions are less awkward. The de2LegacyCore global
variable is now removed from the engine.

Todo: Move the memzone debug visualization back to the engine
so it can access the GL subsystem. The visualization will still need
to access the zone's private data (needs to include
libdeng/src/memoryzone_private.h).

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences