Commit Graph

137 Commits

Author SHA1 Message Date
momo5502
fc0bf1acc1 [IPC] Basic IPC channel class 2017-01-27 17:21:10 +01:00
momo5502
c15aac546d [General] Prepare code for use with multiple projects 2017-01-27 14:43:52 +01:00
momo5502
f81a36ae3b [General] Use visual leak detector if wanted 2017-01-22 21:38:57 +01:00
momo5502
079bc920a8 [General] Basic refactoring 2017-01-20 14:37:52 +01:00
momo5502
74b34f2a6d [LineEndings] Fix them all 2017-01-19 22:55:15 +01:00
sr0
e1a4e3ec27 Remove .gitattributes file 2017-01-18 23:44:36 +01:00
/dev/root
6c9e28ff42 [LineEndings] Fix crlf lineendings
- added gitattributes file to force crlf for hpp/cpp/lua
2017-01-16 17:42:50 +01:00
momo5502
7a8176238f [General] Enable custom map code only in debug mode 2017-01-08 19:37:07 +01:00
momo5502
c9d160c72a [General] Get rid of unnecessary submodules 2017-01-06 15:27:35 +01:00
momo5502
336a891d26 [Debugging] Slightly optimize zb writing 2016-12-22 12:53:52 +01:00
TheApadayo
4cb109c3ee [Debgging] Add read/write logger
- You can use the two comparison files (iw4_reads.log & zb_writes.log) to compare the two for differences
- Move the hook in QuickPatches around to change the asset that you're logging
2016-12-21 20:58:00 -05:00
TheApadayo
8b7c990a53 [ZoneBuilder] Added GfxWorld asset interface but is completely untested
i have no idea if any of it works so try it out whenever
2016-12-20 01:47:10 -05:00
momo5502
241915d37b [General] Use unordered_map where it makes sense 2016-12-18 13:24:15 +01:00
/dev/root
c969f5054d [Cache] Rewrote code
[ci skip]
2016-11-21 10:50:55 +01:00
momo5502
8085e4bd88 [CodeStyle] Refactor the code to match our basic style guidelines 2016-11-20 14:10:57 +01:00
momo5502
b7b7292bd4 [IO] Use C++17 filesystem features for directory interaction 2016-11-19 20:40:32 +01:00
momo5502
aaf9325f07 Fix 2016-11-11 18:05:04 +01:00
momo5502
d32d58cc6f AntiCheat refactoring part 7
?
2016-11-05 12:56:12 +01:00
momo5502
ad18adc187 Fix techniques (ZoneBuilder) and fully dump gfxworlds with enable-dxsdk flag 2016-10-09 12:02:17 +02:00
momo5502
e7910ac19f More map progress, add dumpmap command.
SE2Dev wants us to keep that code for us, so only in debug mode!
2016-10-08 20:51:00 +02:00
momo5502
8e1e179d84 More tests 2016-10-01 02:03:12 +02:00
momo5502
25585fc9a4 Introduce library util 2016-09-17 00:14:59 +02:00
/dev/urandom
8aae51db64
Switch to semantic versioning via Git with fallback to old version string format. 2016-08-31 00:03:25 +02:00
/dev/urandom
ebba2819d6
Commit local workspace.
- Split minidump (upload) and exception handling code
- Smaller minidumps for faster uploads
- Several new build flags (accessible from premake5 with --params)
- BitMessage abstractions
- Some other things I can't remember.
2016-08-28 19:39:39 +02:00
/dev/urandom
addb746a59
Update BitMRC fork and set _CRT_SECURE_NO_WARNINGS for 3rd party includes. 2016-08-26 23:41:57 +02:00
/dev/root
369267ef39 added submodules for bitmrc 2016-08-25 18:17:47 +02:00
momo5502
256b463411 Don't ignore warning 4100 2016-08-18 02:18:45 +02:00
/dev/urandom
db4f9ad6ec
MILESTONE define is now bound to the current Git tag name (which is beta).
Subject to.
2016-08-17 05:00:12 +02:00
/dev/urandom
7ff05580c9
Premake: Split up dependencies, make them easily configurable and provide easy-to-use imports.
All dependency projects are now separated into their own Premake scripts and are designed to provide easy "import", "includes" and "setup" functions.

First, you use project.setup { ... } to provide the library with its respective configuration, this MAY include defines and MUST include the source path of that specific library. Then you can use project.includes() or project.import() in your target application or library project to let the script configure your project. This will configure all necessary include directories and links.
2016-08-13 19:45:11 +02:00
/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
momo5502
1ca490d953 Protect OpenProcess and co. 2016-08-08 14:49:53 +02:00
momo5502
b2a9e7af81 Remove unnecessary includes and fix steamauth exploit 2016-07-22 12:12:11 +02:00
momo5502
245cd533d1 Steam proxy 2016-07-12 18:33:25 +02:00
momo5502
9562285ed7 Use new format library and sort utils 2016-07-11 17:14:58 +02:00
momo5502
38f15c7d50 Ignore protobuf warnings 2016-07-03 16:50:43 +02:00
momo5502
75af2aa24e Toasts 2016-06-24 14:49:46 +02:00
momo5502
66671fa817 Include protocol in nodes 2016-06-14 15:04:58 +02:00
momo5502
c8962075a4 Add userraw and redirect http requests to the game's filesystem 2016-06-06 13:00:48 +02:00
momo5502
d59e70ff2a Start implementing moddownload 2016-06-04 17:06:49 +02:00
momo5502
44e6d6acc8 Optimize playlist transfer 2016-04-13 20:57:44 +02:00
momo5502
4cb3e04c88 Small optimizations 2016-04-11 11:25:08 +02:00
/dev/urandom
e3e222611d
Introduce REVISION_SUFFIX and integrate it in-game.
REVISION_SUFFIX is either empty or contains a "*" to indicate if a revision is clean or not (see previous commit regarding REVISION_CLEAN for explanation).
2016-03-15 03:22:32 +01:00
/dev/urandom
b289aa7a27
Fix Res(s)ource typo and add an explanation for the new STDInclude defines.
Signed-off-by: /dev/urandom <iw4x-dev-urandom@protonmail.com>
2016-03-15 01:11:16 +01:00
momo5502
2e4dd10c3e Embed resource file 2016-03-14 12:54:59 +01:00
sr0
9f51c7cca4 beautify client config stuff 2016-03-12 01:10:19 +01:00
sr0
2f2eef5f8e rename 'data2' into 'iw4x' 2016-03-12 00:47:09 +01:00
momo5502
60363dd1f3 Fix external console 2016-03-06 14:13:41 +01:00
momo5502
52d7504437 Optimize includes 2016-03-04 15:19:10 +01:00
momo5502
bb4b8b3e6c Disable release unit tests 2016-02-23 13:58:58 +01:00
momo5502
bcdc555c4a POW (aka. hashcash) stuff. 2016-02-22 23:35:53 +01:00
momo5502
6fbae4461e Experimental guid authentication 2016-02-21 19:57:56 +01:00
momo5502
0ec1029a89 Optimize RNG and limit packet input 2016-02-19 23:57:06 +01:00
momo5502
339b05f8a7 Rcon tests. 2016-02-17 22:21:42 +01:00
momo5502
a11f004a7e More proto stuff.
We should add a version identifier before releasing!
2016-02-12 15:06:06 +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
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
ad1e25bd56 Update submodules and include some unit testing code. 2016-02-04 21:58:49 +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
55170e6ba8 correctly include tomsfastmath 2016-01-31 19:50:17 +01:00
momo5502
e51e791184 2016-01-31 13:19:29 +01:00
momo5502
ba3187ce9e More optimization. 2016-01-24 21:08:14 +01:00
momo5502
378ec87619 More assertions. 2016-01-24 12:56:38 +01:00
momo5502
d28323f73e Optimizations
- Increase warning level
- Use proper casting
- Fix some more warnings.
2016-01-24 12:19:34 +01:00
momo5502
4bbe670c32 Fix warning stuff and issue 2016-01-17 12:31:56 +01:00
momo5502
5a5e149b3a Include curses. 2016-01-16 23:48:52 +01:00
momo5502
6fa0a743d8 #40 Experiments. 2016-01-16 13:11:00 +01:00
momo5502
0a201daee0 Include official boost-free asio module. 2016-01-14 12:33:11 +01:00
momo5502
558112166a ZoneBuilder stuff. 2016-01-12 19:08:26 +01:00
momo5502
2101fc28f3 D3D9Ex. 2016-01-12 00:48:27 +01:00
sr0
d70836e825 beta 2016-01-09 18:36:05 +01:00
momo5502
7974bd5cd0 Move version stuff back to the standard include. 2016-01-09 15:59:18 +01:00
momo5502
b58085810a Some fastfile stuff. 2016-01-06 01:23:43 +01:00
momo5502
852c88c3b5 Some more zone experiments and json11 submodule. 2016-01-05 14:39:04 +01:00
momo5502
d31b21ab9b Implement experimental zone building. 2016-01-05 00:49:34 +01:00
momo5502
23c7828506 Fix connect protocol.
Still needs some cleanup, but it's in an acceptable state.
Therefore issue is fixed!.
2016-01-04 13:05:42 +01:00
momo5502
c392eba620 Better version.hpp including. 2016-01-04 10:58:58 +01:00
momo5502
8175888e1d Fix discovery. 2016-01-04 03:27:43 +01:00
momo5502
1fd40424e4 Some discovery stuff. 2016-01-04 00:00:07 +01:00
momo5502
47c874d2b4 Fix names (issue) 2016-01-01 20:01:19 +01:00
momo5502
fb8aa17ab1 IPCPipe implemented for inter-process-communication. 2015-12-31 13:37:25 +01:00
sr0
75db36aba9 add revision number 2015-12-31 04:53:48 +01:00
/dev/urandom
e6d38e68fb
Add version.hpp generation. Will trigger pre-build. 2015-12-31 03:59:33 +01:00
momo5502
b3e904115d Newsticker. 2015-12-31 00:55:08 +01:00
momo5502
8a1a8c6502 Use smooth native cursor instead of the laggy in-game one. 2015-12-29 14:46:17 +01:00
momo5502
87c1c36943 Use premake. 2015-12-29 02:52:31 +01:00