Commit Graph

477 Commits

Author SHA1 Message Date
momo5502
f8e0d15d71 Fix submodules 2016-02-17 16:31:14 +01:00
momo5502
6c12b2903a Update submodules and use appropriate cast 2016-02-16 22:03:55 +01:00
momo5502
55b8d2c5de Safe iterator pointer. 2016-02-15 20:32:41 +01:00
momo5502
8b932677f5 Fix bad addresses. 2016-02-15 20:28:01 +01:00
momo5502
e6158199f5 Load node preset. 2016-02-15 19:40:11 +01:00
momo5502
5ea5a88daf Update nodes. 2016-02-14 17:05:42 +01:00
momo5502
7e11a404e6 Update signals. 2016-02-14 16:10:15 +01:00
momo5502
b14bff4422 Update some submodules. 2016-02-14 15:12:28 +01:00
momo5502
f18924ab80 Disallow changing names. 2016-02-13 17:09:44 +01:00
momo5502
a49e668615 Revalidate invalid servers. 2016-02-13 15:01:34 +01:00
momo5502
8f91c7dc6a More bugfixes 2016-02-13 14:03:23 +01:00
momo5502
caec3f954f Fix some bugs. 2016-02-13 03:57:54 +01:00
momo5502
b866f4caa1 Optimize serverlist + socket binding fixes 2016-02-13 03:18:49 +01:00
momo5502
2a4c06ad5e Get default node via hastebin 2016-02-12 22:23:41 +01:00
momo5502
a5cca963e0 Seamless integration of our proto address type 2016-02-12 16:29:48 +01:00
momo5502
348b876e5e Better structure. 2016-02-12 15:08:52 +01:00
momo5502
a11f004a7e More proto stuff.
We should add a version identifier before releasing!
2016-02-12 15:06:06 +01:00
momo5502
4fa8ebd3c5 Update submodules. 2016-02-12 13:09:10 +01:00
momo5502
5e879b0307 Use my Wink-Signals fork 2016-02-12 13:03:59 +01:00
momo5502
781b2f4e6e No need for that batch anymore. 2016-02-12 00:39:44 +01:00
momo5502
02b6dd2f19 Optimize far-jump patches 2016-02-12 00:36:52 +01:00
momo5502
4f458b40c3 Use slots instead of simple callbacks.
Need to wait till my second pull request gets accepted though, to be able to compile the code.
2016-02-12 00:01:13 +01:00
momo5502
95e188cb7a Better proto vpath fix. 2016-02-11 18:57:11 +01:00
momo5502
ab7f1bfcca protoc has no support for spaces in the commandline (https://github.com/google/protobuf/issues/955) 2016-02-11 18:46:24 +01:00
momo5502
d875f36be2 Fix vpaths if not using new structure 2016-02-11 17:58:25 +01:00
momo5502
9eb70a2999 My pull request got merged :3 2016-02-11 16:57:28 +01:00
/dev/urandom
b47c75dbf7
premake5: Get rid of warnings caused by protoc-generated code.
- /wd4100 since "unused formal parameter" is not a critical error
- _SCL_SECURE_NO_WARNINGS as unfortunately protoc's generated code still relies on potentially unsafe methods
2016-02-11 15:21:20 +01:00
/dev/urandom
22dbae3b67
premake5: Automatic compiling of protobuf definition files.
- Added custom rules for *.proto files to iw4x
- Added a workaround for protoc output not being automatically included
- Disable precompiled headers for protobuf generated sources
- Moved inclusion of node.pb.h out of STDInclude.hpp to only where it's necessary (WTF @momo5502)
- Removed protobuf-generated code from "protobuf" external project
- Removed protogen.bat as it is no longer needed
2016-02-11 15:10:23 +01:00
momo5502
ff6baf1e08 Update comments. 2016-02-11 11:35:57 +01:00
momo5502
8cef16017e Use wink-signals
boost.signals sadly requires way too many dependencies, libsigc++ requires too much configuration and all the other libs I tested mostly required constexpr as callbacks (due to passing callbacks via template list), which doesn't server this purpose, so wink-signals seems just about right for what we do.
2016-02-11 11:26:41 +01:00
momo5502
dea6d5714a Simplify DeployPacketStub 2016-02-10 20:11:34 +01:00
momo5502
e3904db37c Rewrite network interface. 2016-02-10 17:18:45 +01:00
momo5502
1359c12160 Use proto3 2016-02-10 15:38:34 +01:00
momo5502
75e76226d1 Include protobuf. Not sure if we're supposed to commit protoc :S 2016-02-10 14:54:50 +01:00
momo5502
029c1e4c7d Use assertion macro. 2016-02-10 02:00:44 +01:00
momo5502
790bcb2474 Inlcude protobuf for later usage.
Not sure if it's implemented correctly, but we'll see that tomorrow :P
2016-02-10 01:56:06 +01:00
momo5502
d87a6ced42 Implement client side node synchronization. 2016-02-10 01:22:00 +01:00
momo5502
40d6c6d715 Rewrote node system to register using ECDSA signatures. 2016-02-09 22:13:49 +01:00
momo5502
87c239a1dc Fix cryptography memory leaks :P 2016-02-08 18:43:31 +01:00
momo5502
4d36a0b9ed ECDSA and PRGN stuff. 2016-02-08 14:27:15 +01:00
momo5502
ebc784c51d Use @dasfonia's dvar name. 2016-02-08 02:48:11 +01:00
momo5502
2637f51174 Server color. 2016-02-08 02:09:55 +01:00
momo5502
0602c8e762 Fading color. 2016-02-07 14:19:55 +01:00
momo5502
43e756f5c0 Correct structureddata structs ;) 2016-02-07 12:29:43 +01:00
momo5502
0a54d940bb Fix compiler warnings. 2016-02-07 02:31:30 +01:00
momo5502
4a5743c67b Regularly store nodes. 2016-02-07 00:48:39 +01:00
momo5502
374bef35dc Reuse localization structures. 2016-02-06 19:22:40 +01:00
momo5502
4a1ca56a3b Add new color codes. 2016-02-06 19:09:41 +01:00
momo5502
c1ef716e5c Structureddata stuff. Not the best implementation, but better than our old one :P 2016-02-06 13:37:23 +01:00
momo5502
b4be34c8a8 Penis. 2016-02-06 01:01:33 +01:00