mirror of
https://github.com/ZDoom/Raze.git
synced 2024-12-02 00:53:16 +00:00
Merge branch 'master' into whaven
This commit is contained in:
commit
33a8355d11
9 changed files with 15 additions and 7 deletions
|
@ -188,9 +188,10 @@ target_architecture(TARGET_ARCHITECTURE)
|
|||
|
||||
if( ${TARGET_ARCHITECTURE} MATCHES "x86_64" )
|
||||
set( HAVE_VM_JIT ON )
|
||||
option (HAVE_VULKAN "Enable Vulkan support" ON)
|
||||
endif()
|
||||
|
||||
option (HAVE_VULKAN "Enable Vulkan support" ON)
|
||||
|
||||
# no, we're not using external asmjit for now, we made too many modifications to our's.
|
||||
# if the asmjit author uses our changes then we'll update this.
|
||||
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
|
||||
////////// Platform headers //////////
|
||||
|
||||
#if !defined __APPLE__ && (!defined EDUKE32_BSD || !__STDC__)
|
||||
#if !defined __APPLE__ && (!defined EDUKE32_BSD || !__STDC__) && !defined __OpenBSD__ && !defined __DragonFly__
|
||||
# include <malloc.h>
|
||||
#endif
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#pragma once
|
||||
#include <stdarg.h>
|
||||
|
||||
#if defined __GNUC__ || defined __clang__
|
||||
# define ATTRIBUTE(attrlist) __attribute__(attrlist)
|
||||
|
|
|
@ -133,6 +133,7 @@ bool ReadSavegame(const char* name)
|
|||
delete savereader;
|
||||
return false;
|
||||
}
|
||||
file.Close();
|
||||
|
||||
FResourceLump* info = savereader->FindLump("session.json");
|
||||
if (info == nullptr)
|
||||
|
@ -149,11 +150,12 @@ bool ReadSavegame(const char* name)
|
|||
delete savereader;
|
||||
return false;
|
||||
}
|
||||
info->Unlock();
|
||||
|
||||
// Load the savegame.
|
||||
loadMapBackup(currentLevel->fileName);
|
||||
SerializeSession(arc);
|
||||
arc.Close();
|
||||
info->Unlock();
|
||||
delete savereader;
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -2795,10 +2795,10 @@ int ConCompiler::parsecommand()
|
|||
setscriptvalue(tempscrptr, scriptpos()); // save 'end' location
|
||||
}
|
||||
|
||||
casescriptptr = NULL;
|
||||
casescriptptr = 0;
|
||||
// decremented in endswitch. Don't decrement here...
|
||||
// checking_switch--; // allow nesting (maybe if other things work)
|
||||
tempscrptr = NULL;
|
||||
tempscrptr = 0;
|
||||
break;
|
||||
|
||||
|
||||
|
|
|
@ -431,7 +431,7 @@ void ClearGameEvents()
|
|||
int i;
|
||||
for (i=0;i<MAXGAMEEVENTS;i++)
|
||||
{
|
||||
apScriptGameEvent[i]=NULL;
|
||||
apScriptGameEvent[i]=(intptr_t)0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -79,7 +79,7 @@ INVENTORY_DATA InventoryData[MAX_INVENTORY+1] =
|
|||
{"GAS BOMB", UseInventoryChemBomb, NULL, 0, 1, (FRACUNIT), INVF_COUNT},
|
||||
{"FLASH BOMB", UseInventoryFlashBomb, NULL, 0, 2, (FRACUNIT), INVF_COUNT},
|
||||
{"CALTROPS", UseInventoryCaltrops, NULL, 0, 3, (FRACUNIT), INVF_COUNT},
|
||||
{NULL, NULL, NULL, NULL, 0, 0, 0}
|
||||
{NULL, NULL, NULL, 0, 0, 0, 0}
|
||||
};
|
||||
|
||||
void PanelInvTestSuicide(PANEL_SPRITEp psp)
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
// bad sky setting in WT's $volcano.map (original version)
|
||||
sector 118 clearflags ceiling 1
|
||||
sector 57 clearflags ceiling 1
|
||||
sector 281 clearflags ceiling 1
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
// bad sky setting in WT's $volcano.map (fixed version)
|
||||
sector 118 clearflags ceiling 1
|
||||
sector 57 clearflags ceiling 1
|
||||
sector 281 clearflags ceiling 1
|
||||
|
|
Loading…
Reference in a new issue