Commit Graph

359 Commits

Author SHA1 Message Date
FutureRave
99e3920008
Use new funcs in other modules 2022-02-27 16:49:12 +00:00
FutureRave
204a752a96
Refactor utils 2022-02-27 16:42:53 +00:00
FutureRave
27ca63bf65
Resolve conflict 2022-02-27 13:43:18 +00:00
Dss0
f4ba792dc3
Merge pull request #192 from diamante0018/refactor-iso-core-guidelines
ISO Core guidelines
2022-02-27 14:10:31 +01:00
FutureRave
c54981c6df
ISO Core guidelines 2022-02-27 12:53:44 +00:00
FutureRave
f283a52540
Stop formatting nonsense 2022-02-26 23:40:47 +00:00
Edo
cbfd650f78
Merge branch 'develop' into refactor-scripts-stuff 2022-02-26 23:30:58 +00:00
FutureRave
a5cc395b65
Refactor some utils 2022-02-26 22:50:53 +00:00
Edo
ac66040452
Merge branch 'develop' into refactor-scripts-stuff 2022-02-01 15:25:54 +01:00
Diavolo
a7a69d291f
Im🅱️rove 2022-02-01 15:24:20 +01:00
FutureRave
3bb39483dc
Use zone allocator instead of static mem allocator 2022-01-27 17:11:21 +00:00
FutureRave
f98f24f6fd
Upgrade further 2022-01-26 12:27:52 +00:00
Louve
ba590760cd
Merge pull request #142 from Rackover/better_r_draw_debug
Better r draw debug
2021-12-17 18:02:42 +01:00
Louvenarde
d726015ba2 Fix some declarations and pointer madness in Vec3SqrDist 2021-12-13 18:46:55 +01:00
FutureRave
69592a5656
Use .cfg over unordered map 2021-12-04 18:34:19 +00:00
Louvenarde
6d70cd3e74 Get int now works on enum dvars 2021-11-11 16:44:54 +01:00
Louvenarde
08054af027 Whoopsies 2021-11-08 18:05:49 +01:00
Louvenarde
0c87243519 Vec3 Square distance function 2021-11-08 17:55:48 +01:00
Diavolo
fc73f4cd65
Fix style and slowmoStub 2021-08-19 11:45:40 +02:00
Diavolo
ef1a902381
Changing the style to PascalCase 2021-07-21 18:44:58 +02:00
Diavolo
83147de048
No need to use getter function inside class function 2021-07-20 21:36:14 +02:00
Diavolo
5f7cefa5c9
Fix Quit Hard 2021-07-18 18:29:53 +02:00
Diavolo
a6b17cf64d Better quit_hard 2021-07-18 17:36:01 +02:00
GEEKiDoS
d222334313 Add support for building custom fonts 2021-06-29 02:25:23 +08:00
INeedBots
a2bbbc0caf [Cache] Updated urls 2020-12-09 14:55:28 -06:00
INeedBots
eeb70a7da4 Fixed compile errors on C++20 2020-12-09 13:13:34 -06:00
Joelrau
86bfc41812 [CSV] Updated csv so it won't overflow
Updated accoding to momo5502's request.
2020-09-02 13:02:41 +02:00
Joelrau
da52129076 [CSV] Allowed '//' comments in .csv files 2020-09-02 13:02:41 +02:00
Maurice Heumann
bab063a974 [Cache] Add new cache url 2019-12-26 10:32:21 +01:00
0x90
50e93d7f2f [Download] Improve client downloads
This is a (partial) fix for issue #14
2019-12-26 00:07:04 +01:00
RektInator
875bc6679a [IO] std::filesystem is no longer experimental 2019-10-02 11:37:08 +02:00
TheApadayo
831291bdfe [ImenuDef_t] Add logging to menus and fix a bug in clearing the array pointer for float expression entries 2019-01-19 11:28:36 -05:00
RektInator
e79350e586 [FastFiles] Fixed XSurface count when loading fastfiles
[Renderer] Added logging for broken materials
2018-12-24 21:42:39 +01:00
momo5502
4fa89722a2 [General] Use const string references 2018-12-17 15:34:28 +01:00
momo5502
adce219257 [Cache] Add new working cache urls 2018-11-25 20:27:54 +01:00
momo5502
a40780e567 [Utils] Fix memory-leaking and corrupting functions 2018-10-09 21:40:24 +02:00
momo5502
b2c94a7be3 Revert "[DHT] Implement DHT" 2018-10-09 10:53:15 +02:00
momo5502
2c3f445f8f [AntiCheat] Introduce LibUnlocker 2018-05-10 17:24:03 +02:00
momo5502
76b8e299a0 [DHT] Implement DHT 2017-09-02 20:03:51 +02:00
momo5502
ef4a2492af [Premake] Remove structured exception handler 2017-07-12 13:36:27 +02:00
momo5502
4aba6fa06d [Submodules] Get rid of zstd 2017-07-03 16:43:48 +02:00
momo5502
e80eb6fb43 [General] Get rid of FPS drops 2017-07-03 15:07:47 +02:00
momo5502
66dd013925 [AntiCheat] Fix linux usage 2017-06-30 10:37:37 +02:00
momo5502
8a1936347f [Node] Optimize code 2017-06-26 23:23:08 +02:00
momo5502
a3df6c45da [Compression] Use max compression level for zstd 2017-06-26 20:43:52 +02:00
momo5502
a011022da5 [ZoneBuilder] Use ZSTD for fastfile compression 2017-06-26 20:30:29 +02:00
momo5502
19f49a0273 [Compression] Implement zstd for fastfiles (unfinished) 2017-06-26 19:01:52 +02:00
momo5502
b1a91125fc [Node] Rewrite entire node system 2017-06-25 21:54:35 +02:00
momo5502
3db31cd2ff [Utils] Fix EndsWith function 2017-06-23 20:19:33 +02:00
momo5502
51ca49ad83 [Renderer] Implement single backend frame handler 2017-06-22 22:05:22 +02:00
momo5502
2d2c4c2c31 [General] Small fixes 2017-06-21 15:11:33 +02:00
momo5502
08bc848267 [General] Small code fixes and optimization 2017-06-14 20:53:54 +02:00
momo5502
110aeb02f7 [General] Upgrade to C++17 features 2017-06-13 15:35:12 +02:00
momo5502
a327915008 [Command] Don't crash on shell execute 2017-06-11 21:25:00 +02:00
momo5502
7a0261ccbd [AntiCheat] Prevent dll injection
- Hook native LdrLoadDll to prevent injection
- Hook native LdrpLoadDll to prevent injection
- Hook NtCreateThreadEx to log threads created by this process
  and kill remote threads
2017-06-10 20:24:42 +02:00
momo5502
917870a19d [Cache] Re-enable .to domain 2017-06-10 20:23:24 +02:00
momo5502
320d51ae32 [Cache] Add new cache urls 2017-06-04 20:51:05 +02:00
momo5502
4ef714aa4c [ZoneBuilder] Disable resharper warnings 2017-06-04 15:08:50 +02:00
momo5502
c8f80ceee0 [String] Use alternateive VAProvider when uninitializing
Using thread-local VAProviders in the uninitialization routine is not
possible, as thread storage has already been destroyed
2017-06-04 14:20:44 +02:00
momo5502
ff15fb07fc [IO] More efficient file check 2017-06-02 22:18:00 +02:00
momo5502
49c0b7d3a1 [String] Use leak-free local storage implementation of VA 2017-06-02 22:05:45 +02:00
/dev/urandom
a739e3bc8d
[Hooking] Fix variable typos. 2017-06-02 21:35:05 +02:00
momo5502
d8c3e7fcee [String] Make VA leak-safe 2017-06-02 15:36:20 +02:00
momo5502
1b6255f069 [Scheduler] Correctly register the scheduler 2017-06-01 10:54:16 +02:00
momo5502
9f50c260c8 [Threading] Make VA thread safe
This fixes an issue for dedis
2017-05-31 18:03:33 +02:00
momo5502
15aea4e0bc [Node] Get serverlist from dedis 2017-05-30 20:31:00 +02:00
momo5502
02741fff00 [WebIO] Fix moddownload (don't enforce content length) 2017-05-25 12:40:39 +02:00
momo5502
f6894b46c5 [Download] Add ssl support 2017-05-15 21:57:45 +02:00
momo5502
3e20ca366a [ZoneBuilder] Better FastFile obfuscation 2017-04-27 22:03:05 +02:00
momo5502
7c728b4658 [General] Use preincrement 2017-04-24 22:33:13 +02:00
momo5502
dbe0af988f [IGfxWorld] Test pointer duplication 2017-04-18 19:28:00 +02:00
momo5502
85d519b7b0 [Maps] Disable model sorting until it's fixed 2017-04-16 14:29:35 +02:00
momo5502
d11f5dee1f [Memory] Use global memory allocator when possible 2017-04-16 11:47:57 +02:00
momo5502
360729120c [General] Allow building custom maps 2017-04-15 16:48:43 +02:00
momo5502
59d8c85640 [ZoneBuilder] Check if CSV exists 2017-04-04 22:35:30 +02:00
momo5502
0a8f0e5f70 [Maps] Add r_disableModelWorkaround 2017-03-30 17:56:06 +02:00
momo5502
13eb5ba831 [Entities] Fix model selection 2017-03-27 14:15:09 +02:00
TheApadayo
f4a865698d [ZoneBuilder] Add buildtechsets command, doesn't work yet 2017-03-26 20:44:45 -04:00
momo5502
aa20fc009d [AntiCheat] Patch virtual protect 2017-03-26 20:41:37 +02:00
momo5502
6f91b87bdc [Structs] Adjust GfxBrushModels 2017-03-26 18:00:25 +02:00
momo5502
654b2210ce [IMapEnts] Correct map entities 2017-03-25 22:18:31 +01:00
momo5502
19b6203272 [IGfxWorld] Fix runtime data overflow 2017-03-20 21:07:55 +01:00
momo5502
39a5758955 [Memory] Add pointer mapping support 2017-03-17 23:41:31 +01:00
momo5502
3b702b9d9a [IclipMap_t] Use existing clipmap as base 2017-03-16 20:40:32 +01:00
/dev/root
f0f4a5b6cc [Exception] Changed checks to use c++ experimental features 2017-03-15 19:30:15 +01:00
/dev/root
06e3a72f92 [Cache] Add onion.rip fallback 2017-03-10 14:59:33 +01:00
momo5502
1b4393f095 [AntiCheat] More process security and debug priviledge acquisition 2017-03-04 13:52:00 +01:00
momo5502
1d7006c420 [Utils] Inline array merging 2017-02-24 11:43:05 +01:00
momo5502
f5d5e76ac1 [Proxy] Safer disassembly of the steam api 2017-02-21 21:32:47 +01:00
TheApadayo
06472685e2 [Memory] Add non buggy IsBadReadPtr implementation 2017-02-21 14:15:47 -05:00
momo5502
7d0b34da1a [IPCPipe] Use old IPC handler again 2017-02-12 19:38:56 +01:00
momo5502
0a702aba40 [IO] Move FileSize function 2017-02-10 22:32:33 +01:00
momo5502
9d08e84627 [General] Small refactoring 2017-02-10 22:02:13 +01:00
momo5502
ef675d4d87 [MinidumpUpload] Only upload small dumps 2017-02-10 21:51:30 +01:00
momo5502
cf05da99a1 [IO] Safer file reading and writing 2017-02-10 15:18:11 +01:00
momo5502
b3f83fe955 [General] Fix code analysis warning and memory leaks 2017-02-10 14:17:01 +01:00
momo5502
ee06e79a28 [Exception] Destroy windows and suspend threads 2017-02-10 09:50:08 +01:00
TheApadayo
23ff36d590 [Exception] Added better exception handling so that when the users are morons it explains exactly what happened to them.... cause they're morons 2017-02-09 16:17:06 -05:00
momo5502
a32ad0b2dd [Utils] Remove debugbreak 2017-02-08 19:27:24 +01:00
momo5502
7954330418 [Network] Use linebreaks as separators 2017-01-31 22:02:08 +01:00
momo5502
67d963a0c8 [IPC] Better worker cleanup 2017-01-29 11:48:42 +01:00
momo5502
cd15ad88cd [IPC] Use first worker 2017-01-28 19:22:39 +01:00
momo5502
f81f820b47 [IPC] Experimental second handler 2017-01-28 19:21:55 +01:00
momo5502
20139d4a52 [Friends] Query friends from the worker 2017-01-28 19:05:16 +01:00
momo5502
ee185c538f [ConnectProtocol] Upgrade the protocol to the new ipc infrastructure 2017-01-27 23:09:32 +01:00
momo5502
4e84c297e4 [IPC] Use iw4x as worker process instead of creating a separate binary 2017-01-27 22:03:35 +01:00
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
c8a41139cf [Steam] Add native callback interface 2017-01-25 22:38:38 +01:00
momo5502
2de95b4a3b [General] Fix protobuf and other memory leaks 2017-01-22 21:38:57 +01:00
momo5502
78c29360bf [Download] Safer moddownload 2017-01-22 13:44:14 +01:00
momo5502
0f258046c3 [Utils] Copy signal slots before executing 2017-01-21 01:52:50 +01:00
momo5502
82e9f3864c [General] Refactor all the code
This is the actual refactoring, the last commit was broken
2017-01-20 22:41:03 +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
momo5502
07b0a42f45 [Download] Small fixes 2017-01-19 21:21:59 +01:00
momo5502
06bb09e1f0 [Cryptography] Generate secure challenges 2017-01-19 18:14:30 +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
a24e68a83b [Cache] Add .link domain 2017-01-15 21:07:06 +01:00
momo5502
fbac207190 [FrameTime] Introduce safer frame waiting mechanism 2017-01-14 13:33:58 +01:00
momo5502
e34958d478 [Node] Only allow 1 node with the same public key 2017-01-14 01:21:39 +01:00
momo5502
c9d160c72a [General] Get rid of unnecessary submodules 2017-01-06 15:27:35 +01:00
momo5502
9130a57465 [IGfxWorld] Finish importer 2016-12-29 00:54:50 +01:00
momo5502
c4690bf49f [Memory] Inline array allocation 2016-12-28 17:30:20 +01:00
momo5502
b4fd5a11d1 [Stream] Add pointer interface to the reader 2016-12-25 15:17:31 +01:00
momo5502
61339350c1 [ZoneBuilder] Add IGameWorldSp interface (WIP) 2016-12-24 17:29:19 +01:00
TheApadayo
2903444e89 [ZoneBuilder] Rewrote to write assets in a nested way to more accurately emulate how linker_pc works
-it doesn't compile... yet
2016-12-23 01:42:56 -05:00
momo5502
715fe82483 [Stream] Fix stream writing 2016-12-22 13:28:02 +01:00
momo5502
336a891d26 [Debugging] Slightly optimize zb writing 2016-12-22 12:53:52 +01:00
momo5502
403974b9cc [Debugging] Slightly optimize iw4 reading log 2016-12-22 12:37:09 +01:00
TheApadayo
296af1716a [ZoneBuilder] Added IFxWorld interface, should work fully 2016-12-22 00:42:53 -05:00
momo5502
8f42168ec3 [Stream] Write invalid streams 2016-12-22 03:32:38 +01:00
TheApadayo
f8a50eda81 2016-12-21 20:59:37 -05: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
momo5502
33754f40aa [Stream] Reimplement the correct stream writing (thx @TheApadayo) 2016-12-22 02:00:09 +01:00
momo5502
d5241d7dfe [Memory] Use mutex for memory allocation 2016-12-13 21:53:51 +01:00
momo5502
0fb882ef3b [Utils] Safer isstring 2016-12-10 13:07:45 +01:00
/dev/root
4254179520 [Cache] Refactored Cache::GetUrl
- renamed GetUrl() to GetStaticUrl()
2016-11-25 14:16:07 +01:00
/dev/root
124e86387b [General] Fixed line endings
- converted all line endings in cpp/hpp files to dos
2016-11-25 13:00:48 +01:00
/dev/root
0221954b41 [Cache] Fix
- removed Mutex in GetUrl() to speed up startup
2016-11-25 12:48:52 +01:00
momo5502
f169fd5274 [Cache] Use curly brackets 2016-11-22 07:59:46 +01:00
/dev/root
ddce60ee00 [Cache] Removed Constructor
- removed Constructor
- changed all functions to static

[ci skip]
2016-11-21 20:49:33 +01:00
/dev/root
d17f287bf2 [Cache] Used Utils::Cache
[ci skip]
2016-11-21 11:29:55 +01:00
/dev/root
98d9ad402f [Cache] Added mutex
[ci skip]
2016-11-21 11:09:42 +01:00
/dev/root
c969f5054d [Cache] Rewrote code
[ci skip]
2016-11-21 10:50:55 +01:00
momo5502
6a51d280ae [Hooking] Correct interceptor stub 2016-11-20 20:41:02 +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
e92a2fe7ff [WebIO] Handle status code 2016-11-15 19:43:10 +01:00