-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathluaCB.h
More file actions
90 lines (64 loc) · 1.39 KB
/
Copy pathluaCB.h
File metadata and controls
90 lines (64 loc) · 1.39 KB
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
#ifndef LUACB_H
#define LUACB_H
#pragma warning(disable:4311)
#pragma warning(disable:4244)
#pragma warning(disable:4273)
#include <stdio.h>
#include <string.h>
#include <string>
#include <sys/stat.h>
#ifdef __PRAXIS_WINDOWS__
#include <windows.h>
#include <mmsystem.h>
#include <winuser.h>
#include <winsock.h>
#include "MMSystem.h"
#include "fmod.h"
#include "fmod_errors.h"
#endif
#ifdef __PRAXIS_LINUX__
#include <X11/Xlib.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
#endif
#include "luaCallbacks.h"
#include "luaInterface.h"
#include "World.h"
#include "SingleWorldConfiguration.h"
#include "VoxelBlock.h"
#include "Voxel.h"
#include "PraxisTexture.h"
#include "PraxisServer.h"
#include "PraxisLog.h"
#include "lispInterface.h"
#include "forthInterface.h"
#include "ioInterface.h"
extern "C"
{
#include <lua.h>
#include <lauxlib.h>
#include <lualib.h>
}
extern lua_State * g_pLuaState;
#ifdef __PRAXIS_WINDOWS__
extern FSOUND_STREAM * g_pMp3Stream;
extern int g_nMp3Channel;
extern "C" {
extern HWND g_AppHWND;
}
#endif
#ifdef __PRAXIS_LINUX__
extern "C" {
extern Display * g_pAppDisplay;
extern Window g_pAppWindow;
}
#endif
extern VoxelBlock * g_pVoxelBlock;
extern World * g_pWorld;
extern bool g_bLuaRunning;
extern int g_nMidiUpdateInterval;
#endif // LUACB_H