feat(options): implement StormSetOption

This commit is contained in:
phaneron 2025-03-31 14:29:51 -04:00
parent 09e7076a9b
commit 2ffa8217c0
4 changed files with 149 additions and 0 deletions

25
storm/option/Options.hpp Normal file
View file

@ -0,0 +1,25 @@
#ifndef STORM_OPTION_OPTIONS_HPP
#define STORM_OPTION_OPTIONS_HPP
#include <cstdint>
struct STORMOPTIONS {
int32_t smemleaksilentwarning;
int32_t serrleaksilentwarning;
uint32_t wavechunksize;
int32_t opt0C;
int32_t opt10;
int32_t opt14;
int32_t opt18;
int32_t opt1C;
int32_t sregunicode;
int32_t opt24;
int32_t opt28;
};
extern STORMOPTIONS g_opt;
extern uint32_t s_alloccount;
extern uint32_t s_freecount;
#endif