Commit Graph

8157 Commits (7d403089ec01ffc6d1429f6ebf401949152ada3c)

Author SHA1 Message Date
Andrei Kortunov 6390fdee7a Remove dead code 8 months ago
psi29a 023c0f7a46 Merge branch 'vfs_normalized_path_6' into 'master'
Use normalized path for music related functions

See merge request OpenMW/openmw!4038
8 months ago
Andrei Kortunov 1bb48bcef7 Treat editor icons as scalable 8 months ago
Alexei Kotov 884668927f BGSM Reader: include cleanup, adjust getFile return result 9 months ago
elsid a863899eb1
Use normalized path for SoundManager::streamMusic 9 months ago
Alexei Kotov 77c3cd4467 More BGSM cleanup 9 months ago
Alexei Kotov 6be2bb70c3 Remove unused remnants of NIFStream from BGSMStream 9 months ago
Alexei Kotov ea5e101821 Handle glow maps for BGSM files 9 months ago
Alexei Kotov 8325e100df More decal deduplication 9 months ago
Alexei Kotov 5789eb73b1 Deduplicate decal and alpha handling in NifLoader 9 months ago
Alexei Kotov 4ccf9c1917 Deduplicate NifLoader texture attachment
Handle non-existent shader materials more gracefully
Deduplicate shader material drawable property handling
9 months ago
Alexei Kotov e680123482 NifLoader: Make the image manager a member 9 months ago
Alexei Kotov 8997bd6854 Apply shader material transparency parameters, get rid of unwanted shiny 9 months ago
Alexei Kotov 1d65aaee71 Formatting 9 months ago
Alexei Kotov 96f5ae5a8d Handle BGSM decal flag, hide visibility editor markers 9 months ago
Alexei Kotov 1a961f3021 Extremely early handling for BGSM/BGEM files 9 months ago
Alexei Kotov fe1cb3a5ae Add a resource manager for BGSM files 9 months ago
Alexei Kotov cb77bcc4c8 Initial BGEM file parsing 9 months ago
Alexei Kotov 484a360792 Add a safety measure for string loading in BGSM 9 months ago
Alexei Kotov f9f8c1e591 Fix depth test reading in BGSM 9 months ago
Alexei Kotov 8ef6304dd9 BGSM colors are Vec3 9 months ago
Alexei Kotov 015aca2cfd Initial BGSM file parsing 9 months ago
Alexei Kotov 124df1be61 Parse shared part of material files 9 months ago
Alexei Kotov aea7b10986 Add dummy BGSM/BGEM file reader 9 months ago
AnyOldName3 04f1dc282b Merge branch 'fix-osga-rotate-wildly' into 'master'
Fix OSGAnimation issues

See merge request OpenMW/openmw!3989
9 months ago
elsid e11a5a4352
Use normalized path for SoundManager::playPlaylist 9 months ago
elsid 82931059fd
Make NormalizedView constructor from const char* explicit 9 months ago
Sam Hellawell b7aa3b9f47 Remove rename from RenameBonesVisitor, rename to RenameAnimCallbacksVisitor 9 months ago
psi29a e4c70b7861 Merge branch 'anyoldname3-and-the-amazing-technicolour-terminal-emulator' into 'master'
Support coloured terminal output on Windows

See merge request OpenMW/openmw!4027
9 months ago
psi29a 3600c6c7c7 Merge branch 'filterview' into 'master'
Validate INFO filters when loading the record

See merge request OpenMW/openmw!4003
9 months ago
psi29a b91ff634e4 Merge branch 'navmesh_queue' into 'master'
Optimize queue for navmesh async jobs

See merge request OpenMW/openmw!4025
9 months ago
Sam Hellawell 2653b76db9 getTranslation/getTransformForNode refactor, unit tests 9 months ago
AnyOldName3 83e3718bed . c l a n g - f o r m a t 9 months ago
AnyOldName3 61364c874f Warn future me off wasting their time again 9 months ago
AnyOldName3 a7021bf9cc Clear std stream errors when reopening
Prior errors are no longer relevant.

Shouldn't make a difference unless you've tried printing something before the streams were set up.
9 months ago
Alexei Kotov 443e341ae7 Generalize unsized pixel format computation 9 months ago
Alexei Kotov 3c0c1717a9 Fix red-green normal map handling for terrain 9 months ago
Alexei Kotov 58afe1ba23 Support red-green normal maps 9 months ago
elsid 910c88325a
Add a setting to wait for all navmesh jobs on exit 9 months ago
elsid 50f4471750
Use R-tree for dynamic priority of navmesh async job 9 months ago
elsid 17bd571a65
Do not repost failed jobs
Failures should not happen except for some weird corner cases. Retrying is
unlikely to help in such situation.
9 months ago
elsid d6f3d34f2f
Remove tiles present on navmesh but outside desired area 9 months ago
elsid 61c69c5563
Use proper prefix for CollisionShapeType 9 months ago
elsid a1438f65fe
Set proper max tiles on initializing navmesh settings 9 months ago
AnyOldName3 1930bfeabb Support coloured terminal output on Windows
First try the modern Windowsy way, where we can directly query if escape sequences will be processed.
The function is available as far back as Windows 2000, but it just won't return the right flag until the Windows version is new enough.

If that fails, fall back to the Unixy way, as not all colour-supporting terminal emulators for Windows use the Win32 API to declare that capability.
The implementation isn't identical as isatty wasn't available without adding more headers, and we already have Windows.h in this file, so I might as well use the Win32 API instead of its POSIX-compatibility layer.
9 months ago
Evil Eye 6e79064a57 Fix editor oddities 9 months ago
psi29a f9e957ea0e Merge branch 'esm4scvr' into 'master'
ESM4: Make script local variable loading more reliable

See merge request OpenMW/openmw!3967
9 months ago
Evil Eye a4625ea784 Deduplicate dialogue filter parsing 9 months ago
Evil Eye fb4edda45d Validate INFO filters when loading the record 9 months ago
Sam Hellawell 8c2c66d59e .nif check, matrix mult feedback, auto usage, reuse NodeMap typedef 9 months ago
psi29a 8037a6e765 Merge branch 'portable-launcher' into 'master'
Portable Launcher (plus a whole slew of bugs fixes for problems I found that I suspect aren't on the tracker)

Closes #6846

See merge request OpenMW/openmw!3925
9 months ago
AnyOldName3 48f1f08537 Hide things that depend on present-but-inactive game files
https://gitlab.com/OpenMW/openmw/-/merge_requests/3925#note_1843962919
9 months ago
Sam Hellawell d23c10622d Use dynamic cast to check for bone 9 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
AnyOldName3 bb3c22e4a5 Add and register SettingValue stream operators 9 months ago
psi29a 3da6b4f529 Merge branch 'more_stats' into 'master'
Report more stats in F4

See merge request OpenMW/openmw!3956
9 months ago
psi29a 43f2574406 Merge branch 'vaporeon' into 'master'
Make sunlight scattering and wobbly shores optional

See merge request OpenMW/openmw!3994
9 months ago
elsid 215404e126
Report more stats from caches 9 months ago
elsid ae41ebfc83
Report CellPreloader stats 9 months ago
elsid 9a24e77d3f
Show F4 stats in pages 9 months ago
Alexei Kotov 76105cc2d1 Make sunlight scattering and wobbly shores optional 9 months ago
Evil Eye 1d13f7db8f Simplify detachFromParent 9 months ago
Evil Eye 8cbcb82dd4 Prevent iterator invalidation when updating Lua UI and increase const correctness 9 months ago
psi29a 2497164b2b Merge branch 'optimize_font_loading' into 'master'
Optimize bitmap fonts loading

See merge request OpenMW/openmw!3988
9 months ago
psi29a 2056da358d Merge branch 'opencs-projectile-speed' into 'master'
OpenMW-CS: Editing and verifying of projectile speed for magic effects

See merge request OpenMW/openmw!3939
9 months ago
psi29a e8038d353f Merge branch 'esmstuff' into 'master'
Use more decomposition, string_view, and implicit sizes in ESM code

See merge request OpenMW/openmw!3975
9 months ago
Sam Hellawell deb8894035 ESM::MagicEffect::blank() set the default to 1
Signed-off-by: Sam Hellawell <sshellawell@gmail.com>
9 months ago
Andrei Kortunov f2dc25e214 Optimize bitmap fonts loading 9 months ago
psi29a f7f7502d60 Merge branch 'i-said-it-was-unlocked-damn-you' into 'master'
Fix(CS): Actually allow unlocking doors ( #7899 )

Closes #7899

See merge request OpenMW/openmw!3982
9 months ago
Dave Corley 2e68786331 Fix(CS): Actually allow unlocking doors ( #7899 ) 9 months ago
psi29a b70f1d86c5 Merge branch 'fix-sheathing-non-nifs' into 'master'
Fix weapon and shield sheathing for non-nif meshes

See merge request OpenMW/openmw!3985
9 months ago
Mads Buvik Sandvei e0b11c14c2 Remove unused member mStackable 9 months ago
Sam Hellawell 7897ff7ac9 Fix weapon sheathing for non-nif meshes 9 months ago
psi29a 012d10703f Merge branch 'spellcast-refactor' into 'master'
Spellcast related Lua API + spellcasting/activespell refactor

See merge request OpenMW/openmw!3922
9 months ago
Mads Buvik Sandvei 320d8ef014 Spellcast related Lua API + spellcasting/activespell refactor 9 months ago
Alexei Kotov 6515fdd73f Handle zero length Lua storage files more gracefully (#7823) 9 months ago
jvoisin 79a62b3ad3 Merge branch 'enable_normals_for_all' into 'master'
Restructure colormasks at higher level

See merge request OpenMW/openmw!3970
9 months ago
Cody Glassman a4dd9224df Restructure colormasks at higher level 9 months ago
Evil Eye 5a0aed3a78 Use more decomposition, string_view, and implicit sizes in ESM code 9 months ago
Evil Eye bf708acfac Merge branch 'goddamnit-there-are-more' into 'master'
Even more MSVC-specific warnings that evaded detection in CI

See merge request OpenMW/openmw!3968
9 months ago
Alexei Kotov 63276e0f1f Merge branch 'avoid_copy' into 'master'
Follow-up for YAML API

See merge request OpenMW/openmw!3961
9 months ago
AnyOldName3 818a99a870 Review 10 months ago
AnyOldName3 da8150e2e4 Even more MSVC-specific warnings that evaded detection in CI 10 months ago
Alexei Kotov 3721a69747 ESM4: Make script local variable loading more reliable 10 months ago
psi29a af9f1b54da Merge branch 'lost-warnings' into 'master'
Fixes for a whole bunch of warnings

See merge request OpenMW/openmw!3950
10 months ago
Alexei Kotov 25414cd660 Merge branch 'rm_esm4_local_static' into 'master'
Remove static modifier from local variables used to store temporary loading results

See merge request OpenMW/openmw!3964
10 months ago
elsid 3358bc80bf Merge branch 'esm4fourcc' into 'master'
Get rid of ESM4::SubRecordTypes

See merge request OpenMW/openmw!3962
10 months ago
elsid 0da8b29a88
Remove static modifier from local variables used to store temporary loading results
They make the code thread unsafe because different threads will use the same
memory to write and read using different instances of the loaded objects.
10 months ago
Alexei Kotov 6b93479bd3 Get rid of ESM4::SubRecordTypes
All my homies hate ESM4::SubRecordTypes
10 months ago
Dave Corley fcff1a6739 Fix #7887, use actual instead of reported size for script data 10 months ago
Andrei Kortunov 2d3a8ca0fc Do not use an inner namespace 10 months ago
Andrei Kortunov cb831a5917 Add more includes just for sure 10 months ago
Andrei Kortunov 2523afe9c2 Use namespace instead of static class 10 months ago
Andrei Kortunov 8037ad7f00 Remove unused includes 10 months ago
psi29a 854b4f226b Merge branch 'fix_msvc_build' into 'master'
Fix build with MSVC 19.38

See merge request OpenMW/openmw!3960
10 months ago
Andrei Kortunov 4520ee465d Do not copy vector 10 months ago
elsid ee2cc8aeb7
Fix build with MSVC 19.38
components\detournavigator\navigator.hpp(44): error C3861: 'assert': identifier not found
10 months ago
elsid 16410d0960
Use std::string for ResourceManager cache key
Otherwise terrain textures cache has zero hits because it stores not normalized
paths. Due to implicit conversion it's possible to add entry with
addEntryToObjectCache passing a string that is converted into normalized path.
But then getRefFromObjectCache called with original value does not find this
entry because it's not converted and overloaded operators are used instead.
10 months ago
Andrei Kortunov 6da151cf77 Fix GCC build 10 months ago