Commit Graph

314 Commits

Author SHA1 Message Date
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
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
fbac207190 [FrameTime] Introduce safer frame waiting mechanism 2017-01-14 13:33:58 +01:00
momo5502
b8aa24b19d [ZoneBuilder] Add support for empty assets 2017-01-13 15:47:21 +01:00
momo5502
3c6e48f201 [Structs] Update filesystem structs 2017-01-11 19:19:46 +01:00
momo5502
c9d160c72a [General] Get rid of unnecessary submodules 2017-01-06 15:27:35 +01:00
momo5502
25b610d3dd [Structs] Fix some vertex structs 2017-01-04 00:03:03 +01:00
momo5502
ff72493ce3 [IXModel] Finally XModels are correct 2017-01-03 22:04:10 +01:00
momo5502
b28df707b4 [IXModel] Correct more structs 2017-01-03 20:09:53 +01:00
momo5502
7d9c588e0e [IXModel] Use correct XModel structure 2017-01-02 22:37:00 +01:00
momo5502
45c49d4171 [IXModel] Correctly load coll surfs 2017-01-02 19:31:32 +01:00
momo5502
2c7b7f6d87 [IXModel] Correct model loading 2017-01-01 20:04:20 +01:00
momo5502
75158227fb [FastFiles] Introduce a new IW4x zone format 2017-01-01 16:45:30 +01:00
momo5502
80883013d3 [Structs] Reflectionprobe stuff 2016-12-30 19:56:06 +01:00
momo5502
8d7be2a74f [IclipMap_t] Small fixes 2016-12-30 17:26:32 +01:00
momo5502
67a4e5c598 [IGfxWorld] Small fixes 2016-12-30 15:54:33 +01:00
TheApadayo
307e67b056 [Structs] Update with correct cbrushside_t structure 2016-12-29 22:14:50 -05:00
TheApadayo
e95bf591cf [clipMap_t] importer bugfxies plus some new structs 2016-12-29 14:15:09 -05:00
momo5502
f8abf2b8ec [Functions] Add Vec3UnpackUnitVec 2016-12-29 15:59:46 +01:00
momo5502
ab7a837ebc [IMaterial] Fix water 2016-12-29 03:06:30 +01:00
momo5502
e5e164e9b5 [IGfxImage] Fix non-streamed image loading 2016-12-29 02:21:45 +01:00
momo5502
03345e8d21 [General] Correct assettype enum 2016-12-28 21:35:30 +01:00
momo5502
e909329910 [IMaterial] Sortkey workaround
Search a material with the same techset and copy its sortkey
2016-12-27 19:22:52 +01:00
TheApadayo
5577989918 [IMaterial] Wrote new importer for materials, should work but i haven't tested anything
- old format is still supported but only as a fallback
2016-12-25 22:05:21 -05:00
momo5502
b381fbd238 [Merge] develop into mapimport 2016-12-25 23:10:27 +01:00
TheApadayo
3af4082143 [ZoneBuilder] Update with new structures.
Side Note: I changed some stuff in Zones.cpp that could fuck up iw4c map loading so someone needs to test that as I don't have the maps
2016-12-25 16:23:44 -05:00
momo5502
d6c0e17bcb [IGfxWorld] Exporter progress and new struct 2016-12-25 20:55:42 +01:00
momo5502
b4fd5a11d1 [Stream] Add pointer interface to the reader 2016-12-25 15:17:31 +01:00
momo5502
bfe1c335af [IGfxWorld] Import experiments 2016-12-25 03:41:42 +01:00
momo5502
15bf3fb0e0 [ZoneBuilder] Workaround for colmaps 2016-12-24 21:38:42 +01:00
momo5502
b61b8e8f8d [IGameWorldSp] Finish GameWorldSp interface 2016-12-24 21:28:01 +01:00
momo5502
61339350c1 [ZoneBuilder] Add IGameWorldSp interface (WIP) 2016-12-24 17:29:19 +01:00
TheApadayo
d5e1c6a371 Revert "[ZoneBuilder] Store inter-asset-related pointers" 2016-12-23 11:03:04 -05:00
momo5502
4c1859e871 [ZoneBuilder] Store inter-asset-related pointers 2016-12-23 02:25:21 +01:00
momo5502
470361848e [ZoneBuilder] Small fixes in clipmap 2016-12-22 15:28:09 +01:00
momo5502
a4ad38c4d9 [IFxWorld] Structure fixes 2016-12-22 12:58:12 +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
896c3b7068 [ZoneBuilder] Correctly write GfxImages 2016-12-22 02:48:00 +01:00
momo5502
e93831319f [ZoneBuilder] IGfxWorld and IclipMap_t fixes 2016-12-22 00:35:05 +01:00
momo5502
9505d8cbe4 [IclipMap_t] Small fixes, stuff is still broken 2016-12-21 20:11:27 +01:00
momo5502
b72b8b8a15 [ZoneBuilder] clipmap and gfxworld fixes 2016-12-21 19:20:57 +01:00
momo5502
3e69704aed [ZoneBuilder] Correct XAssetHeader struct 2016-12-21 17:27:45 +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
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
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
dc6d78187c [FileSystem] Abstract file interfaces and rawfile interface 2016-12-16 22:42:28 +01:00
momo5502
fb8958d2ea [Dedicated] Time wrapping workaround 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
835597fbf6 [ZoneBuilder] Version system for models and anims 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
631726b1d9 [General] Structure optimization 2016-12-05 20:43:29 +01:00
momo5502
38aba91cc9 [Maps] Load raw suns 2016-12-01 21:00:09 +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
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
/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
e8a5e164fc [Command] Implemented setviewpos 2016-11-22 23:25:56 +01:00
momo5502
8085e4bd88 [CodeStyle] Refactor the code to match our basic style guidelines 2016-11-20 14:10:57 +01:00
momo5502
45200eba58 [Localization] Load language specific files 2016-11-17 18:17:25 +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
9591d7eacd [IXModel] Adjust XModel structure for flag support 2016-11-12 20:06:23 +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
51bbbdd588 Model stuff 2016-11-06 14:03:51 +01:00
momo5502
6626bc9fc7 Some model stuff 2016-11-06 02:24:30 +01:00
momo5502
2d5094e7b4 Fix db rawfile access 2016-11-05 00:34:09 +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
momo5502
69c454a3fa Fix zm_prototype_sh 2016-11-01 20:04:06 +01:00
momo5502
4c2f128e97 Fix glass and maptest 2016-10-31 16:49:45 +01:00
momo5502
7aba6250f6 Load team zones. 2016-10-31 15:02:32 +01:00
momo5502
80f1e206f8 ArenaLength patches 2016-10-26 18:57:43 +02:00
momo5502
d2c5c45042 Fix shader stuff 2016-10-23 16:45:21 +02:00
momo5502
64f80a21be Slowmotion stuff. Seems like it has no effect.... 2016-10-22 01:14:00 +02:00
momo5502
b606983835 Add @Dasfonia's menu and gametype stuff 2016-10-17 20:42:15 +02:00
momo5502
b0dabb8848 Print revision in version flag and better GfxWorld struct 2016-10-09 21:40:21 +02:00
momo5502
c2c38539ec Mirror textures in dumped maps and fix multiple dependency maps 2016-10-09 16:36:34 +02:00
momo5502
aea12a25ef Mirror map when dumped 2016-10-09 12:34:06 +02:00
momo5502
ad18adc187 Fix techniques (ZoneBuilder) and fully dump gfxworlds with enable-dxsdk flag 2016-10-09 12:02:17 +02:00
momo5502
bec37fb830 Remove test structs 2016-10-08 20:51:44 +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
f96973f439 Some zone stuff 2016-10-07 17:50:30 +02:00
momo5502
b3c0487797 Fix connect protocol 2016-10-03 01:36:18 +02:00
momo5502
af0cc4d0dc Fix materials for 359 2016-10-02 14:22:17 +02:00
momo5502
080f9b3599 359 zone stuff, (360 seems to work as well, as an old shipment copy i have on my hdd loads, i just don't have the iwds), gfx world still broken, might be possible to fix! 2016-10-02 04:07:48 +02:00
momo5502
b48df26c14 Fixes and stuff 2016-10-01 16:48:18 +02:00
momo5502
ac258b5ad9 Add support for new maps, add the dump command for @Dasfonia 2016-10-01 15:39:21 +02:00
momo5502
ed2286009d Some 332 zone stuff (concerning) 2016-09-26 22:14:11 +02:00
momo5502
9c24ad1f57 Finish codo maps (step 1) 2016-09-24 16:37:13 +02:00
momo5502
44621ee52f Stuff 2016-09-22 21:22:12 +02:00
momo5502
775cde47e2 Use std::memcpy 2016-09-22 08:23:40 +02:00
momo5502
efbbaec1d6 SOme stuff, breaks cargoship! 2016-09-21 23:19:16 +02:00
momo5502
db2e572612 Begin refactoring the zone loading code 2016-09-21 19:27:31 +02:00
momo5502
77f38525c4 More zone stuff 2016-09-20 22:00:02 +02:00
momo5502
83d6ab2d6b Fix custom models and fix some memory leaks nta had 2016-09-19 20:18:36 +02:00
momo5502
d64589f6e8 Move UnitTest stuff 2016-09-17 14:05:01 +02:00
momo5502
5afea26d5f Welp. 2016-09-14 23:06:34 +02:00
momo5502
7831886e3a Optimize Load_VertexBuffer (actually a wrapper for R_CreateWorldVertexBuffer) 2016-09-14 23:06:12 +02:00
momo5502
52487aa224 Finish surface loading, but not test ready 2016-09-14 23:01:53 +02:00
momo5502
ab3c75cb5b More surface loading stuff 2016-09-13 21:41:10 +02:00
momo5502
6dc46a4289 Begin implementing surface loading for CODO maps 2016-09-13 20:55:10 +02:00
momo5502
e43a645712 Fixes and update command structure 2016-09-05 19:54:16 +02:00
momo5502
64682a8ef6 Revert changes 2016-09-03 13:42:14 +02:00
/dev/sdb
5ccb4f1f3c Added Console logging over network as mentionted in Issue
The PrintMessageStub must be changed a bit to add the channel info and timestamp.
2016-09-01 21:52:00 +02:00
momo5502
63acb4374d Stuff concerning issue 2016-08-31 18:04:28 +02:00
momo5502
256b463411 Don't ignore warning 4100 2016-08-18 02:18:45 +02:00
momo5502
f064966ec0 Add noclip and ufo commands 2016-08-18 01:57:56 +02:00
momo5502
9ed469f1ef Working lean support 2016-08-17 20:27:33 +02:00
momo5502
3e9d5779ca Lean stuff (unfinished) 2016-08-16 20:36:52 +02:00
momo5502
a73380db16 Some fixes 2016-08-16 01:54:52 +02:00
momo5502
3585ab62a7 Rename stuff 2016-08-14 16:16:10 +02:00
momo5502
9e9967b9d1 More anticheat detections 2016-08-07 21:46:30 +02:00
momo5502
ab3d0b789d Fix 2016-08-07 18:25:44 +02:00
momo5502
799a7583ef Fix selectstringtableentryindvar 2016-08-07 17:52:13 +02:00
momo5502
2aee48bffa More anticheat exceptions 2016-08-07 16:50:04 +02:00
momo5502
0694565a91 Secure guid authentication 2016-08-06 00:28:51 +02:00
momo5502
bb65f463be Fix realy exploit 2016-08-01 17:21:46 +02:00
momo5502
56b01bc2ae Optimization 2016-07-31 21:07:08 +02:00
momo5502
3c448f173f Some experiments 2016-07-31 20:46:22 +02:00
momo5502
9562285ed7 Use new format library and sort utils 2016-07-11 17:14:58 +02:00
momo5502
9451964046 Some optimization 2016-06-30 12:11:51 +02:00
momo5502
6bad0ef9a4 Re-version custom zones 2016-06-28 01:03:37 +02:00
momo5502
967cfff5ec Fix toasts 2016-06-27 17:54:04 +02:00
momo5502
123d62e1eb Even more optimizations 2016-06-26 20:46:02 +02:00
momo5502
b83d85b651 Optimizations 2016-06-26 14:25:54 +02:00
momo5502
154c81ee10 2016-06-24 20:26:38 +02:00
momo5502
5c70ca9011 Fixes and stuff 2016-06-19 17:40:30 +02:00
momo5502
9c8904d561 Nothing special 2016-06-13 18:09:02 +02:00
momo5502
0e46a3d806 Disable telemetry data logging 2016-06-12 12:13:31 +02:00
momo5502
6dd08dad5a Detach ingame console from the safearea 2016-06-10 19:53:09 +02:00
momo5502
a0e52dc550 Fix looped anims and add the long-awaited support for model-tags and quick and ugly fix for textures 2016-06-10 00:08:07 +02:00
momo5502
06e91f9dd2 Some tests 2016-06-09 13:44:59 +02:00
momo5502
5a4ddb27d3 XModel import tests 2016-06-09 01:26:33 +02:00
momo5502
276e35e2d2 Some optimization 2016-06-08 17:28: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
ba93f02379 Anim import 2016-06-05 21:55:38 +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