elsid
1ae0aadfed
Use fail function to verify nif stream state
...
If there is a failure to read the file like incomplete read, bad returns
false, but fail returns true. This is important for reading number of
items more than the file actually has.
2025-11-23 13:16:59 +01:00
psi29a
26f0e6b22c
Merge branch 'nifmisc' into 'master'
...
Miscellaneous NIF loader corrections
See merge request OpenMW/openmw!4052
2024-04-25 08:45:36 +00:00
Alexei Kotov
d7bd5e76ca
Move wrapping flag handling to relevant properties
2024-04-23 23:40:14 +03:00
Alexei Kotov
78eda530ac
Simplify material file pointer acrobatics
2024-04-23 00:34:38 +03:00
Alexei Kotov
884668927f
BGSM Reader: include cleanup, adjust getFile return result
2024-04-20 23:38:01 +03:00
Alexei Kotov
77c3cd4467
More BGSM cleanup
2024-04-20 19:43:42 +03:00
Alexei Kotov
6be2bb70c3
Remove unused remnants of NIFStream from BGSMStream
2024-04-20 19:43:42 +03:00
Alexei Kotov
1d65aaee71
Formatting
2024-04-20 19:43:42 +03:00
Alexei Kotov
fe1cb3a5ae
Add a resource manager for BGSM files
2024-04-20 19:43:41 +03:00
Alexei Kotov
cb77bcc4c8
Initial BGEM file parsing
2024-04-20 19:43:41 +03:00
Alexei Kotov
484a360792
Add a safety measure for string loading in BGSM
2024-04-20 19:43:41 +03:00
Alexei Kotov
f9f8c1e591
Fix depth test reading in BGSM
2024-04-20 19:43:41 +03:00
Alexei Kotov
8ef6304dd9
BGSM colors are Vec3
2024-04-20 19:43:41 +03:00
Alexei Kotov
015aca2cfd
Initial BGSM file parsing
2024-04-20 19:43:41 +03:00
Alexei Kotov
124df1be61
Parse shared part of material files
2024-04-20 19:43:41 +03:00
Alexei Kotov
aea7b10986
Add dummy BGSM/BGEM file reader
2024-04-20 19:43:40 +03:00