Commit Graph

56 Commits (81f2402e66cdc9c21dd81e7126b29a06dbd56d59)

Author SHA1 Message Date
elsid a550a8af36
Use normalized path for KeyframeManager::get 1 month ago
elsid 7e1ecfc0ee
Pass normalized path to RetrieveAnimationsVisitor 5 months ago
elsid 616b033c36
Move parseTextKey and parseTimeSignature to unnamed namespace 5 months ago
elsid 6e97deb3f7
Use normalized path for text key files 5 months ago
Sam Hellawell 56a40577ed Revert move of default anim rename 6 months ago
Sam Hellawell 03413a895f Fix osgAnimation for multiple creatures (#8045) 6 months ago
elsid 71369be796
Log caught exceptions 7 months ago
Sam Hellawell a51d560174 Move bone rename logic to ColladaDescriptionVisitor, undo formatting/refactoring 9 months ago
Sam Hellawell 2288a691d2 Replace osgAnimation bone underscore naming at load time, map bone instances, reset root bone transform each frame 9 months ago
elsid 215404e126
Report more stats from caches 9 months ago
Andrei Kortunov 251d01304f Use move semantics for osg::ref_ptr 12 months ago
Evil Eye 48db113149 Address feedback 12 months ago
Evil Eye 27fa411f4f Convert strings in nif files to utf8 12 months ago
elsid 053a3caf7b
Pass cache expiry delay to GenericResourceManager constructor 1 year ago
Andrei Kortunov 35561450f1 Do not copy osg::ref_ptr when possible 1 year ago
elsid dd54857610
Add missing array include 1 year ago
Evil Eye eeda48ec50 Drop support for --fs-strict 2 years ago
Shi Han a90e3b8c3b Move from std::atoi to std::from_char 2 years ago
unelsson d60fd86719 clang format 2 years ago
unelsson c71504eeb0 Better comments 2 years ago
unelsson 4676ac4ac9 Cleaner code part 2 2 years ago
unelsson 960019cf65 Cleaner code 2 years ago
unelsson 7ef6b3cb62 automatic clang format 2 years ago
unelsson d8de56e33c Coding style improvements, add Torso animation layer 2 years ago
unelsson ffc64205c5 Force collada animation layers, remove nif blend mask detection. 2 years ago
elsid c338c1e5d3
Add Nif::FileView as read only interface for Nif::NIFFile
To make sure interface is scoped to what users require.
2 years ago
elsid f2fb3d6de8
Separate NIFFileReader from NIFFile
NIFFile might not always be created from a file or stream containing NIF data.
Basically there are 2 different responsibilities for this class:
1. Read NIF file
2. Provide input for nifosg and bulletnifloader.

Remove no longer needed NIFFileMock since the state of NIFFfile can be
initialized independently from reading NIF file.
2 years ago
clang-format-bot ddb0522bbf
Apply clang-format to code base 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
elsid ba69146ced
Use std::string_view to avoid redundant std::string construction 2 years ago
Andrei Kortunov c36c28e8f9 Move NIF implementation to cpp files 2 years ago
Bo Svensson b2af81bc18
converts remaining osg::NodeCallback (#3147)
With this PR we convert remaining instantiations of the deprecated osg::NodeCallback in Open MW to SceneUtil::NodeCallback.
3 years ago
Cédric Mocquillon 6817282097 Move getFileExtension to common header and use instead of repeating same code 3 years ago
Cédric Mocquillon c2df0949e2 Change normalizeFilename signature 3 years ago
jvoisin cb08f490d7 Sprinkle some const-ref in loop
This was done on the good advices of clang-tidy
3 years ago
jvoisin 5793f5cf18 Sprinkle a couple of std::move and a const 3 years ago
jvoisin cf11870b1c Sprinkle some references where it makes sense 4 years ago
Andrei Kortunov 9647b670e4 Do not declare unused variables 4 years ago
fredzio c4e909c29e Silence a clang warning:
warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
4 years ago
unelsson 303f1912a6 less debug spam 4 years ago
unelsson d5844b0982 Use accompanying txt file for textkeys in osgAnimation formats 4 years ago
Nelsson Huotari 2162b97fef Handle case in osgAnimation bone names 4 years ago
Nelsson Huotari 8b2bf12e8f Use bip01 for root bone name 4 years ago
Nelsson Huotari 3195716a2c Don't force loop textkey 4 years ago
Nelsson Huotari 256aa5e71d Use const auto& 4 years ago
Nelsson Huotari 55dcc6582a Don't duplicate getFileExtension, use OpenMW's namespaces 4 years ago
Nelsson Huotari 08dcbe30b3 Earlier nullptr check 4 years ago
Nelsson Huotari 32d4344803 Don't copy osga-data in base class keyframecontroller, fix warnings. 4 years ago
Nelsson Huotari 6e77ad1f6a OSG-Collada animation support 4 years ago
Nelsson Huotari f78a5d795c Separate keyframes logic to provide basis for osgAnimation integration. 4 years ago