uramer
b81d4cc11c
Merge branch 'fix_string_view_init' into 'master'
...
Initialize string_view with explicit size (#6625 )
Closes #6625
See merge request OpenMW/openmw!1665
2022-02-16 17:15:54 +00:00
ζeh Matt
e60e0b55eb
Fix potential another crash
2022-02-16 18:19:55 +02:00
ζeh Matt
83be3826ff
Fix #6618 : Crash due to iterator invalidation
2022-02-16 18:19:10 +02:00
elsid
b96c41df07
Initialize string_view with explicit size
...
Otherwise size is detected by null terminating character.
2022-02-16 17:11:25 +01:00
Bret Curtis
0f43455dc3
merge in master
2022-02-16 16:57:59 +01:00
elsid
139ae9325a
Fix compile errors by using StatelessUtf8Encoder
2022-02-16 16:41:23 +01:00
elsid
4a06351c3b
update to_utf8 and translation to make use of new stateless utf8
2022-02-16 10:48:49 +01:00
psi29a
d680870e8f
Merge branch 'fix_aabb' into 'master'
...
Fix btAABB initialization (#6489 )
Closes #6489
See merge request OpenMW/openmw!1664
2022-02-16 08:01:23 +00:00
psi29a
b24f23b6de
Merge branch 'fix_utf8_resize' into 'master'
...
Fix buffer resizing by StatelessUtf8Encoder
See merge request OpenMW/openmw!1663
2022-02-16 07:53:30 +00:00
elsid
2e38f0b641
Fix btAABB initialization
2022-02-16 02:58:59 +01:00
elsid
875d9dcead
Fix buffer resizing by StatelessUtf8Encoder
2022-02-15 23:02:32 +01:00
Evil Eye
f9da792386
Force a scale update when changing view modes
2022-02-15 17:25:07 +01:00
psi29a
8a0fb4d633
Merge branch 'stateless_utf8_encoder' into 'master'
...
Add StatelessUtf8Encoder to support caller provided buffer for output
See merge request OpenMW/openmw!1660
2022-02-15 08:35:31 +00:00
psi29a
776b286286
Merge branch 'esm_name' into 'master'
...
Use ESM::NAME instead of const char* and std::string as argument type
See merge request OpenMW/openmw!1659
2022-02-15 08:11:12 +00:00
elsid
3305b400dc
Use ESM::NAME instead of const char* and std::string as argument type
2022-02-14 23:40:40 +01:00
elsid
c044bef6a7
Add StatelessUtf8Encoder to support caller provided buffer for output
2022-02-14 23:19:49 +01:00
elsid
fbbf871067
Avoid extra copy for Utf8Encoder::getUtf8 result
2022-02-14 23:01:32 +01:00
elsid
b617d0aec4
Merge branch 'fix_empty_utf8' into 'master'
...
Fix out of bounds access for std::string_view
See merge request OpenMW/openmw!1658
2022-02-14 21:42:10 +00:00
psi29a
be761b5c07
Merge branch 'charming_stats' into 'master'
...
Third time's the charm
Closes #6611
See merge request OpenMW/openmw!1657
2022-02-14 20:33:07 +00:00
elsid
071ab3f650
Fix out of bounds access for std::string_view
2022-02-14 19:56:50 +01:00
Evil Eye
649c2f8286
Fix stats not working right for saves started before version 17
2022-02-14 18:38:37 +01:00
Petr Mikheev
72e76ad820
Merge branch 'Issue-6598' into 'master'
...
Update overview.rst (#6598 )
See merge request OpenMW/openmw!1655
2022-02-14 11:14:41 +00:00
David Nagy
d787317df9
Update overview.rst ( #6598 )
2022-02-14 11:14:41 +00:00
psi29a
149ef56b60
Merge branch 'utf8_encoder_tests' into 'master'
...
Add tests for Utf8Encoder
See merge request OpenMW/openmw!1654
2022-02-14 06:39:39 +00:00
elsid
a4d7b72511
Write png image of the global map for save asynchronously
...
Write global map to the save file last to give more time for async job to
finish.
2022-02-13 21:42:36 +01:00
elsid
b43eb29465
Log duration of writing save game file
2022-02-13 21:24:18 +01:00
elsid
7884a01026
Add tests for Utf8Encoder
2022-02-13 17:19:08 +01:00
psi29a
bd8c75daee
Merge branch 'quest_redo' into 'master'
...
Restart all quests with the same name when a quest is restarted
Closes #6606
See merge request OpenMW/openmw!1651
2022-02-13 15:31:18 +00:00
psi29a
a2a741c71f
Merge branch 'lua_require' into 'master'
...
Allow `require` to return not a table in Lua
See merge request OpenMW/openmw!1650
2022-02-13 15:30:37 +00:00
psi29a
e42d3a2000
Merge branch 'anim-creature-docs' into 'master'
...
Documentation how to get an Animated creature in OpenMW
See merge request OpenMW/openmw!1190
2022-02-13 15:30:22 +00:00
Matjaž Lamut
2d4d28fb8e
Documentation how to get an Animated creature in OpenMW
2022-02-13 15:30:21 +00:00
Petr Mikheev
d8127fdad2
Merge branch 'refactor/aisequence-2' into 'master'
...
#6091 : Optimize isInCombat
See merge request OpenMW/openmw!1636
2022-02-12 23:50:42 +00:00
Matt
367bdcf0cc
#6091 : Optimize isInCombat
2022-02-12 23:50:41 +00:00
psi29a
cd8967e265
Merge branch 'utf8_encoder_string_view' into 'master'
...
Use std::string_view for argument and return type of Utf8Encoder functions
See merge request OpenMW/openmw!1652
2022-02-12 18:07:26 +00:00
jvoisin
17ecaf177a
Merge branch 'nif_refactor' into 'master'
...
Refactor some parts of nif loading code
See merge request OpenMW/openmw!1648
2022-02-12 18:04:06 +00:00
Evil Eye
0f95f558a8
Merge branch 'splash' into 'master'
...
Clarify stretch menu background documentation (#5880 )
Closes #5880
See merge request OpenMW/openmw!1653
2022-02-12 16:27:37 +00:00
elsid
c75e938c46
Return string_view from Utf8Encoder functions
...
To avoid redundant std::string constructions.
2022-02-12 17:11:54 +01:00
Alexei Dobrohotov
4502569660
Clarify stretch menu background documentation ( #5880 )
2022-02-12 18:33:18 +03:00
Alexei Kotov
14a9af15ab
Merge branch 'dagoth_wave' into 'master'
...
Remove weaponless, non-biped distinction
Closes #5054
See merge request OpenMW/openmw!1517
2022-02-12 15:07:32 +00:00
Alexei Kotov
380823d0ee
Merge branch 'always-use-best-attack-rounding-fix' into 'master'
...
Fix always-use-best-attack rounding
See merge request OpenMW/openmw!1647
2022-02-12 15:03:44 +00:00
Alexei Kotov
c1cd3ba9a1
Merge branch 'oopsy' into 'master'
...
Expect recent saves to store the modified value
Closes #6604
See merge request OpenMW/openmw!1649
2022-02-12 14:24:51 +00:00
elsid
c9c7fb7e49
Remove redundant functions from Utf8Encoder interface
2022-02-12 13:47:46 +01:00
Evil Eye
c382910c1f
Restart all quests with the same name when a quest is restarted
2022-02-12 13:25:27 +01:00
Petr Mikheev
6876851766
Allow require
to return not a table in Lua
2022-02-12 12:02:17 +01:00
Evil Eye
fdfde836fe
Expect recent saves to store the modified value
2022-02-12 01:03:12 +01:00
elsid
2a87cf1720
Replace unordered_map by switch statement
...
Add handling for missing Nif::BSLightingShaderType::ShaderType_SkinTint. Use
string_view instead of string to avoid lifetime issues for returning value.
osg::Object::setUserValue will anyway copy string.
2022-02-11 22:12:39 +01:00
elsid
e1fe501013
Use proper type for Record::recType
2022-02-11 21:52:00 +01:00
elsid
283b68025c
Avoid possible race condition on NIFFile::sLoadUnsupportedFiles
...
Its value is written from the main thread but other threads read it.
2022-02-11 21:41:08 +01:00
elsid
fbd95516f4
Repalce raw for-loops by corresponding algorithms
2022-02-11 21:41:08 +01:00
elsid
082810f924
Store record type as a part of construct function type
2022-02-11 21:41:08 +01:00