380 Commits
Author SHA1 Message Date
Evil Eye 2dca72bdb0 Use normalized paths to construct big icon paths 2026-04-04 17:43:57 +02:00
Evil Eye c0810929f4 Add sounds to openmw.content 2026-03-29 21:40:34 +02:00
elsid fb6406b77d Explicitly convert std::string to normalized path 2026-02-15 13:26:24 +01:00
Bret Curtis 52b129fe39 fix macos deprecation warnings 2026-01-06 09:50:23 +01:00
elsid 878f9f8433 Add extension path type 2025-12-08 20:38:23 +01:00
elsid b5196b2fd1 Use normalized path for correctResourcePath and related functions 2025-12-08 20:38:15 +01:00
elsid 66923870da Use normalized path to implement correctResourcePath 2025-12-06 00:12:43 +01:00
elsid 1b362140ae Remove duplicated and leading slashes in normalizeFilenameInPlace
To be consistent with correctResourcePath.
2025-12-06 00:12:43 +01:00
elsid 538e5d5502 Use normalizeFilename in correctResourcePath 2025-12-06 00:12:42 +01:00
elsid feb9cc004c Fix portability-avoid-pragma-once warnings
components/misc/helpviewer.hpp:1:1: error: avoid 'pragma once' directive; use include guards instead [portability-avoid-pragma-once,-warnings-as-errors]
    1 | #pragma once
      | ^

apps/opencs/view/world/tableheadermouseeventhandler.hpp:1:1: error: avoid 'pragma once' directive; use include guards instead [portability-avoid-pragma-once,-warnings-as-errors]
    1 | #pragma once
      | ^
2025-11-25 21:16:50 +01:00
AnyOldName3 ef8e7d97cb Resolve merge conflicts from !4971 2025-11-10 16:01:47 +00:00
AnyOldName3 f31ec2b3a5 Merge branch 'printf' into 'master'
Bring messagebox format parsing more in line with printf/vanilla

Closes #8732

See merge request OpenMW/openmw!4878
2025-11-10 15:23:48 +00:00
AnyOldName3 b6f699d513 First batch of GCC/Ubuntu 24.04 warnings 2025-09-23 00:14:53 +01: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 cb82d37992 Address remaining conversion warnings in components 2025-09-20 11:39:31 +02:00
AnyOldName3 98291f1377 First batch of warning fixes 2025-09-18 00:38:08 +01: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
Cody GlassmanandAlexei Kotov bfc25a3194 Make most weather bindings read/write 2025-08-28 03:22:33 +03:00
Evil Eye 2321086876 Replace StringUtils::format in components/misc 2025-08-24 16:01:17 +02:00
Cody Glassman d72451da62 remove unecassary visitor for soft particles 2025-08-23 09:09:18 -07:00
Evil Eye 06ef34cbdf Bring messagebox format parsing more in line with printf/vanilla 2025-08-23 17:26:18 +02:00
Evil Eye d66b86f2c9 Implement missing hex float format options 2025-08-21 22:00:00 +02:00
Evil Eye 59753d8b8e Leave from_chars to figure out the length 2025-08-21 09:42:02 +02:00
Evil Eye 86605f3531 Make 0-width precision be 0 2025-08-21 08:57:00 +02:00
Evil Eye 6453d3e201 Use std::from_chars in MessageFormatParser 2025-08-20 19:51:02 +02:00
elsid d121b606b6 Fix and enforce local variable naming 2025-08-05 21:27:48 +02:00
Evil Eye 485517cf64 Use std::hash 2025-08-03 20:52:22 +02:00
zliceandEvil Eye 0d7efaa2e3 fix 32bit builds 2025-08-03 20:52:22 +02:00
Alexei Kotov 399ec4eccc Merge branch 'qt6' into 'master'
Drop support for Qt5

Closes #8578

See merge request OpenMW/openmw!4742
2025-07-30 13:26:46 +03:00
elsid 3f1ac1848c Move getClosestPoint to a separate file 2025-07-27 11:17:17 +02:00
elsid 50f5bc51c6 Store allowed positions as osg::Vec3f
There is no need to store pathgrid points.
2025-07-27 11:16:47 +02:00
Evil Eye 2bce45260c Drop support for Qt5 2025-07-27 10:47:34 +02:00
Petr Mikheev 10dba7cda7 Initial support of ESM4 sounds; play opening sound of ESM4 doors. 2025-07-08 11:14:13 +02:00
Evil Eye be0cbb7277 Use the Color type for Light colours in Lua 2025-06-12 17:17:28 +02:00
elsid 267ce1ec9b Reduce code duplication for finite number 2025-06-06 00:05:07 +02:00
Aussiemon e2cf80e3a6 Protect more bindings from non-finite numbers 2025-06-03 19:34:10 -06:00
Evil Eye 9929c35021 Correctly format single digit hex values 2025-05-31 15:43:50 +02:00
Aussiemonandpsi29a d2f1eeff98 Prevent hard freeze when camera receives invalid inputs from Lua 2025-05-26 07:22:10 +00:00
elsid 22817dd6a1 Use normalized path for correctMeshPath 2024-11-16 12:49:11 +01:00
elsid 36198e9413 Use normalized path for getLODMeshName 2024-11-15 01:05:36 +01:00
elsid afa769408a Use normalized path for correctActorModelPath 2024-11-03 13:50:17 +01:00
elsid 376911f645 Reduce duplication for getting file name 2024-11-03 13:50:17 +01:00
elsid d2ab366233 Use normalized path in PhysicsSystem 2024-10-18 13:45:29 +02:00
elsid 85edc49f2f Remove unused argument 2024-09-18 23:53:04 +02:00
elsid 8cc744997f Make path helpers constexpr and noexcept 2024-07-22 22:01:05 +02:00
elsid 34f5bc6fce Use std math functions
To avoid implicit conversions from float to double and back.
2024-07-21 02:06:05 +02:00
elsid 041b3b233a Normalize forward and up vectors
To avoid having any of their components to be out of the range [-1, 1].
2024-07-21 01:26:57 +02:00
elsid 75d9ab4d57 Pass Quat and Matrixf by reference
They don't fit into registers so without optimizations they are copied via
stack.
2024-07-15 22:08:54 +02:00
Andrei Kortunov 871263d436 Check if file is successfully opened 2024-07-04 09:55:24 +04:00