Commit Graph

902 Commits

Author SHA1 Message Date
momo5502
e93831319f [ZoneBuilder] IGfxWorld and IclipMap_t fixes 2016-12-22 00:35:05 +01:00
momo5502
ec37ab6714 [IGfxWorld] Fix material memory (there is still a bug there!) 2016-12-21 20:56:17 +01:00
momo5502
24ce44ae52 [IclipMap_t] Fix interface, it should work now 2016-12-21 20:24:04 +01:00
momo5502
9505d8cbe4 [IclipMap_t] Small fixes, stuff is still broken 2016-12-21 20:11:27 +01:00
momo5502
079f05d6eb [IGfxWorld] Correct brackets (ocd) 2016-12-21 19:26:13 +01:00
momo5502
b72b8b8a15 [ZoneBuilder] clipmap and gfxworld fixes 2016-12-21 19:20:57 +01:00
momo5502
48557d02d1 [ZoneBuilder] Add ComWorld interface 2016-12-21 17:51:51 +01:00
momo5502
3e69704aed [ZoneBuilder] Correct XAssetHeader struct 2016-12-21 17:27:45 +01:00
momo5502
fac7f0ef4c [AssetHandler] Use thread_local declaration instead of mutex 2016-12-21 17:08:15 +01:00
TheApadayo
25c5baa549 [IGfxWorld] GfxWorld writer completed
-also added mark for GfxWorld so it works properly
-still needs to be debugged (it doesn't work)
2016-12-20 22:15:01 -05:00
momo5502
c216929687 [IclipMap_t] Structure fixes 2016-12-20 22:26:58 +01:00
momo5502
756d7c15a9 [IGfxWorld] Small fixes and more progress 2016-12-20 22:23:23 +01:00
TheApadayo
89fc89275f [ZoneBuilder] Added clipMap_t asset interface (untested) 2016-12-20 16:22:20 -05:00
momo5502
58073404cc [ZoneBuilder] Add IGameWorldMp interface 2016-12-20 20:16:23 +01:00
momo5502
1c82e29871 [XModel] Adapt structure 2016-12-20 18:15:28 +01:00
momo5502
3597bc7bfa [IGfxWorld] Correct formatting 2016-12-20 17:42:15 +01:00
TheApadayo
58cedeaf5d [Style] Fixed my code to play nice with warnings
-also updated gitgnore
2016-12-20 10:08:33 -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
TheApadayo
38abd43533 [ZoneBuilder] Updated GfxWorld struct to be correct now 2016-12-19 16:12:47 -05:00
momo5502
28767e9b56 [AssetHandler] Controll bypass for each thread individually 2016-12-19 20:55:38 +01:00
momo5502
bac3f4cd44 [AssetHandler] Use mutex to synchronize DB_FXAH access 2016-12-19 19:41:29 +01:00
momo5502
d8d67898f3 [ModelSurfs] Fix possible memory leak 2016-12-19 18:14:15 +01:00
momo5502
2b226dbcdb [Command] Add openLink command 2016-12-18 17:42:25 +01:00
momo5502
241915d37b [General] Use unordered_map where it makes sense 2016-12-18 13:24:15 +01:00
momo5502
5ef1c17e56 [Localization] Remove unnecessary localizations 2016-12-17 13:28:17 +01:00
momo5502
b045a488e1 [AntiCheat] Add --ac-disable premake flag 2016-12-17 12:58:16 +01:00
momo5502
dc6d78187c [FileSystem] Abstract file interfaces and rawfile interface 2016-12-16 22:42:28 +01:00
momo5502
6aa94712e2 [Bots] Fix spawning a second bot 2016-12-15 20:05:50 +01:00
momo5502
deca58db58 [Dvar] Don't use Steam name for now, it's not ready yet 2016-12-15 19:18:08 +01:00
momo5502
f0e234dd2a [Material] Fix previews for zonebuilder 2016-12-14 18:12:29 +01:00
momo5502
bb6b1b0764 [Network] Ignore WSAENETRESET error 2016-12-14 17:26:49 +01:00
momo5502
61647226f4 [Materials] Use reader to hopefully prevent concurrency errors 2016-12-13 22:19:18 +01:00
momo5502
d5241d7dfe [Memory] Use mutex for memory allocation 2016-12-13 21:53:51 +01:00
momo5502
bc5aed43d8 [Materials] Redirect preview images to loadscreens
This is a temporary workaround. We should create real previews!
2016-12-13 21:31:51 +01:00
momo5502
f1d90af0d7 [Dedicated] Fix frame handler 2016-12-13 19:26:30 +01:00
momo5502
ba14a60429 [Proxy] Don't release steam structs, as they cause deadlocks 2016-12-11 13:31:59 +01:00
momo5502
22900cf1ed [Dvar] Use steamname as initial name 2016-12-10 13:07:45 +01:00
momo5502
6b86d4a807 [Proxy] Basic steam proxy 2016-12-10 13:07:45 +01:00
momo5502
0fb882ef3b [Utils] Safer isstring 2016-12-10 13:07:45 +01:00
momo5502
5cd08907a8 [IFxEffectDef] Parse version 2016-12-10 13:07:45 +01:00
momo5502
13f4af34b2 [Network] Allow cl_maxpackets 125 2016-12-08 21:23:06 +01:00
momo5502
fb8958d2ea [Dedicated] Time wrapping workaround 2016-12-08 20:07:42 +01:00
momo5502
183da91131 [Party] Re-Ignore configstring checksums 2016-12-08 20:07:42 +01:00
momo5502
3e0beecdf5 [Functions] Optimize parse session functions 2016-12-08 20:07:42 +01:00
momo5502
81d94cbd5e [IFxEffectDef] Add the structs provided by @aerosoul94 2016-12-07 22:08:13 +01:00
momo5502
dfa50dc1bb [IFxEffectDef] More preparations for fx loading 2016-12-07 21:19:06 +01:00
momo5502
788ccae967 [Command] Use pointers instead of an abstraction interface for params 2016-12-07 20:00:24 +01:00
momo5502
835597fbf6 [ZoneBuilder] Version system for models and anims 2016-12-07 18:53:01 +01:00
momo5502
d6a2dbdd2b [Command] Implement abstract parameter interface 2016-12-07 18:53:01 +01:00
momo5502
107076c26a [FastFiles] Partially correct fastfile progress 2016-12-06 21:16:02 +01:00
momo5502
566cad6784 [IFxEffectDef] Prepare efx loading 2016-12-06 19:36:57 +01:00
momo5502
1907677070 [Party] Reimplement some configstring checks 2016-12-05 20:43:42 +01:00
momo5502
631726b1d9 [General] Structure optimization 2016-12-05 20:43:29 +01:00
momo5502
68548ad45a [Threading] Make the game run single-threaded 2016-12-05 20:43:16 +01:00
momo5502
ef263d35c1 [QuickPatch] Remove profile loading error 2016-12-05 17:50:46 +01:00
momo5502
6a14220ee7 [Maps] Load sun from main zone instead of gfxworld basename 2016-12-04 21:42:05 +01:00
momo5502
38aba91cc9 [Maps] Load raw suns 2016-12-01 21:00:09 +01:00
momo5502
2c0f582427 [MinidumpUpload] Correct getName override 2016-11-29 21:39:03 +01:00
momo5502
c8a5268c2e [ZoneBuilder] Force sound loading, structs aren't touched 2016-11-29 21:33:31 +01:00
momo5502
4d517f2895 [ZoneBuilder] Add snd_alias_list_t interface 2016-11-29 21:12:35 +01:00
momo5502
3551d0c0eb [ZoneBuilder] Add LoadedSound interface 2016-11-29 19:32:46 +01:00
momo5502
1b12886229 [ZoneBuilder] Add sndcurve interface 2016-11-29 19:13:46 +01:00
momo5502
5489fa2461 [IFxEffectDef] Add nullpointer check for material preloading 2016-11-29 08:32:15 +01:00
momo5502
d596cdc97b [ZoneBuilder] Add interface for FxEffectDef
Soundaliases are missing, so the game will complain about missing sounds!
2016-11-28 22:12:42 +01:00
momo5502
f57ca2d872 [Bots] Allow loading custom botnames from bots.txt 2016-11-27 15:43:37 +01:00
momo5502
2969ae64e0 [Dedicated] Add sv_motd dvar, so serverowners can set motds
The motd will be displayed instead of the didyouknow messages in the
loadscreen
2016-11-27 14:30:21 +01:00
momo5502
7943aea010 [Main] Remove newlines 2016-11-25 20:32:33 +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
f4d2ab6e1c [Command] Fix indentation 2016-11-24 08:29:21 +01:00
momo5502
04c696a9d5 [Command] Optimize setviewpos command 2016-11-24 08:28:33 +01:00
/dev/root
e8a5e164fc [Command] Implemented setviewpos 2016-11-22 23:25:56 +01:00
momo5502
3973cf71a7 [FastFiles] Correctly load the mod.ff 2016-11-22 21:40:36 +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
/dev/root
4143cbf0d8 [News] Removed Code to delete updater.exe
- updated Cache ID as it is iw4x
2016-11-21 08:00:08 +01:00
momo5502
b0f13911ca [ZoneBuilder] Rough concept for external data 2016-11-20 20:41:38 +01:00
momo5502
6a51d280ae [Hooking] Correct interceptor stub 2016-11-20 20:41:02 +01:00
momo5502
ac102cc8b0 [Discovery] Fix thread termination 2016-11-20 14:31:52 +01:00
momo5502
1d13548829 [Localization] Fix localization crash
Preserve esi, as it is required by the hooked function
2016-11-20 14:10:57 +01:00
momo5502
8085e4bd88 [CodeStyle] Refactor the code to match our basic style guidelines 2016-11-20 14:10:57 +01:00
momo5502
e8b95226a6 [Localization] Don't restrict str loading to zonebuilder 2016-11-19 21:22:03 +01:00
momo5502
b7b7292bd4 [IO] Use C++17 filesystem features for directory interaction 2016-11-19 20:40:32 +01:00
momo5502
45200eba58 [Localization] Load language specific files 2016-11-17 18:17:25 +01:00
momo5502
f68c895286 [Localization] Remove legacy localizations 2016-11-16 20:36:19 +01:00
/dev/root
79f1b2bd44 [Node] Refactored reloadnodes and syncnodes
- removed reloadnodes
- moved LoadNodeRemotePreset to syncnodes
2016-11-16 18:37:44 +01:00
/dev/root
bb34e0416f [Node] Add command to trigger reload of remote nodes
- fixed a typo
2016-11-15 20:53:11 +01:00
momo5502
e92a2fe7ff [WebIO] Handle status code 2016-11-15 19:43:10 +01:00
momo5502
f5786d0bbb [Node] Load nodes after network start 2016-11-15 16:56:21 +01:00
momo5502
3a773df44b [Node] Fuck, that typo is stronger than me 2016-11-15 16:45:49 +01:00
momo5502
a70c26d697 [Node] Fix typo in node url 2016-11-15 16:44:57 +01:00
momo5502
d4e78a09a5 [Node] Fallback client implementation 2016-11-15 16:40:15 +01:00
momo5502
c638366b8f [Console] Update color for ingame console 2016-11-14 22:34:16 +01:00
momo5502
755aaa3878 [Console] New ingame console colors 2016-11-14 19:26:15 +01:00
momo5502
4d7be89089 [ZoneBuilder] Add buildall command 2016-11-13 20:53:44 +01:00
momo5502
aa9da9012e [Menus] Small fix for unloaded menus 2016-11-13 20:53:27 +01:00
momo5502
f75d8cee18 [FileSystem] Revert back to the initial implementation, but without hunk 2016-11-13 15:04:34 +01:00
momo5502
d52d316cd2 [BitMessage] Small sanity check 2016-11-13 14:56:34 +01:00
momo5502
9d3af2cd69 [Utils] Rename interval update method 2016-11-13 12:10:51 +01:00
momo5502
091c604675 [FileSystem] Even safer filesystem interaction 2016-11-13 11:58:23 +01:00
momo5502
4b9d9e11a0 [Maps] Remove workarounds for broken crash tropical 2016-11-13 11:15:38 +01:00
momo5502
6ea6fb50b9 [Maps] Add initial support for DLC 8 2016-11-13 11:15:38 +01:00
momo5502
ba733608f5 [RawFiles] Fix dumpraw command for files with spaces 2016-11-13 02:29:56 +01:00
momo5502
38ee6780c5 [Zones] Fix vehicles for codol zones 2016-11-12 22:58:18 +01:00
momo5502
575607891d [ZoneBuilder] Fix verifyzone command 2016-11-12 20:41:20 +01:00
momo5502
1439d5fa03 [Maps] Support for some tropical maps
This adds support for favela and estate tropical
More investigation is needed for crash tropical.
2016-11-12 20:06:23 +01:00
momo5502
e41aa1f221 [BitMessage] Optimize shutdown handler
Optimize the shutdown handler, so that less bugs occur
while waiting for BitMRC to terminate
2016-11-12 20:06:23 +01:00
momo5502
9591d7eacd [IXModel] Adjust XModel structure for flag support 2016-11-12 20:06:23 +01:00
momo5502
ea3660bbf8 [BitMessage] Shutdown workaround
This starts a thread in the game's shutdown routine
and destroys BitMRC in a separate thread to prevent deadlocks.
This is not a good fix
2016-11-12 13:07:19 +01:00
momo5502
72c19cb968 [FileSystem] Threadsafe filesystem interaction
Replace the ReadFile with a threadsafe variant.
Additionally, this includes a check for memory leaks.
!
2016-11-12 13:07:19 +01:00
momo5502
421c221f29 Model dumping stuff 2016-11-11 20:35:25 +01:00
momo5502
d6a9bdfc65 Fix code analysis warnings 2016-11-11 19:19:02 +01:00
momo5502
aaf9325f07 Fix 2016-11-11 18:05:04 +01:00
momo5502
29dcaa242b Load mod zone and model stuff 2016-11-10 20:05:49 +01:00
momo5502
5dccdc2454 Model stuff 2016-11-09 19:38:01 +01:00
momo5502
19012a6e69 Fix mod loop 2016-11-06 23:03:34 +01:00
momo5502
f46f5590ff Fuck those unit-tests on wine. 2016-11-06 14:26:03 +01:00
momo5502
5710f30376 Remove debug stuff 2016-11-06 14:10:30 +01:00
momo5502
51bbbdd588 Model stuff 2016-11-06 14:03:51 +01:00
momo5502
e3b96b3586 Slight StructuredData optimization 2016-11-06 12:23:20 +01:00
momo5502
708a739650 Better StructuredData patching 2016-11-06 11:50:55 +01:00
momo5502
000e2177e3 Rebasing for structureddata stuff required for oma.
Code is ugly. Might think of a better solution.
2016-11-06 03:22:48 +01:00
momo5502
6626bc9fc7 Some model stuff 2016-11-06 02:24:30 +01:00
sr0
e482e3765f add ui_serverSelectedGametype 2016-11-06 01:02:54 +01:00
momo5502
ffd72b6e80 No debug output for invalid shader constants 2016-11-05 20:54:09 +01:00
momo5502
12d96675ba DLC7 2016-11-05 18:17:54 +01:00
momo5502
b70f9a045c Wow, this is dirty! But fuck it for now. Will be fixed later. 2016-11-05 17:18:10 +01:00
momo5502
e51a408b2c Fix some shader constants 2016-11-05 16:33:15 +01:00
momo5502
dbd641fd02 Better minidumps and playerdata stuff. 2016-11-05 14:45:38 +01:00
momo5502
291bcdc7ac AntiCheat refactoring part 8 2016-11-05 13:13:41 +01:00
momo5502
d32d58cc6f AntiCheat refactoring part 7
?
2016-11-05 12:56:12 +01:00
momo5502
b1f283a066 Hunk debugging 2016-11-05 01:59:46 +01:00
momo5502
d1c2a9d194 Correct dependency loading. 2016-11-05 00:59:41 +01:00
momo5502
2d5094e7b4 Fix db rawfile access 2016-11-05 00:34:09 +01:00
momo5502
f2b965e48c Declare as deprecated 2016-11-04 21:40:33 +01:00
momo5502
1a62d96fb7 AntiCheat refactoring part 6 2016-11-04 21:33:56 +01:00
sr0
f0a5d1d46d remove command crash, when compiling on release 2016-11-04 20:26:19 +01:00
sr0
8d344dd578 disallow command unlockStats while ingame 2016-11-04 20:24:47 +01:00
momo5502
764a565bde AntiCheat refactoring part 5 2016-11-04 19:41:03 +01:00
momo5502
c7fd693b85 AntiCheat refactoring part 4 2016-11-03 21:54:00 +01:00
momo5502
c951d98d5f AntiCheat refactoring part 3 2016-11-03 21:47:43 +01:00
momo5502
6afc193778 AntiCheat refactoring part 2 2016-11-03 21:17:37 +01:00
momo5502
727beadae1 AntiCheat refactoring part 1 2016-11-03 20:19:43 +01:00
momo5502
93d096ed18 Fix create directory 2016-11-02 20:50:17 +01:00
momo5502
6cf28b4170 Playlist and zone fixes 2016-11-02 19:19:09 +01:00
momo5502
11ace37f2e Allow long mapnames in playlist 2016-11-02 18:44:20 +01:00