Commit Graph

8150 Commits (master)

Author SHA1 Message Date
Alexei Kotov ea5e101821 Handle glow maps for BGSM files 4 weeks ago
Alexei Kotov 8325e100df More decal deduplication 4 weeks ago
Alexei Kotov 5789eb73b1 Deduplicate decal and alpha handling in NifLoader 4 weeks ago
Alexei Kotov 4ccf9c1917 Deduplicate NifLoader texture attachment
Handle non-existent shader materials more gracefully
Deduplicate shader material drawable property handling
4 weeks ago
Alexei Kotov e680123482 NifLoader: Make the image manager a member 4 weeks ago
Alexei Kotov 8997bd6854 Apply shader material transparency parameters, get rid of unwanted shiny 4 weeks ago
Alexei Kotov 1d65aaee71 Formatting 4 weeks ago
Alexei Kotov 96f5ae5a8d Handle BGSM decal flag, hide visibility editor markers 4 weeks ago
Alexei Kotov 1a961f3021 Extremely early handling for BGSM/BGEM files 4 weeks ago
Alexei Kotov fe1cb3a5ae Add a resource manager for BGSM files 4 weeks ago
Alexei Kotov cb77bcc4c8 Initial BGEM file parsing 4 weeks ago
Alexei Kotov 484a360792 Add a safety measure for string loading in BGSM 4 weeks ago
Alexei Kotov f9f8c1e591 Fix depth test reading in BGSM 4 weeks ago
Alexei Kotov 8ef6304dd9 BGSM colors are Vec3 4 weeks ago
Alexei Kotov 015aca2cfd Initial BGSM file parsing 4 weeks ago
Alexei Kotov 124df1be61 Parse shared part of material files 4 weeks ago
Alexei Kotov aea7b10986 Add dummy BGSM/BGEM file reader 4 weeks ago
AnyOldName3 04f1dc282b Merge branch 'fix-osga-rotate-wildly' into 'master'
Fix OSGAnimation issues

See merge request OpenMW/openmw!3989
4 weeks ago
elsid e11a5a4352
Use normalized path for SoundManager::playPlaylist 4 weeks ago
elsid 82931059fd
Make NormalizedView constructor from const char* explicit 4 weeks ago
Sam Hellawell b7aa3b9f47 Remove rename from RenameBonesVisitor, rename to RenameAnimCallbacksVisitor 4 weeks 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
4 weeks ago
psi29a 3600c6c7c7 Merge branch 'filterview' into 'master'
Validate INFO filters when loading the record

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

See merge request OpenMW/openmw!4025
4 weeks ago
Sam Hellawell 2653b76db9 getTranslation/getTransformForNode refactor, unit tests 4 weeks ago
AnyOldName3 83e3718bed . c l a n g - f o r m a t 4 weeks ago
AnyOldName3 61364c874f Warn future me off wasting their time again 1 month 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.
1 month ago
Alexei Kotov 443e341ae7 Generalize unsized pixel format computation 1 month ago
Alexei Kotov 3c0c1717a9 Fix red-green normal map handling for terrain 1 month ago
Alexei Kotov 58afe1ba23 Support red-green normal maps 1 month ago
elsid 910c88325a
Add a setting to wait for all navmesh jobs on exit 1 month ago
elsid 50f4471750
Use R-tree for dynamic priority of navmesh async job 1 month 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.
1 month ago
elsid d6f3d34f2f
Remove tiles present on navmesh but outside desired area 1 month ago
elsid 61c69c5563
Use proper prefix for CollisionShapeType 1 month ago
elsid a1438f65fe
Set proper max tiles on initializing navmesh settings 1 month 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.
1 month ago
Evil Eye 6e79064a57 Fix editor oddities 1 month ago
psi29a f9e957ea0e Merge branch 'esm4scvr' into 'master'
ESM4: Make script local variable loading more reliable

See merge request OpenMW/openmw!3967
1 month ago
Evil Eye a4625ea784 Deduplicate dialogue filter parsing 1 month ago
Evil Eye fb4edda45d Validate INFO filters when loading the record 1 month ago
Sam Hellawell 8c2c66d59e .nif check, matrix mult feedback, auto usage, reuse NodeMap typedef 1 month 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
1 month ago
AnyOldName3 48f1f08537 Hide things that depend on present-but-inactive game files
https://gitlab.com/OpenMW/openmw/-/merge_requests/3925#note_1843962919
1 month ago
Sam Hellawell d23c10622d Use dynamic cast to check for bone 1 month ago
Sam Hellawell a51d560174 Move bone rename logic to ColladaDescriptionVisitor, undo formatting/refactoring 1 month ago
Sam Hellawell 2288a691d2 Replace osgAnimation bone underscore naming at load time, map bone instances, reset root bone transform each frame 1 month ago
AnyOldName3 bb3c22e4a5 Add and register SettingValue stream operators 2 months ago
psi29a 3da6b4f529 Merge branch 'more_stats' into 'master'
Report more stats in F4

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

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

See merge request OpenMW/openmw!3988
2 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
2 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
2 months ago
Sam Hellawell deb8894035 ESM::MagicEffect::blank() set the default to 1
Signed-off-by: Sam Hellawell <sshellawell@gmail.com>
2 months ago
Andrei Kortunov f2dc25e214 Optimize bitmap fonts loading 2 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
2 months ago
Dave Corley 2e68786331 Fix(CS): Actually allow unlocking doors ( #7899 ) 2 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
2 months ago
Mads Buvik Sandvei e0b11c14c2 Remove unused member mStackable 2 months ago
Sam Hellawell 7897ff7ac9 Fix weapon sheathing for non-nif meshes 2 months ago
psi29a 012d10703f Merge branch 'spellcast-refactor' into 'master'
Spellcast related Lua API + spellcasting/activespell refactor

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

See merge request OpenMW/openmw!3970
2 months ago
Cody Glassman a4dd9224df Restructure colormasks at higher level 2 months ago
Evil Eye 5a0aed3a78 Use more decomposition, string_view, and implicit sizes in ESM code 2 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
2 months ago
Alexei Kotov 63276e0f1f Merge branch 'avoid_copy' into 'master'
Follow-up for YAML API

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

See merge request OpenMW/openmw!3950
2 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
2 months ago
elsid 3358bc80bf Merge branch 'esm4fourcc' into 'master'
Get rid of ESM4::SubRecordTypes

See merge request OpenMW/openmw!3962
2 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.
2 months ago
Alexei Kotov 6b93479bd3 Get rid of ESM4::SubRecordTypes
All my homies hate ESM4::SubRecordTypes
2 months ago
Dave Corley fcff1a6739 Fix #7887, use actual instead of reported size for script data 2 months ago
Andrei Kortunov 2d3a8ca0fc Do not use an inner namespace 2 months ago
Andrei Kortunov cb831a5917 Add more includes just for sure 2 months ago
Andrei Kortunov 2523afe9c2 Use namespace instead of static class 2 months ago
Andrei Kortunov 8037ad7f00 Remove unused includes 2 months ago
psi29a 854b4f226b Merge branch 'fix_msvc_build' into 'master'
Fix build with MSVC 19.38

See merge request OpenMW/openmw!3960
2 months ago
Andrei Kortunov 4520ee465d Do not copy vector 2 months ago
elsid ee2cc8aeb7
Fix build with MSVC 19.38
components\detournavigator\navigator.hpp(44): error C3861: 'assert': identifier not found
2 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.
2 months ago
Andrei Kortunov 6da151cf77 Fix GCC build 2 months ago
psi29a 5d669f0470 Merge branch 'fix_ui_crashes' into 'master'
Another day, another UI crash fix

See merge request OpenMW/openmw!3949
2 months ago
psi29a 090e57b27c Merge branch 'esm3structs' into 'master'
Replace fixed size writeHNT calls with decomposition

See merge request OpenMW/openmw!3914
2 months ago
psi29a d746918563 Merge branch 'yaml_parse' into 'master'
Load YAML files via Lua

Closes #7590

See merge request OpenMW/openmw!3924
2 months ago
Alexei Kotov 6e2dbfbd74 Merge branch 'check-osg-plugins-but-better' into 'master'
Get OSG to tell us the plugin filenames it's going to use

See merge request OpenMW/openmw!3942
2 months ago
AnyOldName3 a06ab94a20 Canonicalise resolved representation of data directories 2 months ago
AnyOldName3 9638fbabb4 https://www.youtube.com/watch?v=2_6U9gkQeqY 2 months ago
AnyOldName3 ff3ffa13b6 Auto format 2 months ago