Bret Curtis
3cd59d4a89
Merge pull request #1993 from akortunov/loadingbar
...
Center progress bar when there are active messageboxes
6 years ago
elsid
abc51a8a17
Add settings option to set max number of polygons per navmesh tile
6 years ago
Andrei Kortunov
06d226a1b7
Minor tweaks for actors processing range setting
6 years ago
Andrei Kortunov
6e05853478
Center progress bar when there are active messageboxes (bug #4691 )
6 years ago
Marc Zinnschlag
9dd0d641bc
Merged pull request #1931
6 years ago
Bret Curtis
9f4892ce92
Merge pull request #1990 from Capostrophic/absorption
...
Avoid making expensive visitEffectSources calls if no spell absorption effect is active
6 years ago
Capostrophic
abdf40e0d5
Avoid making expensive visitEffectSources calls if no spell absorption effect is active
6 years ago
Capostrophic
b6f23cd366
Make constants usage more obvious
6 years ago
Capostrophic
4873d33642
Adjust magic light source linear attenuation (bug #3890 )
6 years ago
Andrei Kortunov
d2f3196ee8
Fix testcase for RootCollisionNode with MRK data
6 years ago
Marc Zinnschlag
3ead33814f
Merge remote-tracking branch 'upstream/master'
6 years ago
Capostrophic
19ce1abcdf
Fix selected weapon HUD durability percentage
6 years ago
Andrei Kortunov
bf9e8c4556
Make spell absorption multiplicative (bug #4684 )
6 years ago
Andrei Kortunov
e7de6b974a
Optimize actors processing
...
1. Do not update physics and animations for actors outside processing range (bug #4647 )
2. Do not render such actors
3. Add transparency to actors near processing border, so they will not pop up suddenly
6 years ago
Bret Curtis
0fad2449f3
Merge pull request #1982 from Capostrophic/condition
...
Avoid item condition and charge zero divisions
6 years ago
Capostrophic
c3e8d536cd
Implement getNormalizedEnchantmentCharge() method and use it
6 years ago
Capostrophic
54bd7b2dcf
Implement getItemNormalizedHealth() method and use it
6 years ago
Marc Zinnschlag
2c8bbde7ef
Merged pull request #1979
6 years ago
Marc Zinnschlag
4d88d6dd58
Merged pull request #1980
6 years ago
Bret Curtis
375354ab6b
Merge pull request #1974 from akortunov/coverity
...
Fix some issues found by Coverity Scan
6 years ago
AnyOldName3
1e2bf9c447
Merge remote-tracking branch 'refs/remotes/upstream/master'
6 years ago
Capostrophic
67de61e1fb
Avoid item condition and charge zero divisions
6 years ago
Capostrophic
4ce35c6ad5
Fix fixme behavior in interiors
6 years ago
Andrei Kortunov
61e6e359c4
Allow creatures to use the autogenerated collision box (feature #2787 )
6 years ago
Capostrophic
9809eef18e
Utilize the default soundgen entries when necessary (bug #4689 )
6 years ago
Andrei Kortunov
41e90bd56c
Unify random generator usage
6 years ago
Andrei Kortunov
46bf45a6e2
Remove redundant code
6 years ago
Bret Curtis
6c4116cc8b
Merge pull request #1972 from akortunov/equipfix
...
Force actor to the 'weapon equipped' state if the weapon disappeared in the middle of attack
6 years ago
Andrei Kortunov
8fa0ffcfe4
Catch exceptions inside the loadVoice() (bug #4685 )
6 years ago
Andrei Kortunov
d7d9050d4a
Force actor to the 'weapon equipped' state if the weapon disappeared in the middle of attack (bug #4646 )
6 years ago
AnyOldName3
474770eca8
Switch shadow map rendering to a specialised, simplified shader.
6 years ago
Bret Curtis
e406c5ff81
Merge pull request #1946 from akortunov/backupfix
...
Combat AI: check for obstacle before back up
6 years ago
Andrei Kortunov
13bd81f896
Try to use collisions from basic actor model if an animated one has no collisions (feature #4682 )
6 years ago
elsid
03d4ce5e49
Log find path exception with level verbose, add more info to message
6 years ago
Bret Curtis
8cb407cfdf
Merge pull request #1969 from Capostrophic/soundgen
...
Support soundgen calls for activators (feature #4285 )
6 years ago
Capostrophic
bf3f82b9d4
Cleanup
6 years ago
Capostrophic
6ef7be3fd3
Re-enable using soundgen land for creatures
6 years ago
Capostrophic
19fd404b7b
Support soundgen calls for activators (feature #4285 )
6 years ago
Andrei Kortunov
ca07e3a364
Check for obstacle before back up (bug #4656 )
6 years ago
elsid
e57504ae7c
Lower log level
6 years ago
elsid
ed73d130f9
Cache navmesh tiles
...
Use LRU modification to hold currently used items. Use RecastMesh binary
data for item key.
Store original pointer of btCollisionShape in user pointer to make available
it as an identifier within all duplicates. Use pointer to heights data array
for btHeightfieldTerrainShape.
6 years ago
elsid
1a27489904
Add special type for object id
6 years ago
elsid
7c80bb9411
Support multiple threads for async nav mesh updater
6 years ago
elsid
7c5bedc35a
Reset shorcutting if actor can't move by z-axis on reaction time
...
If actor was shortcutting because it was swimming, then when it started
walking it still be shortcutting, but there will be no new path, because
shortcut path builds only for actor able moving by z-axis and pathfinder
path only for not shortcutting actor.
6 years ago
elsid
92b34e8bb4
Check whether can actor move along z-axis in separate function
6 years ago
elsid
bbd82a743a
Use different tolerance for path point and destination
6 years ago
elsid
ab090108cb
Assign world to local variable once per function
6 years ago
elsid
27a74725f1
Use osg::Vec3f
6 years ago
elsid
ff478aba6d
Use actor half extent for interior cells
6 years ago
elsid
346e9e3141
Add off mesh connections for doors without teleport
6 years ago
elsid
f8dbd5902f
Update doors objects in navigator
6 years ago
elsid
661da42bd2
Build path by navigator
6 years ago
elsid
d02beae5a8
Find path for actors according to their abilities to swim and walk
6 years ago
elsid
dc09674362
Add command and settings option to enable actors paths render
6 years ago
elsid
c95cea414c
Support water for NavMesh
6 years ago
elsid
72f211ef28
Add enums for area type and flags
6 years ago
elsid
fa23b590a4
Add unwalkable areas to NavMesh
6 years ago
elsid
f6a60790f8
Create collision shape for all avoided nodes
6 years ago
elsid
c3298d13a6
Add log sinks (stdout and file)
6 years ago
elsid
144e1a063b
Support animated objects
6 years ago
elsid
4aba0fa85f
Limit number of NavMesh tiles to add by distance from player tile
6 years ago
elsid
d2fd9abd51
Split RecastMesh into tiles
6 years ago
elsid
dbb1d99bff
Add NavMeshItem generation to fix update NavMesh for render
6 years ago
elsid
6f3028b8f9
Update navigator when unload cell or add/remove object to scene
6 years ago
elsid
937e8e1803
Allow to create empty RecastMesh
6 years ago
elsid
faaf50446d
Option to initially enable NavMesh render
6 years ago
elsid
02ce4a7e50
Log to detournavigator log cell load and unload
6 years ago
elsid
ed3a255f65
Do not use NavMesh to find changed tiles
6 years ago
elsid
d1e71f9322
Support btBoxShape for RecastMesh
6 years ago
elsid
70a369f70e
Add command to enable NavMesh render
...
togglenavmesh or tnm
6 years ago
elsid
dd5e6a61a3
Support btCompoundShape for RecastMesh
6 years ago
elsid
373adc6ec4
Option to enable/disable file names revisions
6 years ago
elsid
d1d034a1ec
Update NavMesh one by one tile in order from nearest to player
6 years ago
elsid
41caca24ee
Options to enable/disable write recast mesh and nav mesh into file
6 years ago
elsid
6d233ae868
Option in settings to enable/disable detour navigator debug log
6 years ago
elsid
0c8db84962
Load cells in order from nearest to player to furthest
6 years ago
elsid
0c8a7295e6
Use only player's half extents
6 years ago
elsid
fafba8ea0c
Use recastnavigation to find path
6 years ago
elsid
3d97e96f55
Add dependency to recastnavigation
6 years ago
elsid
e707202f88
Use local constant
6 years ago
elsid
ed89126828
Fix warning implicit conversion changes singedness
6 years ago
elsid
c866fdff86
Move physics object, heightfield, ptrholder into separate files
6 years ago
elsid
4fe764c3a5
Update and check for complete Pathfinder path by different methods
6 years ago
elsid
b6dd2119a6
Make Pathfinder constructor inline
6 years ago
elsid
92f52287bf
Make PathFinder::ClearPath inline
6 years ago
elsid
3655f19373
Set PathFinder::mCell to nullptr when clear path
6 years ago
elsid
85bbf9d034
Clear path without check for empty
6 years ago
elsid
ca3d0594b3
Do not store pointer to Pathgrid in PathFinder
6 years ago
elsid
3565d92e11
Make PathFinder::getPathCell inline
6 years ago
elsid
2ad3543088
Fix constant style
6 years ago
elsid
f9c651bdf3
Add const
6 years ago
elsid
2c464bd682
Evade obstacles after set rotation
6 years ago
elsid
eb10add0c4
Remove unused parameters
6 years ago
elsid
66e5a4d591
Remove useless variable
6 years ago
elsid
1a95b7a154
Remove duplicate zTurn call
6 years ago
elsid
d0bc1b75e8
Remove unused parameters
6 years ago
elsid
63b3a70ca8
Remove useless else
6 years ago
elsid
c9f3064cbd
Update ObstacleCheck once per frame
6 years ago
elsid
ad027d13fa
Remove unused
6 years ago
elsid
6d89241178
Check is path completed by osg::Vec3f position
6 years ago
elsid
2c6daa74a9
Simplify PathFinder::checkPathCompleted
6 years ago
elsid
6411c1955d
Fix indent
6 years ago
elsid
d3667945c5
Remove unused functions
6 years ago
elsid
31340a212a
Fix functions name style
6 years ago
elsid
2f424f6be2
Store aStarSearch result to deque
6 years ago
elsid
9b3756f8bc
Store path points in deque
6 years ago
elsid
925d909fea
Use rbegin
6 years ago
elsid
fbaa525c6f
Fix warning
6 years ago
elsid
4d868bec92
Use osg::Vec3f to store path nodes in Pathfinder
6 years ago
elsid
33dfe284bd
Mark local variables const which one does not change
6 years ago
elsid
0cfdf0c7b6
Remove unused virtual
6 years ago
Marc Zinnschlag
b30e309532
Merged pull request #1967
6 years ago
Andrei Kortunov
dad0b78901
Avoid overflow when handling output characters (bug #4676 )
6 years ago
AnyOldName3
0124be5713
Merge upstream/master
6 years ago
Capostrophic
47b1b0ac39
Re-fix water reflections while making a no-GUI screenshot
6 years ago
Capostrophic
4ec727c50b
Disallow to open the journal while settings window is open (bug #4674 )
6 years ago
Marc Zinnschlag
2d87d1d9d2
Merged pull request #1959
6 years ago
Marc Zinnschlag
d466785aa7
Merged pull request #1958
6 years ago
Marc Zinnschlag
38a3632be7
Merged pull request #1960
6 years ago
Andrei Kortunov
5617bb3f0c
Improve pitch factor handling for crossbow animations (bug #4672 )
6 years ago
Andrei Kortunov
e06f0b797a
Replace all NULLs to nullptr
6 years ago
Capostrophic
09aecb955c
getSkill usage cleanup (bug #4671 )
6 years ago
Capostrophic
cae2e84ab4
Trace the player down after enabling collision with TCL (bug #4669 )
6 years ago
Capostrophic
768c532b8f
Editor: display light source color as a color (bug #4668 )
6 years ago
Marc Zinnschlag
71f80db886
Merged pull request #1954
6 years ago
Bret Curtis
585313a71f
Merge pull request #1953 from Capostrophic/animation
...
Fix first person swimming animations
6 years ago
Capostrophic
03788edd63
Fix redundant drag call in instance dragging (bug #4593 )
6 years ago
Capostrophic
34e45efac3
Fix first person swimming animations
6 years ago
Marc Zinnschlag
503352e840
Merged pull request #1951
6 years ago
Marc Zinnschlag
b410d87aae
Merged pull request #1952
6 years ago
Andrei Kortunov
07ccc5abdb
Remove non-looping effects after rest
6 years ago
Andrei Kortunov
3896a2eba6
Do not use a PartHolder for spell effect node
6 years ago
Andrei Kortunov
632045e145
Improve the 'part has no parents' warning
6 years ago
Andrei Kortunov
4dc424036f
Cleanup magic effects, when create a new ActorAnimation
6 years ago
Capostrophic
674e33170b
Fix quick key system regressions (bug #4662 )
6 years ago
Marc Zinnschlag
38758a9555
Merged pull request #1944
6 years ago
Andrei Kortunov
43c7438e8e
Move WeakCache to components/misc
6 years ago
Marc Zinnschlag
33044add97
Merged pull request #1938
6 years ago
Marc Zinnschlag
3dc15d39e3
Merged pull request #1936
6 years ago
Capostrophic
2e98cad895
Fade out sun glare and specularity completely at night start, not sunset start
6 years ago
Andrei Kortunov
35abf7367c
Implement wearing priority for editor
6 years ago
Andrei Kortunov
ac848b0902
Use male bodyparts as fallback for females in the editor
6 years ago
Kyle Cooley
0096951f25
cleanup
6 years ago
Kyle Cooley
676fc48855
Re-add logic for empty model
6 years ago
Kyle Cooley
f43b70d77b
Centralize actor data, simplify logic
6 years ago
Kyle Cooley
c1ec926f43
Workaround inconsistencies with record status changes
6 years ago
Kyle Cooley
1518d630ca
Fix issue with body part events not propogating to actors
6 years ago
Kyle Cooley
031502b2ab
Reorganize ActorAdapter data, use weak cache for sharing
6 years ago
Kyle Cooley
2a9ebac572
Simplify update logic, update when race parts are changed.
6 years ago
Kyle Cooley
1276e0fa9b
Handle changes to race record when rendering actors
6 years ago
Kyle Cooley
b2115b60e6
Fix qt4 build
6 years ago
Kyle Cooley
6bece13a32
Use new Log class for error message
6 years ago
Kyle Cooley
97ac0a92dd
Move data handling out of rendering code, equip armor/clothes
6 years ago
Kyle Cooley
6b42f37918
Handle creatures too
6 years ago
Kyle Cooley
e2ac392a40
Move common stuff to scene util, fix errors with 1st person meshes
6 years ago
Kyle Cooley
8444ee9981
Start rendering npc's
6 years ago
Marc Zinnschlag
5fa9b32e76
Merged pull request #1937
6 years ago
Marc Zinnschlag
43880ca47b
Merged pull request #1919
6 years ago
Marc Zinnschlag
8b30f15df7
Merged pull request #1942
6 years ago
Marc Zinnschlag
c566514c9d
Merged pull request #1940
6 years ago
Andrei Kortunov
ee4ca87352
Traverse child nodes of cell node in the editor (bug #4654 )
6 years ago
Capostrophic
ba2fd8b795
Rename reflected absorb spells setting and add it to Advanced tab
6 years ago
Andrei Kortunov
8af021d729
Restore dynamic stats for actors in inactive cells (bug #1875 )
6 years ago
Andrei Kortunov
0176ee389e
Handle length of UTF-8 strings properly in plugin metadata (bug #4653 )
6 years ago
Andrei Kortunov
bce8de5fe9
Respect selected encoding in the content selector (bug #4467 )
6 years ago
Capostrophic
d2cad229f8
Ugly hack: don't reset player idle and movement animations in first person view
6 years ago
Marc Zinnschlag
0e06a25f21
Merged pull request #1935
6 years ago
Capostrophic
77fb4d6dd2
Make sure the idle animations are reset while jumping
6 years ago
Capostrophic
56ef11b023
Reset sneak and swim idle animations when moving
6 years ago
Capostrophic
713330351b
Experimental animation regression fixes
...
Don't unnecessarily start movement and jump animations from loop start
Don't play movement animation until jumping animation finishes
6 years ago
Sergey Fukanchik
b2a52a5b6c
Change 'after function'-style doxygen comment to normal.
6 years ago
Marc Zinnschlag
6ce6108eb4
Merged pull request #1932
6 years ago
Marc Zinnschlag
84a2752db9
Merged pull request #1933
6 years ago
Sergey Fukanchik
f00f35ba86
Add const to canRest()
6 years ago
Sergey Fukanchik
f2e11e6def
Fix MSVC C4596 illegal qualified name
6 years ago
Capostrophic
52da65b776
Fix issues with sun specularity (bug #4527 )
6 years ago
Sergey Fukanchik
44bcd9b25f
Fix tab characters
6 years ago
Sergey Fukanchik
c50ee22772
Wrap up World::canRest() implementation by moving enemiesNearby() from InputManager::rest() to World::canRest().
6 years ago
Andrei Kortunov
cd60d4fdf0
Store character controller in the variable make code less bulk
6 years ago
Andrei Kortunov
2ac2d01432
Optimize drowning state update
6 years ago
Andrei Kortunov
90d35aaa8f
Handle current health level during levelup (bug #4649 )
6 years ago
Andrei Kortunov
b3fd173e00
Check if current weapon has health at all in HUD (bug #4648 )
6 years ago
Andrei Kortunov
1634284739
Cache player's position outside of loops
6 years ago
Andrei Kortunov
b9346798c6
Optimize combat music update
6 years ago
Andrei Kortunov
fb484c6fde
Optimize AI loop a bit
6 years ago
Marc Zinnschlag
7be9f2ca45
Merged pull request #1891
6 years ago
Andrei Kortunov
01b3f92f7e
Make coc and fixme console commands close to vanilla (bug #4292 , bug #4217 )
6 years ago
Andrei Kortunov
bdd9eba2b8
Use C++ limits instead of C ones
6 years ago
Andrei Kortunov
276b7830a9
Mass potion creation (feature #4642 )
6 years ago
Marc Zinnschlag
3761aaadfd
Merged pull request #1928
6 years ago
Marc Zinnschlag
82d37dda20
Merged pull request #1927
6 years ago
Marc Zinnschlag
29bc5cbecf
Merged pull request #1925
6 years ago
Andrei Kortunov
6f4f6a155f
Combat AI: take ranged weapon speed in account
6 years ago
Andrei Kortunov
62f6f174cf
Show attack speed of ranged weapons
6 years ago
Andrei Kortunov
989de05f80
Do not show duration for infinite light sources as -1
6 years ago
Andrei Kortunov
6d0e6ab012
Use book font by default in the text formatter
6 years ago
Andrei Kortunov
dda02bd696
Do not use book fonts for dialogue window
6 years ago
Andrei Kortunov
70ed8fd1a9
Use constants instead of widely used magic numbers (task #4645 )
6 years ago
Bret Curtis
07be9ae8ac
Merge pull request #1926 from akortunov/warnfix
...
Fix MSVC warning about possibly uninitialized movestate variable
6 years ago
Andrei Kortunov
9c8fc0557a
Fix MSVC warning about possibly uninitialized movestate variable
6 years ago
Marc Zinnschlag
06b2a23e74
Merged pull request #1768
6 years ago
Marc Zinnschlag
d76367918a
Merged pull request #1907
6 years ago
Marc Zinnschlag
c6b62308cd
Merged pull request #1921
6 years ago
Marc Zinnschlag
29f6ee30a6
Merged pull request #1922
6 years ago
Andrei Kortunov
2961f0d810
Allow to use the %Name for creatures (bug #4644 )
6 years ago
Capostrophic
95aa05e41b
Tweaks to script parser messages and pathgrid warnings
6 years ago
Andrei Kortunov
ae1c054635
Make GetPCJumping return true only when jumping (bug #4641 )
6 years ago
Capostrophic
5909297809
Make underwater SFX always apply based on camera position (bug #4532 )
6 years ago
Capostrophic
5a86554f97
Cleanup
6 years ago
Capostrophic
c025427575
Implement enchantment record effect list verification (feature #1617 )
6 years ago
Capostrophic
d6560d3f20
Make several messages more strict and clean up topic info verifier
6 years ago
Capostrophic
5d1c1f25f7
Remove now redundant NPC fields checks
6 years ago
Capostrophic
015cd6064f
Implement basic enchantment record verifier (feature #1617 )
6 years ago
Capostrophic
dabdb0bfaf
Get rid of deprecated Messages::push_back()
6 years ago
Capostrophic
47b9008743
Renovate reference record verifier
6 years ago
Capostrophic
0bdb7ea92f
Cleanup
6 years ago
Capostrophic
34ffaa2fe2
Make finishing touches to object record verifiers
6 years ago
Capostrophic
d1b2fc11ef
Use messages::add in object record verifiers
...
Add NPC head and hair body part existence checks and expand creature record verifier, update playable class checks in class record verifier
6 years ago
Capostrophic
85dc1e4ef2
Revert unnecessary universalid changes in Journal record verifier
6 years ago
Capostrophic
e1ae7a9b0e
Avoid duplicate duplicate pathgrid point warnings
6 years ago
Capostrophic
1e5330d9da
Use Messages::add in skill record verifier
6 years ago
Capostrophic
35281d7c38
Use Messages::add in race, soundgen, spell and start script record verifiers
6 years ago
Capostrophic
b2b9bd94f0
Fix bolt object type
6 years ago
Capostrophic
8dcb58d745
Use Messages::add in Faction, Sound, Bodypart and Class record verifiers
6 years ago
Capostrophic
d433929194
Use Messages::add in birthsign record verifier
6 years ago
Capostrophic
6b226eef8f
Use Messages::add in magic effect record verifier
6 years ago
Capostrophic
5b8880c6fa
Update cell reference record verifier messages
6 years ago
Capostrophic
dc847dce09
Add item icon checks to object record verifier
6 years ago
Capostrophic
34077a6987
Purge unnecessary namespaces
6 years ago
Capostrophic
d90940011f
Add model checks to object record verifier
6 years ago
Capostrophic
38ea7928f5
Add sound file checks to sound record verifier
6 years ago
Capostrophic
1f717def35
Update journal, start script and spell verifiers messages
6 years ago
Capostrophic
a6d3cd9190
Update topic info verifier messages
6 years ago
Capostrophic
14ef145b3b
Update region and pathgrid record verifier messages
6 years ago
Capostrophic
a9ce155a7b
Update faction and body part record verifier messages
6 years ago
Capostrophic
7535daa94d
Update class and race record verifier messages
6 years ago
Capostrophic
fd1a3ad88d
Update object and script record verifier messages
6 years ago
Capostrophic
cf7a8c5775
Update soundgen record verifier messages
6 years ago
Capostrophic
5249492a31
Update skill record verifier messages
6 years ago
Capostrophic
51fdb94e34
Add texture check to birthsign verifier
6 years ago
Capostrophic
d3aa5840ec
Refactor magic effect record verifying
6 years ago
Bret Curtis
6035636e29
Merge pull request #1915 from akortunov/enterfix
...
Disable repeating for Accept GUI action
6 years ago
Marc Zinnschlag
a0f7282966
Merged pull request #1820
6 years ago
Marc Zinnschlag
ea053d9f47
Merged pull request #1881
6 years ago
Andrei Kortunov
6066f02010
Do not use universal IDs for menu items
6 years ago
Marc Zinnschlag
252ed9bd4b
Merged pull request #1914
6 years ago
Andrei Kortunov
275d10e1f7
Add missing icons for UniversalId tables and use them in the editor menu (feature #912 )
6 years ago
Capostrophic
664c630ac0
Don't make sTo strings static references
6 years ago
Andrei Kortunov
e300a16b24
Use field for columns count instead of out integer
6 years ago
Andrei Kortunov
7a986f38da
Support for user-defined TrueType fonts
6 years ago