mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-16 09:31:14 +00:00
4c7096ffac
So far 3 functions for testing implemented. # Conflicts: # src/p_acs.cpp
27 lines
416 B
C++
27 lines
416 B
C++
#pragma once
|
|
|
|
|
|
#include <stdarg.h>
|
|
#include "name.h"
|
|
|
|
|
|
class ScriptUtil
|
|
{
|
|
static void BuildParameters(va_list ap);
|
|
static void RunFunction(FName function, unsigned paramstart, VMReturn &returns);
|
|
|
|
public:
|
|
enum
|
|
{
|
|
End,
|
|
Int,
|
|
Pointer,
|
|
Float,
|
|
String,
|
|
Class,
|
|
ACSString, // convenience helpers taking an ACS string index instead of a string
|
|
ACSClass,
|
|
};
|
|
|
|
static int Exec(FName functionname, ...);
|
|
};
|