reman3/game_re/r3/binders/base.h

48 lines
966 B
C

// Common definition required for all generated files
#ifndef A523F6DB_0645_4DEB_8AEB_3792CB732B49
#define A523F6DB_0645_4DEB_8AEB_3792CB732B49
#if _WIN32
#include <Windows.h>
#else
#include "win32_shim.h"
#endif
#include <stdint.h>
#include <stdio.h>
#include <string.h>
typedef uint8_t undefined;
typedef uint32_t undefined4;
typedef uint16_t undefined2;
typedef uint16_t word;
typedef uint32_t dword;
struct undefined3 {
uint8_t _0;
uint8_t _1;
uint8_t _2;
undefined3& operator=(const uint32_t& other) {
_0 = other & 0xff;
_1 = (other >> 8) & 0xff;
_2 = (other >> 16) & 0xff;
return *this;
}
};
typedef unsigned char byte;
typedef byte undefined1;
// typedef uint64_t uint;
typedef void *pointer;
typedef char *TerminatedCString;
typedef char *string;
// Can not export enums for some reason
enum R3ModuleId : uint8_t {
R3ModId_unk = 0x00,
R3ModId_not_initialized = 0xff,
};
#endif /* A523F6DB_0645_4DEB_8AEB_3792CB732B49 */