Commit Graph

9253 Commits (2311969f05f648e94182caf0e8cca98492ef9811)

Author SHA1 Message Date
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
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
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
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
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
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
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
scrawl abcd2219e8 Ignore the calling actor in getEnemiesNearby / getActorsFighting 9 years ago
scrawl 165f048792 Do not count dead NPCs as observers (Fixes #3434) 9 years ago
scrawl 12eea9ed69 Remove magic number in getMaxActivationDistance 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
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
Roman Proskuryakov 3bcd23022a Rewrites FindBullet using LibFindMacros handling version properly 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
scrawl d487007167 Remove debug code 9 years ago
scrawl e396e6f2ea Adjust the eye level for line of sight checks (Fixes #3407) 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
scrawl 3f1df4caa6 Don't auto-equip ammunition (Fixes #3401) 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
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
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
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
Marc Zinnschlag b4e341e1e2 Merge remote-tracking branch 'aesylwinn/RenderPathgrid' 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
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 5cac882123 Replace game version of pathgrid rendering with component. 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
scrawl 5edfe8c41c Reduce the wander fast forward overcrowding offset (Fixes #3370) 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
Austin Salgat e9157e9200 Fix idle animation and Fix water creature manual wandering 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 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
Bret Curtis 2c90b0b78d fix a few spelling mistakes 9 years ago
scrawl 79c8f69b24 Clear the class selected / race selected flags when starting a new game (Fixes #3326) 9 years ago
scrawl cf62d860b2 Fix the adjustPlayerPos parameter not being respected in all cases 9 years ago
scrawl e1dda9675d Add "preload instances" setting, disabling this may help if you are low on memory. 9 years ago
scrawl 2162d9ed02 Restore key focus to the save list when the deletion confirmation messagebox is accepted
Gives me an idea for a new MyGUI feature - per-window widget focus as it is usually the case in other GUI toolkits.
9 years ago
scrawl 02016f4c56 Don't reset the save list when deleting a save (Fixes #3279) 9 years ago
scrawl 7a962fd8c5 Properly escape the keybinding labels (Bug #3281)
A certain key name ("#") was being interpreted as a MyGUI markup code.
9 years ago
scrawl 5cda89c15d Don't attempt to preload more exterior cells than the cache can hold (Bug #3273) 9 years ago
scrawl 83f1ab6d25 Add a time threshold to the removing of preloaded cells when the maximum cache size is reached (Bug #3273) 9 years ago
scrawl 4ac276b06c Update the resource cache every frame (Bug #3273)
Not much of a point in limiting this to cell loadings, since the update is done from a background thread and should be fairly cheap anyway if there's nothing to unload.
9 years ago
scrawl 2f8be401cc Add the unref work items to the front of the workqueue (Bug #3273)
Ensures that memory still gets freed even if the workqueue is overloaded.
9 years ago
scrawl e71aa53574 Don't allow playing a sound/soundgen key more than once at the same time on the same object (Fixes #2689) 9 years ago
scrawl 5bd8ef247d Do not adjust the player position when loading a savegame (Fixes #2089) 9 years ago
scrawl 92c2a10de4 Fall back to 'warrior' for not found class images (Fixes #3228) 9 years ago
scrawl 157c11398d Add terrain parallax mapping 9 years ago
scrawl e381957105 Don't assume that class ID and name are equal 9 years ago
scrawl 90cc1de46c Do not list custom made classes in the pick class dialog 9 years ago
scrawl b332704df7 Switch hand-to-hand attack types randomly when "always use best attack" is turned on (Fixes #3259) 9 years ago
scrawl a6e23d03d3 Don't clamp disposition twice, clamping is already done inside getDerivedDisposition 9 years ago
scrawl 102f9719f7 Remove some garbage 9 years ago
scrawl 79eb2d20e0 Cleanup 9 years ago
scrawl 12ec90f9e7 Change default argument, fix GetDisposition 9 years ago
scrawl bc5adfa4fe Merge pull request #913 9 years ago
scrawl 30402f75e3 Use xbase_anim_female as the base skeleton for female NPCs (Fixes #3258) 9 years ago
scrawl 2b38d10449 Always add xbase_anim 9 years ago
scrawl 50acdf3e47 Move createCharacter inside the try block 9 years ago
scrawl a0cc9de088 Make the creation of save file directories even more explicit 9 years ago
scrawl b7b7c0612d Make getCurrentCharacter create argument explicit 9 years ago
scrawl 7463c0c353 Addition to last commit, don't create a save directory on death 9 years ago