|
@@ -0,0 +1,109 @@
|
|
1
|
+/****************************************************************************
|
|
2
|
+ * Copyright (C) 2015-2017 by the SotS Team *
|
|
3
|
+ * *
|
|
4
|
+ * This file is part of Sovereign of the Skies. *
|
|
5
|
+ * *
|
|
6
|
+ * Sovereign of the Skies is free software: you can redistribute it *
|
|
7
|
+ * and/or modify it *
|
|
8
|
+ * under the terms of the GNU Lesser General Public License as published *
|
|
9
|
+ * by the Free Software Foundation, either version 3 of the License, or *
|
|
10
|
+ * (at your option) any later version provided you include a copy of the *
|
|
11
|
+ * licence and this header. *
|
|
12
|
+ * *
|
|
13
|
+ * Sovereign of the Skies is distributed in the hope that it will be *
|
|
14
|
+ * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
|
15
|
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
|
16
|
+ * GNU Lesser General Public License for more details. *
|
|
17
|
+ * *
|
|
18
|
+ * You should have received a copy of the GNU Lesser General Public *
|
|
19
|
+ * License along with Sovereign of the Skies. *
|
|
20
|
+ * If not, see <http://www.gnu.org/licenses/>. *
|
|
21
|
+ ****************************************************************************/
|
|
22
|
+
|
|
23
|
+ /**
|
|
24
|
+ * @file player_interaction.c
|
|
25
|
+ * @author Sturmvogel
|
|
26
|
+ * @date 21 may 2017
|
|
27
|
+ * @brief define tables for walking and behavior scripts
|
|
28
|
+ */
|
|
29
|
+
|
|
30
|
+#include <types.h>
|
|
31
|
+
|
|
32
|
+void* script_walk_table[] =
|
|
33
|
+{
|
|
34
|
+ (void*)NULL
|
|
35
|
+};
|
|
36
|
+
|
|
37
|
+void* behavior_walk_table[] =
|
|
38
|
+{
|
|
39
|
+ (void*)NULL,
|
|
40
|
+ (void*)NULL,
|
|
41
|
+ (void*)NULL,
|
|
42
|
+ (void*)NULL,
|
|
43
|
+ (void*)NULL,
|
|
44
|
+ (void*)NULL,
|
|
45
|
+ (void*)NULL,
|
|
46
|
+ (void*)NULL,
|
|
47
|
+ (void*)NULL,
|
|
48
|
+ (void*)NULL,
|
|
49
|
+ (void*)NULL,
|
|
50
|
+ (void*)NULL,
|
|
51
|
+ (void*)NULL,
|
|
52
|
+ (void*)NULL,
|
|
53
|
+ (void*)NULL,
|
|
54
|
+ (void*)NULL,
|
|
55
|
+ (void*)NULL,
|
|
56
|
+ (void*)NULL,
|
|
57
|
+ (void*)NULL,
|
|
58
|
+ (void*)NULL,
|
|
59
|
+ (void*)NULL,
|
|
60
|
+ (void*)NULL,
|
|
61
|
+ (void*)NULL,
|
|
62
|
+ (void*)NULL,
|
|
63
|
+ (void*)NULL,
|
|
64
|
+ (void*)NULL,
|
|
65
|
+ (void*)NULL,
|
|
66
|
+ (void*)NULL,
|
|
67
|
+ (void*)NULL,
|
|
68
|
+ (void*)NULL,
|
|
69
|
+ (void*)NULL,
|
|
70
|
+ (void*)NULL,
|
|
71
|
+ (void*)NULL,
|
|
72
|
+ (void*)NULL,
|
|
73
|
+ (void*)NULL,
|
|
74
|
+ (void*)NULL,
|
|
75
|
+ (void*)NULL,
|
|
76
|
+ (void*)NULL,
|
|
77
|
+ (void*)NULL,
|
|
78
|
+ (void*)NULL,
|
|
79
|
+ (void*)NULL,
|
|
80
|
+ (void*)NULL,
|
|
81
|
+ (void*)NULL,
|
|
82
|
+ (void*)NULL,
|
|
83
|
+ (void*)NULL,
|
|
84
|
+ (void*)NULL,
|
|
85
|
+ (void*)NULL,
|
|
86
|
+ (void*)NULL,
|
|
87
|
+ (void*)NULL,
|
|
88
|
+ (void*)NULL,
|
|
89
|
+ (void*)NULL,
|
|
90
|
+ (void*)NULL,
|
|
91
|
+ (void*)NULL,
|
|
92
|
+ (void*)NULL,
|
|
93
|
+ (void*)NULL,
|
|
94
|
+ (void*)NULL,
|
|
95
|
+ (void*)NULL,
|
|
96
|
+ (void*)NULL,
|
|
97
|
+ (void*)NULL,
|
|
98
|
+ (void*)NULL,
|
|
99
|
+ (void*)NULL,
|
|
100
|
+ (void*)0x0891B807,
|
|
101
|
+ (void*)0x0891B807
|
|
102
|
+};
|
|
103
|
+
|
|
104
|
+//TODO implement actual functtions
|
|
105
|
+
|
|
106
|
+void* pi_dummy(bool darg)
|
|
107
|
+{
|
|
108
|
+ return darg ? behavior_walk_table[0] : script_walk_table[0];
|
|
109
|
+}
|