1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-22 12:53:52 +00:00
Commit graph

27882 commits

Author SHA1 Message Date
Bret Curtis
7fe6c39aa2 const the key/value 2022-04-11 16:59:46 +02:00
Vidi_Aquam
035fe778b2 Temporary workaround for angle snapping
Made the angle snap only apply to an object when the drag is finished, which is much more usable until the rotation system can be fixed completely
2022-04-11 08:12:38 -05:00
Bret Curtis
db3f9da08a coverity fixes and other bits 2022-04-11 14:37:22 +02:00
psi29a
5820e5701a Merge branch 'refactor/shadowtechnique' into 'master'
Cleanup code in mwshadowtechnique.cpp

See merge request OpenMW/openmw!1756
2022-04-11 11:15:27 +00:00
psi29a
03806eb75e Merge branch 'esm_rm_redundant_include' into 'master'
Remove redundant include from esm3/esmreader.hpp

See merge request OpenMW/openmw!1761
2022-04-11 07:47:48 +00:00
psi29a
cf1764f255 Merge branch 'constrained_file_stream' into 'master'
Avoid redundant conversion to const char* and use make_shared

See merge request OpenMW/openmw!1763
2022-04-11 07:26:53 +00:00
psi29a
1ddf703106 Merge branch 'icu-fix2' into 'master'
Detect ICU on macOS

See merge request OpenMW/openmw!1760
2022-04-11 07:24:33 +00:00
psi29a
292dda0c78 Merge branch 'esm_read_on_skip' into 'master'
Read when need to skip few bytes

See merge request OpenMW/openmw!1765
2022-04-11 06:33:39 +00:00
elsid
6481324eb1
Read when need to skip few bytes 2022-04-11 01:55:05 +02:00
elsid
5eb8c4aebe
Avoid redundant conversion to const char* and use make_shared 2022-04-10 22:33:08 +02:00
Petr Mikheev
fa29b9d6f7 Fix #6627 2022-04-10 22:31:09 +02:00
elsid
db44f91fd5
Remove redundant include from esm3/esmreader.hpp 2022-04-10 22:16:32 +02:00
Benjamin Winger
e3cedb5bfc
Set yaml-cpp and ICU as REQUIRED 2022-04-10 15:26:41 -04:00
Benjamin Winger
2c5a4e6416
Set ICU_ROOT instead of PKG_CONFIG_PATH to find ICU on macos 2022-04-10 15:26:25 -04:00
psi29a
7ebf9a3c45 Merge branch 'fix_skip_cell_ref_data' into 'master'
Fix skip cell ref data (#6693)

Closes #6693

See merge request OpenMW/openmw!1758
2022-04-10 18:53:12 +00:00
psi29a
e75504637d Merge branch 'icu-fix' into 'master'
Allow CMake to find the ICU version installed through homebrew

See merge request OpenMW/openmw!1759
2022-04-10 18:19:16 +00:00
ζeh Matt
b39aea4346
Move extremeEdges into queue instead of copying 2022-04-10 20:56:52 +03:00
ζeh Matt
19df9c3d17
Use vector for edge queue 2022-04-10 20:38:59 +03:00
elsid
c3a924de23
Fix skip DATA in cell ref loading 2022-04-10 19:16:30 +02:00
ζeh Matt
0790af962e
Cleanup code in mwshadowtechnique.cpp 2022-04-10 20:16:15 +03:00
elsid
6b464a9330
Check ESMReader value size in compile time 2022-04-10 19:16:11 +02:00
Benjamin Winger
8bd16179a6
Allow CMake to find the ICU version installed through homebrew 2022-04-10 12:39:03 -04:00
Petr Mikheev
d701a96a3c Merge branch 'i18n.lua-updates' into 'master'
Lua i18n updates

See merge request OpenMW/openmw!1621
2022-04-10 07:57:03 +00:00
Benjamin Winger
21ffbcc4b4 Lua i18n updates 2022-04-10 07:57:02 +00:00
jvoisin
5a2cafebea Merge branch 'refactor/6677-3' into 'master'
#6677: Reduce more calls

See merge request OpenMW/openmw!1755
2022-04-09 13:21:22 +00:00
ζeh Matt
058da82823
Reduce calls in CharacterController::updateState 2022-04-09 01:52:52 +03:00
ζeh Matt
dd222b9ef1
Reduce calls in CharacterController::updateIdleStormState 2022-04-09 01:21:34 +03:00
ζeh Matt
e85a979f10
Reduce calls in CharacterController::handleTextKey 2022-04-09 01:20:53 +03:00
ζeh Matt
25b26f6fa7
Reduce calls in CharacterController::refreshHitRecoilAnims 2022-04-09 01:06:15 +03:00
psi29a
9275b3c08f Merge branch 'make_shared' into 'master'
Use std::make_shared instead of new

See merge request OpenMW/openmw!1753
2022-04-08 21:35:55 +00:00
psi29a
2e596187b2 Merge branch 'unique_ptr' into 'master'
Replace shared_ptr by unique_ptr

See merge request OpenMW/openmw!1754
2022-04-08 21:33:45 +00:00
elsid
4509b05bc8
Use std::make_shared instead of new
make_shared allocates single storage for ref counter and the object.
std::shared_ptr<T>(new T) allocates 2 storages.
2022-04-08 22:50:09 +02:00
elsid
df092b558b
Replace shared_ptr by unique_ptr 2022-04-08 22:42:22 +02:00
psi29a
cfc951d645 Merge branch 'cell_ref_skip_load' into 'master'
Skip load cell ref when there is no need

See merge request OpenMW/openmw!1752
2022-04-08 18:46:49 +00:00
elsid
bbfdb347bd
Skip load cell ref when there is no need
Primarily to avoid temporary allocations by ESMReader::getHString.
2022-04-08 19:16:38 +02:00
psi29a
f4923204bf Merge branch 'replace_shared_ptr' into 'master'
Use unique_ptr instead of shared_ptr

See merge request OpenMW/openmw!1751
2022-04-08 15:13:38 +00:00
elsid
ec3674b40a
Use unique_ptr instead of shared_ptr
for MWWorld::Action, ProjectileManager and ESSImport::Converter.

shared_ptr has additional cost of reference counter and requires additional
allocation when constructed as shared_ptr<T>(new T).
2022-04-08 16:12:36 +02:00
psi29a
320e86156e Merge branch 'registered_class' into 'master'
Use static object to register classes

See merge request OpenMW/openmw!1746
2022-04-08 08:36:24 +00:00
psi29a
8f04be8e20 Merge branch 'esm_store_find_static' into 'master'
Store static id key in lower case

See merge request OpenMW/openmw!1750
2022-04-08 07:58:10 +00:00
elsid
5156ee94be
Store static id key in lower case 2022-04-08 01:22:48 +02:00
psi29a
42b9024c82 Merge branch 'navmeshdb_launcher_updates' into 'master'
Support max navmeshdb file size and removal of unused tile in the launcher UI

See merge request OpenMW/openmw!1749
2022-04-07 16:22:41 +00:00
elsid
7038c82690
Configure mav navmeshdb file size from the launcher 2022-04-07 16:38:01 +02:00
elsid
1baee5ddba
Add check box to remove unused tiles 2022-04-07 15:55:12 +02:00
psi29a
1ac7eaa6b0 Merge branch 'NiFltAnimationNode' into 'master'
Add NiFltAnimationNode support

Closes #6684

See merge request OpenMW/openmw!1732
2022-04-06 23:59:04 +00:00
psi29a
fc5605fc7f Merge branch 'navmeshtool_binary_log' into 'master'
Send status of navmeshtool to launcher using type binary messages

See merge request OpenMW/openmw!1630
2022-04-06 23:40:45 +00:00
psi29a
f5bc78cac3 Merge branch 'lua_ui_flex' into 'master'
Lua UI Flex widget

Closes #6646

See merge request OpenMW/openmw!1743
2022-04-06 23:29:23 +00:00
psi29a
8d3d01902a Merge branch 'optimizer' into 'master'
Optimizer-related fixes

See merge request OpenMW/openmw!1744
2022-04-06 23:00:17 +00:00
Wolfgang Lieff
373776170d refactor for NiFltAnimationNode 2022-04-07 00:49:08 +02:00
Bret Curtis
c376f3793e check that the index is now -1; otherwise bad things happen 2022-04-07 00:09:11 +02:00
Bret Curtis
af41560c3f reverse the reverse flag check; set duration to 0.2f which matches openmw to morrowind speed which is measured in 1/5 seconds 2022-04-07 00:09:11 +02:00