Commit Graph

19566 Commits (88ec8a95231341e7962b85716510d414e9f0c424)

Author SHA1 Message Date
Evil Eye dfcd34372d Use more string_view 2 years ago
elsid c15848932b
Separate reading navigator stats and reporting 2 years ago
Evil Eye d2a80cf112 Use unique_ptr in MWGui::DialogueWindow 2 years ago
Evil Eye 534994b42a Use more string_view in the character controller 2 years ago
Evil Eye 19bd2f3c3d Use more string_view and const string& 2 years ago
psi29a d2d2282af5 Merge branch 'null_terminated' into 'master'
Improve format workaround and add unit tests

See merge request OpenMW/openmw!2338
2 years ago
Evil Eye 02bbb0be45 Improve format workaround and add unit tests 2 years ago
Joshua Barretto df7d2e46c0 Added a uniform to indicate whether rendering is occurring in a reflection 2 years ago
Evil Eye ac84027b90 Unify soulgems and restore soul text 2 years ago
psi29a e46be1c220 Merge branch 'rm_get_poly_height_status' into 'master'
Do not check getPolyHeight status (#6964)

Closes #6964

See merge request OpenMW/openmw!2334
2 years ago
psi29a c260a0d4c2 Merge branch 'string_me_along' into 'master'
Yet another string_view MR

See merge request OpenMW/openmw!2333
2 years ago
elsid 948e2f5db9
Do not use collision shapes with visual only collision to generate navmesh
These collision shapes are not used for actors movement physics simulation.
2 years ago
elsid ab1ddc690e
Do not check getPolyHeight status
It may fail in some cases depending on a platform without obvious reason.
2 years ago
Evil Eye 4e2e5ad002 Revert format change and ensure string_view args are null-terminated 2 years ago
Evil Eye 1d21330fcc Return string_view from getGameSettingString 2 years ago
jvoisin e0dbe976bc Merge branch 'qt_signalslot_syntax_update' into 'master'
Migrate to functor-based Qt signal-slot connection syntax

Closes #6948

See merge request OpenMW/openmw!2332
2 years ago
Evil Eye 0cded25033 Remove various string copies 2 years ago
Evil Eye 0df45a90b3 Use string_view in the remaining Class methods and push string_views closer to the MyGUI boundary 2 years ago
mpeco aa57d04b54 functor-based Qt signal-slot syntax launcher 2 years ago
mpeco 9040209046 functor-based Qt signal-slot syntax construction set: changing visibility of certain slots for connecting on external/derived classes 2 years ago
mpeco 78700eee57 functor-based Qt signal-slot syntax construction set 2 years ago
Mat 405a5c5d25 functor-based Qt signal-slot syntax wizard 2 years ago
Evil Eye 42e59878c5 Use string_view in more animation code 2 years ago
Evil Eye 262b29ed40 Use string_view in modifyBaseInventory 2 years ago
psi29a 1f5277349c Merge branch 'span' into 'master'
Replace Misc::Span by std::span

See merge request OpenMW/openmw!2324
2 years ago
psi29a 9c24d6b390 Merge branch 'ci_starts_with' into 'master'
Replace ciCompareLen with ciStartsWith where possible

See merge request OpenMW/openmw!2325
2 years ago
psi29a f1e95ad615 Merge branch 'scroll_indices' into 'master'
Properly transform item ID to enchantment ID

Closes #6959

See merge request OpenMW/openmw!2328
2 years ago
Evil Eye 2b9d475e50 Fix #6959 2 years ago
Evil Eye 150d1840d6 Use more string_view and const string& 2 years ago
elsid 5dc612aa54
Replace ciCompareLen with ciStartsWith where possible
`ciCompareLen(a, b, b.size()) == 0` expression is an equivalent of checking for
equality of `a` prefix with size `b.size()` with `b`.

`ciCompareLen(a, b, a.size()) == 0` is also the same thing but `a` is a prefix
`b` should start with.
2 years ago
elsid e4a254deb7
Replace Misc::Span by std::span 2 years ago
psi29a bf0865d03d Merge branch 'cherry-pick-0dacbaf31a5e0703c49eead6d6a977a28ec299f3' into 'master'
ActionManager::toggleMainMenu() should close PostProcessor HUD

See merge request OpenMW/openmw!2305
2 years ago
psi29a 36fbef1048 Merge branch 'apple-silicon-arm-build' into 'master'
Get build working on Apple Silicon

See merge request OpenMW/openmw!2286
2 years ago
psi29a 0889635dc7 Merge branch 'cherry-pick-31f0ef45d2bb53e0969962f23eb29350465993dd' into 'master'
Show a message if player attempts to access postprocessor hud when postprocessing is disabled.

See merge request OpenMW/openmw!2306
2 years ago
psi29a 5aa1ab2c62 Merge branch 'clean_includes' into 'master'
Cleanup includes

See merge request OpenMW/openmw!2307
2 years ago
psi29a 2a2268ea8b Merge branch 'optimize_navigator_update' into 'master'
Optimize navigator per frame update

See merge request OpenMW/openmw!2308
2 years ago
psi29a f36e13444e Merge branch 'font_loading' into 'master'
Cleanup fonts loading

See merge request OpenMW/openmw!2309
2 years ago
psi29a 857dca058b Merge branch 'fix_memory_leak' into 'master'
Fix memory leak on cell loading

See merge request OpenMW/openmw!2318
2 years ago
psi29a 7c899364af Merge branch 'consistently_hostile' into 'master'
Clear the magic queue when unloading actors

Closes #6954

See merge request OpenMW/openmw!2317
2 years ago
psi29a aa8eba239a Merge branch 'animation_view' into 'master'
Use string_view in animation code

See merge request OpenMW/openmw!2321
2 years ago
psi29a a99c78c85f Merge branch 'animation_osg_ref_ptr' into 'master'
Avoid using owning raw pointer

See merge request OpenMW/openmw!2322
2 years ago
elsid 1e739ec741
Use std::unique_ptr to manage dialogs lifetime 2 years ago
elsid 838d75a2e2
Avoid using owning raw pointer 2 years ago
elsid 84944a7530
Store RefData::mBaseNode as osg::ref_ptr
Direct leak of 16197408 byte(s) in 56241 object(s) allocated from:
    #0 0x5572356d4d42 in operator new(unsigned long) (/home/elsid/dev/openmw/build/clang/asan/openmw+0xae0d42)
    #1 0x557236938196 in (anonymous namespace)::addObject(MWWorld::Ptr const&, MWWorld::World const&, std::__1::vector<ESM::RefNum, std::__1::allocator<ESM::RefNum> > const&, MWPhysics::PhysicsSystem&, MWRender::RenderingManager&) /home/elsid/dev/openmw/apps/openmw/mwworld/scene.cpp:119:42
    #2 0x55723692e51b in MWWorld::Scene::insertCell(MWWorld::CellStore&, Loading::Listener*)::$_7::operator()(MWWorld::Ptr const&) const /home/elsid/dev/openmw/apps/openmw/mwworld/scene.cpp:913:62
    #3 0x55723692e51b in void (anonymous namespace)::InsertVisitor::insert<MWWorld::Scene::insertCell(MWWorld::CellStore&, Loading::Listener*)::$_7>(MWWorld::Scene::insertCell(MWWorld::CellStore&, Loading::Listener*)::$_7&&) /home/elsid/dev/openmw/apps/openmw/mwworld/scene.cpp:230:21
    #4 0x55723692e51b in MWWorld::Scene::insertCell(MWWorld::CellStore&, Loading::Listener*) /home/elsid/dev/openmw/apps/openmw/mwworld/scene.cpp:913:23
    #5 0x55723692d451 in MWWorld::Scene::loadCell(MWWorld::CellStore*, Loading::Listener*, bool, osg::Vec3f const&) /home/elsid/dev/openmw/apps/openmw/mwworld/scene.cpp:449:9
    #6 0x5572369299f5 in MWWorld::Scene::changeCellGrid(osg::Vec3f const&, int, int, bool) /home/elsid/dev/openmw/apps/openmw/mwworld/scene.cpp:612:17
    #7 0x557236928521 in MWWorld::Scene::update(float) /home/elsid/dev/openmw/apps/openmw/mwworld/scene.cpp:315:13
    #8 0x5572368d4c98 in MWWorld::World::update(float, bool) /home/elsid/dev/openmw/apps/openmw/mwworld/worldimp.cpp:1833:22
    #9 0x557236ebbb72 in OMW::Engine::frame(float) /home/elsid/dev/openmw/apps/openmw/engine.cpp:418:25
    #10 0x557236ed250a in OMW::Engine::go() /home/elsid/dev/openmw/apps/openmw/engine.cpp:1102:14
    #11 0x557236eb621a in runApplication(int, char**) /home/elsid/dev/openmw/apps/openmw/main.cpp:228:17
    #12 0x55723774d622 in wrapApplication(int (*)(int, char**), int, char**, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool) /home/elsid/dev/openmw/components/debug/debugging.cpp:328:19
    #13 0x557236eb651f in main /home/elsid/dev/openmw/apps/openmw/main.cpp:240:12
    #14 0x7fbf58a3f2cf  (/usr/lib/libc.so.6+0x232cf) (BuildId: e637217a46491314667a7a37b2155cb07afc1a40)

Direct leak of 396288 byte(s) in 1376 object(s) allocated from:
    #0 0x5572356d4d42 in operator new(unsigned long) (/home/elsid/dev/openmw/build/clang/asan/openmw+0xae0d42)
    #1 0x557236938196 in (anonymous namespace)::addObject(MWWorld::Ptr const&, MWWorld::World const&, std::__1::vector<ESM::RefNum, std::__1::allocator<ESM::RefNum> > const&, MWPhysics::PhysicsSystem&, MWRender::RenderingManager&) /home/elsid/dev/openmw/apps/openmw/mwworld/scene.cpp:119:42
    #2 0x55723692e51b in MWWorld::Scene::insertCell(MWWorld::CellStore&, Loading::Listener*)::$_7::operator()(MWWorld::Ptr const&) const /home/elsid/dev/openmw/apps/openmw/mwworld/scene.cpp:913:62
    #3 0x55723692e51b in void (anonymous namespace)::InsertVisitor::insert<MWWorld::Scene::insertCell(MWWorld::CellStore&, Loading::Listener*)::$_7>(MWWorld::Scene::insertCell(MWWorld::CellStore&, Loading::Listener*)::$_7&&) /home/elsid/dev/openmw/apps/openmw/mwworld/scene.cpp:230:21
    #4 0x55723692e51b in MWWorld::Scene::insertCell(MWWorld::CellStore&, Loading::Listener*) /home/elsid/dev/openmw/apps/openmw/mwworld/scene.cpp:913:23
    #5 0x55723692d451 in MWWorld::Scene::loadCell(MWWorld::CellStore*, Loading::Listener*, bool, osg::Vec3f const&) /home/elsid/dev/openmw/apps/openmw/mwworld/scene.cpp:449:9
    #6 0x5572369299f5 in MWWorld::Scene::changeCellGrid(osg::Vec3f const&, int, int, bool) /home/elsid/dev/openmw/apps/openmw/mwworld/scene.cpp:612:17
    #7 0x557236936eb2 in MWWorld::Scene::changeToExteriorCell(ESM::Position const&, bool, bool) /home/elsid/dev/openmw/apps/openmw/mwworld/scene.cpp:888:9
    #8 0x55723689a5ac in MWWorld::World::changeToExteriorCell(ESM::Position const&, bool, bool) /home/elsid/dev/openmw/apps/openmw/mwworld/worldimp.cpp:1003:22
    #9 0x5572368c249d in MWWorld::World::changeToCell(ESM::CellId const&, ESM::Position const&, bool, bool) /home/elsid/dev/openmw/apps/openmw/mwworld/worldimp.cpp:1014:13
    #10 0x557236e9bbce in MWState::StateManager::loadGame(MWState::Character const*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) /home/elsid/dev/openmw/apps/openmw/mwstate/statemanagerimp.cpp:545:52
    #11 0x557236e998db in MWState::StateManager::loadGame(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) /home/elsid/dev/openmw/apps/openmw/mwstate/statemanagerimp.cpp:377:17
    #12 0x557236ed18fb in OMW::Engine::go() /home/elsid/dev/openmw/apps/openmw/engine.cpp:1066:24
    #13 0x557236eb621a in runApplication(int, char**) /home/elsid/dev/openmw/apps/openmw/main.cpp:228:17
    #14 0x55723774d622 in wrapApplication(int (*)(int, char**), int, char**, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool) /home/elsid/dev/openmw/components/debug/debugging.cpp:328:19
    #15 0x557236eb651f in main /home/elsid/dev/openmw/apps/openmw/main.cpp:240:12
    #16 0x7fbf58a3f2cf  (/usr/lib/libc.so.6+0x232cf) (BuildId: e637217a46491314667a7a37b2155cb07afc1a40)
2 years ago
unknown 206711876d Address feedback 2 years ago
elsid 3057fa6bee
Remove redundant components/esm/records.hpp include 2 years ago
unknown 827a2f0b77 Use string_view in animation code 2 years ago
Evil Eye 443420ea60 CI compare cells 2 years ago
psi29a 5ed9764f3b Merge branch 'effect_indices' into 'master'
Preserve effect indices when applying AoE and targeted spells

Closes #6957

See merge request OpenMW/openmw!2315
2 years ago
psi29a 8ec8e733a1 Merge branch 'unique_summons' into 'master'
Mark summon effects as applied if they have spawned a creature

Closes #6955

See merge request OpenMW/openmw!2316
2 years ago
Evil Eye afcbb3cb5e Clear the magic queue when unloading actors 2 years ago
Evil Eye a547608289 Preserve effect indices when applying AoE and targeted spells 2 years ago
Evil Eye 8b02c17ad4 Mark summon effects as applied if they have spawned a creature 2 years ago
Andrei Kortunov 9e1ab590f1 Cleanup fonts loading 2 years ago
psi29a 4078f19c74 Merge branch 'SHADER_HOT_RELOAD' into 'master'
Shaders: Hot reload, togglable by lua debug command

See merge request OpenMW/openmw!2238
2 years ago
elsid e1bed86d7e
Do single navigator update per frame
Primarily for crossing cell border case. Each Navigator::update call has a cost.
Doing it multiple times per frame increased frame duration on cell loading.

Call Navigator::wait only when cell has changed but do not use
Scene::hasCellChanged because it doesn't always indicates it.
2 years ago
AnyOldName3 17c1053777 Validate near and far clip distances 2 years ago
Mads Buvik Sandvei 5863790c74 Show a message if player attempts to access postprocessor hud when postprocessing is disabled 2 years ago
Mads Buvik Sandvei 642d0ad631 ActionManager::toggleMainMenu() should close PostProcessor HUD. 2 years ago
elsid 226f12528b
Remove redundant .cpp file 2 years ago
elsid 2a79a8074a
Use forward declarations 2 years ago
elsid 73f885db0e
Cleanup includes 2 years ago
elsid b3882777ab
Cleanup opencs includes 2 years ago
elsid bf1f4f2117
Mark private template functions defined in cpp as inline 2 years ago
psi29a ab2931223e Merge branch 'cleanup_openmw_includes_2' into 'master'
Cleanup openmw class and mechanics includes

See merge request OpenMW/openmw!2301
2 years ago
Kindi da4a72ab19 Sun Damage for QuasiExt 2 years ago
elsid a66c095ec3
Cleanup openmw class and mechanics includes 2 years ago
psi29a 9761ff14f9 Merge branch 'cleanup_openmw_lua_includes' into 'master'
Cleanup openmw lua includes

See merge request OpenMW/openmw!2293
2 years ago
psi29a 7bb1856b74 Merge branch 'font_fixes' into 'master'
Font fixes

See merge request OpenMW/openmw!2297
2 years ago
Andrei Kortunov 2cd2b42e33 Improve handling of larger font size 2 years ago
Andrei Kortunov c3d3f3140b Allow to change font settings in the launcher 2 years ago
Alexei Kotov d458894868 Make getWeaponDrawn return 1 only when the weapon is attached (bug #4816) 2 years ago
elsid 552301c8fb
Cleanup openmw lua includes 2 years ago
psi29a 92f3b4ba82 Merge branch 'windows_save' into 'master'
[Postprocessing] Mitigate clashes with live reload and external saves on windows

See merge request OpenMW/openmw!2237
2 years ago
psi29a 1e4dd46688 Merge branch 'fontconfig' into 'master'
Allow users to decide if they need to import bitmap fonts

See merge request OpenMW/openmw!2270
2 years ago
psi29a bf40f9b287 Merge branch 'name_view' into 'master'
Make Class::getName return string_view

See merge request OpenMW/openmw!2289
2 years ago
psi29a 4f6c97fa10 Merge branch 'cleanup_openmw_includes' into 'master'
Cleanup openmw render, physics, world, dialogue, gui, input includes

See merge request OpenMW/openmw!2291
2 years ago
Andrei Kortunov 43f552f48f Allow users to decide if they need to import bitmap fonts 2 years ago
Alexei Kotov aee8150d65 Autoresize table subview columns (bug #6939)
Use the contents of the first 500 records, clamp the width to [100, 300]
2 years ago
elsid 5498c169e3
Cleanup openmw render, physics, world, dialogue, gui, input includes 2 years ago
Andrew Dunn a61237f265 Cleaned up macOS FFmpeg framework linking
I'm not sure why but CoreMedia, VideoToolbox, and AudioToolbox aren't
being found by find_library, so I've converted framework imports to a
standard link option. I really don't think this will be an issue given
that this change will only ever apply to Apple platforms.
2 years ago
psi29a 5b9acd0bb9 Merge branch 'esmstore-fixes' into 'master'
Some ESMStore fixes

See merge request OpenMW/openmw!2279
2 years ago
Andrew Dunn 808a2e587a Merge commit '5ee4ce1232b0f334f29dd702f811c58dccf5c00d' into apple-silicon-arm-build 2 years ago
psi29a 6346ffca72 Merge branch 'cleanup_components_includes' into 'master'
Cleanup components includes

See merge request OpenMW/openmw!2287
2 years ago
Evil Eye 4ff12d8945 Make Class::getName return string_view 2 years ago
elsid 274afbc7a0
Add missing include 2 years ago
elsid cc8c7002ea
Cleanup components includes 2 years ago
Andrew Dunn 1d7d3d5765 Get build working on Apple Silicon
Will validate issues with Intel OSX later
2 years ago
psi29a b382e92953 Merge branch 'please_dont_copy_my_nfts' into 'master'
Prevent various values from being copied

See merge request OpenMW/openmw!2267
2 years ago
psi29a 1f25f430d6 Merge branch 'swimhack' into 'master'
Remove 0.43.0 death animation backward compatibility hack (#5977)

Closes #5977

See merge request OpenMW/openmw!2274
2 years ago
psi29a 1d270e1683 Merge branch 'levelincrease' into 'master'
Update both instances of level detail text

See merge request OpenMW/openmw!2282
2 years ago
psi29a 823b8ebc22 Merge branch 'cleanup_detournavigator_includes' into 'master'
Cleanup detournavigator includes

See merge request OpenMW/openmw!2281
2 years ago
Alexei Kotov a4427235df Update both instances of level detail text 2 years ago
Alexei Kotov 1ce162a95c Correct follow animation attack strength dependence 2 years ago
elsid b1fb42a28c
Cleanup detournavigator includes 2 years ago
ζeh Matt cdcf1393fc
Fix increment of dynamic id when player is inserted 2 years ago
ζeh Matt 6abb96250f
Fix using the wrong id for insertStatic 2 years ago
psi29a 6756f4397e Merge branch 'aidisplay' into 'master'
Fix display for some package settings

See merge request OpenMW/openmw!2271
2 years ago
Alexei Kotov c857346f7b Remove 0.43.0 death animation backward compatibility hack (#5977) 2 years ago
psi29a be947bfcf6 Merge branch 'hackercenturions' into 'master'
Override non-biped follow animation by movement

See merge request OpenMW/openmw!2276
2 years ago
Alexei Kotov 6b07acbbae Override non-biped follow animation by movement 2 years ago
Alexei Kotov ff5a042f5b Remove cooldown for ranged back up (bug #5129) 2 years ago
Alexei Kotov e537f2b6f3 Fix display for some package settings 2 years ago
Evil Eye eaa108d25d Return string_view from SoundId methods 2 years ago
Evil Eye 4e9335f10a Fix include 2 years ago
Alexei Kotov 7f3d2c18e1 Evaluate melee hits on weapon release (bug #5057) 2 years ago
Alexei Kotov 6c05192afa Fix swish sound volume and pitch (bug #5057) 2 years ago
Evil Eye 2deec591cd Use heterogenous maps for scripts 2 years ago
Evil Eye 51938f9ef7 Use string_view in Interpreter::Context 2 years ago
Evil Eye 4eb6c48285 Avoid copying in InputManager 2 years ago
florent.teppe decfbc5387 Fix threading issues 2 years ago
psi29a 8e7ddc7c0d Merge branch 'attackattackattack' into 'master'
Character controller, round 8: rewrite attack animation logic (bug #4127)

Closes #4127

See merge request OpenMW/openmw!2263
2 years ago
Evil Eye 685906afdf Make getScript return string_view 2 years ago
Alexei Kotov 3e34d5e9f2 Rewrite attack animation logic (bug #4127) 2 years ago
psi29a 18dbf722eb Merge branch 'store_view' into 'master'
Allow string_view lookups in MWWorld::Store

See merge request OpenMW/openmw!2010
2 years ago
elsid bd91ced754
Move weapon types definition to .cpp file
Use template and switch instead of std::map to make sure all types are handled
and there is no lookup for a default value.
2 years ago
Alexei Kotov bd7ddada7b Cancel stagger when random attack animations end 2 years ago
Alexei Kotov af12736baf Cancel stagger and attack animations simultaneously 2 years ago
psi29a 10ee0e6e1b Merge branch 'sheerheartattackhasnoweaknesses' into 'master'
Animation regression fixes

See merge request OpenMW/openmw!2255
2 years ago
psi29a b551e69b6f #5534 remove OSG 3.4 support and require at least 3.6.5 support 2 years ago
Alexei Kotov 083fda357b Fix creature attack swish pitch and invisibility break 2 years ago
Evil Eye de51525c76 Allow string_view lookups in MWWorld::Store and get some use out of that 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
Alexei Kotov c4881c8613 Move weapon equip sound logic to weapon equip animation logic 2 years ago
Alexei Kotov 9f39f6d48e Streamline attack body pitching 2 years ago
Alexei Kotov 2b167317da Clean up updateWeaponState inventory block 2 years ago
Alexei Kotov 1b3baa812a Streamline hit/follow animation key construction 2 years ago
Alexei Kotov 2e112847be Further updateWeaponState cleanup 2 years ago
Alexei Kotov ea78e904a9 Merge inventory blocks in updateWeaponState 2 years ago
florent teppe baadc06e98 Merge branch 'master' into 'SHADER_HOT_RELOAD'
# Conflicts:
#   apps/openmw/mwrender/postprocessor.hpp
2 years ago
Alexei Kotov ad62f5cda3 Move werewolf/ranged weapon swish logic to playSwishSound 2 years ago
Alexei Kotov 09141388ad Detangle attack start, knockdown attack cancel and on-going wind-up logic 2 years ago
Alexei Kotov 8f280c521c Play pick/probe animation in attack start animation logic 2 years ago
Alexei Kotov a4b5bfc051 Don't cancel the attack prematurely after running out of ammo 2 years ago
Alexei Kotov d280a29b18 Re-enable lower body crossbow animation playback 2 years ago
Alexei Kotov ac892f2bfd Clean up updateWeaponState() 2 years ago
Alexei Kotov e5ef9f1464 Improve upper body character state naming 2 years ago
psi29a 69654b6697 Merge branch 'revert_active' into 'master'
Revert traversal mode to default

See merge request OpenMW/openmw!2249
2 years ago
psi29a 6ee20835fc Merge branch 'main_pp' into 'master'
[Postprocessing] Remove default shader and simplify pipeline

Closes #6920

See merge request OpenMW/openmw!2248
2 years ago
cody glassman ac4b29be08 cleanup default shaders and remove confusing main shader 2 years ago
psi29a e75d3285cf Merge branch 'paged_refs_vector' into 'master'
Use std::vector to store paged ref nums

See merge request OpenMW/openmw!2245
2 years ago
florent.teppe df69fc7659 Post processing shaders now use the same lua commands, no more launcher option to enable live reload 2 years ago
cody glassman c770c462e4 revert traversal nodes, discovered to break some NIFs with UV controllers 2 years ago
Alexei Kotov 0fd817150e Merge branch 'ordinator_farming_restored' into 'master'
Save state for disposed actors if they can respawn

Closes #6923

See merge request OpenMW/openmw!2232
2 years ago
Alexei Kotov 263a955290 Merge branch 'coverity' into 'master'
Avoid possible null dereference

See merge request OpenMW/openmw!2243
2 years ago
Andrei Kortunov 7dd668bf12 Allow mouse scrolling in the race preview widget (feature 6925) 2 years ago
elsid dffb12ac05
Use std::vector to store paged ref nums 2 years ago
Andrei Kortunov 8812705838 Avoid possible null dereference - throw an exception instead 2 years ago
Alexei Kotov 86a4d530c4 Merge branch 'luaprofiler' into 'master'
Implementing profiler stats for LuaManager::synchronizedUpdate

See merge request OpenMW/openmw!2215
2 years ago
Christian Haro 19a08d19d6 Implementing profiler stats for LuaManager::synchronizedUpdate 2 years ago
psi29a 00f8c9760a Merge branch 'fixed_string_tests' into 'master'
Replace deprecated std::is_pod

See merge request OpenMW/openmw!2239
2 years ago
psi29a b55a511ad8 Merge branch 'idlechance' into 'master'
Fix Wander random idle chance

See merge request OpenMW/openmw!2242
2 years ago
psi29a 9c4ca98421 Merge branch 'sheathing' into 'master'
Avoid cosmetic view-mode dependent issues in shield sheathing

Closes #6845

See merge request OpenMW/openmw!2241
2 years ago
Alexei Kotov 19dc4cda9b Avoid cosmetic view-mode dependent issues in shield sheathing 2 years ago
elsid 8e4f6fc4e4
Use FetchContent to get googletest 2 years ago
glassmancody.info 0f9a7594bb wait a brief moment before reading a file marked as modified 2 years ago
florent.teppe fc8838c7dd Renamed lua binding, and use action to avoid concurrency issue 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 da0a1ac9ba
Do compile time checks in compile time instead of tests 2 years ago
elsid c42c0dcbc9
Replace deprecated std::is_pod
apps/openmw_test_suite/esm/test_fixed_string.cpp:99:23: warning: ‘template<class _Tp> struct std::is_pod’ is deprecated: use is_standard_layout && is_trivial instead [-Wdeprecated-declarations]
   99 |      ASSERT_TRUE(std::is_pod<ESM::NAME>::value);
      |                       ^~~~~~
2 years ago
florent.teppe 6b38d62223 Added lua bindings to toggle hot reload (disabled by default) or to trigger a reload 2 years ago
florent.teppe 8d194a1601 Shaders: rudimentary hot reloader on shaders
every frame we poll the files and check if they are older or newer than the last test, if they are newer we find all the shader that included that file and update them
2 years ago
glassmancody.info 5d6a26c10f dont ignore tested objects in postpass 2 years ago
elsid 228a0dc723
Avoid redundant lowerCase call 2 years ago
elsid ba69146ced
Use std::string_view to avoid redundant std::string construction 2 years ago
Evil Eye 1248bdc816 Save state for disposed actors if they can respawn 2 years ago
psi29a caf971b979 Merge branch 'invis' into 'master'
Restore invisibility early-out in combat engagement

See merge request OpenMW/openmw!2229
2 years ago
Alexei Kotov b4f743ad60 Fix Wander idle chance 2 years ago
Alexei Kotov acfff6b25e Restore invisibility early-out in combat engagement 2 years ago
psi29a 454684bad3 Merge branch 'custom_actor_collision_shape_type' into 'master'
Support cylinder and rotating box collision shape types for actors (#6138)

Closes #6138

See merge request OpenMW/openmw!2043
2 years ago
Alexei Kotov aa5fcc6649 Don't center spell and enchanted item effect lists (bug #4310) 2 years ago
psi29a 861f1d5303 Merge branch 'pleaseshutupyoustupiddoor' into 'master'
Don't stop playing sounds attached to removed objects (bug #6896)

Closes #6896

See merge request OpenMW/openmw!2221
2 years ago
psi29a 77f4ea7d7c Merge branch 'titleofthemovie' into 'master'
Prevent Movies_Morrowind_Logo video from pausing sounds (bugs #6049, #6109)

Closes #6109 and #6049

See merge request OpenMW/openmw!2223
2 years ago
psi29a 6f9c3c111e Merge branch 'inertia' into 'master'
Discard momentum upon player's teleportation (bug #6545)

Closes #6545

See merge request OpenMW/openmw!2226
2 years ago
psi29a 881a784bcf Merge branch 'transparent_fix' into 'master'
[Postprocessing] Force enable depth writes in transparent post-pass

See merge request OpenMW/openmw!2214
2 years ago
Alexei Kotov bccdefd63f Discard momentum upon teleportation (bug #6545) 2 years ago
Alexei Kotov 2126cedb7d Prevent Movies_Morrowind_Logo video from pausing sounds (bug #6049)
Fix custom decoder tracks update (bug #6109)
2 years ago
Alexei Kotov f9d41fcfe8 Don't stop playing sounds attached to removed objects (bug #6896) 2 years ago
Petr Mikheev 9a4df75f3c Merge branch 'luaIngredient' into 'master'
Lua Bindings for Ingredient Records

See merge request OpenMW/openmw!2205
2 years ago
Christian Haro 86bb3195a0 Lua Bindings for Ingredient Records 2 years ago
psi29a 9ba3ab2be9 Merge branch 'post_fog' into 'master'
[Postprocessing]  API to work with fog

See merge request OpenMW/openmw!2212
2 years ago
psi29a 1029114172 Merge branch 'water_level' into 'master'
[Postprocessing] Improve water level handling

See merge request OpenMW/openmw!2217
2 years ago
psi29a 42db39e281 Merge branch 'esscamera' into 'master'
essimporter: Recover player's pitch from PCDT (bug #6818)

Closes #6818

See merge request OpenMW/openmw!2210
2 years ago
Alexei Kotov 0b1e6a2b59 Fix pipeline errors 2 years ago
psi29a a41c9240d9 Merge branch 'wallflower_breakdancing' into 'master'
Break invisibility before applying CE enchantments

Closes #6913

See merge request OpenMW/openmw!2218
2 years ago
psi29a e3f04794e3 Merge branch 'spellcasting' into 'master'
Fix spellcasting state getting stuck due to premature attack attempts

Closes #6917

See merge request OpenMW/openmw!2216
2 years ago
psi29a 7236135631 Merge branch 'esscellrefs' into 'master'
essimporter: fix doubled actors

See merge request OpenMW/openmw!2213
2 years ago
psi29a 015a5c6b93 Merge branch 'essskills' into 'master'
essimporter: fix doubled stats

See merge request OpenMW/openmw!2211
2 years ago
Evil Eye 6196e777da Break invisibility before applying CE enchantments 2 years ago
Andrei Kortunov 5bfca57835 Add a way to check if water is enabled in post processing shaders 2 years ago
Alexei Kotov 7a6e984e90 Fix spellcasting state getting stuck due to premature attack attempts 2 years ago
glassmancody.info 066185fbcf override depth write flag from object paging in transparent post-pass 2 years ago
Andrei Kortunov 888f4d2ac1 Add a post processing API to work with fog 2 years ago
Alexei Kotov 9f49682d01 essimporter: refactor ESSImport::CellRef and fix doubled actors 2 years ago
Alexei Kotov c7676a9de6 essimporter: fix doubled stats 2 years ago
Alexei Kotov 8f9b2becde essimporter: Recover player pitch from PCDT (bug #6818) 2 years ago
elsid 8b8e4f78b6
Support cylinder and rotating box collision shape types for actors
Cylinder collision shape should give the best consistency between physics
simulation and pathfinding. Rotating box is already used by some actors, so
add it to have the same collision shape type for all actors.
2 years ago
psi29a a62b16df5d Merge branch 'delevelled' into 'master'
Editor: Decouple levelled list table columns (bug #6705)

Closes #6705

See merge request OpenMW/openmw!2209
2 years ago
psi29a 79cdc08253 Merge branch 'clean_despawn' into 'master'
Remove effects added by unloading cells

Closes #6914

See merge request OpenMW/openmw!2208
2 years ago
Alexei Kotov 0d18f76271 Editor: Decouple levelled list columns (bug #6705) 2 years ago
Evil Eye 9fc5ced9c9 Remove effects added by unloading cells 2 years ago
psi29a f2a2880998 Merge branch 'empty_scripts_revival' into 'master'
Bring back empty script message

See merge request OpenMW/openmw!2207
2 years ago
Cody Glassman 89e0de2314 Bring back empty script message 2 years ago
psi29a 5cd4dbd9a9 Merge branch 'unrestrictedfailure' into 'master'
Spellcasting timing fixes (bug #4227)

Closes #4227

See merge request OpenMW/openmw!2201
2 years ago
psi29a 7361a1c6fd Merge branch 'awareness' into 'master'
Fix invisibility handling in awareness checks

See merge request OpenMW/openmw!2203
2 years ago
psi29a 7abcb9b0a7 Merge branch 'positioncell' into 'master'
Snap down any actor teleported with Position/PositionCell (bug #6154)

Closes #6154

See merge request OpenMW/openmw!2204
2 years ago
Alexei Kotov 1e7cbb88d2 Merge branch 'fix_initial_player_landing' into 'master'
Trace down player on initial cell loading after all cells are loaded (#6907)

Closes #6907

See merge request OpenMW/openmw!2206
2 years ago
elsid 37b0ff596c
Trace down player on initial cell loading after all cells are loaded 2 years ago
Alexei Kotov fede5c7c02 Fix invisibility handling in awareness checks 2 years ago
Alexei Kotov 435ddcfb6b Snap down any actor teleported with Position/PositionCell (bug #6154) 2 years ago
Alexei Kotov 8005d3ca25 Rename updateState back into updateWeaponState 2 years ago
Alexei Kotov a914d7a9b0 Spellcasting timing fixes (bug #4227)
Play spellcasting animation and VFX (but not hand VFX) if spellcasting failed due to insufficient magicka
Apply spellcasting fatigue loss when the spellcasting starts instead of when the spell is applied
2 years ago
psi29a 4f9bcfd3f5 Merge branch 'issue_6888' into 'master'
Implement Add switch for armor degradation fix. #6888

See merge request OpenMW/openmw!2184
2 years ago
Ivan Beloborodov f960e30d01 Implement Add switch for armor degradation fix. #6888 2 years ago
Alexei Kotov 93eb470024 Break invisibility after stopping preparing the attack (bug #5976) 2 years ago
psi29a 461fdcd11b Merge branch 'mybodyisready' into 'master'
Delay any quick key use while the player isn't ready (bug #6054)

Closes #6054

See merge request OpenMW/openmw!2198
2 years ago
psi29a 4ecfc0e9ac Merge branch 'torchwood' into 'master'
Don't extinguish held light sources when they're hidden (bug #6910)

Closes #6910

See merge request OpenMW/openmw!2194
2 years ago
psi29a 48c26117da Merge branch 'stagger' into 'master'
Cancel stagger after weapon release animations (bug #6869)

Closes #6869

See merge request OpenMW/openmw!2192
2 years ago
psi29a 3db753a30c Merge branch 'invisibility' into 'master'
Don't headtrack or greet magically hidden actors (bug #5978)

Closes #5978

See merge request OpenMW/openmw!2196
2 years ago
Alexei Kotov 55f34f4f0d Delay any quick key use while the player isn't ready (bug #6054) 2 years ago
Alexei Kotov 88bd3d559a Don't headtrack or greet magically hidden actors (bug #5978) 2 years ago
Alexei Kotov 94dfcdd062 Don't extinguish held light sources when they're hidden (bug #6910) 2 years ago
Alexei Kotov 16e373f30e Make enchanted item casting use accurate aiming for 1 frame (bug #6909) 2 years ago
Alexei Kotov a2c5161ac4 Cancel stagger animation when an attack ends (bug #6869) 2 years ago
psi29a c54822acf9 Merge branch 'locale_menu' into 'master'
Add a way to configure locale settings in-game

See merge request OpenMW/openmw!2179
2 years ago
Andrei Kortunov 351ce94f56 Make ComboBox usage consistent 2 years ago
Andrei Kortunov 4ac3c347ad Add a None item for cases when there is no secondary localization 2 years ago
Andrei Kortunov cf90581995 Set ComboBox value prior to interactive MessageBox 2 years ago
Andrei Kortunov cb64f49ba1 Allow to configure locales via settings menu 2 years ago
Andrei Kortunov 8ff64ca176 Add a default way to store arrays in the settings.cfg 2 years ago
psi29a f315afbcce Merge branch 'character_string_view' into 'master'
Use string_view in the CharacterController

See merge request OpenMW/openmw!2189
2 years ago
psi29a 59f1bcc966 Merge branch 'quickerkeys' into 'master'
Allow activating quick keys menu in menus (bug #6898)

Closes #6898

See merge request OpenMW/openmw!2178
2 years ago
Evil Eye 55134d1e31 Use string_view in the CharacterController 2 years ago
psi29a 26bd907b0b Merge branch 'hdr_quick' into 'master'
Fix auto exposure

See merge request OpenMW/openmw!2174
2 years ago
Alexei Kotov 45a94bdf32 Merge branch 'no_hugs' into 'master'
Don't allow non-bipedal actors to use non-weapon animations while moving

Closes #6868

See merge request OpenMW/openmw!2153
2 years ago
psi29a d43e85051f Merge branch 'walkwhenyoucantride' into 'master'
Revert MR 2048

See merge request OpenMW/openmw!2175
2 years ago
psi29a 17a0063a7c Merge branch 'async_delete_animation' into 'master'
Destruct animation asynchronously when unloading a cell

See merge request OpenMW/openmw!2177
2 years ago
psi29a bbcf7809f0 Merge branch 'gui_cleanup' into 'master'
GUI cleanup

See merge request OpenMW/openmw!2169
2 years ago
psi29a 843728aadb Merge branch 'breakingcharacter' into 'master'
Make the character controller less miserable, round 5: landing animation

See merge request OpenMW/openmw!2176
2 years ago
Alexei Kotov f99bcd7ccf Fix local map viewing distance lower bound 2 years ago
Alexei Kotov ae4df2e038 Only close quick keys-related modals when the menu is closed 2 years ago
Alexei Kotov 80a2ef29ad Allow activating quick keys menu in menus 2 years ago
psi29a e2b245d3b7 Merge branch 'issue_6901' into 'master'
Fix Morrowind.exe soul gem usage discrepancy #6901

See merge request OpenMW/openmw!2181
2 years ago
psi29a 4e1b5f9761 Merge branch 'sky_fix' into 'master'
Fix sky blending when sky is toggled

See merge request OpenMW/openmw!2185
2 years ago
glassmancody.info 299735ba4d fix sky rtt traversing sky when sky disabled 2 years ago
myrix 782cb7699d use std::string, no unlocalized message, show soul gem id 2 years ago
myrix 3698d96b46 use ciCompareLen, move checks to Miscellaneous::use and ActionSoulgem 2 years ago
myrix 8817f802cb message when using empty soul gems, using preferentially filled ones with equip command 2 years ago
elsid 0614b82452
Restore UnrefQueue to destruct animation asynchronously 2 years ago
elsid 1e7989c5e5
Remove animation objects from scene outside destructor 2 years ago