Commit Graph

16138 Commits (deac2abc0f5f164866245377210a9d9edb4d151b)

Author SHA1 Message Date
Andrei Kortunov 058bbf4b0f
Merge pull request #2620 from elsid/fix_cage_door_rotation
Rotate door object using direct rotation order once
5 years ago
Brouilles 3889c0fa7b Add QTranslator support for launcher
Add French translation for launcher

Clean launcher main.cpp (appTranslator.load)

Remove french translation

Remove string translation file

Update AUTHORS.md
5 years ago
Andrei Kortunov ae80d8e490
Merge pull request #2618 from elsid/fix_rope_bridge
Fix objects culling for recast mesh tiles (bug #5216)
5 years ago
Alexei Dobrohotov c01324fdb2
Merge pull request #2613 from akortunov/warnfix3
Fix GCC9 warnings about implicit declarations
5 years ago
elsid 3cfd5fca4e
Rotate door object using direct rotation order once
Instead of rotating using inverse and then applying the direct rotation.
To properly update object in navigator.
5 years ago
elsid 7ec5a20c64
Filter recast mesh triangles by global bounding box
Except heightfields to reduce slow down.
5 years ago
Nikolay Kasyanov 6ef94c20b3 Fix macOS packaging on CMake 3.15
It looks like component names have become case sensitive.
5 years ago
Andrei Kortunov 1b98fe4395 Fix GCC9 warnings about implicit declarations 5 years ago
Andrei Kortunov 407a737fe4
Merge pull request #2611 from Capostrophic/effect
[Regression] Make sure instant FX abilities get detected when they're supposed to
5 years ago
Bret Curtis 62b9f1a2f7
Merge pull request #2610 from akortunov/warnfix2
Fix some build warnings
5 years ago
Capostrophic 77f076ff11 Make sure instant FX abilities get detected when supposed 5 years ago
Capostrophic 0adc2df65f Make SameFaction work (bug #5213) 5 years ago
Capostrophic eed92c824e Make sure hand-to-hand shortcut is not saved 5 years ago
bzzt f09125fc93 perf regression fix 5 years ago
Andrei Kortunov d0643d266a Do not use fallthrough in switches 5 years ago
Andrei Kortunov 73f43ba750 Do not use screen fading during game loading if there is no current cell (bug #5211) 5 years ago
Andrei Kortunov 4118b20608 Allow ActionOpen and ActionTalk only for player (bug #5210 5 years ago
Alexei Dobrohotov 4208f10e81
Merge pull request #2600 from akortunov/master
Take in account caster's race height when launch magic bolt
5 years ago
elsid f156c9522e
Avoid virtual call in SoundManager dtor 5 years ago
elsid 8083df4567
Avoid virtual call in Animation dtor 5 years ago
elsid b4794e8ca5
Avoid virtual call in OpenAL_Output dtor
/home/elsid/dev/openmw/apps/openmw/mwsound/openal_output.cpp:1492:5: warning: Call to virtual function during destruction [clang-analyzer-optin.cplusplus.VirtualCall]
    deinit();
    ^
/home/elsid/dev/openmw/apps/openmw/mwsound/openal_output.cpp:1492:5: note: This destructor of an object of type '~OpenAL_Output' has not returned when the virtual method was called
/home/elsid/dev/openmw/apps/openmw/mwsound/openal_output.cpp:1492:5: note: Call to virtual function during destruction
5 years ago
elsid b55f5ab648
Avoid virtual call in WindowManager ctor
/home/elsid/dev/openmw/apps/openmw/mwgui/windowmanagerimp.cpp:244:9: warning: Call to virtual function during construction [clang-analyzer-optin.cplusplus.VirtualCall]
        loadUserFonts();
        ^
/home/elsid/dev/openmw/apps/openmw/mwgui/windowmanagerimp.cpp:244:9: note: This constructor of an object of type 'WindowManager' has not returned when the virtual method was called
/home/elsid/dev/openmw/apps/openmw/mwgui/windowmanagerimp.cpp:244:9: note: Call to virtual function during construction
5 years ago
elsid cf01df31be
Remove unused variable initialization
/home/elsid/dev/openmw/apps/openmw/mwrender/animation.cpp:518:28: warning: Value stored to 'material' during its initialization is never read [clang-analyzer-deadcode.DeadStores]
            osg::Material* material = static_cast<osg::Material*>(stateset->getAttribute(osg::StateAttribute::MATERIAL));
                           ^
/home/elsid/dev/openmw/apps/openmw/mwrender/animation.cpp:518:28: note: Value stored to 'material' during its initialization is never read
5 years ago
Andrei Kortunov 6861d9d5e5
Merge pull request #2510 from elsid/ai_open_door
Open door when it is on the way to a next path point (bug #5073)
5 years ago
Andrei Kortunov d1e0fa575e Take in account caster's race height when launch magic bolt (bug #5209) 5 years ago
Andrei Kortunov 6554130f6f
Merge pull request #2594 from Capostrophic/summonsummon
Minor summoned creature cleanup fixes
5 years ago
Andrei Kortunov 8dbbe42f21 Add missing isNpc() check (bug #5206) 5 years ago
Bret Curtis 454b9f1964
Merge pull request #2597 from akortunov/coverity
CoverityScan fixes, part 2
5 years ago
Alexei Dobrohotov f332df8839
Fix terrain shadows checkbox loading 5 years ago
Andrei Kortunov b21dc17538 Attempt to shut up CoverityScan warnings about tainted values 5 years ago
Alexei Dobrohotov b5992b380e
Merge pull request #2586 from unelsson/allowselectionalledges
Allow selecting cell edges everywhere
5 years ago
Andrei Kortunov b210e99abc Avoid divizion by zero 5 years ago
Nelsson Huotari 120583f443 optimize isInCellSelection calls 5 years ago
Andrei Kortunov 3970baeb84 Fix possible usage of destroyed variable 5 years ago
Andrei Kortunov 34873b6065 Fix dead code 5 years ago
Andrei Kortunov 5561eb5415 Do not discard division reminder 5 years ago
Andrei Kortunov 238dcdbbd4 Fix copy-paste error 5 years ago
Andrei Kortunov 5c6ca82c45 Clamp fallback value from config 5 years ago
Andrei Kortunov 079c77ff22 Avoid zero division 5 years ago
Andrei Kortunov ca2a524a5f Avoid null pointer dereference 5 years ago
Andrei Kortunov af41e9acc1 Initialize variables to avoid undefined values 5 years ago
Capostrophic 120b7dcd2f Clean up summoned creatures when corpses are disposed 5 years ago
Capostrophic 1097c2cfc4 Minor summoned creature cleanup fixes 5 years ago
Capostrophic 9c78e8cc56 Make sure movement not controlled by animation has valid velocity
Fixes erroneously always normalized movement speed in first person
5 years ago
Alexei Dobrohotov a1ed0144e1
Merge pull request #2590 from akortunov/guifixes
UI textures scaling corrections
5 years ago
Andrei Kortunov 1835a39c57 Do not show shields in the 1st-person view when shield sheathing is enabled 5 years ago
Andrei Kortunov 6a625b1dac Scale magic items frames in the quick keys menu 5 years ago
Andrei Kortunov f335044026
Merge pull request #2587 from Capostrophic/sheathing
Minor sheathing-related changes
5 years ago
Capostrophic 5a5bc0bef8 Uncheck sheathing checkboxes automatically when appropriate
Fix their order and bogus saveSettingBool calls
5 years ago
Andrei Kortunov 6eb8e0cf4d Display magic effects according to research page 5 years ago
Capostrophic 5eab913a9c Make additional anim sources dependency more obvious 5 years ago
Capostrophic 7885b8c75e Sheathing-related changes
Add weapon and shield sheathing and use additional anim sources checkboxes into the Advanced tab of the launcher
Remove outdated information from the documentation
5 years ago
Nelsson Huotari 45d43045eb Remove unused std::string 5 years ago
Nelsson Huotari aeb0ccff90 Allow selecting cell edges everywhere 5 years ago
Nelsson Huotari 8f6dc78217 Get vertex height from data, if not available in visible cells. 5 years ago
Nelsson Huotari 9677203215 Don't allow vertex selection outside visible cells 5 years ago
Nelsson Huotari d186bcb46f Update selection during transient edit, clear to a single function. 5 years ago
Andrei Kortunov 678d2e6e7d
Merge pull request #2584 from Capostrophic/shadows
Resolving 0.46.0 release shadow-related blockers
5 years ago
Alexei Dobrohotov 5ae91465ee
Fix gamepad zoom value calculation 5 years ago
Capostrophic 208608cbd0 Fix a typo and a mistake 5 years ago
Capostrophic 0e2380d471 Add the most basic shadow settings into the launcher 5 years ago
Alexei Dobrohotov b700c98e8f
Merge pull request #2581 from akortunov/deceleration
Implement actors movement deceleration (feature #4544)
5 years ago
Bret Curtis ec9a593fc3
Merge pull request #2578 from akortunov/mouse
Implement mouse wheel bindings (bug #2679)
5 years ago
Andrei Kortunov 61ab7f3c1e Implement actors movement deceleration (feature #4544) 5 years ago
Michael Stopa e4bec88a68 Implement mouse wheel bindings (bug #2679) 5 years ago
Alexei Dobrohotov 7328db4d6b
Fix small typo in body part record verifier 5 years ago
Bret Curtis 0ec4e51922
Revert "Store raw data about fog of war instead of RGBA images" 5 years ago
Bret Curtis 36614dba2a
Merge pull request #2453 from akortunov/fog_compression
Store raw data about fog of war instead of RGBA images
5 years ago
Andrei Kortunov 45ab6e1430 Implement UTF-8 support for script parser (bug #4598) 5 years ago
Alexei Dobrohotov 7488f402d5
Merge pull request #2576 from akortunov/warnfix
Fix warnings about variable re-declaration
5 years ago
Andrei Kortunov d278e5d4af Fix warnings about variable re-declaration 5 years ago
Capostrophic c6e431d862 Avoid copying strings in SearchVisitor and readReferenceCollection 5 years ago
Capostrophic ee4fa93bd4 Rework prevent merchant equipping setting again 5 years ago
Andrei Kortunov 15cd305253 Reset idle animation only when play movement animation (bug #5196) 5 years ago
Alexei Dobrohotov 1f616c5613
Merge pull request #2569 from akortunov/holstered_shield
Ignore shields sheathing for creatures without sheathing bone
5 years ago
Andrei Kortunov b27089f7be
Merge pull request #2560 from Capostrophic/geteffect
Fix GetEffect result when running on dead actors
5 years ago
Andrei Kortunov 7cd4fa4706 Ignore shields sheathing for creatures without sheathing bone 5 years ago
Bret Curtis 9f039fac87
Merge pull request #2520 from unelsson/transientlandshapeedit
[Review phase] Editor: Transient land shape editing
5 years ago
Bret Curtis 2040ca5637
Merge pull request #2555 from akortunov/encoding
Encode ID's in all places to UTF-8
5 years ago
Bret Curtis afb218fe29
Merge pull request #2564 from Capostrophic/enchant
Remove on-strike enchantment support for ranged weapon types (bug #5190)
5 years ago
Bret Curtis 39fd12c065
Merge pull request #2568 from elsid/settings_parser_tests
Settings parser tests
5 years ago
Nelsson Huotari c957f0544c Remove unneeded brackets 5 years ago
Nelsson Huotari fdc73b87ba Remove includes that aren't needed any more 5 years ago
Nelsson Huotari 9e5db10288 const ref float -> float 5 years ago
Nelsson Huotari ac5b356e8d Always initialize landShapeNew 5 years ago
Nelsson Huotari 6f9f59dd58 declare cellId and cellCoords in smallest possible scope 5 years ago
Nelsson Huotari fdcc7fa1d7 0 to nullptr 5 years ago
Nelsson Huotari a13edbdb42 Bump shape calculation to function 5 years ago
Nelsson Huotari 8d3e7f2815 fix normals at cell edges, better coding standards 5 years ago
Nelsson Huotari 0f6ddfe8e6 change include, cleanup 5 years ago
Nelsson Huotari 12349f4e48 cleanup 5 years ago
Nelsson Huotari c556885d71 remove unused Qt signal 5 years ago
Nelsson Huotari deb122ffdb Add optional post-processing (smooth/rough), add/fix tooltips. 5 years ago
Nelsson Huotari 2d34b63b0b Fix logic of land loading when no cell, land or landdata. Fix also draw. 5 years ago
Nelsson Huotari 71eff60d22 Do in-class init. if possible, mLayoutSliderSize -> layoutSliderSize 5 years ago
Nelsson Huotari a1348d94f9 add missing final specifiers 5 years ago
Nelsson Huotari 16ba32ffd5 assignments to member initialization list 5 years ago
Nelsson Huotari c2de645c8c override, virtual -> final, remove unused variables, public to private. 5 years ago
Nelsson Huotari 6a3070e680 Fix shape brush setting description 5 years ago
Nelsson Huotari 8a9ca0b3ec Generate new WNAM record based on new land heights, add comments 5 years ago
Nelsson Huotari 96be82a047 Remove terrain vertex selection and brush button when exiting editMode 5 years ago
Nelsson Huotari 8acfa2600f Terrain shape editing related fixes 5 years ago
Nelsson Huotari 5b9debc554 use enum for mbrushshape initialization 5 years ago
Nelsson Huotari 4f9ec24e41 use enum for brushshape at scenetoolshapebrush 5 years ago
Nelsson Huotari bae8636ec0 Fix brusshape enum values 5 years ago
Nelsson Huotari c031543420 use enum for brush shapes 5 years ago
Nelsson Huotari 388edfd8cc change manual memory management to std::unique_ptr 5 years ago
Nelsson Huotari da4abcd7c1 std::set to std::unique and erase. 5 years ago
Nelsson Huotari 6a44cae572 white iterator loop to C++11 range-based for loop. 5 years ago
Nelsson Huotari bccf36fdbc Convert normals calculations mostly to osg::Vec3f 5 years ago
Nelsson Huotari 45b0f034c3 Split complex if-logic into multiple reasonably named functions 5 years ago
Nelsson Huotari 0ce971c1bb Revert back to less aggressive component-level changes. 5 years ago
Nelsson Huotari 69083369f8 use std::fill instead of for 5 years ago
Nelsson Huotari 3599e804e1 Fix the default value of mBrushSize 5 years ago
Nelsson Huotari dc7dc93320 Remove unused functions, improve formatting, handle terrain edit click 5 years ago
Nelsson Huotari 1046d57190 Remove unneeded forward declarations. 5 years ago
Nelsson Huotari 55b3fd4418 Use float calculations for circle brush, keep tool options in memory. 5 years ago
Nelsson Huotari 23e7c71a5a Tighter corner checking, clean-up, landSize to ESM::Land::LAND_SIZE. 5 years ago
Nelsson Huotari 8f3c22ccc3 Remove TerrainShapeMode::fixEdges 5 years ago
Nelsson Huotari 1a3fc435b9 Fix alterHeight bugs, don't let broken land edit pass. 5 years ago
Nelsson Huotari ff18595a86 Reduce code duplification, add bool value to limiting 5 years ago
Nelsson Huotari 60c0a25004 Fix smooth tool and flatten tool. Default tool strength to 8. 5 years ago
Nelsson Huotari 54e13954e8 Improve land steepness limiting code 5 years ago
Nelsson Huotari 4a2d8aaf97 Handle mBrushSize 1. 5 years ago
Nelsson Huotari 16138fc896 Transient land shape editing 5 years ago
Bret Curtis 262d87846c
Merge pull request #2047 from akortunov/holstered_shield
Shields holstering support
5 years ago
Andrei Kortunov d3a3b2f1f6 Shields holstering support (feature #5193) 5 years ago
elsid 862f50346c
Add tests for settings parser 5 years ago
Bret Curtis 36119ec2c4
Merge pull request #2562 from Capostrophic/weather
Weather-related fixes (incl. bug #4783)
5 years ago
Alexei Dobrohotov 678970b01d
Merge pull request #2565 from elsid/update_recastnavigation
Update recastnavigation
5 years ago
elsid 045ceeac11
Replace foreach macro by for-loop 5 years ago
elsid 07660b5605
Fix detournavigator tests 5 years ago
Alexei Dobrohotov 5d5ec1cf63
Merge pull request #2550 from elsid/fix_path_rebuild
Fix rebuild path for walking actors (Bug #5181)
5 years ago
Capostrophic fc7b4d73a8 Remove on-strike enchantment support for ranged weapon types (bug #5190) 5 years ago
Alexei Dobrohotov 85a5355e5c
Merge pull request #2563 from akortunov/ammofix
Fix OnStrike bows charges
5 years ago
Andrei Kortunov dd781b3da2 Fix OnStrike bows charges (regression #5191) 5 years ago
elsid e4d0af6a6d
Use z coordinate for path distance when diff by z is greater then actor height 5 years ago
Capostrophic 43b1b9dfa2 Weather-related fixes (incl. bug #4783)
Simplify some calculations
Fix Blizzard weather direction
Fix sky direction during storm
5 years ago
elsid 81832f8e17
Reuse distance functions 5 years ago
bzzt 1316816148 fix #5176 5 years ago
Alexei Dobrohotov dec64a7fba
Fix typos in invalid spell effect warnings, clarify them 5 years ago
Andrei Kortunov 6e6d6d7bda Use forward declaration 5 years ago
Andrei Kortunov 606b73ee96 Use rain settings from openmw.cfg (bug #4262) 5 years ago
Capostrophic bc5d54a161 Fix GetEffect result when running on dead actors 5 years ago
Andrei Kortunov 31e78ed41f Rework 'prevent merchant equipping' feature 5 years ago
Capostrophic ce943b4f9e Make enchantments affect all actors with an inventory (bug #5186) 5 years ago
Andrei Kortunov 19e9ece291
Merge pull request #2551 from Capostrophic/onpcequip
Set OnPCEquip properly when a race can't equip an item (bug #5182)
5 years ago
Andrei Kortunov 67bef9a3a1
Merge pull request #2554 from Capostrophic/summon
Make sure summoned creatures are removed upon caster death (#5183)
5 years ago
Alexei Dobrohotov ccb557edf0
Merge pull request #2552 from akortunov/greeting
Split greetings from AiWander
5 years ago
Alexei Dobrohotov cdbe58c33a
Merge branch 'master' into windspeed 5 years ago
Andrei Kortunov 2fc819cdae Encode ID's in all places to UTF-8 (bug #3977) 5 years ago
Capostrophic e9009f8d10 Make sure summoned creatures are removed upon caster death 5 years ago
Nelsson Huotari 78f2a5181d Default brush size to 1 5 years ago
Nelsson Huotari fbb9800e89 Better terrain texture ID handling 5 years ago
Nelsson Huotari 301c05662b assignment to memb. init. list, publics to private, virtual -> final 5 years ago
Andrei Kortunov 69aceb5c1e Split greetings from AiWander (bug #4594) 5 years ago
Alexei Dobrohotov b7a1e6561b
Merge pull request #2080 from akortunov/recharge
Recharge items outside of player inventory
5 years ago
Capostrophic c718f89325 Set OnPCEquip properly when a race can't equip an item (bug #5182) 5 years ago
Andrei Kortunov c51aba0b13 Recharge items outside of player's inventory (bug #4077) 5 years ago
elsid d1d6ba3ed0
Fix rebuild path for walking actors
Ignore z coordinate for not swimming nor flying actors to calculate
distance from actor destination to last path point. If walking actor
destination point is floating above the ground then a point on navmesh
may be too far away when z coordinate is included. In this case path
will be rebuild on each AI_REACTION_TIME.
5 years ago
Andrei Kortunov f75f9cb337 Use localized faction name when using TFH 5 years ago
Andrei Kortunov f0b73e0a27 Do not store owners for items in container stores (bug #1933) 5 years ago
Andrei Kortunov 2b2f63c919
Merge pull request #2538 from Capostrophic/animation
Use random attack strength if there's no wind up animation (bug #5059)
5 years ago
Alexei Dobrohotov 6f99747fff
Merge pull request #2507 from elsid/door_stuck
Fix actors stuck in closing door (bug #5138)
5 years ago
elsid 7fbc696d44
Change angle direction by rolling dice to avoid rotating door 5 years ago
elsid 6253d2a7ac
Undo door rotation once 5 years ago
Andrei Kortunov ca46da8b04 Do not stack initially added scripted items (bug #5136) 5 years ago
Alexei Dobrohotov e744090339
Merge pull request #2535 from akortunov/activate
Implement vanilla-style AiActivate
5 years ago
Capostrophic 4d381d0804 Use random attack strength if there's no wind up anim (bug #5059) 5 years ago
Andrei Kortunov e5564df8cb Implement vanilla-style wind speed calculations (bug #4449) 5 years ago
Andrei Kortunov 48aba76ce9 Implement vanilla-style AiActivate (bug #4456) 5 years ago
Capostrophic 421a9d2e50 [Regression] Fix pickpocket crashes 5 years ago
Andrei Kortunov b360deaec3 Store raw data about fog of war instead of RGBA images (bug #5108) 5 years ago
Alexei Dobrohotov ac5491b5c2
Merge pull request #2534 from akortunov/toggleview
Improve resurrection handling
5 years ago
Andrei Kortunov eb1245664f
Merge pull request #2533 from Capostrophic/levelledlist
Fix chance none logic for nested levelled lists (bug #5169)
5 years ago
Andrei Kortunov 6450d84473 Improve resurrection handling 5 years ago
Andrei Kortunov 0ff8e83a39
Merge pull request #2532 from Assumeru/undefined
Fix undefined behaviour
5 years ago
Evil Eye 3d3ffdfcd8 override eraseStatic for dialogue 5 years ago
Capostrophic 7c9a9d7de0 Fix chance none logic for nested levelled lists (bug #5169) 5 years ago
Alexei Dobrohotov acc4811d12
Merge branch 'master' into guifixes 5 years ago
Andrei Kortunov 7cb6a9c1e9 Do not allow to use quick keys during chargen 5 years ago
Andrei Kortunov 1bddbbcfa0 Check if related menus are allowed when using cycle hotkeys (bug #5167) 5 years ago
Andrei Kortunov a4d196f33f Force view change when using Force1stPerson and Force3rdPerson commands (bug #5168) 5 years ago
Alexei Dobrohotov fb87778493
Merge branch 'master' into organic-locks 5 years ago
Andrei Kortunov 94a281370f Continue scripts execution after player's death (bug #5166) 5 years ago
Evil Eye 32de86d114 merge master 5 years ago
Evil Eye 7c8b82f45c move locking behaviour to cellref 5 years ago
Andrei Kortunov 85bb4a76f6 Improve faction items handling (bug #5164) 5 years ago
Andrei Kortunov 4a6d2cbaff Do not allow player to take items from evidence chests (bug #3609) 5 years ago
Andrei Kortunov 649a14dfae
Merge branch 'master' into activation 5 years ago
Andrei Kortunov a7cfe5853c
Merge pull request #2522 from Capostrophic/extradata
Refactor NIF extra data and particle modifier handling
5 years ago
Capostrophic 480000da07 Use Open action as fallback for companion activation (bug #5161) 5 years ago
elsid 209e33f5ce
Open door when it is on the way to a next path point 5 years ago
elsid 653a391084
Do not open doors when actor has no path
When actor is not going anywhere it doesn't require to go through doors
so there is no need to open them.
5 years ago
elsid d4b7b3e999
Check for AiPackage type before find nearby door 5 years ago
Capostrophic 790531671a Fix tests 5 years ago
Capostrophic 8baddefdbd Refactor extra data and particle modifier handling
Objects no longer inherit from extra data class
"Controlled" harmful abstraction no longer exists
Introduced NiParticleModifier/NiParticleCollider abstractions
Extra data size reading moved into the base read() method
5 years ago
Evil Eye 85d52ec183 oops 5 years ago
Alexei Dobrohotov 6128279dbf
Merge pull request #2517 from unelsson/terraintextureselection
[Final tests] Editor: Terrain texture selection
5 years ago
Capostrophic 718dbd3f9a Use object ID as the substitution for their name (bug #5158) 5 years ago