mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-16 09:31:14 +00:00
Attempts to fix errors introduced by merging of asmjit branch and wea… (#649)
* Attempts to fix errors introduced by merging of asmjit branch and weapons scripting branch * This didn't work. The others should work though. * fix scriptutil.cpp:(.text+0x18d): undefined reference to `PClass::FindActor(FName)' * Attempt to fix compilation on macOS # Conflicts: # src/m_cheat.cpp
This commit is contained in:
parent
0746784965
commit
a00a567532
4 changed files with 4 additions and 3 deletions
|
@ -65,6 +65,7 @@
|
||||||
#include "vm.h"
|
#include "vm.h"
|
||||||
#include "events.h"
|
#include "events.h"
|
||||||
#include "p_acs.h"
|
#include "p_acs.h"
|
||||||
|
#include "zstring.h"
|
||||||
|
|
||||||
// [RH] Actually handle the cheat. The cheat code in st_stuff.c now just
|
// [RH] Actually handle the cheat. The cheat code in st_stuff.c now just
|
||||||
// writes some bytes to the network data stream, and the network code
|
// writes some bytes to the network data stream, and the network code
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
#ifndef __M_CHEAT_H__
|
#ifndef __M_CHEAT_H__
|
||||||
#define __M_CHEAT_H__
|
#define __M_CHEAT_H__
|
||||||
|
|
||||||
|
#include "zstring.h"
|
||||||
|
|
||||||
//
|
//
|
||||||
// CHEAT SEQUENCE PACKAGE
|
// CHEAT SEQUENCE PACKAGE
|
||||||
//
|
//
|
||||||
|
|
|
@ -143,10 +143,7 @@ static void I_FatalError(const char* const error, va_list ap)
|
||||||
|
|
||||||
char errortext[MAX_ERRORTEXT];
|
char errortext[MAX_ERRORTEXT];
|
||||||
int index;
|
int index;
|
||||||
va_list argptr;
|
|
||||||
va_start(argptr, error);
|
|
||||||
index = vsnprintf(errortext, MAX_ERRORTEXT, error, ap);
|
index = vsnprintf(errortext, MAX_ERRORTEXT, error, ap);
|
||||||
va_end(argptr);
|
|
||||||
|
|
||||||
extern void Mac_I_FatalError(const char*);
|
extern void Mac_I_FatalError(const char*);
|
||||||
Mac_I_FatalError(errortext);
|
Mac_I_FatalError(errortext);
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
#include "vm.h"
|
#include "vm.h"
|
||||||
#include "scriptutil.h"
|
#include "scriptutil.h"
|
||||||
#include "p_acs.h"
|
#include "p_acs.h"
|
||||||
|
#include "actor.h"
|
||||||
|
|
||||||
|
|
||||||
static TArray<VMValue> parameters;
|
static TArray<VMValue> parameters;
|
||||||
|
|
Loading…
Reference in a new issue