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
scrawl
426a6fdcc2
Don't create the save directory on loading a game
...
This prevents empty directories being created when loading a save file outside of the saves directory with the --load-savegame switch.
9 years ago
scrawl
d7c7bb850b
ToggleAI cleanup
9 years ago
scrawl
d840c7d5eb
Slightly tweak the spawn point heuristics
...
Fixes an issue with hlaalu building exits
9 years ago
scrawl
85bd4f52f0
Improve occlusion query geometry rendering
9 years ago
scrawl
93ec289b1d
Improve setting of occlusion query state
9 years ago
scrawl
14e1911820
Fix memory leaks
9 years ago
scrawl
f898bf493f
Don't use Geodes
9 years ago
scrawl
137dde7cf8
Include cleanup
9 years ago
ae-g-i-s
c9791c5c1a
Add addTemporaryDispositionChange parameter to MechanicsManager::getDerivedDisposition(), adjust callers that previously added temp disposition changes themselves ( fixes #3233 )
9 years ago
ae-g-i-s
2f1c6c740c
Revert "Fix incorrect handling of baseDisposition >= 100 in testDisposition(), enable unbounded getDerivedDisposition() ( Fixes #3233 )"
...
This reverts commit 000597236e
.
9 years ago
ae-g-i-s
9585a12fb1
Merge remote-tracking branch 'upstream/master' into enable-unbounded-disposition-check
9 years ago
scrawl
3e6cf17665
Warn about cellrefs with an empty refId (Bug #3238 )
9 years ago
scrawl
d0aba0d9ee
Catch exceptions thrown during reference loading (Bug #3238 )
9 years ago
ae-g-i-s
000597236e
Fix incorrect handling of baseDisposition >= 100 in testDisposition(), enable unbounded getDerivedDisposition() ( Fixes #3233 )
9 years ago
scrawl
0fc65db6bb
Remove parts before setting the new object root
9 years ago
scrawl
0df975a4d7
Properly detach nodes in CopyRigVisitor ( Fixes #3234 )
9 years ago
scrawl
60a12b3dee
Use MyGUI's castType function
9 years ago
scrawl
763f647412
Add ItemModel::allowedToInsertItems
9 years ago
scrawl
373c1e7602
Assign the PageDisplay on initialization
9 years ago
scrawl
5ea7446eeb
Change a dynamic_cast to static_cast
9 years ago
scrawl
c085e503c6
Pass the btCollisionObject as const
9 years ago
scrawl
004f0d37d5
Fix the projectile launch position for spells cast from objects ( Fixes #3235 )
9 years ago
scrawl
910e41e3c4
Allow an Object to be specified as ignore parameter for castRay
9 years ago
scrawl
76b47c6d5d
PlaceAt: don't correct spawn points for non-actors
9 years ago
scrawl
16dca126dd
PlaceAt: don't use actor's X/Y rotation
9 years ago
scrawl
3d6323f13a
Force-enable hasWater() for exterior cells ( Fixes #3222 )
9 years ago
scrawl
67c8faec75
Infinite loop fix
9 years ago
scrawl
08f06c6c2d
Fix a crash that could occur with actors that define 'bip01 spine1' but do not define 'bip01 spine2' ( Fixes #3223 ).
9 years ago
scrawl
2821f46a18
Corpse clearing fix
9 years ago
scrawl
87871d7d54
Don't add RotateController to an uncontrolled node
9 years ago
scrawl
36bb255bc0
Use safePlaceObject in spawnRandomCreature
9 years ago
scrawl
7485abe5c3
Use safePlaceObject for summoned creature spawning
9 years ago
scrawl
be62ae758a
Fall back to sides first
9 years ago
scrawl
6df71f6250
Factor out safePlaceObject function
9 years ago
scrawl
11f00e3aa9
Rename safePlaceObject to placeObject
9 years ago
scrawl
be2f20f564
PlaceAt: attempt to select a safe spawn location ( Fixes #2515 , Fixes #1384 , Fixes #2925 )
9 years ago
scrawl
04d51d5871
Always update the ingredient icons ( Fixes #3220 )
9 years ago
scrawl
27577ce765
Add ESM::Land::DEFAULT_HEIGHT
9 years ago
scrawl
fc3de3302e
Create a collision shape for the default terrain
9 years ago
scrawl
84e9d346ef
Remove duplicate include
9 years ago
Marc Zinnschlag
ebaeabc962
Merge remote-tracking branch 'scrawl/respawn'
9 years ago
scrawl
3a2dccad4b
Implement 'Show' script instruction
9 years ago
scrawl
f2f601b958
Implement corpse clearing ( Fixes #2363 )
9 years ago
scrawl
c3ef387208
Vanilla-compatible creature/NPC respawning ( Fixes #2369 , Fixes #2467 )
9 years ago
Marc Zinnschlag
290da132b1
Merge remote-tracking branch 'scrawl/activate'
9 years ago
scrawl
a97eae864d
Fix the ObstacleCheck time step ( Fixes #3211 )
9 years ago
scrawl
f99cd15f00
Vanilla-compatible activate / onActivate ( Fixes #1629 )
...
See https://forum.openmw.org/viewtopic.php?f=6&t=3074&p=34618#p34635
9 years ago
scrawl
d05603c7fe
Directly apply On Target 'When Strikes' enchantments instead of launching a projectile ( Fixes #3212 )
9 years ago
scrawl
5cdee454ef
Fix degree/radians mixup ( Fixes #3213 )
9 years ago
scrawl
90a99991d1
Use empty() instead of !size()
9 years ago
scrawl
8bd16e4d5a
Don't compute the world matrix multiple times
9 years ago
scrawl
c5d3e6c993
Disable preloading of levelled lists
9 years ago
scrawl
8f81df2bd3
Cleanup
9 years ago
scrawl
0db7163363
Add specular mapping for terrain
9 years ago
scrawl
f01e8a6950
Add specular mapping for objects
9 years ago
scrawl
5cf2441b10
ShaderVisitor: support automatic recognition of normal maps based on file pattern
...
Introduce new settings 'auto use object normal maps', 'auto use terrain normal maps', 'normal map pattern'
9 years ago
scrawl
6a0ac824bd
Fix terrain error in OpenCS
9 years ago
scrawl
17c4dfdb62
Use the lowest unused texture unit for the enchanted item glow texture
9 years ago
scrawl
5e12a1b4ef
Add enchanted item glow to the shader
9 years ago
scrawl
268594dcf1
Recreate shader in NpcAnimation::setAlpha
9 years ago
scrawl
1232607385
Remove pointless widget names in settings layout file
9 years ago
scrawl
a73512afb7
Add shader settings to settings.cfg
9 years ago
scrawl
3969675afa
Remove unused settings
9 years ago
scrawl
553408949a
Fix character preview
9 years ago
scrawl
bd279c63f7
Fix fog on water
9 years ago
scrawl
9376811213
Vertex lighting shader
9 years ago
scrawl
044e0a829a
Add fog
9 years ago
scrawl
41e1fd407d
Disable shaders for the sky
9 years ago
scrawl
a9ad1b09e2
Introduce ShaderManager & ShaderVisitor
...
Actual shaders still to be written.
9 years ago
scrawl
e05d975020
Change the way that texture filtering settings are applied at runtime
9 years ago
scrawl
7f89bb273a
Add 'reflect actors' setting for the water shader, default off
9 years ago
scrawl
6fb0022b35
Update preloading settings
...
Disable 'preload fast travel' by default.
Add 'min cache size' and 'max cache size' settings.
Split the 'cache expiry delay' into 'preload cell expiry delay' and 'cache expiry delay'.
9 years ago
scrawl
c4d38bb42d
Fix clang analyzer warnings
9 years ago
scrawl
83a9a164bc
Raise the required bullet version to 2.83
...
2.82 appears to have a bug that causes the player to be able to phase through certain objects (bug #1587 ).
9 years ago
Marc Zinnschlag
28e3fe837f
Merge remote-tracking branch 'scrawl/osg_34'
9 years ago
Marc Zinnschlag
29c2a99316
Merge remote-tracking branch 'scrawl/physics'
9 years ago
Marc Zinnschlag
d1d7804620
Merge remote-tracking branch 'origin/master'
9 years ago
scrawl
eaf3f5a829
Remove unused arguments
9 years ago
scrawl
796a4a795a
Avoid the 'spiral of death'
9 years ago
scrawl
383524c688
Run physics in fixed timesteps, use the remainder to interpolate between current and previous state
...
Based on http://gafferongames.com/game-physics/fix-your-timestep/
9 years ago
scrawl
d1375cd3a3
Crashcatcher: limit backtrace to a sensible number of stack frames
...
When a stack overflow occurs, trying to print the whole stack would cause the process to hang indefinitely.
9 years ago
scrawl
5824619a95
Clean up includes
9 years ago
scrawl
8b596dfcbe
Remove support for OSG 3.2
...
Since commit e8662bea31
, we're using OSG functionality that contains an unfixed crash bug in version 3.2. The bug is fixed in version 3.4 (OSG commit 6351e5020371b0b72b300088a5c6772f58379b84)
9 years ago
scrawl
48ac0bef3e
Repair save games affected by bug #3080 ( Fixes #3160 )
9 years ago
scrawl
6bfeb118d7
Fix cleanup issue
9 years ago
scrawl
d3808580b0
Rename lightRoot to sceneRoot
9 years ago
scrawl
fb219fea17
Fix respawning of NPCs/creatures when they were moved to a different cell
9 years ago
Marc Zinnschlag
da6dcfc49e
Merge remote-tracking branch 'scrawl/resource'
9 years ago
scrawl
5e876b1379
Add missing include
9 years ago
scrawl
9f729667fb
Remove debug output
9 years ago
scrawl
0865cea211
Preload terrain
9 years ago
scrawl
596fe56bfd
Make Land::loadData thread safe
9 years ago
scrawl
1457a0de78
Use the UnrefQueue to delete BulletShapeInstances
9 years ago
scrawl
3552b3a82c
Don't create a BulletShapeInstance for actors
9 years ago
scrawl
246566cef4
Preload instances in BulletShapeManager
9 years ago
scrawl
e28dc3e72f
Preload instances in SceneManager
9 years ago
scrawl
ce3cce24a5
Remove unneeded dynamic_cast
9 years ago
scrawl
8ece1885cd
Animation: don't create the NodeMap if we don't need it
9 years ago
scrawl
ae031b23d4
Do not detach NPC parts in destructor
9 years ago