mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 04:22:34 +00:00
ed3bb2fd09
This is better done at a higher level.
26 lines
343 B
C++
26 lines
343 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,
|
|
};
|
|
|
|
static int Exec(FName functionname, ...);
|
|
static void Clear();
|
|
};
|