1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-09-15 06:52:34 +02:00
openrw/rwgame
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
..
debug WinSock2 (just to build, probably doesn't work) 2016-07-28 14:46:56 +03:00
benchmarkstate.cpp Replace SFML with SDL2 2016-06-22 12:29:39 +02:00
benchmarkstate.hpp Replace SFML with SDL2 2016-06-22 12:29:39 +02:00
CMakeLists.txt Windows/MinGW-W64 compatibility 2016-07-28 14:46:48 +03:00
debugstate.cpp Replace SFML with SDL2 2016-06-22 12:29:39 +02:00
debugstate.hpp Replace SFML with SDL2 2016-06-22 12:29:39 +02:00
DrawUI.cpp Support negative shadow offsets for texts and force shadow colour 2016-06-02 18:57:54 +02:00
DrawUI.hpp Re-implement map rendering with nice circular minimap 2016-04-12 01:02:09 +01:00
game.hpp Replace SFML with SDL2 2016-06-22 12:29:39 +02:00
GameConfig.cpp Windows/MinGW-W64 compatibility 2016-07-28 14:46:48 +03:00
GameConfig.hpp Remove const from return value 2016-05-22 20:03:14 +01:00
GameWindow.cpp Remove screenshot functionality, as it's broken. 2016-06-23 22:43:00 +01:00
GameWindow.hpp Remove screenshot functionality, as it's broken. 2016-06-23 22:43:00 +01:00
ingamestate.cpp Merge pull request #137 from haphzd/patch-1 2016-06-29 22:26:58 +01:00
ingamestate.hpp Replace SFML with SDL2 2016-06-22 12:29:39 +02:00
loadingstate.cpp Replace SFML with SDL2 2016-06-22 12:29:39 +02:00
loadingstate.hpp Replace SFML with SDL2 2016-06-22 12:29:39 +02:00
main.cpp Add configuration file to replace OPENRW_GAME_PATH env var 2016-05-20 02:10:11 +01:00
menustate.cpp Rework how exiting and cleanup is handled. 2016-07-31 07:04:52 -07:00
menustate.hpp Replace SFML with SDL2 2016-06-22 12:29:39 +02:00
MenuSystem.hpp Add wrap-around key movement to menu system 2016-06-21 19:40:00 +01:00
pausestate.cpp Rework how exiting and cleanup is handled. 2016-07-31 07:04:52 -07:00
pausestate.hpp Replace SFML with SDL2 2016-06-22 12:29:39 +02:00
README.md Update readme informations 2015-05-10 23:57:13 +01:00
RWGame.cpp Rework how exiting and cleanup is handled. 2016-07-31 07:04:52 -07:00
RWGame.hpp Rework how exiting and cleanup is handled. 2016-07-31 07:04:52 -07:00
State.cpp Replace SFML with SDL2 2016-06-22 12:29:39 +02:00
State.hpp Rework how exiting and cleanup is handled. 2016-07-31 07:04:52 -07:00

RWGame

The game executable, handles the frontend UI drawing and menus.