Commit Graph

28514 Commits (precompile_headers)
 

Author SHA1 Message Date
elsid 921a22fb73
Use target_precompile_headers for the most expensive headers
Only for MSVC. Ccache doesn't work out of the box with precompiled headers but
usually gives less build time for Clang and GCC. Also GCC builds code slower
with precompiled headers for unknown reason.
2 years ago
elsid 5ad2ae04ce
Fix build on Windows
When rearranging the code some features of Windows.h start to interfere
with other code. For example this happens when adding more precompiled
headers.
2 years ago
elsid d991b63861
Fix gcc build error: call of overloaded ‘lerp(const float&, const float&, const float&)’ is ambiguous
/home/elsid/dev/openmw/apps/openmw/mwworld/weather.cpp: In member function ‘void MWWorld::WeatherManager::calculateTransitionResult(float, float)’:
/home/elsid/dev/openmw/apps/openmw/mwworld/weather.cpp:1223:33: error: call of overloaded ‘lerp(const float&, const float&, const float&)’ is ambiguous
 1223 |         mResult.mFogDepth = lerp(current.mFogDepth, other.mFogDepth, factor);
      |                             ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/elsid/dev/OpenSceneGraph/build/gcc/release/install/include/osg/Math:17,
                 from /home/elsid/dev/OpenSceneGraph/build/gcc/release/install/include/osg/Vec2f:17,
                 from /home/elsid/dev/OpenSceneGraph/build/gcc/release/install/include/osg/Vec3f:17,
                 from /home/elsid/dev/openmw/components/esm/defs.hpp:8,
                 from /home/elsid/dev/openmw/components/esm/records.hpp:4,
                 from /home/elsid/dev/openmw/apps/openmw/mwworld/esmstore.hpp:10,
                 from /home/elsid/dev/openmw/build/gcc/fast/apps/openmw/CMakeFiles/openmw.dir/cmake_pch.hxx:5,
                 from <command-line>:
/usr/include/c++/12.1.0/cmath:1919:3: note: candidate: ‘constexpr long double std::lerp(long double, long double, long double)’
 1919 |   lerp(long double __a, long double __b, long double __t) noexcept
      |   ^~~~
/usr/include/c++/12.1.0/cmath:1915:3: note: candidate: ‘constexpr double std::lerp(double, double, double)’
 1915 |   lerp(double __a, double __b, double __t) noexcept
      |   ^~~~
/usr/include/c++/12.1.0/cmath:1911:3: note: candidate: ‘constexpr float std::lerp(float, float, float)’
 1911 |   lerp(float __a, float __b, float __t) noexcept
      |   ^~~~
/home/elsid/dev/openmw/apps/openmw/mwworld/weather.cpp:31:11: note: candidate: ‘float {anonymous}::lerp(float, float, float)’
   31 |     float lerp (float x, float y, float factor)
      |           ^~~~
2 years ago
psi29a 8a13cde778 Merge branch 'schlick' into 'master'
Superior soft effect fade

See merge request OpenMW/openmw!2067
2 years ago
glassmancody.info 7b958148d0 better fade 2 years ago
psi29a 56187ad977 Merge branch 'soften_me_up_like_one_of_your_french_meshes' into 'master'
Allow soft particle effect on any NIF

See merge request OpenMW/openmw!2015
2 years ago
psi29a 28172c33ca Merge branch 'move360_fix' into 'master'
Fix move360.lua switching to 3rd person view when it shouldn't

See merge request OpenMW/openmw!2065
2 years ago
Petr Mikheev 466fc559f4 Fix move360.lua switching to 3rd person view when it shouldn't 2 years ago
glassmancody.info b09411d396 allow soft particles on meshes and add extra data extensions 2 years ago
psi29a 451cc6a07c Merge branch 'correct_path' into 'master'
Use existing functions and objects to call correctMeshPath etc (#6837)

Closes #6837

See merge request OpenMW/openmw!2063
2 years ago
psi29a e861491127 Merge branch 'quickfix' into 'master'
Fix a couple typos

See merge request OpenMW/openmw!2052
2 years ago
elsid ce263af393
Use existing functions and objects to call correctMeshPath etc
Remove WindowManager wrappers.

It's not safe to use WindowManager in all places and it's not required.
Environment stores resource system providing VFS required to call these
functions. In the case of ObjectPaging it's available from the member variable.
Also ObjectPaging::createChunk may access WindowManager when it's already
destructed when exiting the game because it's destructed before CellPreloader
finishes all background jobs. Engine::mResourceSystem is destructed after all
other systems so it's safe to use it.
2 years ago
AnyOldName3 066575821b Merge branch 'fog_alpha' into 'master'
Several fixes related to sky blending

See merge request OpenMW/openmw!2046
2 years ago
Andrei Kortunov d47df964b1 Merge branch '503geek-docs-install-xbox-game-pass-patch' into 'master'
Update docs/source/manuals/installation/install-game-files.rst

See merge request OpenMW/openmw!1810
2 years ago
Mick McCuen cfe6a7d78b Update docs/source/manuals/installation/install-game-files.rst 2 years ago
psi29a 776cae4c95 Merge branch 'assert' into 'master'
Use string_view in Layout and remove dead code

See merge request OpenMW/openmw!2060
2 years ago
Petr Mikheev d0deb37f5c Fix several issues with sky blending 2 years ago
Evil Eye 81ec7e80bb Use string_view in Layout and remove dead code 2 years ago
jvoisin 3403ea1d9e Merge branch 'FixUBOnDoubleMove' into 'master'
Avoid double move when an area with same coordinates already exists

See merge request OpenMW/openmw!2059
2 years ago
psi29a a814d11a39 Merge branch 'move_left_shift_to_cpp' into 'master'
Move std::ostream& operator<< to .cpp

See merge request OpenMW/openmw!2058
2 years ago
psi29a 7786519caf Merge branch 'groundcoverstore_hpp' into 'master'
Remove redundant includes from groundcoverstore.hpp

See merge request OpenMW/openmw!2057
2 years ago
elsid 1a5932a669
Move std::ostream& operator<< to .cpp 2 years ago
elsid ffd1bd30ef
Remove redundant includes from groundcoverstore.hpp 2 years ago
Cédric Mocquillon cbf48b4382 Avoid double move when an area with same coordinates already exists 2 years ago
psi29a cef4ce2c01 Merge branch 'split_actorutil_hpp' into 'master'
Split apps/openmw/mwmechanics/actorutil.hpp

See merge request OpenMW/openmw!2056
2 years ago
elsid fdf6e58ea3
Split apps/openmw/mwmechanics/actorutil.hpp 2 years ago
glassmancody.info 54e2e74c2a quickfix 2 years ago
psi29a 39d7f2c95b Merge branch 'boost_program_options' into 'master'
Reduce number of includes for boost/program_options

See merge request OpenMW/openmw!2051
2 years ago
elsid 10fbf170a2
Reduce number of includes for boost/program_options 2 years ago
psi29a 47cfaef7d2 Merge branch 'ptmikheev-master-patch-74509' into 'master'
Fast fix in cellbindings.cpp

See merge request OpenMW/openmw!2050
2 years ago
Petr Mikheev 50b143b53f Fast fix in cellbindings.cpp 2 years ago
psi29a cd484cf082 Merge branch 'lua_hassky' into 'master'
[Lua] Ability to distinguish normal interiors and quasi exteriors (like Mournhold).

See merge request OpenMW/openmw!2049
2 years ago
Petr Mikheev 377c00261a [Lua] Ability to distinguish normal interiors and quasi exteriors (like Mournhold). 2 years ago
psi29a c3599ada2e Merge branch 'imayhaverunoutofclevernifbranchnames' into 'master'
Clean up NIF record flags/modes

See merge request OpenMW/openmw!2047
2 years ago
psi29a 053c2106c1 Merge branch 'dont_hate_the_game_hate_the_player' into 'master'
Don't add additional targets to allies that are already in combat

Closes #5318 and #3867

See merge request OpenMW/openmw!1434
2 years ago
Evil Eye b79c42fa77 Exclude followers in combat with their leader 2 years ago
Evil Eye cc081c3d2d Don't add additional targets to allies that are already in combat 2 years ago
psi29a ede09309a6 Merge branch 'groundcover_progress' into 'master'
Show groundcover loading progress

See merge request OpenMW/openmw!1978
2 years ago
psi29a e50c1dbcb1 Merge branch 'slaughteredslaughterfish' into 'master'
Avoid assigning idle animations to non-actors (bug #5371)

Closes #5371

See merge request OpenMW/openmw!2048
2 years ago
psi29a e2ae381a6c Merge branch 'lua_worker_join' into 'master'
Correctly terminate LuaWorker if the game is being terminated due to an unhanded exception.

See merge request OpenMW/openmw!2044
2 years ago
Alexei Kotov fbb0004aae Avoid assigning idle animations to non-actors (bug #5371) 2 years ago
Alexei Kotov e673f9fa76 Clean up NIF flags 2 years ago
jvoisin f83b661494 Merge branch 'fix_6824' into 'master'
Fix #6824

Closes #6824

See merge request OpenMW/openmw!2045
2 years ago
jvoisin e29c1abfae Merge branch 'stringops_string_view' into 'master'
Use string_view for StringUtils functions

See merge request OpenMW/openmw!2042
2 years ago
Petr Mikheev 8123e41a75 Fix #6824 2 years ago
Petr Mikheev 241b414aa6 Correctly terminate LuaWorker if the game is being terminated due to an unhanded exception. 2 years ago
elsid 6abb963bd9
Use string_view for StringUtils functions 2 years ago
psi29a 1a478875f0 Merge branch 'navmesh_agent_bounds' into 'master'
Support different agent collision shape type for pathfinding

See merge request OpenMW/openmw!2030
2 years ago
psi29a 69861ce80b Merge branch 'stfu_git' into 'master'
Silence a minor git warning

See merge request OpenMW/openmw!2028
2 years ago
psi29a 736ea1a8a0 Merge branch 'fix_new_children_visibility' into 'master'
Add missing workaround for a MyGUI visibility bug

Closes #6783

See merge request OpenMW/openmw!2041
2 years ago