Commit Graph

336 Commits (84f8a6848a8b05502d7618ca7af8cca74f2c3bae)

Author SHA1 Message Date
psi29a d1c79fa8d1 Merge branch 'pre_clang_format_fixes_2' into 'master'
Fixes before applying clang-format 2

See merge request OpenMW/openmw!2401
2 years ago
Alexei Kotov 482de23893 Streamline NiInterpController handling 2 years ago
elsid 410a2881fe
Add comma to the last array element to prevent putting multiple elements on a single line 2 years ago
Project579 2df8bfed25 Fix build errors after rebase against master due to large amount of changes. 2 years ago
Project579 a13709c510 Replace implicit convertions from std::filesystem::path to std::string with correctly converting functions. 2 years ago
Project579 e5c417c968 Make sure all paths are passed as std::filesystem::path instead of std::string where possible. 2 years ago
Alexei Kotov f17b1cd7ab Load bhkCapsuleShape and bhkSphereShape 2 years ago
Alexei Kotov 44fbb5cdc3 Read NiMultiTargetTransformController 2 years ago
Alexei Kotov 8df0587793 Reformat NIF record type mapping 2 years ago
Alexei Kotov 126090bdc5 Load NiBillboardNode mode field 2 years ago
psi29a 5ee4ce1232 Merge branch 'nipixeldata' into 'master'
Support more NiPixelData formats (feature #6945)

Closes #6945

See merge request OpenMW/openmw!2290
2 years ago
Alexei Kotov edbd05a3f7 Support more NiPixelData formats (feature #6945) 2 years ago
elsid cc8c7002ea
Cleanup components includes 2 years ago
psi29a bb9884c024 Merge branch 'split_stringops' into 'master'
Split components/misc/stringops.hpp into multiple headers

See merge request OpenMW/openmw!2233
2 years ago
elsid f99ed6f1db
Split components/misc/stringops.hpp into multiple headers
Replace all ciEqual overloads with one having std::string_view as argument.
2 years ago
Alexei Kotov 014de72644 Use NiParticleSystemController's color for the initial particle color 2 years ago
Andrei Kortunov c36c28e8f9 Move NIF implementation to cpp files 2 years ago
elsid 6c8ed4d19c
Move Files::IStreamPtr alias to a separate header
To avoid transitive include of Windows.h all over the engine.
2 years ago
glassmancody.info 0954597fa7 fix typo with wrong flags in particle nifloader 3 years ago
elsid bef15edf0b
Remove redundant ostream, istream, iostream and sstream includes
* Replace by std::to_string and operator+ where possible.
* Move the code requiring to include <sstream> from .hpp to .cpp files.
3 years ago
Alexei Kotov e673f9fa76 Clean up NIF flags 3 years ago
Alexei Kotov e6f7a2f1ef Correct NiBoundingVolume loading 3 years ago
cody glassman 72fdf40e06 better support for particle arrays when spawning at node positions 3 years ago
elsid 94c1d0cced
Use unique_ptr to store istream 3 years ago
fredzio d05a2facf3 Handle NCC flag in Nif files. Objects with this flag will collide only with camera.
Expose objects with NC flag to be used by Lua mods.
3 years ago
Wolfgang Lieff 373776170d refactor for NiFltAnimationNode 3 years ago
Bret Curtis 0db5415976 refactor to use mInternal, support Flag_Reverse and updated changelog/authors.md 3 years ago
Wolfgang Lieff ead73fce31 initial NiFltAnimationNode support 3 years ago
Alexei Dobrohotov c28f997c87 Make NiPlanarCollider finite-size 3 years ago
Alexei Dobrohotov 9d8f6064a1 Detail the unused parts of controlled.cpp defs 3 years ago
Alexei Dobrohotov 54df5031b7 Add XYZ rotation axis order support 3 years ago
Alexei Dobrohotov 76ba5025e3 Clarify root node transformation discard 3 years ago
psi29a b011809056 Merge branch 'master' into 'sort_me_baby_one_more_time'
# Conflicts:
#   components/nif/niffile.cpp
3 years ago
elsid e1fe501013
Use proper type for Record::recType 3 years ago
elsid 283b68025c
Avoid possible race condition on NIFFile::sLoadUnsupportedFiles
Its value is written from the main thread but other threads read it.
3 years ago
elsid fbd95516f4
Repalce raw for-loops by corresponding algorithms 3 years ago
elsid 082810f924
Store record type as a part of construct function type 3 years ago
elsid d097c16206
Use unique_ptr to manage nif record lifetime 3 years ago
glassmancody.info 712107de2d nisortadjust support 3 years ago
Alexei Dobrohotov 85053941b3 Properly postprocess NiSortAdjustNode 3 years ago
glassmancody.info 88f02913d5 use vertex emitters on array particle controllers when appropriate 3 years ago
elsid 3f14011087
Support multiple parents for NIF nodes
Choose a parent base on which node is used to iterate over children nodes.
This leads to duplicate handing of child nodes. A node will be handled so many
times how many parents it has.

For example:
p1 p2
 \ /
  c

Will be handled as:
p1 p2
|  |
c  c

If c has children they will be handled X times c is handled.
3 years ago
Alexei Dobrohotov b5a7ad6d62 Fix multilayer parallax parameter reading 3 years ago
Alexei Dobrohotov 9b2978f143 Rehash morph loading rehashing 3 years ago
Alexei Dobrohotov 26dfce1114 Rehash key group and morph loading (bug #6517) 3 years ago
psi29a 59ab947f3b Merge branch 't800' into 'master'
Keep only one '\0' in NIF strings (bug #6473)

Closes #6473

See merge request OpenMW/openmw!1458
3 years ago
psi29a 6c7dc2d72f Merge branch 'assorted' into 'master'
Load NiSortAdjustNode and NiAccumulators

See merge request OpenMW/openmw!1396
3 years ago
Alexei Dobrohotov dd15b30a27 Keep only one '\0' in NIF strings (bug #6473) 3 years ago
elsid a665a38aca
Use MurmurHash3_x64_128 for file hash 3 years ago
Alexei Dobrohotov 63ea57e9cf Load NiSortAdjustNode and NiAccumulators 3 years ago