Commit Graph

166 Commits

Author SHA1 Message Date
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 bd7005d034
Remove outdated TODO 2024-09-07 10:44:32 +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 a6e667e1da
Add object rendering toggle 2024-09-07 08:10:14 +01:00
Jarrod Doyle 963ab721cd
Handle different path separators 2024-09-07 08:01:15 +01:00
Jarrod Doyle 354155db20
Remove unused debug prints 2024-09-06 19:51:03 +01:00
Jarrod Doyle f6e35f5b7a
Skip over GIF extension blocks and set transparency to index 0 2024-09-06 19:47:06 +01:00
Jarrod Doyle fbec9db3f6
Nicer interlaced GIF handling 2024-09-06 19:31:25 +01:00
Jarrod Doyle a9a16f88e9
Initial handling of interlaced GIFs 2024-09-06 18:55:34 +01:00
Jarrod Doyle 3e4230e46f
Merge mission and model selector 2024-09-05 19:44:19 +01:00
Jarrod Doyle 236cf3b317
ModelLoader uses context pathmanager 2024-09-05 18:52:44 +01:00
Jarrod Doyle 12a8b4f06d
Reduce duplicate code in Resource Path Manager 2024-09-05 18:49:55 +01:00
Jarrod Doyle 63daccb3c1
Remove old InstallPaths 2024-09-05 17:40:10 +01:00
Jarrod Doyle b223d53824
Use Context in mission loader 2024-09-05 17:39:54 +01:00
Jarrod Doyle b89a4d6154
Refactor model viewer to use new Context and support custom models 2024-09-05 17:32:29 +01:00
Jarrod Doyle 9ae75a693e
Add GetModelNames method 2024-09-05 17:31:59 +01:00
Jarrod Doyle ef2f87af20
Add autoload engine context 2024-09-05 17:31:31 +01:00
Jarrod Doyle d3dd40eec3
Add note about gif loader issues 2024-09-01 18:54:30 +01:00
Jarrod Doyle bf475ea21a
Remove ImageSharp 2024-09-01 18:50:33 +01:00
Jarrod Doyle 5d958fd7ad
Add my own gif decoder 2024-09-01 18:36:45 +01:00
Jarrod Doyle fcf0c6a503
Initial alpha model support 2024-09-01 13:51:05 +01:00
Jarrod Doyle ed13b4edc0
Fix invalid model cache on mission change 2024-08-31 12:03:29 +01:00
Jarrod Doyle 4ab115440c
Apply TxtRepl properties 2024-08-31 12:00:07 +01:00
Jarrod Doyle ab34a78739
Add TxtRepl metadata to materials 2024-08-31 11:59:54 +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 81fde92ea4
Remove dummy mesh 2024-08-30 18:54:22 +01:00
Jarrod Doyle 38a360793a
Faster GIF loading 2024-08-30 18:22:40 +01:00
Jarrod Doyle eca63077b8
Cleaner model return 2024-08-30 17:56:28 +01:00
Jarrod Doyle 89cc70345e
Add more detailed model loading timings 2024-08-30 17:47:19 +01:00
Jarrod Doyle 8237a46989
Time a bunch more stuff 2024-08-29 19:59:01 +01:00
Jarrod Doyle 72f8666f5d
Sum repeated stage names 2024-08-29 19:27:18 +01:00
Jarrod Doyle ec79e07ec7
Only load textures that are actually used 2024-08-29 19:09:53 +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 74bde133bb
Simplify model cache setting 2024-08-29 18:09:10 +01:00
Jarrod Doyle 0b347f7745
Fix bugged lightmaps 2024-08-29 17:15:22 +01:00
Jarrod Doyle e7e9c300fd
Remove unneccesary casts on bounds 2024-08-29 16:59:41 +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 117f5b924c
Remove debug lightmap texture export 2024-08-28 22:18:53 +01:00
Jarrod Doyle e499cfcbfc
Further simplify packing algorithm and increase default width 2024-08-28 22:18:20 +01:00
Jarrod Doyle f6ef623bb4
Simplify packing by reversing sort and growing in only 1 direction 2024-08-28 22:03:48 +01:00
Jarrod Doyle d55231178e
Use custom naive rectpacker 2024-08-28 21:39:30 +01:00
Jarrod Doyle 110c9b8a3c
Add initial UI for lightmap layer toggling 2024-08-28 08:07:01 +01:00
Jarrod Doyle 4a80ef547b
Support toggling lightmap layers 2024-08-28 07:44:07 +01:00
Jarrod Doyle 092896aa52
Use Texture2dArray for lightmap texture 2024-08-27 21:18:31 +01:00