Commit Graph

63 Commits

Author SHA1 Message Date
Jarrod Doyle df99a34d81
Parse and use JointPos property 2024-12-07 13:20:03 +00:00
Jarrod Doyle beae881f37
Read model sub objects 2024-12-07 10:04:55 +00:00
Jarrod Doyle 3ee172f16c
Update LGS lib (from lightmapper 2024-11-29 11:41:38 +00:00
Jarrod Doyle 440d0b91b4
Path manager refactor 2024-09-19 21:16:07 +01:00
Jarrod Doyle 691220b5c8
Add more property data definitions 2024-09-07 13:22:54 +01:00
Jarrod Doyle 23b5400eae
Add BinaryReader LGS rotation extension 2024-09-07 12:20:13 +01:00
Jarrod Doyle a08fd190f8
Rename PropScale to PropVector 2024-09-07 11:18:40 +01:00
Jarrod Doyle b959fb97c2
Add PropInt and PropBool 2024-09-07 11:18:26 +01:00
Jarrod Doyle da67a26eec
Change PropModelName to PropLabel 2024-09-07 10:48:30 +01:00
Jarrod Doyle a8e212fdd1
Use ReadNullString everywhere 2024-09-07 10:42:58 +01:00
Jarrod Doyle 9e115b6906
Refacor object hierarchy creation to be more maintainable and extensible 2024-09-07 09:06:20 +01:00
Jarrod Doyle 6f87bc6904
Add IMergable interface 2024-09-07 09:05:45 +01:00
Jarrod Doyle 001b6a944e
Add object transparency property support 2024-09-07 08:30:26 +01:00
Jarrod Doyle 963ab721cd
Handle different path separators 2024-09-07 08:01:15 +01:00
Jarrod Doyle 12a8b4f06d
Reduce duplicate code in Resource Path Manager 2024-09-05 18:49:55 +01:00
Jarrod Doyle 9ae75a693e
Add GetModelNames method 2024-09-05 17:31:59 +01:00
Jarrod Doyle 5d958fd7ad
Add my own gif decoder 2024-09-01 18:36:45 +01:00
Jarrod Doyle 047c2a1305
Fix string properties 2024-08-31 11:59:34 +01:00
Jarrod Doyle 5d23f87359
Add yucky textrepl parsing 2024-08-31 09:34:18 +01:00
Jarrod Doyle 30bfd05073
Preload obejct texture paths and use jorge for failed model textures 2024-08-29 18:36:36 +01:00
Jarrod Doyle 0b347f7745
Fix bugged lightmaps 2024-08-29 17:15:22 +01:00
Jarrod Doyle c0666a5404
More lightmap asbytes cleanup 2024-08-29 16:58:20 +01:00
Jarrod Doyle 5b53d03ae6
Slightly simplify lightmap bytes conversion 2024-08-29 16:55:46 +01:00
Jarrod Doyle 092896aa52
Use Texture2dArray for lightmap texture 2024-08-27 21:18:31 +01:00
Jarrod Doyle cbf309aaa4
Fix incorrect lightmap scale multiplier 2024-08-27 08:02:10 +01:00
Jarrod Doyle bb617ffc52
Get lightmap data as bytes and blit to atlas 2024-08-27 07:46:44 +01:00
Jarrod Doyle d125fb2cd3
Parse lightmaps as flat array rather than multidimensional array 2024-08-27 07:10:38 +01:00
Jarrod Doyle 7ec48abda5
Add basic model caching 2024-08-26 12:38:13 +01:00
Jarrod Doyle 1cfbd498c7
Loosely handle campaigns not having an obj folder when trying to get obj texture path 2024-08-25 17:09:59 +01:00
Jarrod Doyle 05e90c1a30
Add jank object texture path gathering 2024-08-25 16:52:21 +01:00
Jarrod Doyle e313ca58a7
Merge GetObjectPath implementations 2024-08-25 16:25:12 +01:00
Jarrod Doyle 2365f09931
Add basic object hierarchy generation and traversal 2024-08-25 15:49:40 +01:00
Jarrod Doyle 501f27a721
Load generic property chunks 2024-08-25 13:56:28 +01:00
Jarrod Doyle be937d53fc
Add RenderType property support 2024-08-25 13:21:27 +01:00
Jarrod Doyle 2be1bc4352
Add generic prop definition 2024-08-25 13:09:45 +01:00
Jarrod Doyle df923492cf
Make defining property chunks easier 2024-08-25 13:07:49 +01:00
Jarrod Doyle 505adf5d44
Add scale property support 2024-08-25 11:53:50 +01:00
Jarrod Doyle 85599b4069
Merge GetTexturePath implementations 2024-08-25 10:43:17 +01:00
Jarrod Doyle be205897bb
Merge GetMissionNames to handle null campaign 2024-08-25 10:11:55 +01:00
Jarrod Doyle 659843c743
Merge GetMissionPath to one function 2024-08-25 10:03:52 +01:00
Jarrod Doyle 1c3c4cacb4
Fix incorrect path search for OMs 2024-08-25 09:49:27 +01:00
Jarrod Doyle 68f2a851f4
path manager now returns alphabetically sorted lists 2024-08-25 09:21:55 +01:00
Jarrod Doyle 3d41441f2a
Use path manager for mission selector 2024-08-25 09:15:42 +01:00
Jarrod Doyle de4f3d6381
Add some safety to object path requests 2024-08-24 17:36:12 +01:00
Jarrod Doyle 62ff5306fe
Add more thorough path manager 2024-08-24 17:09:27 +01:00
Jarrod Doyle db293791e0
Handle GAM_FILE chunk 2024-08-24 13:36:44 +01:00
Jarrod Doyle 0eb918d863
Add Links, ModelName props, and MetaProp LD loading 2024-08-24 11:33:35 +01:00
Jarrod Doyle f118c151f3
Add initial brush list support 2024-08-23 18:55:20 +01:00
Jarrod Doyle 6340a4c545
Fix incorrect light and uv indices on model materials 2024-08-18 11:08:42 +01:00
Jarrod Doyle 2c9958a64a
Add model material parsing 2024-08-18 10:23:31 +01:00