1
- Index: src/engine/engine.h
2
- ===================================================================
3
- --- src/engine/engine.h (revision 6502)
4
- +++ src/engine/engine.h (working copy)
5
- @@ -407,6 +407,8 @@
6
- extern void checksleep(int millis);
7
- extern void clearsleep(bool clearoverrides = true);
8
-
9
- + extern int naturalsort(const char *a, const char *b);
10
- +
11
- // console
12
- extern void processtextinput(const char *str, int len);
13
- extern void processkey(int code, bool isdown, int modstate = 0);
14
- @@ -431,6 +433,8 @@
15
- };
16
- extern int initing, numcpus;
17
-
18
- + extern void migratep1xbraten();
19
- +
20
- enum
21
- {
22
- CHANGE_GFX = 1<<0,
23
- Index: src/engine/main.cpp
24
- ===================================================================
25
- --- src/engine/main.cpp (revision 6502)
26
- +++ src/engine/main.cpp (working copy)
1
+ diff --git src/engine/main.cpp src/engine/main.cpp
2
+ index d79944d..9811024 100644
3
+ --- src/engine/main.cpp
4
+ +++ src/engine/main.cpp
27
5
@@ -1330,6 +1330,8 @@
28
6
29
7
identflags |= IDF_PERSIST;
@@ -33,12 +11,24 @@ Index: src/engine/main.cpp
33
11
logoutf("init: mainloop");
34
12
35
13
if(execfile("once.cfg", false)) remove(findfile("once.cfg", "rb"));
14
+ diff --git src/engine/server.cpp src/engine/server.cpp
15
+ index d79944d..9811024 100644
16
+ --- src/engine/server.cpp
17
+ +++ src/engine/server.cpp
18
+ @@ -979,6 +979,7 @@ void initserver(bool listen, bool dedicated)
19
+ #ifdef WIN32
20
+ setupwindow("Cube 2: Sauerbraten server");
21
+ #endif
22
+ + migratep1xbraten();
23
+ }
24
+
25
+ execfile("server-init.cfg", false);
36
26
Index: src/p1xbraten/version.cpp
37
27
===================================================================
38
28
--- src/p1xbraten/version.cpp (nonexistent)
39
29
+++ src/p1xbraten/version.cpp (working copy)
40
30
@@ -0,0 +1,22 @@
41
- + #include "engine .h"
31
+ + #include "cube .h"
42
32
+
43
33
+ MOD(SVARP, p1xbratenversion, "");
44
34
+
@@ -161,11 +151,14 @@ Index: src/shared/iengine.h
161
151
===================================================================
162
152
--- src/shared/iengine.h (revision 6502)
163
153
+++ src/shared/iengine.h (working copy)
164
- @@ -581,3 +581,4 @@
154
+ @@ -581,3 +581,7 @@
165
155
extern void g3d_resetcursor();
166
156
extern void g3d_limitscale(float scale);
167
157
158
+ + // p1xbraten
168
159
+ extern char *p1xbratenversion;
160
+ + extern int naturalsort(const char *a, const char *b); // from command.cpp
161
+ + extern void migratep1xbraten();
169
162
Index: src/shared/tools.h
170
163
===================================================================
171
164
--- src/shared/tools.h (revision 6502)
0 commit comments