Commit Graph

20081 Commits (a90e3b8c3b407899255ab9b9e1c42394c488b756)

Author SHA1 Message Date
elsid 3c9dbb11cc
Use ESM::RefId as key for SavingState::mSubRecords 2 years ago
elsid dfcea389be
Add helper functions for string comparison to RefId 2 years ago
Evil Eye b762807dfb Reopen audio device on disconnect 2 years ago
Evil Eye 754dac6103 Copy alext.h from OpenAL Soft 1.23 2 years ago
Cédric Mocquillon d30deef4b5 Use the right archive type to load bsa according to their type 2 years ago
Cédric Mocquillon 974799c011 Handle DX10 case of ba2 format 2 years ago
Cédric Mocquillon c1fbe90953 Handle GNRL case of ba2 format 2 years ago
psi29a 340a2aa826 Merge branch 'ref_id_cmp_string_view' into 'master'
Support RefId comparison with std::string_view

See merge request OpenMW/openmw!2784
2 years ago
psi29a 3d8acf17bd Merge branch 'shadervisitor' into 'master'
Attach shaders to geometry that lacks a stateset if necessary (bug #7251)

See merge request OpenMW/openmw!2782
2 years ago
psi29a 09c784c840 Merge branch 'bullettime' into 'master'
Don't combine static node collision geometry (bug #6027)

Closes #6027

See merge request OpenMW/openmw!2779
2 years ago
jvoisin 136a3c6f77 Merge branch 'cs_cleanup' into 'master'
Cleanup inheritance and id related editor code

See merge request OpenMW/openmw!2781
2 years ago
elsid 2fcb94064d
Support RefId comparison with std::string_view 2 years ago
Alexei Kotov 7fd9b27b54 Don't combine static node collision geometry (bug #6027) 2 years ago
elsid c03d3360d9
Remove redundant virtual modifiers, add override and final modifiers 2 years ago
Alexei Dobrohotov 6aef366fd3 Attach shaders to geometry that lacks a stateset if necessary 2 years ago
psi29a a9fdb51041 Merge branch 'fix_lua_memoryleak' into 'master'
Fix Lua memory leak (#7128)

Closes #7128

See merge request OpenMW/openmw!2774
2 years ago
elsid a09612264c
Fix setRecordId overload declaration
To match other declarations arguments order.
2 years ago
Alexei Dobrohotov 540fa00f12 Don't use ESM4::Lighting fog power as fog density 2 years ago
Petr Mikheev b0a6e4e510 [Lua] Add memory usage test 2 years ago
Cody Glassman 924ba11826 Default shader at root
Assign a default shader to the scene root, otherwise objects without an assigned shader will use the FFP. An example of this is a trishape with no material, resulting in an empty stateset on the drawable level.
2 years ago
psi29a 2aac6abb85 Merge branch 'sun_writes' into 'master'
Sun flickering on Mac (part of #7052)

See merge request OpenMW/openmw!2768
2 years ago
psi29a e8e97679f7 Merge branch 'vsync' into 'master'
Add support for non-adaptive VSync

Closes #7129

See merge request OpenMW/openmw!2769
2 years ago
uramer 552614768f Fix clang format 2 years ago
Andrei Kortunov be488649c3 Add support for non-adaptive VSync (feature 7129) 2 years ago
Andrei Kortunov 83d15ef786 Fix Clang-Format complaints 2 years ago
Alexei Kotov c3c61e1cd3 Merge branch 'conjure_cheap_tricks' into 'master'
Increase priority of Bound and Summon spells

Closes #2623

See merge request OpenMW/openmw!2745
2 years ago
Cody Glassman fb5979312f fix sunglare flash, make sure all bound render targets have color masks set 2 years ago
psi29a 8651ea4412 Merge branch '7214-add-searching-to-ingame-console' into 'master'
Searching in the in-game console

Closes #7214

See merge request OpenMW/openmw!2759
2 years ago
psi29a c02a159a26 Merge branch 'shader_refactor_v2' into 'master'
Shader refactor

See merge request OpenMW/openmw!2667
2 years ago
Cody Glassman ac4787aeec shade refactor 2 years ago
psi29a 99acfdccb8 Merge branch 'rm_id_accessor' into 'master'
Remove redundant IdAccessor type

See merge request OpenMW/openmw!2764
2 years ago
Evil Eye 702de406ff Take skill into account when summoning weapons 2 years ago
Evil Eye ad76b0374a Increase priority of Bound and Summon spells 2 years ago
elsid 4ed0960856
Remove redundant IdAccessor type
Use overloaded free functions instead.
2 years ago
Petr Mikheev 1c2f24d1ca Remove unused searchInContainers in WorldModel::getPtr 2 years ago
Petr Mikheev 47b7c71c73 Remove unused functions 2 years ago
Shihan42 902cad77c8 Resolve minor errors 2 years ago
Shihan42 274afff5c3 Minimal length of search string is now 1 2 years ago
Shihan42 b83cf9a92e Search is case-insensitive 2 years ago
Shihan42 ef879b5865 Rewriting the search methods 2 years ago
Shihan42 54f1f380e1 Add complete search functionality for forward and backward searching 2 years ago
Shihan42 b80556b5af Add buttons to search for next and previous occurrence 2 years ago
Shihan42 63659224fd Add new EditBox for searching to console layout 2 years ago
Cédric Mocquillon 6e23ad82d5 Load esm files from vfs 2 years ago
psi29a a43b6fba4b Merge branch 'fix_7223' into 'master'
Fix #7223

Closes #7223

See merge request OpenMW/openmw!2736
2 years ago
psi29a 0f331a4fc5 Merge branch 'lua_callback' into 'master'
Fix potential memory leak in LuaUtil::Callback

See merge request OpenMW/openmw!2733
2 years ago
Petr Mikheev 0c3237ad78 Fix #7223 2 years ago
Evil Eye f5c5ebc1dc Prevent consumption of ingredients that don't have a first effect 2 years ago
psi29a 0ed1310417 Merge branch 'fix_fog_state_load' into 'master'
Fix loading fog state

See merge request OpenMW/openmw!2743
2 years ago
elsid b5ec584be2
Replace ESM::RefId::sEmpty by default constructed RefId where possible
Static const is only required to provide a reference or a pointer when it is not
possible with default constructed temporary.
2 years ago
elsid 8a62a4fe4d
Support dump for ESM3 CSTA record in esmtool 2 years ago
elsid 28f7a89530
Reuse dtNavMeshQuery
To avoid redundant allocations.
2 years ago
elsid 540ee5399c
Do expensive navmesh calls on timer
Reducing the number of them on each frame.
2 years ago
psi29a d846a9fc15 Merge branch 'cs_optimize_saving' into 'master'
Fix editor saving performance

See merge request OpenMW/openmw!2741
2 years ago
elsid e618026c69
Use ESM::RefId as index key in collections 2 years ago
elsid b2299ef914
Optimize saving in editor 2 years ago
elsid 8383fa3547
Log time spent on document operations in editor 2 years ago
psi29a 18d488d968 Merge branch 'ref_id_class' into 'master'
Convert RefId to class

See merge request OpenMW/openmw!2739
2 years ago
elsid 996153f78d
Convert RefId to class 2 years ago
elsid b6a2fd8fc1
Simplify InfoCollection
There was additional logic to create topic infos index by topic id to make
getTopicInfos and removeDialogueInfos functions faster. In practice it makes
loading slower.

Move infos index by topic to CSMWorld::Data and use only on loading.
2 years ago
elsid de24cdc12c
Log content files loading time by editor 2 years ago
psi29a a0cea6569b Merge branch 'took_an_arrow_to_the_disposition_cap' into 'master'
Cap temporary disposition gain and compute permanent changes accordingly

Closes #7224

See merge request OpenMW/openmw!2734
2 years ago
Petr Mikheev eceeb15ee5 Fix bug in lua_ui/content.lua: getmetatable(ui.content{}) shouldn't return a global mutable table 2 years ago
Petr Mikheev 65885d994f Don't expose LuaUtil::Callback to lua 2 years ago
Evil Eye 0aa4235096 Cap temporary disposition gain and compute permanent changes accordingly 2 years ago
Petr Mikheev 71ba7b88e2 Move asyncpackage from apps/openmw/mwlua to components/lua 2 years ago
elsid 6d261d38dd
Add functions to read and write ESM::RefId and use them
To be later changed with another implementation.
2 years ago
psi29a bf0da418f9 Merge branch 'feet_stay_wet' into 'master'
Use the teleported Ptr to determine if water walking should be canceled

Closes #7227

See merge request OpenMW/openmw!2731
2 years ago
Evil Eye 8cabc1bf3b Use the teleported Ptr to determine if water walking should be canceled 2 years ago
elsid 80e6d6cbe3
Support variable size strings in ESM3 2 years ago
elsid beb017e699
Do not truncate too long strings on writing ESM 2 years ago
elsid 12d36fb1d7
Add missing include 2 years ago
elsid 076e772e3d
Use shared locks in physics system when using multithreaded bullet 2 years ago
psi29a bfb6bab33b Merge branch 'luaclothingbinds' into 'master'
Lua API for Clothing records

See merge request OpenMW/openmw!2723
2 years ago
Alexei Kotov 09716c644e Assault victims are always aware of the committed crime (bug #7064) 2 years ago
Kindi 4734504e2c Lua binding for Clothing 2 years ago
elsid 1e9e7b7607
Add tests to save and load some ESM3 records 2 years ago
elsid 2e64155c0f
Use signed type for left record and files size in ESM3 reader context
Otherwise reading some of the records like ESM::CellRef without a subrecord
after could lead to underflow of ESM_Context::leftRec which makes
ESM::ESMReader::hasMoreSubs to return true and load hangs for a while trying to
read the same subrecord many times.

Fix ESM::Variant tests since it's now required to have a record for any ESM
data. Add 16 (size of record header) to all expected data sizes.
2 years ago
psi29a f87b9e7bcb Merge branch 'postprocesshud' into 'master'
Improve post-process HUD search field usability (#7198)

Closes #7198

See merge request OpenMW/openmw!2717
2 years ago
psi29a 8040d7a72a Merge branch 'hopechess' into 'master'
Unequip the weapon only after finishing the attack (bug #4610)

Closes #4610

See merge request OpenMW/openmw!2719
2 years ago
Alexei Kotov 0485b23b5f Reimplement region for TES3 cells 2 years ago
Alexei Kotov 0f7822fff8 Unequip the weapon only after finishing the attack (bug #4610) 2 years ago
Alexei Kotov 1df5fd341b Don't override post-processing HUD search field focus 2 years ago
Alexei Kotov 3b8001d55d Make post-processing HUD search case-insensitive 2 years ago
psi29a a31d381611 Merge branch 'esm_format_version' into 'master'
Name all custom ESM format versions and add tests

See merge request OpenMW/openmw!2712
2 years ago
elsid 080700f8fe
Name all custom ESM format versions and add tests 2 years ago
psi29a 5eba755174 Merge branch 'forwardtothepast' into 'master'
Support /-separated big effect icon paths

See merge request OpenMW/openmw!2711
2 years ago
psi29a 886600a1dd Merge branch 'consoledisposal' into 'master'
Check if the console's selected object is available (bug #5870)

Closes #5870

See merge request OpenMW/openmw!2713
2 years ago
psi29a d3874644c1 Merge branch 'oripaging' into 'master'
Try printing template textures if instance textures are unavailable for any reason

See merge request OpenMW/openmw!2709
2 years ago
Alexei Kotov 7b62d47abc Support /-separated big effect icon paths 2 years ago
Andrei Kortunov 5836bd8d87 Remove redundant include 2 years ago
Alexei Kotov e96448d66f Use model template as a fallback in BetaComment 2 years ago
Alexei Kotov f356d0a2fc Check if the console's selected object is available (bug #5870) 2 years ago
psi29a b385f27f86 Merge branch 'console_history' into 'master'
Remembering console commands between sessions

Closes #7125

See merge request OpenMW/openmw!2603
2 years ago
Kindi 044d82a842 Remembering console commands between sessions 2 years ago
psi29a f14031b30b Merge branch 'ori' into 'master'
Print bound textures in BetaComment (feature #7194)

See merge request OpenMW/openmw!2705
2 years ago
Alexei Kotov 192f79841b Print bound textures in BC (feature #7194) 2 years ago
Alexei Kotov 5340c2c816 Fix Lua ingredient bindings 2 years ago
elsid d20b05c7fb
Support reading specific nif files from archive by niftest 2 years ago
elsid 2c43a8558a
Add option to disable debug log for unsupported nif files
It becomes quite extensive and not very useful when loading oblivion content
files.
2 years ago