GodMode9/source/filesys/fsscript.h

12 lines
292 B
C
Raw Permalink Normal View History

2017-06-09 01:45:00 +02:00
#pragma once
#include "common.h"
#define VAR_BUFFER_SIZE (72 * 1024) // enough for exactly 256 vars
#define SCRIPT_EXT "gm9"
#define SCRIPT_MAX_SIZE (SCRIPT_BUFFER_SIZE-VAR_BUFFER_SIZE-1)
2017-06-26 01:44:16 +02:00
bool ValidateText(const char* text, u32 size);
2017-06-09 01:45:00 +02:00
bool ExecuteGM9Script(const char* path_script);