Andrei Kortunov
7bd0c74aa8
Fixes mWatchedTimeToStartDrowning initialization (fixes bug #3801 )
8 years ago
Andrei Kortunov
e383e4d023
Disabled hit overlay for damage/absorb mana/fatigue spells
8 years ago
scrawl
373bd78cf3
Merge pull request #1233 from akortunov/guifixes
...
Vanilla style drowning widget
8 years ago
Andrei Kortunov
b89fdcfd27
Vanilla style drowning widget (partially fixes bug #3801 ).
8 years ago
scrawl
338592b99b
Don't clear the animation queue when turning (Bug #3581 )
...
Otherwise, the turnAnimationThreshold would make it difficult to estimate when we can start playing the animation.
8 years ago
scrawl
a5d7b36c28
Don't clear idle animation when movement ends (Bug #3581 )
...
This caused problems when AiWander tried to start an idle animation in the frame after movement stops.
8 years ago
scrawl
c611ddba8d
Remove stray term
8 years ago
scrawl
f230df3d1c
Merge pull request #1232 from akortunov/tooltipfix
...
Tooltip maximum width cap
8 years ago
Andrei Kortunov
1a47b9727b
Changed tooltip maximum width (bug #3800 )
8 years ago
scrawl
02c6c1897e
Merge pull request #1230 from Allofich/stats
...
Change bounds behavior of stat script commands
8 years ago
scrawl
7075a3a99b
Merge pull request #1231 from Allofich/tooltips
...
Show names on combat actors when RMB GUI is active
8 years ago
Allofich
5282556ae0
Show names on combat actors when RMB GUI is active
...
Fixes (#3797 )
8 years ago
Allofich
57aeec59d5
Change bounds behavior of stat script commands
...
Fixes (#3776 )
8 years ago
Rob Cutmore
3714c2a0f2
Editor: add ID validator to pathgrid input
8 years ago
Rob Cutmore
207695e094
Editor: switch input for pathgrid creator
...
Switched from QComboBox to DropLineEdit for pathgrid creator input.
This allows the input the use auto-complete and be a drop target from
the cells table.
8 years ago
Rob Cutmore
0dcb6a9bd4
Editor: update pathgrid creator input on changes
...
When data changes the cell input for pathgrid creator is repopulated
with valid choices. This handles the case where a cell is added or
removed, and also when a cell's pathgrid is added or completely
removed.
8 years ago
Rob Cutmore
491fd3d0be
Editor: set combo box events for pathgrid creator
...
- Handles when combo box should automatically gain or lose focus.
- Checks user input when combo box selection changes.
8 years ago
Rob Cutmore
95d164a6e6
Editor: use combo box when creating pathgrids
...
Instead of using QLineEdit for user input, use a QComboBox populated
with valid choices. This prevents user from being able to create a
pathgrid for a non-existent cell.
8 years ago
Andrei Kortunov
1286754fb3
Add a new option to show arrow damage (feature #2923 )
8 years ago
Andrei Kortunov
eb81ab5b24
Disables weapon and spells cycling in GUI mode (bugs #2409 , #2483 , #2645 )
8 years ago
scrawl
e987fe85d0
Add abort flag to TerrainPreloadItem
8 years ago
scrawl
42e9891504
Fix issues caused by loading multiple views into the same terrain View
8 years ago
scrawl
97ed999097
Fix cleanup issue
8 years ago
scrawl
c22fde2bcd
Preload terrain while reading savegame
8 years ago
scrawl
9371100fde
Reuse the intersection visitor and set a traversal number to allow the terrain component to manage its view more efficiently
8 years ago
scrawl
59bf100907
Fill exteriorPositions in preloadFastTravel
8 years ago
scrawl
03c07d3bd5
Remove old code
8 years ago
scrawl
86e75f0987
Preload terrain even when cell preloading is disabled
8 years ago
scrawl
d055dc25bf
Add custom traversal for local map camera to avoid loading terrain nodes that are exactly outside the border to another cell
8 years ago
scrawl
6ccb6009ee
Use the View-based preloading for TerrainGrid as well
8 years ago
scrawl
3c29e2dbeb
Refactor ownership of terrain views
8 years ago
scrawl
28fd492711
Don't use terrain LOD for the map camera
8 years ago
scrawl
e7a0878c10
Add CompositeMapRenderer info to the stats panel
8 years ago
scrawl
ec0b743123
Revert "Change ordering of LocalMap nodes to make sure they are traversed before the CompositeMapRenderer."
...
This reverts commit 7d72c70c93ee3c0cc3d00d37b22c339d0103cd19.
8 years ago
scrawl
4549196b31
Use the new way of terrain preloading in CellPreloader/Scene
8 years ago
scrawl
1c15686353
Remove non required use of WorkQueue
8 years ago
scrawl
19d516cbda
Use the QuadTreeWorld based on distant terrain setting now that it sort of works.
8 years ago
scrawl
4dbd224249
Hide the terrain in non-exterior cells
8 years ago
scrawl
c684860e3b
Change ordering of LocalMap nodes to make sure they are traversed before the CompositeMapRenderer.
8 years ago
scrawl
2d549d088e
Get the world size from the ESM::Land store
8 years ago
scrawl
14225a42c6
Remove unused pointer to IncrementalCompileOperation
8 years ago
scrawl
5eff286c71
Use separate node mask and parent for CompositeMapRenderer to allow the loading screen to pre compile composite maps.
8 years ago
scrawl
e323b2fa7b
Use the SceneManager's ShaderManager
8 years ago
scrawl
0fc465da59
Store the min/max height in LandData
8 years ago
scrawl
051c17a184
Make reportStats const
8 years ago
scrawl
5fb854036d
Use a forward declaration to avoid having to workaround Qt MOC
...
Don't think that guard was still needed, but a forward declaration is better anyways.
8 years ago
scrawl
80a0398f9d
Load LandData into the LandObject to avoid threading conflicts when the same data is being loaded by two threads
8 years ago
scrawl
2c68ed4fb4
Remove no longer required use of UnrefQueue as the new resource manager will naturally clear the cache from the worker thread
8 years ago
scrawl
35d53acc65
Factor out terrain chunk loading/caching into a new resource manager
8 years ago
scrawl
9a3a64f0c4
Add resource manager for ESM::Land to allow data to be unloaded when no longer required
8 years ago
scrawl
b898315962
cellpreloader: abort all tasks first before waiting
8 years ago
scrawl
5f76317807
Wait for completion of CreateMapItem on exit to avoid potential threading issue
8 years ago
scrawl
804f873649
terrain: factor out texture caching into a separate class
8 years ago
scrawl
ccfebdd2c3
Set the underwater fog relative to default view distance
8 years ago
scrawl
fe439e7bbf
Add missing default material state for character preview
8 years ago
scrawl
37c71c15f2
Remove redundant state
8 years ago
scrawl
4c9bbce1e2
Fix node mask being reset
8 years ago
MiroslavR
a8517c34eb
Code style
8 years ago
scrawl
a556475fae
Explicitely set the user data type to avoid const/non-const mismatch
8 years ago
scrawl
5de5be77f3
Fix Ptr/ConstPtr userdata mismatch (Bug #3784 )
8 years ago
Mitchell Schwitzer
421b92ae05
fix styling & add missing lines regarding max proficency
8 years ago
Mitchell Schwitzer
f31e5ba85e
fix display maximum proficency reached
8 years ago
Mitchell Schwitzer
7960d5a9a7
fix skill progress bar v2
...
both widgets display their own progess indicator. it was being set for
value (when you hovered over the level of your skill, eg the "5" in
"Acrobatics 5"), but not for the name.
this fixes that, but the progress information is being stored/displayed
by two different widgets for one skill
8 years ago
Mitchell Schwitzer
465b7361e1
fix skill window update
...
invoke winMgr->updateSkillArea() in mechanicsmanagerimp.cpp after looping
over ESM::Skill::SkillEnum if any updates have occurred.
8 years ago
scrawl
809f5cd01b
Fix bad override
8 years ago
MiroslavR
af1fe64408
GetSoundPlaying called on an equipped item now also looks for sounds played by the equipping actor ( Fixes #3781 )
8 years ago
scrawl
4123398cbc
Change no-grab setting to respect the value given
8 years ago
scrawl
7eb48ea83b
Don't wrap mouse to window bounds when the gamepad axis did not move and fix off-by-one error
8 years ago
scrawl
42a04de37c
Fix a crash that occurred when a carried light fails to be attached.
8 years ago
scrawl
2776727794
Allow gamepad and mouse/keyboard to be used at the same time ( Fixes #3093 )
8 years ago
scrawl
29556a1802
More consistent wording of errors/warnings
...
A Warning indicates a potential problem in the content file(s) that the user told OpenMW to load. E.g. this might cause an object to not display at all or as intended, however the rest of the game will run fine.
An Error, however, is more likely to be a bug with the engine itself - it means that basic assumptions have been violated and the engine might not run correctly anymore.
The above mostly applies to errors/warnings during game-play; startup issues are handled differently: when a file is completely invalid/corrupted to the point that the engine can not start, that might cause messages that are worded as Error due to the severity of the issue but are not necessarily the engine's fault.
Hopefully, being a little more consistent here will alleviate confusion among users as to when a log message should be reported and to whom.
8 years ago
scrawl
1692b7f38e
Merge pull request #1209 from dhustkoder/master
...
Added ConstContainerStoreIterator (Task #3092 )
8 years ago
scrawl
2873c10284
Clean the object root of StateSets and hidden nodes
8 years ago
scrawl
4e0011bfc8
Improve NPC loading performance by caching the cleaned objectRoot
8 years ago
Rafael Moura
6c2ce2b2a1
Porting more ContainerStoreIterator usage to const version #4
...
removed const_cast revision
8 years ago
Rafael Moura
7fa2703715
Porting more ContainerStoreIterator usage to const version #3
8 years ago
Rafael Moura
18a4b64f1a
Porting more ContainerStoreIterator usage to const version #2
8 years ago
scrawl
0772a03e98
Print the object ID that animateCollisionShapes did not find the node for
8 years ago
scrawl
d4781d419f
Merge pull request #1220 from MiroslavR/tcl_collision
...
Fix actors colliding with noclipping player
8 years ago
Rafael Moura
05cc69f6f1
Porting more ContainerStoreIterator usage to const version
8 years ago
scrawl
6f4c03aa32
Avoid retrieving setting every frame
8 years ago
MiroslavR
498a3d450b
Fix actors colliding with noclipping player
8 years ago
scrawl
75677f03e7
Remove SceneManager::notifyAttached
8 years ago
scrawl
afa39d121f
Fix 'part has no parent' warning caused by destructing in the wrong order
8 years ago
scrawl
a55604c549
Avoid unnecessary AABB update when actor position has not changed
8 years ago
scrawl
fb073e5c14
Avoid unnecessary AABB update for rotationally invariant collision shapes
8 years ago
scrawl
5198fc897d
Fix collision glitch caused by Bullet AABB not being updated when an actor moves without turning
8 years ago
scrawl
25ca89b560
Avoid redundant allocations in Store::search
8 years ago
scrawl
732212070d
crashcatcher: complain when launching gdb fails
8 years ago
Marc Zinnschlag
765401531d
Merge remote-tracking branch 'origin/master'
8 years ago
scrawl
d163228199
Fix updatePtr
8 years ago
scrawl
00d4fea91c
Derive Animation from osg::Referenced to allow the UnrefQueue to delete it
8 years ago
scrawl
a5247394dc
(Re)set the inventory listener outside of the Animation class
8 years ago
scrawl
8f79fa3d72
Add resource statistics panel opened with F4
8 years ago
scrawl
b40ca9b60a
Set the window rectangle on the Viewer's EventQueue
8 years ago
scrawl
0fbd29ccb8
Use additive alpha blending on the character preview
8 years ago
scrawl
e38221edc9
Set character preview's simulationTime to 0 to avoid flickering lights
8 years ago
scrawl
a45335ffc3
Do not reduce magicka in god mode
8 years ago
scrawl
eefe1ed1a8
Fix being affected by Silence in god mode
8 years ago
FedeWar
e9076088ca
Another tab fix
8 years ago
FedeWar
4e7f7cf84f
Fixed tabs
8 years ago
FedeWar
370c12e78a
Verification results are ordered by Type in alphabetical order.
8 years ago
scrawl
b9740fd2a1
Fix btHeightFieldTerrainShape triangle layout to match rendering
8 years ago
scrawl
3f27c8cc97
Always print context for script warnings to remove the need for verbose option
...
(Fixes #2813 )
8 years ago
scrawl
9728a6967e
Reset fall height when teleporting ( Fixes #2629 )
8 years ago
scrawl
05ad0dca34
Use ActionTeleport in COE/COC commands
8 years ago
scrawl
7e02bb7348
Preload summoned creature models before the spell is cast
8 years ago
scrawl
22482b7eec
Don't use xmesh.nif over mesh.nif for classes that don't make use of the separated keyframes
8 years ago
Rafael Moura
9963601484
Porting code to ConstContainerStoreIterator #1
8 years ago
scrawl
481c440698
Print OSG version on startup
8 years ago
scrawl
e4741db069
Merge pull request #1213 from Allofich/equip
...
Change AI equip logic
8 years ago
MAtahualpa
fb8a2093cd
Replace "Female" check box with a combo box, part 2/2 ( fixes #3757 )
...
Replaces the "Female" check box in BodyPart records with a "Gender" combo box. This is the second of two related fixes, the first one covering NPC records.
Related issue:
- Fixes #3757 : Editor: Replace "Female" check box in BodyPart records with "Gender" combo box (https://bugs.openmw.org/issues/3757 )
Tests:
The changes were successfully tested in OpenMW-CS by manipulating several BodyPart records.
8 years ago
Rafael Moura
ecbde7b11e
Added ConstContainerStoreIterator
...
using base template for ContainerStoreIterators
less template arguments for ContainerStoreIteratorBase
8 years ago
Allofich
bc60421615
Change NPC equip logic to be more like original
...
(Bug #3754 )
8 years ago
Marc Zinnschlag
bef0b1f1d6
Merge remote-tracking branch 'matahualpa/openmw-cs_gender'
8 years ago
scrawl
f2174ee9f4
Merge pull request #1217 from Allofich/follow
...
Fix loading 0-duration Follow and Escort packages
8 years ago
scrawl
cb142f01e4
Merge pull request #1215 from MiroslavR/armor_rating
...
Fix incorrect calculation of armor rating
8 years ago
Allofich
3897c49e30
Fix loading 0-duration Follow and Escort packages
...
(Fixes #3755 )
8 years ago
MAtahualpa
520e82ed4f
Fix for commit "affc0eb..." in PR 1216 ( fixes #3756 )
...
Fixed use of tab character.
8 years ago
MAtahualpa
affc0eb37f
Replace "Female" check box with a combo box, part 1/2 ( fixes #3756 )
...
Replaces the "Female" check box in NPC records with a "Gender" combo box. This is the first of two related fixes, the second one covering BodyPart records.
Related issue:
- Fixes #3756 : Editor: Replace "Female" check box in NPC records with "Gender" combo box (https://bugs.openmw.org/issues/3756 )
Tests:
The changes were successfully tested in OpenMW-CS by manipulating several NPC records.
8 years ago
Marc Zinnschlag
79956e4b49
Merge remote-tracking branch 'origin/master'
8 years ago
MiroslavR
f883951d75
Fix incorrect calculation of armor rating (Bug #3754 )
8 years ago
Allofich
621d3e56cf
Fix Clang and OS X Travis CI warnings
8 years ago
MAtahualpa
dab8b328c4
Replace light emitter check boxes with a combo box ( fixes #3752 )
...
Replaces the four emitter check boxes in Light records with an "Emitter Type" combo box.
Related issue:
- Fixes #3752 : Editor: Replace emitter check boxes in Light records with "Emitter Type" combo box (https://bugs.openmw.org/issues/3752 )
Tests:
The changes were successfully tested in OpenMW-CS by manipulating several Light records. Please note that this fix also prevents users from erroneously assigning two or more emitter types at the same time. (I don't know which one would prevail in that case.)
8 years ago
MAtahualpa
7be46eb1f0
Fix for commit "d4972ab..." in PR 1208 ( fixes #3751 )
...
Replaces the two "Xyz blood" check boxes in NPC and Creature records with a "Blood Type" combo box.
Fix:
- corrected false logic operation in refidadapterimp.cpp
- corrected names of the used flags
8 years ago
MAtahualpa
d4972ab166
Replace "Xyz blood" check boxes with a combo box ( fixes #3751 )
...
Replaces the two "Xyz blood" check boxes in NPC and Creature records with a "Blood Type" combo box.
Related issue:
- Fixes #3751 : OpenMW-CS: Replace "Xyz Blood" check boxes in NPC and Creature records with "Blood Type" combo box (https://bugs.openmw.org/issues/3751 )
Tests:
The changes were successfully tested in OpenMW-CS by manipulating several NPC and Creature records. Please note that this fix also prevents users from erroneously assigning two blood types at the same time. (I don't know which one would prevail in that case.)
8 years ago
scrawl
f10edb71cc
Add environment variable for disabling IncrementalCompileOperation
8 years ago
scrawl
c4a89065a2
Preload VFX of spells selected by AI actors
8 years ago
scrawl
57b585570a
Preload magic effect visuals of the player's selected weapon/spell
8 years ago
Marc Zinnschlag
e46fb1770c
Merge remote-tracking branch 'matahualpa/openmw-cs_booktype'
8 years ago
MAtahualpa
2c34a8706b
Replace "Scroll" check box with a combo box ( fixes #3748 )
...
Replaces the "Scroll" check box in Book records with a "Book Type" combo box.
Related issue:
- Fixes #3748 : OpenMW-CS: Replace "Scroll" check box in Book records with "Book Type" combo box. (https://bugs.openmw.org/issues/3748 )
Tests:
The changes were successfully tested in OpenMW-CS by manipulating several Book records. Please note that the actual logic behind this entry is not implemented yet: Books which are of type "Scroll" can have an enchantment attached, normal books ("Book") cannot.
8 years ago
MAtahualpa
607bd8b853
Replace "Scroll" check box with a combo box ( fixes #3748 )
...
Replaces the "Scroll" check box in Book records with a "Book Type" combo box.
Related issue:
- Fixes #3748 : OpenMW-CS: Replace "Scroll" check box in Book records with "Book Type" combo box. (https://bugs.openmw.org/issues/3748 )
Tests:
The changes were successfully tested in OpenMW-CS by manipulating several Book records. Please note that the actual logic behind this entry is not implemented yet: Books which are of type "Scroll" can have an enchantment attached, normal books ("Book") cannot.
8 years ago
scrawl
183c46b0ef
Fix summoning effects
8 years ago
scrawl
a495b9b884
Fix wasteful allocations in Store<Land>::search
8 years ago
scrawl
72c6b11cf8
Move global map render to the worker thread
8 years ago
scrawl
026a05718f
Construct the WorkQueue in Engine
8 years ago
scrawl
ddd6605608
Move WNAM out of LandData to avoid redundant (de)allocations on startup
8 years ago
scrawl
325bf66653
Return const Land in ESMStore
8 years ago
Marc Zinnschlag
93c5630e02
Merge remote-tracking branch 'matahualpa/openmw-cs_tablecontents'
8 years ago
MAtahualpa
2d1af3ee4a
Update record.cpp
...
This should be the last instance of "mSkillID". Let's see what Travis says about it...
8 years ago
scrawl
051b4038d9
Merge pull request #1203 from Allofich/magic
...
Make AI not go hostile when absorbing/reflecting
8 years ago
MAtahualpa
c46eadae90
Update actionread.cpp
...
*grrr* Forgot to change the latter "mSkillID" in line 47...
8 years ago
scrawl
cdf65ef681
Merge pull request #1201 from Allofich/hit
...
Prevent AI actors from hitting unintended targets
8 years ago
scrawl
342c25dffa
Fix weather sounds playing at full volume before fading in
8 years ago
Allofich
72c3ee0a3d
Make AI not go hostile when absorbing/reflecting
8 years ago
MAtahualpa
7bc65ce05b
Update actionread.cpp
...
Code cosmetics: Change member variable "mSkillID" to "mSkillId" for Book records.
8 years ago
MAtahualpa
347fb1ff4b
Update converter.hpp
...
Code cosmetics: Change member variable "mSkillID" to "mSkillId" for Book records.
8 years ago
MAtahualpa
c5dcfe0794
Update refidadapterimp.cpp
...
Code cosmetics: Change member variable "mSkillID" to "mSkillId" for Book records.
8 years ago
MAtahualpa
6587880171
Update refidcollection.cpp
...
Makes Book records display skill IDs instead of attribute IDs for teached skills.
Related issue:
- Bug #3746 : OpenMW-CS: Book records show attribute IDs instead of skill IDs for teached skills entry.
8 years ago
Allofich
6b53541571
Prevent AI actors from hitting unintended targets
...
(Fixes #3254 )
8 years ago
scrawl
9fa8e88366
Revert "Don't create a CharacterController for objects with no animations"
...
This reverts commit cce42b6e9d
.
8 years ago
scrawl
03a10f217a
Catch exceptions in AiSequence::execute
8 years ago
scrawl
5a12407436
Revert "Rearranged check for better performance"
...
This reverts commit 332ceb51a2
.
8 years ago
scrawl
f2d4f290cc
traceDown fix
8 years ago
Allofich
e047679595
Fix trying to access stats on non-actors
8 years ago
scrawl
332ceb51a2
Rearranged check for better performance
8 years ago
scrawl
8752ae9c6a
Fix include
8 years ago
scrawl
bbcba57495
Disable hitAttemptActorId saving code for now
8 years ago
scrawl
2ea0db1d1a
Merge pull request #1198 from Allofich/combat
...
Make combat engagement logic more like vanilla
8 years ago
scrawl
dd54887783
Fix node mask of CharacterPreview being reset
8 years ago
scrawl
6ecc008813
Fix an issue uncovered by the last commit related to changing actor position without properly moving the actor
8 years ago
scrawl
cf7b0098ed
Slightly increase backoff value
8 years ago
scrawl
b3d5c2bd7f
Use the actor's collision shape in findGround()
...
The cylinder base is no longer appropriate as of the change to capsules.
This also works around a bug when tracing a small cylinder/box shape apparently introduced with bullet 2.86.
8 years ago
scrawl
67e4a7e37b
Change some osg::clone's to direct copy constructor to avoid dynamic_cast overhead
8 years ago
scrawl
3f3d00ffc9
Add CellPreloader::clear to avoid potential dangling CellStore pointer and to more aggressively clear preload state from a previous game
8 years ago
scrawl
0be86f69bc
Write the player object first to increase the chance of preloading the player cells in time
8 years ago
scrawl
1d8a9ff622
Preload player cell as soon as the player is read from the savegame
...
Giving the worker thread something to do while the rest of the savegame is parsed.
8 years ago
scrawl
d141b98f0c
Add base animations to preloadCommonAssets
8 years ago
scrawl
066aa2e60e
Always run preloadCommonAssets even when the menu is skipped
...
Move to before the content files are loaded so we can do preloading in parallel with content file loading
8 years ago
scrawl
c68f662c9a
Predict player movement when preloading cells to better handle moving at high speed
8 years ago
scrawl
a46593fa74
Add PreloadItem::abort() to avoid no longer required cells from blocking the work thread
8 years ago
scrawl
d62c4259bd
CellPreloader: load the terrain first to match the order in the main thread
8 years ago
scrawl
d1e86d22ca
Check which local map textures actually need to be updated
...
On a typical exterior cell transition, we'll save 3 of 9 map renders. When moving back and forth between 2 cells, we can even reuse 6 of 9.
8 years ago
scrawl
43d9f3d5c7
Update bullet debug drawer even when the game is paused so the collision mesh will show instantly even when the console is up
8 years ago
scrawl
249fe9077b
Handle 'tcb' command as an alias for 'tcg'
8 years ago
scrawl
206e2bf975
Fix camera rotation not being set after save game load (regressed with 1eb3384043
)
8 years ago
scrawl
35bb467c7a
Fix inverted setting of variable
8 years ago
Allofich
5d2090684a
Store mHitAttemptActorId in save files
8 years ago
Allofich
25c64dbb0f
Make combat engagement logic more like vanilla
...
(Fixes #2678 , Fixes #3705 )
8 years ago
scrawl
5a939418fc
Add missing avcodec_close ( Fixes #3741 )
8 years ago
scrawl
91939c4687
Switch actors to capsule shapes now that the jumping bug is gone ( Fixes #2116 , Fixes #2909 )
...
The culprit was - surprise, surprise - d39d4f2619
8 years ago
scrawl
03aa270551
Construct PhysicActor as on ground by default to avoid a jumping animation from playing in the first frame after a savegame load
8 years ago
scrawl
bc29a99a53
Fix broken timer
8 years ago
scrawl
d39d4f2619
Revert a problematic and performance costly workaround that should never have been applied and is no longer required as of the last commit.
8 years ago
scrawl
541fbb4792
Movement solver: add usage of 'on slope' flag to improve handling of steep slopes
...
Previously we were handling 'on slope' synonymously with 'in air' which caused some odd effects.
Practical changes:
- Sliding down a slope no longer applies fall damage.
- Fixed a climbing exploit that would allow climbing steep slopes with repeated use of the Jump function.
8 years ago
scrawl
cce42b6e9d
Don't create a CharacterController for objects with no animations
8 years ago
scrawl
fe0cf5be05
StatsWindow: don't rebuild all skill widgets when one skill changes
8 years ago
scrawl
e7b6ea4e3f
Add cycle weapon/spell actions to the list of controller actions ( Fixes #3613 )
8 years ago
scrawl
3065600a86
Skip expensive visitEffectSources call if no summoned creatures or summon effects are active
8 years ago
scrawl
ee4073541c
Animation: cache getVelocity()
8 years ago
scrawl
a2cede8f34
Add timer for updateEquippedLight
8 years ago
scrawl
1eb3384043
Avoid rotating by zero in CharacterController
8 years ago
scrawl
7201cf5fe2
ItemWidget: skip setImageTexture if the icon has not changed
8 years ago
scrawl
1447bfa215
Improve scene loading performance by creating collision objects with the correct rotation right away instead of adjusting it later
8 years ago
scrawl
884d306bf3
Throw exception when told to use 0 threads
8 years ago
scrawl
2db7292bcb
Add new setting for the number of preloading worker threads
...
If you have CPU cores to spare, consider setting 2 or 3. Up to about 3 threads, preloading performance seems to increase in a linear fashion, but with 4 or more threads I/O bottlenecks and synchronization overhead starts to show.
8 years ago
scrawl
eaeba4138b
Move the deletion of PreloadItem to the worker thread
8 years ago
scrawl
33e654f94d
Add explicit handling of most commonly used nodes to NodeVisitors to avoid excessive virtual function calls
8 years ago
scrawl
83a9435167
Fix unnecessary use of CopyFramebufferToTextureCallback when loading is too fast for a loading screen to be displayed
8 years ago
scrawl
767eba941f
Speed up finding of attachment node by using the cached nodeMap
8 years ago
scrawl
a76d693627
Speed up ControllerVisitor by skipping sub graphs that have no ChildrenRequiringUpdateTraversal()
8 years ago
scrawl
c58fc6d276
Improve performance of loading screen by not recomputing the bounding sphere of the entire scene after each loading step
8 years ago
scrawl
0be811c519
Update the resource cache every second instead of every frame
...
A dry run takes about ~1.5ms. Even though it's all done in the worker thread, the locks used can stall loading operations that are about to happen in other threads, and just in general this CPU load is unnecessary.
8 years ago
scrawl
6d8c414071
Set osgViewer ReleaseContextAtEndOfFrameHint to false for better performance when in SingleThreaded mode
...
The flag is normally set to off by default when using Viewer::run() - however since we're using our own frame loop, we have to unset the flag ourselves
8 years ago
scrawl
c5f8ff6e0e
Add names to several nodes for debugging purposes
8 years ago
scrawl
625c5040ce
Fix build
8 years ago
scrawl
1808b8567e
Add 'small feature culling pixel size' setting specifically for water RTTs, by default set higher than the one in [Camera]
8 years ago
scrawl
fcb4129aee
Add 'small feature culling pixel size' setting
8 years ago
scrawl
960d4a96c3
Reduce the number of osg::Material state by setting the default state on the graph root
8 years ago
scrawl
34deb6e7b1
Add 'showSceneGraph' command to export the scene or a particular object to .osgt for debugging purposes
8 years ago
MiroslavR
d97e9cfe7e
Fix InterpreterContext::updatePtr updating mLocals to the implicit ref's locals when interpreting a targeted global script ( Fixes #3738 )
...
The interpreter context of a targeted global script would point to the target's locals instead of the global script instance's locals when the target changed cell during script execution. Credit to scrawl for the solution.
8 years ago
MiroslavR
c64351b3e8
ESS-import: player is no longer disabled (Bug #3246 )
8 years ago
scrawl
cc19b4bd8a
Fix door rotation order in collision case (Bug #3707 )
8 years ago
scrawl
45fb4f04b1
Update reference of the interpreter context when an Activate results in a take action ( Fixes #3727 )
8 years ago
scrawl
70c5f64caa
Fix mLocals not being updated in InterpreterContext::updatePtr
8 years ago
scrawl
c6822b9eb6
Merge pull request #1192 from damiel/water_refactor
...
Added refactoring of shader handling from visvalda's fog shader
8 years ago
Martin-Kevin Neumann
5a8efa1649
added refactoring of shader handling from visvalda's fog shader
8 years ago
NeveHanter
e82d542d89
Merge remote-tracking branch 'upstream/master' into bugfix-3617
8 years ago
NeveHanter
811e9ad9f3
Fixed bug https://bugs.openmw.org/issues/3617 by allowing touch and target enchantments from ranged weapons and their projectiles to explode even when colliding with non-activable objects, terrain, water slab or when shoot underwater.
...
Also allowed projectiles to fly through the dead bodies as in vanilla.
8 years ago
Allofich
f2240dde9c
Allow command spells to work when cast by AI on AI
...
(Fixes #3723 )
8 years ago
Allofich
e825010107
Apply command spell effects on impact
...
Command spells should apply their effects, including taking an actor out
of combat, every time a spell successfully hits, even if a previous
command effect is still active.
8 years ago
Allofich
a46c4de918
Stop combat when adding an AI package to an actor
...
(Fixes #3722 )
8 years ago
scrawl
b87abb0456
Reset activation flags when an object is copied ( Fixes #3671 , Fixes #3719 )
8 years ago
scrawl
69ce9f32bc
Activate/OnActivate fix (Bug #3712 )
8 years ago
scrawl
73aa07b81b
Merge pull request #1189 from Allofich/attack
...
Match best attack selection to vanilla behavior
8 years ago
Allofich
2322ab3125
Don't make Command spells cancel AI packages
...
(Fixes #3649 )
8 years ago
Allofich
c10585fb07
Match best attack selection to original MW
...
(Fixes #3721 )
8 years ago
MiroslavR
f1f9209814
Creatures now auto-equip shields ( Fixes #3704 )
8 years ago
Allofich
5e992a0342
Fix attempting to access NPC stats on creatures
8 years ago
Assumeru
1a073ca642
Fix teleportation being unreachable
8 years ago
Allofich
eee49b7ea7
Make dispel an instant effect again ( Fixes #3695 )
8 years ago
scrawl
80c008906b
Fix texture coordinates
8 years ago
scrawl
48a23d61b2
Mask out water in global map overlay
8 years ago
scrawl
7b5f3e3cdc
Fix crash in ProjectileManager when a sound id fails to play or is not found
8 years ago
scrawl
708009eac4
Merge pull request #1158 from logzero/move3
...
[RFC] Movement solver experiments
8 years ago
scrawl
212e85e810
Merge pull request #1174 from Allofich/combat
...
Adjustments to AI combat engaging and disengaging
8 years ago
scrawl
da3815f5a6
Merge pull request #1179 from Armada651/fix-audio-cutoff
...
OpenAL_Output: When a source is finished, rewind it instead of stopping it.
8 years ago
logzero
dbf0fa6766
Skip stepping if movement tracer hits actor.
8 years ago
Marc Zinnschlag
dedd95f52a
Merge remote-tracking branch 'miroslavr/save-cleanup'
8 years ago
Jules Blok
e9d8ff532f
OpenAL_Output: When a source is finished, rewind it instead of stopping it.
...
This works around a bug in the MacOS OpenAL implementation.
8 years ago
MiroslavR
c9dd63af8d
Merge pull request #1171 from NeveHanter/travel-followers-cost
...
Implemented "paying" for travelling followers
8 years ago
NeveHanter
8568cd049f
Removed "less" character from the documentation by the requested opportunity.
8 years ago
Allofich
54fa921dad
Change some AI combat engagements to not need LOS
8 years ago
Allofich
6fa0354a17
Make AI attack player also if it attacks follower
8 years ago
Allofich
5a6ea4e84e
Cleanup
8 years ago
Allofich
e10c4d8814
Stop combat between AI when canFight is false
8 years ago
Allofich
e8c7ad2f4b
Change environment check to canFight check
...
Instead of just checking that combatants are in compatible environments,
allow combat if in attack range using canFight. Together with previous
commit, fixes #3690 .
8 years ago
Allofich
588442b6cc
Make enemies start combat with player followers
...
Recreates vanilla behavior of enemies starting combat with player
followers and escorters. (Fixes #3691 )
8 years ago
logzero
a5360483bb
Back off slightly when we are touching something.
...
This can reduce the amount of movement solver failures significantly.
I've observed a drop of 8 iteration cases by almost factor of ten.
8 years ago
logzero
00f3bfba27
Use tracer hit height to skip stepping up in movement solver.
8 years ago