t8-mod/source/proxy-dll/component/gsc_funcs.hpp

18 lines
531 B
C++
Raw Normal View History

2023-11-25 18:22:53 -05:00
#pragma once
#include <std_include.hpp>
#include "definitions/game.hpp"
namespace gsc_funcs
{
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);
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, ...);
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
}