2023-11-25 18:22:53 -05:00
|
|
|
#pragma once
|
|
|
|
#include <std_include.hpp>
|
|
|
|
#include "definitions/game.hpp"
|
|
|
|
|
|
|
|
namespace gsc_funcs
|
|
|
|
{
|
2023-12-15 04:01:22 -05:00
|
|
|
constexpr auto serious_custom_func_name = "SeriousCustom";
|
|
|
|
|
|
|
|
extern bool enable_dev_func;
|
|
|
|
|
2023-11-25 18:22:53 -05:00
|
|
|
uint32_t canon_hash(const char* str);
|
2024-01-09 09:26:31 -05:00
|
|
|
uint32_t canon_hash_pattern(const char* str);
|
|
|
|
|
2023-11-25 18:22:53 -05:00
|
|
|
void gsc_error(const char* message, game::scriptInstance_t inst, bool terminal, ...);
|
2024-01-09 09:26:31 -05: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-25 18:22:53 -05:00
|
|
|
}
|