Commit Graph

50 Commits

Author SHA1 Message Date
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
Jarrod Doyle b5d3a3c275
Add initial basic .BIN model support 2024-08-17 20:53:16 +01:00
Jarrod Doyle b12070f982
Add ReadVec2 utility function 2024-08-17 20:52:41 +01:00
Jarrod Doyle 35a3158ea6
Move Godot utility conversion to TMV namespace 2024-08-17 18:48:01 +01:00
Jarrod Doyle 736ced24e4
Remove old unused code 2024-08-13 21:38:32 +01:00
Jarrod Doyle a8b9ce8a54
Fix incorrect lightmap colors 2024-08-13 19:23:52 +01:00
Jarrod Doyle 1539d1910d
Fix incorrect 16bit lightmaps 2024-08-10 10:22:57 +01:00
Jarrod Doyle c9353f0100
Partly working texture rendering 2024-08-03 16:09:51 +01:00
Jarrod Doyle d405a9b5db
Add TXLIST reader 2024-08-03 16:09:30 +01:00
Jarrod Doyle 50c4d06f19
Use a constant inverse scale when converting to godot vec3 2024-08-01 18:29:10 +01:00
Jarrod Doyle d7b8ee35f4
Render all lightmap layers 2024-08-01 18:23:17 +01:00
Jarrod Doyle e8b77b42bb
Add working lightmaps 2024-07-30 21:52:34 +01:00
Jarrod Doyle 1ba0c6ac27
Add map clearing, handle cells without visible polys, add lighting 2024-07-22 19:37:27 +01:00
Jarrod Doyle 2e841276f3
Initial commit 2024-07-21 22:13:31 +01:00