Commit Graph

27404 Commits (8512f7cb4c4832d8e81337eb0ac87a1217a48228)
 

Author SHA1 Message Date
Timo Gurr 8512f7cb4c cmake: only download benchmarks if we build with it
Since 70623d0b23 CMake tries to download
benchmarks even if we pass -DBUILD_BENCHMARKS:BOOL=FALSE.
3 years ago
psi29a d4f46ed156 Merge branch 'cmake-share2' into 'master'
cmake: for now do not use CMAKE_INSTALL_DATAROOTDIR for GLOBAL_DATA_PATH

See merge request OpenMW/openmw!1612
3 years ago
Timo Gurr 7e346fbbdd cmake: for now do not use CMAKE_INSTALL_DATAROOTDIR for GLOBAL_DATA_PATH 3 years ago
Cody Glassman 5b641a61d2 Merge branch 'ptmikheev-master-patch-38354' into 'master'
Add better explanation of the `onLoad` engine handler.

See merge request OpenMW/openmw!1599
3 years ago
Petr Mikheev ec4adcc5a2 Add better explanation of the `onLoad` engine handler. 3 years ago
jvoisin d291b17c68 Merge branch 'refactor/script-cleanup' into 'master'
Use pop_back to shrink the stack

See merge request OpenMW/openmw!1597
3 years ago
jvoisin 4cd6d2dacf Merge branch 'rework_fixed_string' into 'master'
Rework fixed string

See merge request OpenMW/openmw!1596
3 years ago
jvoisin 43f64e9f75 Merge branch 'tasty_sujamma' into 'master'
Uncap attribute and skill damage for drain and absorb effects

See merge request OpenMW/openmw!1592
3 years ago
psi29a e18393d7d6 Merge branch 'prevent_wrong_use_of_write' into 'master'
Disallow to call ESMWriter::writeT with pointer type

See merge request OpenMW/openmw!1609
3 years ago
psi29a ff11377bc0 Merge branch 'sanitizers' into 'master'
Add gitlab jobs to run tests and benchmarks with ASAN, TSAN and UBSAN

See merge request OpenMW/openmw!1608
3 years ago
elsid b17c9a22ff
Disallow to call ESMWriter::writeT with pointer type
This will make ESMWriter to use a pointer to this pointer to access the data
that is unlikely an intent. For example:
68ef96410c.
3 years ago
Petr Mikheev 4554a075e7 Merge branch 'fix_save_corruption' into 'master'
Fix save corruption introduced by https://gitlab.com/OpenMW/openmw/-/merge_requests/1600

See merge request OpenMW/openmw!1607
3 years ago
uramer de2383ec98 Fix save corruption introduced by https://gitlab.com/OpenMW/openmw/-/merge_requests/1600 3 years ago
psi29a fabc3d583e Merge branch 'fix_libc++_build' into 'master'
Fix build with libc++

See merge request OpenMW/openmw!1606
3 years ago
elsid bebeff8881
Fix build with libc++
/home/elsid/dev/openmw/components/esm3/objectstate.cpp:33:30: error: implicit instantiation of undefined template 'std::array<float, 6>'
        std::array<float, 6> pos;
                             ^
/usr/bin/../include/c++/v1/__tuple:219:64: note: template is declared here
template <class _Tp, size_t _Size> struct _LIBCPP_TEMPLATE_VIS array;
                                                               ^
/home/elsid/dev/openmw/components/esm3/objectstate.cpp:78:30: error: implicit instantiation of undefined template 'std::array<float, 6>'
        std::array<float, 6> pos;
                             ^
/usr/bin/../include/c++/v1/__tuple:219:64: note: template is declared here
template <class _Tp, size_t _Size> struct _LIBCPP_TEMPLATE_VIS array;
                                                               ^
3 years ago
elsid 28ce8fd0f3
Add separate jobs to run tests with ASAN, TSAN, UBSAN
To not slow down benchmarks with all optimizations.
3 years ago
elsid b0f192d878
Fix warning: maybe-uninitialized
../../components/misc/color.cpp: In static member function 'static Misc::Color Misc::Color::fromHex(std::string_view)':
../../components/misc/color.cpp:36:24: error: 'v' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   36 |             rgb[i] = v / 255.0f;
      |                      ~~^~~~~~~~
3 years ago
elsid 70623d0b23
Move FetchContent for benchmark to extern 3 years ago
psi29a e46905450e Merge branch 'refactor/esm-recordnew' into 'master'
Use unique_ptr for ESM records

See merge request OpenMW/openmw!1603
3 years ago
psi29a 7dd02076f5 Merge branch 'offset_the_deads' into 'master'
#6410: Use the scaled mesh translation for collision shape position for living actors

See merge request OpenMW/openmw!1446
3 years ago
psi29a 7bab714825 Merge branch 'fix_circling_fargoth' into 'master'
Remove unnecessary loops from path (#6510)

Closes #6510

See merge request OpenMW/openmw!1584
3 years ago
psi29a a0c0ea09b2 Merge branch 'youwe' into 'master'
Fix unavailable UV set handling in NIF models

See merge request OpenMW/openmw!1594
3 years ago
ζeh Matt 07eb6db030
Use unique_ptr for ESM records 3 years ago
Evil Eye 79dc600dae Uncap attribute and skill damage for drain and absorb effects 3 years ago
psi29a f6ea27281a Merge branch 'cmake-share' into 'master'
cmake: Use GNUInstallDirs to install data directories

See merge request OpenMW/openmw!1598
3 years ago
Timo Gurr 71fe57f7a5 cmake: Use GNUInstallDirs to install data directories 3 years ago
psi29a cb4c96b155 Merge branch 'unpack_position' into 'master'
Make ESM::Position not packed (should fix #6566)

Closes #6566

See merge request OpenMW/openmw!1600
3 years ago
psi29a 45b7c6ea99 Merge branch 'fix_init' into 'master'
Add missing initialization

See merge request OpenMW/openmw!1602
3 years ago
elsid ecbcdd0e54
Add missing initialization 3 years ago
Petr Mikheev 68ef96410c Make ESM::Position not packed (should fix #6566) 3 years ago
elsid 45db56b382
Rework fixed string
* Avoid inheritance.
* Define equality operators out of the class definition.
* Replace toString with toStringView where it doesn't make sense to create a string.
3 years ago
ζeh Matt 1832ed6a48
Use pop_back to shrink the stack 3 years ago
Petr Mikheev 53f2dfd1c0 Merge branch 'lua_ui_templates' into 'master'
Lua UI templates

See merge request OpenMW/openmw!1475
3 years ago
uramer 960dd1f708 Lua UI templates 3 years ago
elsid bf692a4bfa
Add more tests for fixed string 3 years ago
elsid 3877d227f4
Avoid unnecessary copies 3 years ago
uramer 0b5f10e41b Merge branch 'remove_data' into 'master'
Remove predefined data paths `data="?global?data"`, `data=./data` (#6564)

See merge request OpenMW/openmw!1579
3 years ago
Alexei Dobrohotov 4521d3987c Fix out of bounds UV set handling 3 years ago
Petr Mikheev 88a83bab1f Remove predefined data paths `data="?global?data"`, `data=./data` (#6564) 3 years ago
elsid 251327fb9c Merge branch 'esm_rework_test_suite' into 'master'
update tests to use esm3 rename

See merge request OpenMW/openmw!1593
3 years ago
Bret Curtis 022fdc49a5 update tests to use esm3 rename 3 years ago
psi29a 84e209308d Merge branch 'refactor/interpreter' into 'master'
Cleanup interpreter code a bit

Closes #6553

See merge request OpenMW/openmw!1556
3 years ago
Matt 34723c8ea8 Cleanup interpreter code a bit 3 years ago
psi29a 6f7a067e0c Merge branch 'esmrename' into 'master'
esm refactor work

See merge request OpenMW/openmw!1575
3 years ago
jvoisin 7a6b541900 Merge branch 'ptmikheev-master-patch-81659' into 'master'
Run unit tests in CI with -fsanitize=address

See merge request OpenMW/openmw!1588
3 years ago
Petr Mikheev e4cb1a1370 Run unit tests in CI with -fsanitize=address 3 years ago
psi29a fac47ce0b5 Merge branch 'support_controller_gyro' into 'master'
Support controller gyro

Closes #6557

See merge request OpenMW/openmw!1571
3 years ago
psi29a 21ef9d4058 Merge branch 'nif_multi_parents' into 'master'
Support multiple parents for NIF nodes (#6552)

Closes #6552

See merge request OpenMW/openmw!1577
3 years ago
elsid 22b222ca83 Merge branch 'navmesh_scene_bounds_2' into 'master'
Limit and filter navmesh input (#5858)

Closes #5858

See merge request OpenMW/openmw!1591
3 years ago
jvoisin 4ae1ea1ee3 Merge branch 'refidref' into 'master'
Remove `getRefIdRef` because it is the same as `getRefId`.

See merge request OpenMW/openmw!1585
3 years ago