2017-06-09 01:45:00 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "common.h"
|
|
|
|
|
|
|
|
#define SCRIPT_EXT "gm9"
|
2018-02-06 02:10:25 +01:00
|
|
|
#define SCRIPT_MAX_SIZE STD_BUFFER_SIZE
|
2017-06-09 01:45:00 +02:00
|
|
|
|
2017-06-26 01:44:16 +02:00
|
|
|
bool ValidateText(const char* text, u32 size);
|
2017-10-02 03:08:47 +02:00
|
|
|
bool MemTextViewer(const char* text, u32 len, u32 start, bool as_script);
|
|
|
|
bool MemToCViewer(const char* text, u32 len, const char* title);
|
2017-09-06 00:46:01 +02:00
|
|
|
bool FileTextViewer(const char* path, bool as_script);
|
2017-06-09 01:45:00 +02:00
|
|
|
bool ExecuteGM9Script(const char* path_script);
|