jvoisin
22153cca7b
Reduce a bit the code bloat in hot paths/small functions
...
There is no need to bloat hot/small functions with
a ton of function calls and involving locales
for simple error messages.
2021-06-15 17:57:14 +02:00
unknown
7d756d997e
Rebuild the cache in readState
2021-06-12 18:18:52 +02:00
Bret Curtis
4ffc30f502
add OSGoS hash
2021-06-12 16:06:22 +02:00
Bret Curtis
fced78b66a
bump windows build deps to OSGoS 3.6 and MyGUI 3.4.1
2021-06-12 15:35:40 +02:00
CedricMocquillon
7fa67ff675
Use same distance for all lod instances of a chunk
2021-06-12 15:34:15 +02:00
Bret Curtis
f92fbc2acd
workaround shadow issue on macOS, https://gitlab.com/OpenMW/openmw/-/issues/6057
2021-06-12 15:34:15 +02:00
AnyOldName3
9bae89cc95
Merge branch 'macos_shadow_quickfix' into 'master'
...
Workaround shadow issue on macOS
See merge request OpenMW/openmw!937
2021-06-11 23:22:15 +00:00
Bret Curtis
868a5b35e3
workaround shadow issue on macOS, https://gitlab.com/OpenMW/openmw/-/issues/6057
2021-06-12 00:10:55 +02:00
psi29a
4d995a6be6
Merge branch 'update_mac_deps' into 'master'
...
update mac deps to include latest OSGoS 3.6, mygui 3.4.1 and multi-threaded bullet
See merge request OpenMW/openmw!936
2021-06-11 20:02:35 +00:00
Bret Curtis
91e1898aa2
make use of gitlab openmw-deps
2021-06-11 20:27:17 +02:00
Bret Curtis
49ce26361e
update mac deps to include latest OSGoS 3.6, mygui 3.4.1 and multi-threaded bullet
2021-06-11 16:44:15 +02:00
psi29a
036a344eae
Merge branch 'aoe_arrow' into 'master'
...
#6084 : Cast spell even if target Ptr is empty.
See merge request OpenMW/openmw!934
2021-06-11 09:18:25 +00:00
fredzio
7d0483d7ad
Cast spell even if target Ptr is empty. It happens when enchanted arrows
...
hit water or ground.
2021-06-11 05:55:37 +02:00
Evil Eye
90fa8dca35
Do not assume the bound item cache is valid after loading a save
2021-06-06 18:10:55 +02:00
Evil Eye
89e0bfd1a4
Purge summon effects on dispose
2021-06-06 12:45:42 +02:00
psi29a
c7f8a4faae
Merge branch 'sizeof_float' into 'master'
...
Use sizeof(GLfloat) instead of sizeof(GL_FLOAT)
See merge request OpenMW/openmw!928
2021-06-06 09:37:17 +00:00
glassmancody.info
bb834fb44e
append filename to shader names
2021-06-05 18:21:03 -07:00
jvoisin
7f4f2c042e
Use sizeof(GLfloat) instead of sizeof(GL_FLOAT)
...
GL_FLOAT is an enum, with the value 0x1406, while GLFloat is the actual type.
Source: https://www.khronos.org/opengl/wiki/OpenGL_Type
2021-06-04 23:21:26 +02:00
Evil Eye
004660be3d
Don't unsummon creatures not found within the active cells
2021-06-02 20:33:29 +02:00
jvoisin
d651f9e60c
Remove some useless variables from esmtool
2021-06-02 19:04:46 +02:00
Dan Church
70a0229010
Fix future FFMpeg API changes
...
avcodec_find_decoder now returns const AVCodec*.
2021-06-01 10:56:48 -05:00
psi29a
b2791fd487
Merge branch 'irc' into 'master'
...
Update IRC links to libera
See merge request OpenMW/openmw!920
2021-05-31 22:10:00 +00:00
Alexey Sokolov
3e4340338f
Update IRC links to libera
...
In README, in OpenCS about dialog, in Travis notification
2021-05-31 21:15:26 +01:00
Evil Eye
4026082494
Merge branch 'fix_sync' into 'master'
...
Fix what GitHub broke
See merge request OpenMW/openmw!918
2021-05-30 10:47:33 +00:00
psi29a
9058fa9f60
Merge branch 'fix_launcher_ui' into 'master'
...
Make launcher Advanced/Visuals tab look more like other
See merge request OpenMW/openmw!908
2021-05-30 11:53:18 +02:00
psi29a
a487295d39
Merge branch 'fix_new_game_guard' into 'master'
...
Consider time to destination when try to avoid collision
See merge request OpenMW/openmw!914
2021-05-30 11:52:48 +02:00
Thunderforge
89950e5528
Preventing type conversion of double to float for objectPagingMinSize
2021-05-29 16:27:23 -05:00
Thunderforge
9f2f5174d4
Adding Object Paging Min Size combo box to Advanced -> Visuals
...
Requested in Discord by CMAugust and hammered out with a few other users.
2021-05-29 16:17:30 -05:00
psi29a
7330921bd6
Merge branch 'statuesque' into 'master'
...
Use modified paralyze magnitude to fall and float
Closes #6063
See merge request OpenMW/openmw!915
2021-05-29 20:27:56 +00:00
psi29a
a5bf056860
Merge branch 'fix_configure_light_buffer_layout' into 'master'
...
Avoid resetting buffer object when configuring light buffer layout (#6064 )
Closes #6064
See merge request OpenMW/openmw!913
2021-05-29 20:10:12 +00:00
jvoisin
8695b6fbc5
Use operator[] instead of at() when the idx is checked
2021-05-29 15:31:32 +02:00
Evil Eye
b8472e1303
Use modified paralyze magnitude to fall and float
2021-05-28 16:55:54 +02:00
elsid
d4f28ac979
Avoid resetting buffer object when configuring light buffer layout
...
Otherwise this casues RaceSelectionPreview to have no light until first change.
2021-05-28 10:46:42 +02:00
psi29a
9dfba37ce9
Merge branch 'fix_big_object_navmesh_update' into 'master'
...
Fix overwhelming recast mesh and navmesh updates for big rotating objects (#6060 )
Closes #6060
See merge request OpenMW/openmw!911
2021-05-27 21:08:33 +00:00
elsid
e9433a91fb
Add more tests for TileCachedRecastMeshManager
2021-05-27 20:18:52 +02:00
psi29a
825ac6100f
Merge branch 'fix_loading_screen' into 'master'
...
Always center loading screen progress bar by height when there is active message box (#6059 )
See merge request OpenMW/openmw!910
2021-05-27 16:45:49 +00:00
psi29a
1ec9d471a2
Merge branch 'specifically_insensitive' into 'master'
...
Use ciEqual to determine actor-specific answers
Closes #6055
See merge request OpenMW/openmw!912
2021-05-27 16:43:24 +00:00
Evil Eye
1a1085272a
Use ciEqual to determine actor-specific answers
2021-05-27 17:13:04 +02:00
elsid
4a6961b365
Trigger navmesh update on moved player only when player tile has been changed
2021-05-27 16:52:42 +02:00
elsid
ed91cf9397
Replace unordered_map by map for storing objects
...
For small amount of items it gives better performance for find by key
for update.
2021-05-27 16:38:40 +02:00
elsid
22c2f106b7
Store object tiles position as sorted vector instead of set
2021-05-27 16:00:31 +02:00
elsid
f4f9fa4701
Limit oscillating recast mesh object AABB by tile bounds
...
AABB change outside recast mesh tile should not affect navmesh for this tile.
2021-05-27 12:40:29 +02:00
elsid
d122e184cc
Report navmesh change for not posted tiles
...
Corresponding recast mesh tiles can be updated but navmesh tiles may never
appear for them. Report back zero navmesh version to allow oscillating recast
objects detection to work. This version is always less than any generated
navmesh tile version so any report for generated navmesh will override it.
If zero navmesh version is reported after recast mesh tile got report about
generated navmesh tile it is a no-op since generated version is always greater
than zero.
2021-05-27 12:40:00 +02:00
elsid
3915e5d2cc
Always center loading screen progress bar by height when there is active message box
...
To fix all possible situations when active message box overlaps with loading
screen progress.
The only used condition to center loading screen progress by height is
number of message boxes > 0. No need to pass it through interface.
LoadingScreen can check it inside setLabel function.
2021-05-26 23:29:37 +02:00
AnyOldName3
4c4218f70d
Merge branch 'hangup-fix' into 'master'
...
Fix hangup on savegame after manual screenshots.
See merge request OpenMW/openmw!905
2021-05-24 17:57:39 +00:00
Mads Buvik Sandvei
d906ec773a
Fix hangup on savegame after manual screenshots.
2021-05-24 17:57:39 +00:00
psi29a
05c5688e3a
Merge branch 'slider' into 'master'
...
Make the light distance slider de/increment by 128
Closes #6052
See merge request OpenMW/openmw!904
2021-05-23 23:59:54 +00:00
Dobrohotov Alexei
f12a52c603
Make the light distance slider de/increment by 128
2021-05-24 01:57:08 +03:00
Alexei Dobrohotov
6a7bc208de
Merge branch 'dont_assign' into 'master'
...
Don't assign a variable passed by value
See merge request OpenMW/openmw!897
2021-05-23 22:51:42 +00:00
Dobrohotov Alexei
e68a454fd8
More ESM cleanup
2021-05-23 16:02:05 +03:00