Initial commit for GitHub migration based on spice2x-25-03-03

This commit is contained in:
sp2xdev
2025-03-10 19:16:49 -07:00
parent 94af8d32c9
commit ed8c72852f
1008 changed files with 296815 additions and 0 deletions
+44
View File
@@ -0,0 +1,44 @@
#pragma once
#include <initializer_list>
#include <string>
#include <windows.h>
namespace avs {
/*
* helpers
*/
namespace game {
// properties
extern char MODEL[4];
extern char DEST[2];
extern char SPEC[2];
extern char REV[2];
extern char EXT[11];
// handle
extern HINSTANCE DLL_INSTANCE;
extern std::string DLL_NAME;
// helpers
bool is_model(const char *model);
bool is_model(const char *model, const char *ext);
bool is_model(const std::initializer_list<const char *> model_list);
bool is_ext(const char *ext);
bool is_ext(int datecode_min, int datecode_max);
std::string get_identifier();
// functions
void load_dll();
/*
* library functions
*/
bool entry_init(char *sid_code, void *app_param);
void entry_main();
}
}