Let us start here, from square one. No, from Zero!

This commit is contained in:
smpn2
2022-09-30 22:45:51 +09:00
parent 14215af0d1
commit b7a60638a4
1005 changed files with 303069 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();
}
}