Commit Graph

706 Commits

Author SHA1 Message Date
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
momo5502
17f5c5e436 Use text styles. 2016-02-05 18:13:34 +01:00
momo5502
497a4ecefb Some fixes. 2016-02-05 13:10:22 +01:00
momo5502
70d49efac5 Optimize unit tests. 2016-02-05 00:33:06 +01:00
momo5502
59c1ef8fc1 Fix version parser (jenkins) 2016-02-04 23:19:20 +01:00
momo5502
6dd250259c Fix unit testing stuff for release configurations. 2016-02-04 22:13:31 +01:00
momo5502
a34a440000 Apparently, libtomcrypt explicitly ignores all tab sources. 2016-02-04 22:10:50 +01:00
momo5502
ad1e25bd56 Update submodules and include some unit testing code. 2016-02-04 21:58:49 +01:00
momo5502
dcd46633ca Check if zone is loaded. 2016-02-03 22:01:10 +01:00
momo5502
69bdda10f2 Format some stuff. 2016-02-03 21:30:05 +01:00
momo5502
0f5f266ea5 Correctly unload zones. 2016-02-03 21:23:07 +01:00
momo5502
7bd8feff5d Implement node serverlist for the client. 2016-02-03 20:10:54 +01:00
momo5502
a9ecaf139f Allow loading up to 10 maps simultaneously (for zone building!) 2016-02-03 12:20:21 +01:00
momo5502
2a29232a6f Node invalidation security stuff. 2016-02-01 21:59:45 +01:00
momo5502
ad6220fa0b RSA signature stuff. 2016-02-01 10:23:06 +01:00
momo5502
2706e50881 libtommath is faster than tomsfastmath (oh, irony :P) and fixes issue 2016-01-31 21:53:51 +01:00
momo5502
e43444738c Stuff seems to take years to compile on release :/ Might wanna switch to openssl, crypto++ or some other rsa lib. 2016-01-31 21:27:43 +01:00
momo5502
55170e6ba8 correctly include tomsfastmath 2016-01-31 19:50:17 +01:00
momo5502
1fdeb17e6d add fastmath stuff. 2016-01-31 15:55:32 +01:00
momo5502
e51e791184 2016-01-31 13:19:29 +01:00
momo5502
9d9229b229 Delta parts. Not sure if correct, as I haven't tested it yet. My head still hurts :P 2016-01-30 12:22:37 +01:00
momo5502
fb7879e2c6 Node optimization 2016-01-29 03:49:51 +01:00