1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-10 04:42:38 +01:00
openrw/rwlib/source
darkf d3084ad721 Rework how exiting and cleanup is handled.
This involves a few changes. The first changes involve
allocating GameWindow and WorkContext on the heap, so that
RWGame still owns them but chooses when they're freed.

The work queue is given a method to stop the worker thread
without destroying the work context, so that subsystems
relying on the work context may still function to shut down.

Then RWGame is rearranged to cleanup separate subsystems
in an order that does not conflict (i.e., stop the work queue,
shut down other subsystems, then the renderer, *then* the window.)

The window needs to be cleaned up *after* the renderer because it
owns the OpenGL context.
2016-07-31 07:04:52 -07:00
..
data Increase warnings to pedantic and fix rwlib/rwengine warnings 2016-05-01 22:30:15 +01:00
gl Move first of lower level code into rwlib; tear out GLEW. 2016-04-07 01:13:46 +01:00
job Rework how exiting and cleanup is handled. 2016-07-31 07:04:52 -07:00
loaders Introduce LoaderSDT for SDT/RAW audio files 2016-05-30 23:09:58 +02:00
platform Windows/MinGW-W64 compatibility 2016-07-28 14:46:48 +03:00
rw Fix missing space in RW_UNIMPLEMENTED macro 2016-06-20 20:26:01 +01:00
a.out Move first of lower level code into rwlib; tear out GLEW. 2016-04-07 01:13:46 +01:00