mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
M32: Add EVENT_PREDRAW2DSCREEN.
git-svn-id: https://svn.eduke32.com/eduke32@5329 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
b8bad00a95
commit
4360b89fb5
3 changed files with 4 additions and 0 deletions
|
@ -92,6 +92,7 @@ enum GameEvent_t {
|
||||||
EVENT_SAVEMAP,
|
EVENT_SAVEMAP,
|
||||||
EVENT_PRELOADMAP,
|
EVENT_PRELOADMAP,
|
||||||
EVENT_PRESAVEMAP,
|
EVENT_PRESAVEMAP,
|
||||||
|
EVENT_PREDRAW2DSCREEN,
|
||||||
MAXEVENTS
|
MAXEVENTS
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -3481,6 +3481,8 @@ void overheadeditor(void)
|
||||||
|
|
||||||
setup_sideview_sincos();
|
setup_sideview_sincos();
|
||||||
|
|
||||||
|
VM_OnEvent(EVENT_PREDRAW2DSCREEN, -1);
|
||||||
|
|
||||||
if (graphicsmode && (!m32_sideview || m32_sideelev == 512))
|
if (graphicsmode && (!m32_sideview || m32_sideelev == 512))
|
||||||
{
|
{
|
||||||
Bmemset(show2dsector, 0, sizeof(show2dsector));
|
Bmemset(show2dsector, 0, sizeof(show2dsector));
|
||||||
|
|
|
@ -3471,6 +3471,7 @@ static void C_AddDefaultDefinitions(void)
|
||||||
C_AddDefinition("EVENT_SAVEMAP", EVENT_SAVEMAP, LABEL_EVENT);
|
C_AddDefinition("EVENT_SAVEMAP", EVENT_SAVEMAP, LABEL_EVENT);
|
||||||
C_AddDefinition("EVENT_PRELOADMAP", EVENT_PRELOADMAP, LABEL_EVENT);
|
C_AddDefinition("EVENT_PRELOADMAP", EVENT_PRELOADMAP, LABEL_EVENT);
|
||||||
C_AddDefinition("EVENT_PRESAVEMAP", EVENT_PRESAVEMAP, LABEL_EVENT);
|
C_AddDefinition("EVENT_PRESAVEMAP", EVENT_PRESAVEMAP, LABEL_EVENT);
|
||||||
|
C_AddDefinition("EVENT_PREDRAW2DSCREEN", EVENT_PREDRAW2DSCREEN, LABEL_EVENT);
|
||||||
|
|
||||||
C_AddDefinition("CLIPMASK0", CLIPMASK0, LABEL_DEFINE);
|
C_AddDefinition("CLIPMASK0", CLIPMASK0, LABEL_DEFINE);
|
||||||
C_AddDefinition("CLIPMASK1", CLIPMASK1, LABEL_DEFINE);
|
C_AddDefinition("CLIPMASK1", CLIPMASK1, LABEL_DEFINE);
|
||||||
|
|
Loading…
Reference in a new issue