1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-11-30 13:34:33 +00:00
Commit graph

8706 commits

Author SHA1 Message Date
Evil Eye
cc10352def Address comments 2025-10-22 17:27:51 +02:00
Evil Eye
b9096410c3 Partially revert 91b1346761 2025-10-17 17:24:19 +02:00
AnyOldName3
44eb972770 Merge branch 'fix_copy_column_warning' of https://gitlab.com/elsid/openmw into warn-baby-warn-warning-inferno 2025-10-05 18:07:34 +01:00
AnyOldName3
91b1346761 Revert "Support wrapped arthimetic types"
elsid provided an alternative.

This reverts commit b0cf148393.
2025-10-05 18:06:41 +01:00
elsid
d171915b6a
Fix error message 2025-10-05 14:46:40 +02:00
elsid
cfd7f52a2f
Fix C4244 MSVC warning in Sqlite3::copyColumn
Make sure sqlite3_column_double is not called for int64_t and other
integral types and sqlite3_column_int64 is not called for floating point
types.

[363/1189] Building CXX object components\CMakeFiles\components.dir\RelWithDebInfo\detournavigator\navmeshdb.cpp.obj
D:\dev\openmw\components/sqlite3/request.hpp(109): warning C4244: 'argument': conversion from 'double' to 'T', possible loss of data
        with
        [
            T=int64_t
        ]
D:\dev\openmw\components/sqlite3/request.hpp(109): note: the template instantiation context (the oldest one first) is
D:\dev\openmw\components\detournavigator\navmeshdb.cpp(198): note: see reference to function template instantiation 'I Sqlite3::request<DetourNavigator::DbQueries::GetMaxTileId,DetourNavigator::TileId*,>(sqlite3 &,Sqlite3::Statement<DetourNavigator::DbQueries::GetMaxTileId> &,I,size_t)' being compiled
        with
        [
            I=DetourNavigator::TileId *
        ]
D:\dev\openmw\components/sqlite3/request.hpp(262): note: see reference to function template instantiation 'void Sqlite3::getRow<DetourNavigator::TileId>(sqlite3 &,sqlite3_stmt &,T &)' being compiled
        with
        [
            T=DetourNavigator::TileId
        ]
D:\dev\openmw\components/sqlite3/request.hpp(210): note: see reference to function template instantiation 'void Sqlite3::getColumns<std::tuple<T &>>(sqlite3 &,sqlite3_stmt &,std::tuple<T &> &)' being compiled
        with
        [
            T=DetourNavigator::TileId
        ]
D:\dev\openmw\components/sqlite3/request.hpp(203): note: see reference to function template instantiation 'void Sqlite3::getColumnsImpl<1,T>(sqlite3 &,sqlite3_stmt &,T &)' being compiled
        with
        [
            T=std::tuple<DetourNavigator::TileId &>
        ]
D:\dev\openmw\components/sqlite3/request.hpp(190): note: see reference to function template instantiation 'void Sqlite3::copyColumn<T>(sqlite3 &,sqlite3_stmt &,int,int,T &)' being compiled
        with
        [
            T=DetourNavigator::TileId
        ]
2025-10-05 14:39:51 +02:00
Evil Eye
23e9d1ac0c Remove redundant std::floor 2025-10-05 14:19:49 +02:00
AnyOldName3
06cb00bb0b Resolve merge conflicts from !4924 and !4928
luamanagerimp still needs float frameDuration, and reordering a bunch of fields in the scene manager conflicted with changing the type of maxanisotropy.
2025-10-04 23:08:20 +01:00
Alexei Kotov
f60875dd8f Merge branch 'soontm' into 'master'
Bump us up to 0.51

See merge request OpenMW/openmw!4900
2025-10-02 00:01:10 +03:00
AnyOldName3
f5889ba067 Tidying based on review
1.1 was changed to 1.f instead of 1.1f, so that's been fixed.

Reduce the number of casts in RenderingManager::updateProjectionMatrix()
2025-09-29 14:12:29 +01:00
Evil Eye
000c5d2a08 Ensure error marker assignment is thread safe 2025-09-25 20:47:10 +02:00
AnyOldName3
4eb69427dd One last pair of rule-of-three warnings for Clang 2025-09-25 00:05:35 +01:00
AnyOldName3
7ebb0cf577 Some warnings for Clang 2025-09-24 00:38:36 +01:00
AnyOldName3
536e7b8881 I think MSVC was right and GCC was wrong 2025-09-24 00:37:21 +01:00
AnyOldName3
372e5aa5f8 Format 2025-09-24 00:01:52 +01:00
AnyOldName3
a433114937 Rearrange extern so includes don't need to start with extern/ 2025-09-23 01:04:45 +01:00
AnyOldName3
b6f699d513 First batch of GCC/Ubuntu 24.04 warnings 2025-09-23 00:14:53 +01:00
Evil Eye
4847995861 Bump cache keys 2025-09-22 21:28:52 +02:00
Evil Eye
5308e22f6d Address more conversion warnings in the engine 2025-09-22 18:10:34 +02:00
Evil Eye
478df08433 Address more engine conversion warnings 2025-09-22 13:33:27 +02:00
Evil Eye
1caac90e93 Add btVector3 -> osg::Vec3f helper 2025-09-21 12:14:50 +02:00
Evil Eye
3ba702690c Require SOL_PROPAGATE_EXCEPTIONS to be off 2025-09-20 16:07:59 +02:00
Evil Eye
b0cf148393 Support wrapped arthimetic types 2025-09-20 12:58:37 +02:00
Evil Eye
ff79c2d826 Turn menu.saveGame into a delayed action 2025-09-20 10:39:43 +00:00
Evil Eye
cb82d37992 Address remaining conversion warnings in components 2025-09-20 11:39:31 +02:00
Evil Eye
a8831651bb Swap arguments 2025-09-18 22:01:24 +02:00
Evil Eye
f7292680d6 Fix most conversion warnings in components 2025-09-18 22:00:55 +02:00
AnyOldName3
98291f1377 First batch of warning fixes 2025-09-18 00:38:08 +01:00
Alexei Kotov
2e18809ed9 Merge branch 'apply_xtra_data_after_drawable_properties' into 'master'
Distortion effect related fixes

See merge request OpenMW/openmw!4904
2025-09-01 21:57:31 +03:00
Alexei Kotov
ea3240ce03 Merge branch 'vfs_normalized_path_23' into 'master'
Use normalized path in Lua vfs bindings (#8138)

See merge request OpenMW/openmw!4903
2025-09-01 15:06:27 +03:00
Cody Glassman
f2a82701b4 make sure we apply extra data statesets at right time 2025-08-31 11:16:54 -07:00
psi29a
92b7ed5964 Merge branch 'waste-of-time' into 'master'
Disable expensive post-cull bounds calculations that never help very much

See merge request OpenMW/openmw!4894
2025-08-31 18:01:51 +00:00
psi29a
0ab79c4370 Merge branch 'formatcomponents' into 'master'
Remove StringUtils::format from components

See merge request OpenMW/openmw!4880
2025-08-31 17:59:35 +00:00
Evil Eye
5d4fc96062 Bump us up to 0.51 2025-08-30 14:21:31 +02:00
elsid
1348065be3
Use normalized path in Lua vfs bindings 2025-08-29 22:47:00 +02:00
elsid
dea69b229c
Remove small translation units
Remove .cpp files with small amount of code which don't have additional
includes compared to corresponding .hpp files. This reduces the total
size of preprocessed code of the project and should reduce compilation
time.
2025-08-29 00:41:47 +02:00
Alexei Kotov
60d31e978a Merge branch 'parameter_naming' into 'master'
Fix and enforce parameter naming (#8424)

See merge request OpenMW/openmw!4890
2025-08-28 14:10:44 +03:00
Cody Glassman
bfc25a3194 Make most weather bindings read/write 2025-08-28 03:22:33 +03:00
AnyOldName3
48e5358587 Disable expensive post-cull bounds calculations that never help very much 2025-08-27 23:57:07 +01:00
elsid
0f36b7fc97
Fix and enforce parameter naming 2025-08-27 12:45:09 +02:00
Evil Eye
e88e60f475 Check length before dereferencing 2025-08-26 18:08:38 +02:00
Evil Eye
79a1f1c3d2 Address feedback 2025-08-25 16:46:04 +02:00
Alexei Kotov
944925663d Merge branch 'dontreplacedepth' into 'master'
Don't run osg::Depth replacement visitor for NIF templates

See merge request OpenMW/openmw!4876
2025-08-25 09:15:20 +03:00
Evil Eye
e97542a487 Fix include 2025-08-24 16:11:34 +02:00
Evil Eye
2321086876 Replace StringUtils::format in components/misc 2025-08-24 16:01:17 +02:00
Evil Eye
9cce6bad68 Replace StringUtils::format in components/shader 2025-08-24 15:43:11 +02:00
Evil Eye
ecbc3a7b9e Reduce string usage in ShaderManager 2025-08-24 15:40:55 +02:00
Evil Eye
924d591158 Replace StringUtils::format in components/sceneutil 2025-08-24 14:35:44 +02:00
Evil Eye
26e562490f Replace StringUtils::format in components/lua 2025-08-24 14:28:17 +02:00
Evil Eye
58a232d6c7 Replace StringUtils::format in components/interpreter 2025-08-24 14:07:41 +02:00