Commit Graph

12671 Commits (2311969f05f648e94182caf0e8cca98492ef9811)

Author SHA1 Message Date
Allofich 199607423b Use iMaxActivateDist for AI actors that use Activate packages 9 years ago
Allofich 64d298d2b5 Use raycast distance when player activates trapped object 9 years ago
Allofich 64d53a2314 Avoid double raycasts when using getFacedObject 9 years ago
Allofich 574e40db5e Don't allow telekinesis on activators 9 years ago
scrawl 343dccdbcc Merge pull request #980 from scrawl/voice_fix
Voice fix
9 years ago
scrawl d96e49c04a Do not set change flag when running forEach on an empty cell 9 years ago
scrawl 8f62ea2e80 Fix for "RigGeometry rendering with no skeleton" errors 9 years ago
scrawl b9b73d7b12 Replace "sys::default" with ESM::CellId::sDefaultWorldspace 9 years ago
scrawl 96757a3b7c Fix non-predefined cells not being saved correctly 9 years ago
MiroslavR c8b61cb234 Cache magic effects in MWMechanics::Spells 9 years ago
MiroslavR 700dde116e Show remnant corprus effects in magic window 9 years ago
MiroslavR 54f52f7bae Implement effect removal for abilities (Fixes #3455) 9 years ago
scrawl 252b27f0ef Remove getEyePos() 9 years ago
Allofich b29e9e9c77 Don't allow telekinesis on actors or teleport doors 9 years ago
MiroslavR 72d2daae90 Fix InventoryStore::purgeEffect being reverted by the next recalculation of mMagicEffects 9 years ago
scrawl 528de956da Merge pull request #981 from Allofich/magicka
Fix timing of some magicka calculations
9 years ago
Allofich 2290346296 Fix timing of some magicka calculations 9 years ago
scrawl 5eb6c548d7 Merge pull request #965 from kpp/find_tinyxml
Find tinyxml
9 years ago
scrawl 509e5dfe4d Include cleanup 9 years ago
scrawl 4699a8098b Include fix 9 years ago
scrawl 1739351b7a Remove now unused Sound_Decoder::rewind() 9 years ago
scrawl dc1b010cf0 Don't analyze the loudness for sounds that don't need it 9 years ago
scrawl 965aaebbdb Analyze the loudness data as the stream is decoded for playback
Instead of getting the loudness data for the whole file in advance, we now get it piece by piece as the sound is streamed.

The benefit is that we need to decode the audio just once instead of twice.

We no longer need to rewind() the stream when the first decoding is done, this should hopefully fix bug #3453 .
9 years ago
scrawl fc293aa048 Merge pull request #978 from Allofich/fatigue
Fix update of fatigue display
9 years ago
scrawl 5d9f611869 Merge pull request #979 from MiroslavR/master
Show correct class image in level-up dialog
9 years ago
Allofich 1602eb3de8 Fix so that keepPlayerAlive() will not run twice 9 years ago
Allofich 19a20a6871 Fix update of fatigue display 9 years ago
MiroslavR 7244809c4a Remove redundant part of condition 9 years ago
Marc Zinnschlag 594444a85a Merge remote-tracking branch 'aesylwinn/MultipleDeletion' 9 years ago
MiroslavR 0db3af1b89 ESSImporter: load specialization increases 9 years ago
MiroslavR dfc62c99b4 Show correct class image in level-up dialog (Fixes #3443) 9 years ago
Allofich dc468dd139 Fix magicka and fatigue calculations from fortifying attributes 9 years ago
Allofich 5d3aebd04b Update disposition check between persuasion attempts 9 years ago
terrorfisch be25e2ba75 Make NPCs use both hands in weaponless combat. 9 years ago
Allofich b1be3596dc Cleanup of #include statements 9 years ago
Allofich 4a38fb8650 Use namespace block in aiactivate 9 years ago
scrawl f549b5fb7a Add missing include 9 years ago
scrawl c18de84798 Fix a crash that could occur when two or more plugins move a deleted ref to another cell (Fixes #3446) 9 years ago
scrawl 3ce63c3f6e Merge pull request #967 from Allofich/AIPackageFixes
AI package cleanups
9 years ago
Allofich c2b51112f2 AI package cleanups 9 years ago
scrawl 693d3cea4a Float to surface fix 9 years ago
scrawl b5cb11ff07 Split refreshCurrentAnims into multiple functions 9 years ago
scrawl 372f2e2f18 Merge pull request #962 from Allofich/AIPackageFixes
Duration fixes for Follow and Escort
9 years ago
Allofich 3bebbab78e Duration fixes for Follow and Escort 9 years ago
scrawl 3ec4ee6290 Make a copy of map key to work around it being invalidated (Fixes #3329) 9 years ago
Roman Proskuryakov 28c63aea72 Uses FindTinyXML to find package 9 years ago
Roman Proskuryakov edb41b5b08 Rewrites FindLIBUNSHIELD using LibFindMacros
Renames LIBUNSHIELD_INCLUDE_DIR -> LIBUNSHIELD_INCLUDE_DIRS, LIBUNSHIELD_LIBRARY -> LIBUNSHIELD_LIBRARIES
9 years ago
scrawl 4acfe1a7e4 Move cleanupSummonedCreature to the mechanics manager (Bug #3439) 9 years ago
scrawl 910ad76e29 Remove spell effects when a summoned creature expires (Bug #3439) 9 years ago
scrawl b7e45b046d When a summoned creature dies, wait for its death animation to complete before removing it (Bug #3439) 9 years ago
scrawl a825882c6b Process death events at the end of the death animation (Fixes #1873) 9 years ago
scrawl 37afe966cf Update comment 9 years ago
scrawl b6230bd31f Reject weather dialogue conditions when in an interior cell (Fixes #3437) 9 years ago
scrawl 844cbc5a14 Add isNullAction() method to fix compiler warning 9 years ago
scrawl 7a30ef5cc1 Do not consider actors following the player as hostiles 9 years ago
Marc Zinnschlag 148f2c9539 Merge remote-tracking branch 'aesylwinn/QTimerFix' 9 years ago
scrawl a85932a62b Ignore the collision box offset when launching projectiles (Fixes #3201) 9 years ago
scrawl c6601ab2ab Do not use the collision box offset for combat hit tests (Fixes #3201) 9 years ago
scrawl 8fcc1911d9 Use fCombatDistance as the creature attack range 9 years ago
Aesylwinn f6c3b44cfb Fix QTimer not being stopped in right thread 9 years ago
Daniel Pettersson 943d9d97dc Slowfall now stops momentum when jumping 9 years ago
scrawl a00e4de5c3 Fix another bug related to vanity mode toggle 9 years ago
scrawl c47a679ac9 Fix queueing of vanity mode toggle (Bug #3421) 9 years ago
scrawl ce91637cf9 Do not use/assign the camera distance in first person mode (Fixes #3421) 9 years ago
scrawl 166cced22f Merge pull request #957 from svaante/master
Added 1.5 bonus for ranged weapons when weapons are rated
9 years ago
scrawl a14f1bc222 Merge pull request #954 from Allofich/AIWanderDuration
Improve duration calculations in Wander AI
9 years ago
Aesylwinn ae50300053 Add ability to remove multiple rows in subrecords. 9 years ago
Allofich 55ac1fab68 Change Wander duration to run on a counter 9 years ago
Daniel Pettersson 256439f884 Added 1.5 bonus for ranged weapons when weapons are rated 9 years ago
Marc Zinnschlag 3dce406829 Merge remote-tracking branch 'aesylwinn/FixFocus' 9 years ago
scrawl abcd2219e8 Ignore the calling actor in getEnemiesNearby / getActorsFighting 9 years ago
Aesylwinn 2f39a6e20d Fix camera input not being reset when focus for widget is lost. 9 years ago
Marc Zinnschlag 447ba08be5 Merge remote-tracking branch 'aesylwinn/FixTracking' 9 years ago
scrawl 165f048792 Do not count dead NPCs as observers (Fixes #3434) 9 years ago
Aesylwinn 7657684dad Fix mouse tracking to fix tooltip behavior. Also hide tooltips
when the mouse is moved.
9 years ago
scrawl 12eea9ed69 Remove magic number in getMaxActivationDistance 9 years ago
Marc Zinnschlag b079db7913 Merge remote-tracking branch 'aesylwinn/EditPathgrid' 9 years ago
scrawl 8fb8c2bae5 Fix "part has no parents" warning message caused by nodes being destroyed in the incorrect order 9 years ago
scrawl f417d7780a Fix the enemy nearby check (Bug #3423) 9 years ago
scrawl dfc2f3469a Don't play music if no playlist is set 9 years ago
scrawl f64bc3c7ef Pass the victim to commitCrime on pickpocket detection (Fixes #3424) 9 years ago
scrawl 9eab3b1728 Fix crash in race dialog when no head or hair are available 9 years ago
scrawl a45643f150 Merge pull request #949 from Allofich/master
Fix return values for AITravel
9 years ago
Allofich 065d6a391d Don't repeat sequences of only one non-wander AI 9 years ago
scrawl 2ee414abe4 Merge pull request #943 from kpp/find_bullet
Find bullet
9 years ago
Aesylwinn 3409d8a922 Change pathgrid node movement to be visually consistent, some
renaming
9 years ago
Ben Shealy 5085afa3d7 Moved mechanics code from MWGui::TradeWindow to MWMechanics::Trading 9 years ago
scrawl 3645b3357e Fix improper assignement of spawn point in placeAt for non-actors (Bug #3417) 9 years ago
scrawl ab2089bbf3 Throw an exception if placeAt is passed an invalid direction parameter 9 years ago
scrawl 2ce1da688f ESS-Import: fix handling of first person camera state (Bug #3416) 9 years ago
Roman Proskuryakov 3bcd23022a Rewrites FindBullet using LibFindMacros handling version properly 9 years ago
Aesylwinn 83c86cd1be Implement context-select functionality. 9 years ago
Aesylwinn b83f522ecd Changes to color scheme, slight change to drag indicator,
change tooltip description.
9 years ago
Allofich bce66c629a Change editor-placed AI packages to cycle 9 years ago
scrawl 496cb85b01 Do not cancel Ai packages when on loading (Fixes #3409)
This piece of code was an attempt to fix up save games made before commit d3b76b7006 , but ended up introducing a new bug.
9 years ago
Aesylwinn 90620081c7 Fix handling of deleted pathgrids. 9 years ago
Aesylwinn bded4f86f0 Remove connection number check 9 years ago
scrawl d487007167 Remove debug code 9 years ago
scrawl e396e6f2ea Adjust the eye level for line of sight checks (Fixes #3407) 9 years ago
Aesylwinn ded8862e9d Insert nested rows after selected row, or at start if none selected. 9 years ago
Aesylwinn d0ef95a1e1 Make adjustments to pathgrid modification code. 9 years ago
Aesylwinn 564d0db68c Move pathgrid abstraction handling to save code. 9 years ago
Aesylwinn 239727531f Revert "Fix data corruption issues."
This reverts commit 6199663bd8.
9 years ago
Aesylwinn 9a567b3712 Revert "Fix editor undo for nested data."
This reverts commit 774e1497b6.
9 years ago
Aesylwinn ec90da731c Redo slight change to pathgrid editing controls, lost in revert 9 years ago
Aesylwinn bb81e89c08 Revert "Cleanup and slight change to pathgrid editing controls."
This reverts commit cc4655e9c7.
9 years ago
scrawl a2153a6213 Remove outdated comment 9 years ago
scrawl 5d4f58c828 Fix being unable to activate objects when scripts are disabled
The if statement was a leftover of the previous activate implementation and is no longer needed.
9 years ago
Aesylwinn cc4655e9c7 Cleanup and slight change to pathgrid editing controls.
Now that there is a drag indicator, it is easy to tell if an
operation is active or not.
9 years ago
Aesylwinn 5eaaed05fc Improve mouse pick culling. 9 years ago
scrawl 3f1df4caa6 Don't auto-equip ammunition (Fixes #3401) 9 years ago
Aesylwinn 18897348d7 Fix weapon values not being properly set in editor. 9 years ago
Aesylwinn 774e1497b6 Fix editor undo for nested data. 9 years ago
Aesylwinn 6199663bd8 Fix data corruption issues.
- Point connection count not being set
- Nested undo not restoring table (for pathgrid scene editing, editor
    nested undo is still broken)
9 years ago
Aesylwinn 799ed300ea Use cell coordinates class, fix undo description. 9 years ago
scrawl 703dba902b Set the shader path in OpenCS 9 years ago
Aesylwinn b86250036c Add ability to add pathgrids. 9 years ago
scrawl 44dd67ee0f Fix a potential crash for lights without a model that have "off by default" flag set 9 years ago
scrawl a9561f738a Move RemoveParticlesVisitor to animation.cpp 9 years ago
scrawl 0efbdb25ee Improve const-correctness in Animation 9 years ago
scrawl 3749821809 Choose a random death animation for actors that start the game as dead (Fixes #3397) 9 years ago
Aesylwinn 1781aaaa27 Drag indicator. 9 years ago
Aesylwinn e8e915bcde Share selection functionality with instance editing mode. 9 years ago
Aesylwinn ae0d2c3b9c Refactor edit mode. Remove essentially duplicate function. 9 years ago
Aesylwinn 13c2161b27 Fix memory leak, remove empty if statement, change dynamic_cast
to static_cast
9 years ago
Aesylwinn 5a7ebab694 Fix forward declaration. 9 years ago
Aesylwinn 9d02286592 Remove unused forward declaration. 9 years ago
Aesylwinn a3363bc098 Fix and simplify pathgrid update handling, only recreate geometry
once per frame, and a few naming changes.
9 years ago
Aesylwinn d2d22e2f23 Clamp node positions in exterior cells. 9 years ago
Aesylwinn cd3b96b3e8 Change interaction mask back to original and place required masks in
PathgridMode.
9 years ago
Aesylwinn aea2380c2b Add raytrace to dragCompleted. Implement node drag connection,
node and edge removal, and some fixes.
9 years ago
Aesylwinn 6fbc10dbba Add ability to get cell, pathgrid, and ability to add nodes.
Also missing include.
9 years ago
Aesylwinn 9f7c8d559c Add focus requirement for context menu. 9 years ago
Aesylwinn f0bbe2c633 Add context menu for pathgrid editor. 9 years ago
Aesylwinn 8b6cb73369 Add ability to invert selection. 9 years ago
Aesylwinn 55656d68ef Cleanup, put duplicated code in function 9 years ago
Aesylwinn da6a742beb Add control description to tooltip. 9 years ago
scrawl b0180cb6b4 Fix current region check (Bug #3391) 9 years ago
scrawl 3b31e8f66e Do not set AiPackageDone flag for non-Aipackages (Fixes #3392) 9 years ago
Aesylwinn f8b43b2a64 Rename cryptic variables. 9 years ago
Aesylwinn 32ba5bf8b8 Initial pathgrid editting, support for selection and movement. 9 years ago
Aesylwinn 9645d0cc8a Pass more mouse pick information in scene view editor. 9 years ago
scrawl fcbcc004a3 Don't use unordered_map 9 years ago
scrawl 78bac93021 Merge pull request #940 from kpp/find_ffmpeg
Find ffmpeg
9 years ago
scrawl 59cfcb38e2 Scale the sunlight specular color by weather's GlareView value (Fixes #3375) 9 years ago
Roman Proskuryakov da59ef0f67 Rewrites FindFFmpeg using LibFindMacros handling components properly 9 years ago
Marc Zinnschlag 64fdc5a21a Merge remote-tracking branch 'rcutmore/bug-3331' 9 years ago
scrawl 3584e59402 Fix incorrect parameter to changeCell (Fixes #3388) 9 years ago
scrawl a7e6219091 Merge pull request #939 from kpp/rewrite_esm_name_t
Rewrite ESM::NAME_T
9 years ago
Rob Cutmore 547d783eac Editor: Remove overridden configureCreateCommand
StartScriptCreator was incorrectly overriding configureCreateCommand.
This caused issues trying to edit an uneditable column while adding a
new record.
9 years ago
Rob Cutmore e6863c8f79 Editor: Undo editable column check in record add 9 years ago
Marc Zinnschlag b4e341e1e2 Merge remote-tracking branch 'aesylwinn/RenderPathgrid' 9 years ago
Roman Proskuryakov 5ae1864062 Add unit tests for ESM::FIXED_STRING 9 years ago
Roman Proskuryakov d5dfa89060 Rewrite NAME_T into FIXED_STRING. 9 years ago
Roman Proskuryakov d7046878a8 Fix uninitialized values in MWMechanics::AiCombat 9 years ago
Rob Cutmore 307f04f827 Editor: Fix issue adding start script (Bug #3331)
Updated to verify column is editable when adding a new record.
9 years ago
Michał Moroz 40cc6a4164 Changed AiSequence::stack to push_back lower priority packages instead of push_front (Bug #3384) 9 years ago
Aesylwinn 14ae232938 Remove now unnecessary factory class.
It was originally used for storing normals, but that functionality
was removed.
9 years ago
Aesylwinn 1f902ff069 Remove code duplication. 9 years ago
Rob Cutmore b129ff9672 Editor: Add PathgridCreator to find duplicate IDs 9 years ago
Rob Cutmore c9ada852aa Undo including pathgrids in ID check 9 years ago
Aesylwinn 642b1d0273 Add mask. 9 years ago
Aesylwinn 8d95b63180 Add pathgrid rendering to opencs 9 years ago
Aesylwinn 5cac882123 Replace game version of pathgrid rendering with component. 9 years ago
Aesylwinn 7fbcc47b15 Add pathgrid modified signals. 9 years ago
Aesylwinn 933504dbd0 Revert "Pathgrid rendering v2"
This reverts commit 4dee9604bb.
9 years ago
Rob Cutmore 5580f803fd Editor: Prevent duplicate pathgrids (Bug #3342) 9 years ago
Aesylwinn 4dee9604bb Pathgrid rendering v2 9 years ago
scrawl 2ca7415708 Handle DialInfo::mFactionLess (Bug #3380) 9 years ago
scrawl 93b2f09224 Workaround for some AI functions being incorrectly handled as AI packages (Bug #3378) 9 years ago
Marc Zinnschlag 57101c1b19 added namespace and include to previous commit 9 years ago
Alexander Kjäll 32123aec2b
made logarithm function for calculating column widths in the output be more generic 9 years ago
scrawl 5edfe8c41c Reduce the wander fast forward overcrowding offset (Fixes #3370) 9 years ago
Marc Zinnschlag 091e1bf25d improved scene element visibility buttons 9 years ago
Marc Zinnschlag f0778e22dd Merge remote-tracking branch 'origin/master' 9 years ago
Marc Zinnschlag 9d906a99a8 Merge remote-tracking branch 'rcutmore/bug-3286' 9 years ago
scrawl c64b8ab297 Merge pull request #928 from Salgat/bug-1320
AiWander - Creatures in cells without pathgrids do not wander (Bug #1320)
9 years ago
Austin Salgat be16857f96 Fix wrong height being used for water detection 9 years ago
Rob Cutmore e6ab3a4ba9 Remove unused CSVWorld::ScriptEdit::setMonoFont 9 years ago
Rob Cutmore 30493545f1 Update script editor tab width on font change 9 years ago
Austin Salgat e9157e9200 Fix idle animation and Fix water creature manual wandering 9 years ago
Rob Cutmore 25d9b77d10 Add setting for script editor tab width 9 years ago
Austin Salgat 3dec10c686 Update variable to prevent underflowing
While not an issue presently, the variable may be used in the future in a way that could create issues if it underflows.
9 years ago
Austin Salgat 84179c262f Update manual wandering to prevent actor from leaving/entering water
Water creatures will stay in the water, while land creatures will stay on land when wandering.
9 years ago
Austin Salgat fc03216d48 Refactor to reuse existing obstacle detection 9 years ago
Austin Salgat 34726c24d9 Fix mDistance being reset prematurely
This was causing wandering without pathgrids to become disabled for most wandering units. Additionally, wandering now behaves the same for both NPCs and creatures.
9 years ago
scrawl d784a77f4c Set the default player cell in the StateManager (Fixes #3269) 9 years ago
Austin Salgat 92b352989a Add logic for NPC wandering without pathgrids 9 years ago
Austin Salgat c02881a4f8 Fix creatures not wandering 9 years ago
scrawl 8cf91e32fa ESSImport: Correctly handle item stacks (XIDX tag). (Fixes #3340) 9 years ago
scrawl ba3f4f122a Account for the stack count in HasSoulGem (Bug #3340) 9 years ago
scrawl 4854d6b093 Set the TalkedToPc flag for voiced dialogue (Fixes #3346) 9 years ago
scrawl d15901b454 Merge pull request #927 from Salgat/bug-2981
When waiting, NPCs can go where they wouldn't go normally (Bug #2981)
9 years ago
Austin Salgat 38f5a225ea Refactor PathFinder functions to be useable by AiWander
This avoids having to duplicate the distanceSquared and getClosestPoint functions.
9 years ago
Austin Salgat 96231e17f0 Fix wandering NPCs going off pathgrid
If multiple pathgrids exist in the same cell, sometimes an NPC would port to a different pathgrid that was nearby. This is an issue since it allowed them to do things like travel through walls to inaccessible areas. Now they will only wander along the closest connected pathgrid.
9 years ago
scrawl b2dc18e1aa Merge pull request #926 from bentsherman/master
Allow +/- buttons in trade window to decrease offer to 0
9 years ago
Ben Shealy 8703609649 Allow +/- buttons in trade window to decrease offer to 0 9 years ago
Marc Zinnschlag a5bc561c7d Merge remote-tracking branch 'origin/master' 9 years ago
Rob Cutmore a3903d374f Update script editor tab width (Bug #3286) 9 years ago
Bret Curtis 2c90b0b78d fix a few spelling mistakes 9 years ago