Commit Graph

84 Commits

Author SHA1 Message Date
/dev/urandom
6dfd22c07a
New premake flags for debugging anticheat, library loading and forcing unit tests.
- --debug-detections sets the "DEBUG_DETECTIONS" define to show whenever a mismatch in the anticheat hashing occurs.
- --debug-load-library sets the "DEBUG_LOAD_LIBRARY" define to show libraries as they are loaded during runtime in the debug console.
- --force-unit-tests sets the "FORCE_UNIT_TESTS" define to enforce compiling the unit tests into the binary.
2016-08-13 19:20:27 +02:00
/dev/urandom
4c6ad8a134
Premake: Add --copy-pdb parameter to also copy the PDB file to the folder given by --copy-to. 2016-08-10 17:09:19 +02:00
/dev/urandom
63fc302ce0
Premake: Fix fail on --copy-to due to missing target directory. 2016-08-10 17:08:27 +02:00
momo5502
9562285ed7 Use new format library and sort utils 2016-07-11 17:14:58 +02:00
momo5502
ae2c458a07 More protobuf fixes 2016-07-03 16:54:16 +02:00
momo5502
21047a3da3 Use develop branch for libtommath 2016-06-14 15:28:42 +02:00
momo5502
276e35e2d2 Some optimization 2016-06-08 17:28:58 +02:00
momo5502
0c205f0353 Server-side moddownload implemented 2016-06-04 21:24:03 +02:00
momo5502
d59e70ff2a Start implementing moddownload 2016-06-04 17:06:49 +02:00
momo5502
f637670e52 Workaround 2016-05-16 15:38:58 +02:00
/dev/urandom
536cb2f171
premake: Introduce REVISION_CLEAN. More info in this commit msg.
REVISION_CLEAN can be 0 or 1. When it is 0 that means that there were uncommitted changes to the code at the time of version info generation, otherwise this will be 1 which means that there have been no uncommitted changes.
2016-03-15 01:44:40 +01:00
/dev/urandom
d8d5f79d20
premake: Fix for VS IDE to open Resource.rc.
Signed-off-by: /dev/urandom <iw4x-dev-urandom@protonmail.com>
2016-03-15 01:07:18 +01:00
momo5502
2e4dd10c3e Embed resource file 2016-03-14 12:54:59 +01:00
momo5502
00b7e3f920 Some more authentication stuff. 2016-02-22 13:37:13 +01:00
/dev/urandom
d492d422b6
Update libtomcrypt to de15a6fad9.
This is mainly with focus on issues with the ECC code. One of these issues is a "possible overflow in ecc_ansi_x963_export" (https://github.com/libtom/libtomcrypt/issues/58). Other than that all changes are minimal, only one new compile flag had to be added to get around a compiler incompatibility case for LTC_FAST (we're not working with GNU compilers here) and the code will fully compile.
2016-02-20 05:02:30 +01:00
momo5502
59a00f2b0e Penis. 2016-02-17 18:44:33 +01:00
momo5502
8f91c7dc6a More bugfixes 2016-02-13 14:03:23 +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
02b6dd2f19 Optimize far-jump patches 2016-02-12 00:36:52 +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
/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
75e76226d1 Include protobuf. Not sure if we're supposed to commit protoc :S 2016-02-10 14:54:50 +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
4d36a0b9ed ECDSA and PRGN stuff. 2016-02-08 14:27:15 +01:00
momo5502
0a54d940bb Fix compiler warnings. 2016-02-07 02:31:30 +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
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
31ae9a779a Include libtomcrypt for future rsa signing. 2016-01-29 00:20:28 +01:00
momo5502
c68e5114d1 Don't compile pdcurses dynamically, I was wrong, it doesn't export anything at all. 2016-01-27 11:03:26 +01:00
momo5502
d3a9580f8f Dynamic pdcurses library. 2016-01-27 03:17:31 +01:00
momo5502
d28323f73e Optimizations
- Increase warning level
- Use proper casting
- Fix some more warnings.
2016-01-24 12:19:34 +01:00
momo5502
f509e67953 Various fixes and optimizations. 2016-01-22 13:18:26 +01:00
/dev/urandom
622c6b5dff
premake: Move architecture definitions to workspace scope. 2016-01-21 01:00:18 +01:00
/dev/urandom
df1c0fb38c
premake5: Fix typo ("platform" => "platforms"). 2016-01-19 18:04:24 +01:00
/dev/urandom
1b4e5362c3
premake5: Fix architecture definition and added platform definition.
This is necessary if we want to support Mac OS X (xcode4) later as the generator ignores the architecture definition and only enforces 32-bit builds if the platform is set to either "Universal32" or "x86" despite the fact that premake5 only defines "platform" as a custom labeling method for Visual Studio.
2016-01-19 17:49:16 +01:00
/dev/urandom
eec125b67a
premake5: Correct architecture to x86. 2016-01-19 17:18:47 +01:00
/dev/urandom
e55f48dbe2
premake5: Add "version" command which prints the version string.
Needed for the CI to apply build naming by revision number.
2016-01-17 21:47:40 +01:00
momo5502
d921388e62 curses tests. 2016-01-17 00:22:08 +01:00