2023-11-26 00:22:53 +01:00
|
|
|
#pragma once
|
|
|
|
#include <std_include.hpp>
|
|
|
|
#include "definitions/game.hpp"
|
|
|
|
|
|
|
|
namespace gsc_funcs
|
|
|
|
{
|
2023-12-15 10:01:22 +01:00
|
|
|
constexpr auto serious_custom_func_name = "SeriousCustom";
|
|
|
|
|
|
|
|
extern bool enable_dev_func;
|
2024-11-28 11:58:49 +01:00
|
|
|
extern bool enable_dev_blocks;
|
2023-12-15 10:01:22 +01:00
|
|
|
|
2023-11-26 00:22:53 +01:00
|
|
|
uint32_t canon_hash(const char* str);
|
2024-01-09 15:26:31 +01:00
|
|
|
uint32_t canon_hash_pattern(const char* str);
|
|
|
|
|
2023-11-26 00:22:53 +01:00
|
|
|
void gsc_error(const char* message, game::scriptInstance_t inst, bool terminal, ...);
|
2024-01-09 15:26:31 +01:00
|
|
|
const char* lookup_hash(game::scriptInstance_t inst, const char* type, uint64_t hash);
|
|
|
|
|
|
|
|
void ScrVm_AddToArrayIntIndexed(game::scriptInstance_t inst, uint64_t index);
|
2023-11-26 00:22:53 +01:00
|
|
|
}
|