Added: prototype event system
This commit is contained in:
parent
b3aa7c61a9
commit
ce616f9c06
7 changed files with 258 additions and 0 deletions
|
|
@ -59,6 +59,7 @@
|
|||
#include "r_data/colormaps.h"
|
||||
#include "p_maputl.h"
|
||||
#include "r_thread.h"
|
||||
#include "events.h"
|
||||
|
||||
CVAR (String, r_viewsize, "", CVAR_NOSET)
|
||||
CVAR (Bool, r_shadercolormaps, true, CVAR_ARCHIVE)
|
||||
|
|
@ -840,6 +841,9 @@ void R_RenderActorView (AActor *actor, bool dontmaplines)
|
|||
R_SetupBuffer ();
|
||||
R_SetupFrame (actor);
|
||||
|
||||
// [ZZ] call event hook
|
||||
E_RenderCamera();
|
||||
|
||||
// Clear buffers.
|
||||
R_ClearClipSegs (0, viewwidth);
|
||||
R_ClearDrawSegs ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue