Commit Graph

15606 Commits (dbd0d83a6b4272addd984ac1c06ca1bece07ebe9)

Author SHA1 Message Date
Capostrophic 6dbd875f75 Disallow binding some reserved keys (bug #3282) 6 years ago
bzzt 1143985bc7 Do not update map texture if it did not change 6 years ago
bzzt d707eaac36 Use ICO for water shader 6 years ago
bzzt 231e629e66 Store map widgets and textures in one vector instead of 4 different ones 6 years ago
bzzt c2176945bd Do not use the delayed map cells update 6 years ago
Bret Curtis bbbdefce5f
Merge pull request #2275 from elsid/fix_map_iteration
Use auto for map value_type in range-based for loops
6 years ago
elsid 5434e92437
Take in account actor half extents for obstacle check 6 years ago
elsid 1e8bf3846e
Remove unused argument 6 years ago
elsid 287433efa8
Stop walking for water and flying creatures after single stuck 6 years ago
elsid a65f60e1f1
Build path only by navmesh for wandering near spawn 6 years ago
elsid ff67a9e233
Build straight path for wandering flying and water creatures 6 years ago
elsid ebdff5d96e
Check for height map when cast ray for AiWander path 6 years ago
elsid e033b0c565
Avoid build path through the ground for flying wandering creatures 6 years ago
elsid e82d65a2c7
Use if-continue to skip build path 6 years ago
elsid fa7b304e78
Use auto for map value_type in range-based for loops
To avoid implicit call of copy constructor for
pair<const K, V> to pair<K, V> conversion.
6 years ago
Chris Djali e14682e353
Merge pull request #2273 from AnyOldName3/conformant-comparator
Use irreflexive, asymmetric comparator as required by the spec.
6 years ago
AnyOldName3 32da9a8ab1 Use irreflexive, asymmetric comparator as required by the spec. 6 years ago
Capostrophic 695cd5bb49 Minor NpcAnimation cleanup 6 years ago
Bret Curtis 7ccfec4d21
Merge pull request #2270 from akortunov/animfix
Fixes for werewolf animations
6 years ago
Andrei Kortunov be12d241da Reset current attack during force update (bug #4922) 6 years ago
Andrei Kortunov e171d34192 Init NPC type properly in the NpcAnimation 6 years ago
elsid ccb325c663
Add override to fix warnings 6 years ago
Andrei Kortunov 7501f18d21 Avoid the 'structurally dead code' warning 6 years ago
Andrei Kortunov 7995a92672 Initialize missing variables 6 years ago
Andrei Kortunov fd5e9cf271 Catch possible boost::bad_any_cast exception 6 years ago
Bret Curtis b819690e82
Merge pull request #2264 from akortunov/optimize_terrain
Delete composite map layers in the background thread
6 years ago
bzzt aa5a071aef Delete composite map layers in the background thread 6 years ago
Bret Curtis e2ed90e67b
Merge pull request #2262 from akortunov/guifixes
[Regression] Fix missing \n characters on the active effects tooltips
6 years ago
Bret Curtis d56733149c
Merge pull request #2201 from akortunov/optimize_terrain
Optimize terrain
6 years ago
Bret Curtis 4e3de9b00c
Merge pull request #2206 from Capostrophic/title
Loop title screen music (bug #4896)
6 years ago
bzzt 5ec28e09c9 Do not recreate shaders to update transparency 6 years ago
Andrei Kortunov c6cb91ce61 Limit maximum FOV value 6 years ago
bzzt 6029ed4ecc Reject empty quad tree nodes at the cell level without land data 6 years ago
Andrei Kortunov 80e0fbdd88 Fix missing \n characters on the active effects tooltips 6 years ago
elsid 4624f31788
Report navigator stats 6 years ago
Capostrophic abae35e88b Loop title screen music (bug #4896) 6 years ago
Capostrophic 168e758921 Correct look and behavior of some setting sliders 6 years ago
Bret Curtis 433893e733
Merge pull request #2256 from unelsson/instance_viewcell
Editor: Implement exterior cell view from Instances table
6 years ago
Nelsson Huotari 2b674cedaa Implement view cell from r-type hint 6 years ago
Capostrophic dd03d3b231 Print SDL version at startup 6 years ago
Andrei Kortunov 2ed05a5195 Implement generic caching system 6 years ago
Bret Curtis f62c1c59b4
Merge pull request #2241 from Capostrophic/console
Use selected object local variables in the console (feature #3893)
6 years ago
Bret Curtis 7b1a62fc1d
Merge pull request #2247 from akortunov/loadtex
Allow to override texture records in the game
6 years ago
Andrei Kortunov 943279abbb Consider land texture with given ID and index as override for base texture with the same ID and index (bug #4736) 6 years ago
Bret Curtis cb1a5f3679
Merge pull request #2245 from elsid/navigator_refactor
Refactor navigator related code
6 years ago
elsid 518e34b403
Remove useless variables 6 years ago
elsid 614d5243c3
Make NavMeshCacheItem consistent
Move all logic related to this type into its methods.
6 years ago
Capostrophic dd952c3ddb Fix extra space in "no script" showvars output 6 years ago
Capostrophic 578beb6305 Use selected object local variables in console (feature #3893) 6 years ago
elsid ccc709a316
Store guarded navmesh cache item in shared_ptr
Remove useless SharedGuarded type.
6 years ago
elsid 0479ebf5ae
Remove unused actors and navmeshes on update
When there is only one actor (player) on a scene and it moving to other
cell first it will be removed from navigator then added. Remove cause
navmesh removing for its half extents. After it is added navmesh for
same half extents is created and added. While this all happens there are
still jobs for old navmesh are processing. Old navmesh still exists
because it is stored by shared pointer. So jobs take tiles from cache
and place them into old navmesh. After that other jobs take same tiles
from cache (half extents and coordinates are equal) and place them into
other navmesh. dtNavMesh changes tile data on add and remove. Adding tile
to two dtNavMesh corrupts tile in both nameshes.
6 years ago
Bret Curtis 1078708da0
Merge pull request #2235 from akortunov/aifix
[0.45 regression] Fix AI regressions
6 years ago
Bret Curtis a4b647db3e
Merge pull request #2236 from Capostrophic/audio
Fix EAGAIN error leading to packets getting lost (bugs #4906, #4909)
6 years ago
Andrei Kortunov 08202f8185 Fix missing null check 6 years ago
Capostrophic d1967562a3 Fix the last audio packet getting lost 6 years ago
Andrei Kortunov 2a08b85998 Combat AI: normalize hit chance in the weapon priority calculation 6 years ago
Andrei Kortunov 5f0c8a4783 Combat AI: decrease priority multiplier for enchantments (bug #3830) 6 years ago
Bret Curtis 947bf880df
Merge pull request #2232 from elsid/fix_div_by_zero
Do not scale duration when timescale is zero
6 years ago
Bret Curtis 9b190eceab
Merge pull request #2230 from akortunov/preloading
Minor preloading improvements
6 years ago
elsid d3bdf912a4
Do not scale duration when timescale is zero 6 years ago
Bret Curtis 573e64e9c9
Merge pull request #2184 from elsid/fix_startup_script
[Testing needed] Always run startup script once at engine start (bug #4877)
6 years ago
Bret Curtis 048cfdfac6
Merge pull request #2228 from Capostrophic/mainmenu
Fix main menu toggling again
6 years ago
Andrei Kortunov 12f9184d00 Allow to interrupt terrain preloading 6 years ago
Bret Curtis c20e69ef24
Merge pull request #2227 from elsid/fix_twitchy_massive_creatures
Fix twitchy movement for massive creatures (bug #4907)
6 years ago
Bret Curtis e3bde5ec91
Merge pull request #2226 from akortunov/projectilefix
Use relative animation time only for bows and crossbows
6 years ago
Bret Curtis c2a7aa2932
Merge pull request #2225 from elsid/retry_async_navmesh_update_job
Support explicit limit of navmesh tiles for scene
6 years ago
Capostrophic ca83b9ee90 Refactor main menu and settings toggling again 6 years ago
elsid ea80a81538
Drop path points while tolerance allows 6 years ago
elsid b9f21ec81a
Use custom steps size to make smooth path depending on half extents 6 years ago
elsid 8fd6b37e34
Make path point tolerance depending on actor half extents 6 years ago
bzzt e0cf460ba3 Do not load terrain beyond the viewing distance 6 years ago
Andrei Kortunov 4c21776b94 Use relative animation time only for bows and crossbows (bug #3778) 6 years ago
elsid f2e47d640d
Add option to limit max number of navmesh tiles 6 years ago
Bret Curtis 1e4bbe8997
Merge pull request #2223 from Capostrophic/animation
Fix raki creatures in Skyrim: Home of the Nords (bug #4810)
6 years ago
Andrei Kortunov de41c98022 Refactor menu toggling 6 years ago
Capostrophic b05531818c Fix raki creatures in Skyrim: Home of the Nords (bug #4810)
Make bip01 have higher priority than 'root node' node when determining the movement accumulation root
6 years ago
Bret Curtis c55141d18d
Merge pull request #2217 from Capostrophic/shader
Move forcePPL and clamp to global shader defines (task #4869)
6 years ago
Bret Curtis df6112aa35
Merge pull request #2221 from akortunov/iter
Use C++11-style loops in the game world instead of iterators
6 years ago
Perry Hugh b8b7568ce5 Correct odd toggling menu behavior. 6 years ago
Bret Curtis 088de40365
Merge pull request #2218 from akortunov/warnfix
Fix MSVC warning about variable re-declaration
6 years ago
Bret Curtis a5d7efc009
Merge pull request #2207 from CyberShadow/gettooltipinfo-var
[Trivial] Reuse a previously-saved value
6 years ago
Bret Curtis 9adb557833
Merge pull request #2211 from Capostrophic/messages
Small script verifier tweaks
6 years ago
Andrei Kortunov d23a0ce2ae Use C++11-style loops in the game world instead of iterators 6 years ago
Andrei Kortunov dcec9df345 Fix MSVC warning about variable re-declaration 6 years ago
Bret Curtis 8bd7effae1
Merge pull request #2212 from elsid/navigator_log_spam
Do not build path by navigator for pure water and flying creatures
6 years ago
Bret Curtis 41d1521f1d
Merge pull request #2213 from elsid/min_path_point_tolerance
Use min point tolerance to prevent face wrong direction (bug #4814)
6 years ago
Bret Curtis 7e5c7064af
Merge pull request #2214 from CyberShadow/pull-20190305-225227
DRY skill widget updates in stats window
6 years ago
Vladimir Panteleev 9d5fc7954f
DRY skill widget updates in stats window
The skill widgets were configured in two places: initial creation, and
updates. The former was redundant, and duplicated the functionality of
the latter.

To fix this redundancy, replace the duplicate code with a call to
setValue.
6 years ago
Capostrophic 0cdc46dfd6 Move forcePPL and clamp to global shader defines (bug #4869) 6 years ago
elsid cf1e1d9f4b
Use min point tolerance to prevent face wrong direction (bug #4814)
When next path point is too close to actor and it has speed 0,
it can face direction not pointing to path target.
6 years ago
elsid eb45f99880
Remove unused code 6 years ago
elsid 5405efd3b5
Do not build path by navigator for pure water and flying creatures
They don't need to move by surfaces and to open/close doors.
6 years ago
Capostrophic 44da71fdb3 Restructure script verifier message 6 years ago
Capostrophic 59f7df187d Add explicit variant of Journal 6 years ago
Bret Curtis cb29dc7b85
Merge pull request #2209 from akortunov/effectfix
[Regression] Fix magic glow update for sheathing weapons
6 years ago
Andrei Kortunov bcf086d72d Fix magic glow update for sheathing weapons 6 years ago
fredzio 93ffdc915d SearchVisitor copy a new std::string everytime CellsStore::search is
called. Use a reference instead
6 years ago
elsid 84fbb486d3
Fix switch from invalid navmesh number to valid 6 years ago
elsid 80051db8f8
Update rotated objects in navigator 6 years ago
elsid 8c08c3c7d6
Update moved objects in navigator 6 years ago
elsid 27d7452267
Update scaled objects in navigator 6 years ago
elsid 2e063d59ce
Update scaled agent half extents in navigator (bug #4763) 6 years ago
elsid 43b39e8418
Use not scaled player half extents as default to find path 6 years ago
elsid 1218e4e15d
Use player half extents only to find path in exterior cells 6 years ago
Vladimir Panteleev 12bbecacfd
Reuse a previously-saved value 6 years ago
Bret Curtis 14c93b3df0 Revert "Merge pull request #2204 from elsid/fix_navigator_update"
This reverts commit 26fb0e7a0f, reversing
changes made to 42b2391303.
6 years ago
Bret Curtis 84ce9814fd
Merge pull request #2203 from elsid/update_recastnavigation
Update recastnavigation
6 years ago
elsid b51a54e976
Update rotated objects in navigator 6 years ago
elsid f394ace4d5
Update moved objects in navigator 6 years ago
elsid 133d7447f3
Update scaled objects in navigator 6 years ago
elsid 1f41d5721d
Update scaled agent half extents in navigator (bug #4763) 6 years ago
elsid c066ee9dc5
Use not scaled player half extents as default to find path 6 years ago
elsid a4f300f810
Use player half extents only to find path in exterior cells 6 years ago
elsid 895899b25b
Fix tests 6 years ago
elsid 2b3bc4fe61
Add detailed output for osg::Vec3f in tests 6 years ago
Perry Hugh 37f5ab2104 Gamepad controls now sent to keyboard input, excluding joystick. Added right thumbstick button to toggle mouse emulation. 6 years ago
Bret Curtis aa513bba29
Merge pull request #2202 from Capostrophic/icon
Fix enchanted item icon update
6 years ago
Perry Hugh 313611b79d Analogue Joystick Movement 6 years ago
Capostrophic 2f38e4fbb3 Fix enchanted item icon update 6 years ago
Bret Curtis 79fca2e7c6
Merge pull request #2095 from akortunov/reflections
Add more settings to water reflections
6 years ago
Bret Curtis f6127a30c0
Merge pull request #2199 from akortunov/guifixes
Use C++11-style loops in the GUI instead of iterators
6 years ago
Bret Curtis e7bf89d3d5
Merge pull request #2200 from akortunov/warnfix
Replace boost GCD by the homebrew implementation
6 years ago
Perry Hugh 7b6f41c5c3 Correct gamepad default bindings to exactly match vanilla XBOX, create fair interplay between toggling main menu and options menu, allow toggling menus at any time. 6 years ago
Andrei Kortunov bf5f68a4d8 Replace boost GCD to the homebrew implementation 6 years ago
Andrei Kortunov 9398117ea7 Allow to do not reflect terrain 6 years ago
Andrei Kortunov 00ab552184 Add more settings to water reflections in exteriors (feature #4859) 6 years ago
Bret Curtis cd70354f34
Merge pull request #2190 from akortunov/terrain
Make Distant Terrain configurable
6 years ago
Andrei Kortunov 8df8bd3f37 Use C++11-style loops in the GUI instead of iterators 6 years ago
Andrei Kortunov 56fea4b062 Add setting to control composite geometry size 6 years ago
bzzt 9d44e18af6 Allow to configure terrain vertex LOD 6 years ago
bzzt fd94d7f7ff Make Distant Terrain more configurable (feature #4890) 6 years ago
Bret Curtis cf20682d0c Merge branch 'gamepad-sneak-shortcut' into 'master'
Gamepad - Toggle Sneak Shortcut

See merge request OpenMW/openmw!73
6 years ago
Grigory Latyshev 3872d7476b Move makeOsgVec3f() to settingsutils.hpp
Remove all other makeOsgVec3f() implementations
6 years ago
Andrei Kortunov a14c832f4f Fix Boost version check in the launcher 6 years ago
David Cernat 12cef51122
Merge pull request #2192 from Capostrophic/bzzt
Port minor fixes from bzzt's branch
6 years ago
Perry Hugh 3ac5481ab4
Enable toggling sneak via gamepad. 6 years ago
elsid 619a111a11
Run startup script once at engine start when game is running (bug #4877) 6 years ago
Perry Hugh c6fb94d6cb xbox-bindings 6 years ago
bzzt bcbee08a1b Fix creature model instance preloading 6 years ago
bzzt 5ffb40e8ba Don't preload terrain when loading an interior save 6 years ago
Bret Curtis 735bcf17c2 Merge branch 'boost-gcd-deprecation' into 'master'
Fix boost deprecation warning

See merge request OpenMW/openmw!66
6 years ago
AnyOldName3 cd4303da23 Add preprocessor check to determine which common_factor header to use. 6 years ago
elsid 33f6fb258d
Option to set specific random seed for random number generator 6 years ago
Bret Curtis f6da025f02
Merge pull request #2188 from Capostrophic/memory
Always include <memory> for smart pointers in MWGui
6 years ago
Capostrophic 216e1ab16f Always include <memory> for smart pointers in MWGui 6 years ago
Bret Curtis dc1c2358b9
Merge pull request #2089 from akortunov/qthelp
Editor: Add basic info window
6 years ago
Bret Curtis 3316938dfc
Merge pull request #2182 from Capostrophic/format
Replace Boost format and replace_all where possible
6 years ago
Bret Curtis 56d5fc788c
Merge pull request #2163 from Capostrophic/hello
AI data handling minor revisions
6 years ago
Capostrophic e70cc10305 Some more de-boosting 6 years ago
Capostrophic 8ecd0b82a4 Replace Boost format and replace_all where possible 6 years ago
Bret Curtis d4564a9be7
Merge pull request #2180 from akortunov/includes
Remove redundant includes
6 years ago
Bret Curtis 44920352ce
Merge pull request #2181 from Capostrophic/boost
Get rid of Boost.Array
6 years ago
Capostrophic 594ea39f5d Revise AI data handling
Make Hello 16-bit unsigned as it's intended to be
Get rid of redundant mHasAI boolean
Always save AI data subrecord
Adjust creature and NPC default rating values to Morrowind defaults
6 years ago
Bret Curtis 4a69d96483 Merge branch 'esm_name_template_fix' into 'master'
Make sure that proper operator function of ESM:FIXED_STRING is used for char[N] argument

See merge request OpenMW/openmw!63
6 years ago
Bret Curtis 8e3b10b5b4 Merge branch 'detour_navigator_unit_test_fix' into 'master'
Fix DetourNavigatorNavMeshTilesCacheTest on Windows

See merge request OpenMW/openmw!65
6 years ago
Bret Curtis f8b34bf7f1 Merge branch 'preview_levelled_item' into 'master'
Fixes #4703 Disable preview for item leveled list

Closes #4703

See merge request OpenMW/openmw!57
6 years ago
Bret Curtis df2de8a661
Merge pull request #2068 from Capostrophic/normalweapons
Make normal weapon resistance behavior closer to vanilla (bug #4384)
6 years ago
Andrei Kortunov f5eacfcf63 Support for temporary stunted magicka effects 6 years ago
Andrei Kortunov fcdb0c16bf Update jail state once instead of for every single hour 6 years ago
Andrei Kortunov 3032b177a1 Remove redundant includes 6 years ago
Capostrophic 58788de7c4 Get rid of Boost.Array 6 years ago
Capostrophic 4138e29ca4 Add option to restore the previous ammo behavior 6 years ago
Bret Curtis ba491a8af0
Merge pull request #2069 from Capostrophic/skeleton
Use the skeleton from the NPC's set model (bug #4747)
6 years ago
Bret Curtis cc214cf6b0
Merge pull request #2082 from Capostrophic/teleporting
Make magic teleportation attempts detectable even when teleportation is disabled (bug #3765)
6 years ago
Bret Curtis c815a2cb42
Merge pull request #2107 from Capostrophic/idledialogue
Move idle dialogue playback from AiWander (bug #4594)
6 years ago
Bret Curtis 4d09c8bb50
Merge pull request #2126 from Capostrophic/sneaking
Account for running/sneaking stances while in air (bug #4797)
6 years ago
Bret Curtis d2b93fc702
Merge pull request #2146 from Capostrophic/quest
Make quest status update handling closer to vanilla (bug #4815)
6 years ago
Bret Curtis 942f7f776d
Merge pull request #2168 from Capostrophic/gamepad
Option to disable controller (feature #3980)
6 years ago
Bret Curtis 212f097b3c
Merge pull request #2172 from akortunov/pvs_fix
Fix some issues, found by PVS-Studio
6 years ago
Bret Curtis 55fc04e462
Merge pull request #2175 from Capostrophic/includes
Include cleanup
6 years ago
Bret Curtis 09d57c5154
Merge pull request #2177 from akortunov/alpha
Handle initial actor's transparency
6 years ago
elsid 2342a31add
Add more tests for TileCachedRecastMeshManager 6 years ago
elsid 73734fc04d
Fix update navmesh for not changed objects
When update method is called for not changed object befor this change
all object tiles were considered as not object tiles and were removed.
Also this marked those tiles as changed. This lead to alternation
between remove and add each tile update method was called. Problem was
detected by using Animated Containers mod.
6 years ago
Capostrophic b738cc0383 Make normal weapon resistance behavior closer to vanilla (bug #4384)
Check both the ranged weapon and the projectile before modifying the damage
Don't attempt to apply NPC-specific werewolf damage mult to damage to creatures
6 years ago
Capostrophic 64d5cd17d6 Move werewolf silver damage mult applying into a new function 6 years ago
Capostrophic 808b8ce8db Refactor normal weapon resistance 6 years ago
Capostrophic 7a7e390099 Make unsuccessful magic teleportation attempts detectable (bug #3765) 6 years ago
Andrei Kortunov 629a6be477 Handle initial actor's transparency (bug #4860) 6 years ago
Andrei Kortunov 097c649885 Use enumerable instead of magic number 6 years ago
Chris Djali cb5a57e41b
Merge pull request #1547 from AnyOldName3/osgshadow-test-vdsm
Shadows
6 years ago
Bret Curtis 7566370981
Merge pull request #2160 from Capostrophic/topicindex
Fix hiding three-column (Cyrillic) topic index
6 years ago
Bret Curtis bc71db947a
Merge pull request #2174 from Capostrophic/jumping
[0.45.0 regression] Correct jumping velocity
6 years ago
Capostrophic c03ed4cd50 Include cleanup 6 years ago
Bret Curtis fdb84dddc8
Merge pull request #2059 from Capostrophic/stacks
Don't stack scripted items (bug #2969)
6 years ago
Bret Curtis 09262e0336
Merge pull request #2170 from elsid/disable_navigator_option
Add option to disable DetourNavigator component (feature #4833)
6 years ago
Capostrophic c20030d8c9 Correct jumping velocity 6 years ago
Andrei Kortunov ff9afda18d Avoid to keep reference to the local 'encoder' variable outside the Engine::go() 6 years ago
Andrei Kortunov 9de0c9045a Fix API usage errors 6 years ago
Andrei Kortunov 229bd8505e Init missing variables 6 years ago
Andrei Kortunov dc6ef15571 Simplify loop in the addSkills() 6 years ago
Andrei Kortunov 80c62a4fe1 Fix endsWith() call 6 years ago
Andrei Kortunov ad9412a117 Remove some redundant checks 6 years ago
Andrei Kortunov 18a59df050 Throw exceptions by value instead of reference 6 years ago
elsid da6df818ff
Fix update navmesh
Every updated object should produce a set of changed tiles where it is
placed. Before this change only current object tiles were updated. If
object was moved to another set of tiles then navmesh were not changed
in new tiles.

TileCachedRecastMeshManager::updateObject should add all new tiles if object
was moved and remove all no more used tiles. Both new and old tiles should be
marked as changed.

Also add tests to show desired result for add, update, remove.
6 years ago
elsid 9626b6ec42
Add option to disable DetourNavigator component to find paths 6 years ago
elsid 16675fd254
Return empty path when navmesh is not found for agent 6 years ago
elsid 1d3668cd22
Add Navigator interface 6 years ago
elsid c68e64a2a7
Make navigator from settings manager setting in separate function 6 years ago
Capostrophic 39dcbacf44 Option to disable controller (feature #3980) 6 years ago
AnyOldName3 c68ccbc6b6 Use new common_factor header in the launcher, too 6 years ago