-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathmain.h
61 lines (51 loc) · 1.08 KB
/
main.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
}
#endif
#include "tlsf/tlsf.h"
#include "stb_sprintf/stb_sprintf.h"
#include "xenium/xenium.h"
#include "cimgui.h"
#include "glue/cimgui_impl.h"
#ifdef _MSC_VER
#define _MSC_VER_BACK _MSC_VER
#undef _MSC_VER
#define _MSC_VER 1
#endif
#define STBI_NO_SIMD
#define STBIR_NO_SIMD
#include "stb_image/stb_image.h"
#ifdef _MSC_VER_BACK
#ifndef _MSC_VER
#define _MSC_VER _MSC_VER_BACK
#endif
#endif
#include <SDL.h>
#include <GL/gl.h>
#include <GL/glext.h>
#include <pbgl.h>
#include <pbkit/pbkit.h>
#include <stdio.h>
#include <assert.h>
#include <windows.h>
#include <hal/debug.h>
#include <hal/video.h>
#include <nxdk/mount.h>
#include <nxdk/path.h>
#ifndef IM_COL32
#define IM_COL32(R, G, B, A) (((ImU32)(A) << 24) | ((ImU32)(B) << 16) | ((ImU32)(G) << 8) | ((ImU32)(R) << 0))
#endif
typedef enum {
ALIGN_TOP_LEFT,
ALIGN_TOP_RIGHT,
ALIGN_BOTTOM_LEFT,
ALIGN_BOTTOM_RIGHT,
ALIGN_CENTER_CENTER,
ALIGN_CENTER_LEFT,
ALIGN_CENTER_RIGHT,
ALIGN_TOP_CENTER,
ALIGN_BOTTOM_CENTER
} label_align_t;