Revision 9396e6c2
Added by skyjake over 12 years ago
Files
- added
- modified
- copied
- renamed
- deleted
- doomsday
- engine
- api
- dd_share.h (diff)
- dd_types.h (diff)
- doomsday.def (diff)
- doomsday.h (diff)
- engine.pro (diff)
- portable
- include
- concurrency.h
- dd_input.h (diff)
- dd_main.h (diff)
- dd_zone.h
- de_base.h (diff)
- de_misc.h (diff)
- de_system.h (diff)
- garbage.h
- m_misc.h (diff)
- net_main.h (diff)
- src
- blockmapvisual.c (diff)
- busytask.cpp (diff)
- con_busy.c (diff)
- con_main.c (diff)
- concurrency.cpp
- dd_init.cpp (diff)
- dd_loop.c (diff)
- dd_main.c (diff)
- dd_pinit.c (diff)
- dd_zone.c
- garbage.cpp
- generators.c (diff)
- library.c (diff)
- m_misc.c (diff)
- masterserver.cpp (diff)
- net_main.c (diff)
- p_think.c (diff)
- stringpool.cpp (diff)
- sys_system.c (diff)
- timer.cpp (diff)
- window.cpp (diff)
- include
- api
- libdeng
- libdeng2
- engine
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).