Added: prototype event system

This commit is contained in:
ZZYZX 2017-01-22 02:33:53 +02:00
commit ce616f9c06
7 changed files with 258 additions and 0 deletions

View file

@ -44,6 +44,7 @@
#include "gl/gl_functions.h"
#include "serializer.h"
#include "g_levellocals.h"
#include "events.h"
#include "gl/dynlights/gl_lightbuffer.h"
#include "gl/system/gl_interface.h"
@ -477,6 +478,9 @@ void FGLRenderer::RenderTranslucent()
void FGLRenderer::DrawScene(int drawmode)
{
// [ZZ] call event hook
E_RenderCamera();
static int recursion=0;
static int ssao_portals_available = 0;