Skip to content
Open

Clean #244

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
180 commits
Select commit Hold shift + click to select a range
79502fe
revert FindSDL
Sisah2 Feb 16, 2025
cc1bb08
reenable postprocessing normals
Sisah2 Feb 16, 2025
517004d
hardcode 0010-android-fix-context-being-lost-on-app-minimize patch
Sisah2 Feb 16, 2025
b6cd3ea
fix SDL linking
Sisah2 Feb 16, 2025
9899808
core shaders
Sisah2 Feb 16, 2025
535e760
depth workaround
Sisah2 Feb 16, 2025
070b327
use std140 layout for lighting UBO
Sisah2 Feb 23, 2025
9a36e22
dont use shadow sampler
Sisah2 Feb 23, 2025
686862c
reenable depth writes / fix osg::text
Sisah2 Feb 27, 2025
a515713
Merge branch 'OpenMW:master' into Clean
Sisah2 Feb 27, 2025
52d9a71
Lighting toggle
Sisah2 Mar 14, 2025
3012cde
BS shaders
Sisah2 Mar 14, 2025
041101e
shadows changes
Sisah2 Mar 30, 2025
4ae8173
Update shadows_fragment.glsl
Sisah2 Mar 30, 2025
0282642
Merge branch 'openmw/master' into Clean
Sisah2 May 20, 2025
7ec911a
Save settings on options window closing, resize postprocessor hud
Sisah2 May 25, 2025
587923f
Merge branch 'openmw/master' into Clean
Sisah2 May 25, 2025
efe0e96
Add navmeshtool patch
Sisah2 Jul 6, 2025
ca0a2b5
Merge branch 'openmw/master' into Clean
Sisah2 Jul 6, 2025
156b190
force glsl 120 for postprocessing
Sisah2 Jul 6, 2025
8391ae4
Merge branch 'openmw/master' into Clean
Sisah2 Jul 20, 2025
b5c3176
Merge branch 'openmw/master' into Clean
Sisah2 Aug 9, 2025
bf22278
Merge branch 'openmw/master' into Clean
Sisah2 Aug 23, 2025
06ef34c
Bring messagebox format parsing more in line with printf/vanilla
Assumeru Aug 23, 2025
0ab0e9a
Add format tests
Assumeru Aug 23, 2025
5d4fc96
Bump us up to 0.51
Assumeru Aug 30, 2025
ff40de8
less restrictive ammo usage
Aug 31, 2025
d784801
readable if statement
Sep 3, 2025
0df0ad9
Deduplicate event handling code
Assumeru Sep 3, 2025
cac8d59
Use l10n for journal gamepad actions
Capostrophic Sep 4, 2025
f155b01
Undo part of !4759
AnyOldName3 Aug 31, 2025
9fe8f3b
Attempt to use Qt not necessarily from brew
AnyOldName3 Sep 1, 2025
3bf68d4
Try using native CMake and CCache
AnyOldName3 Sep 3, 2025
a4be773
Native ccache won't work if we insist on an architecture
AnyOldName3 Sep 3, 2025
6cdcbd9
And the same with CMake
AnyOldName3 Sep 3, 2025
c70a7cd
Eliminate single-line ccache scripts
AnyOldName3 Sep 5, 2025
12aef44
Controller tooltip display preferences survive mouse movement
bmdhacks Aug 16, 2025
cf51812
Controller cursor highlight fixes
bmdhacks Sep 5, 2025
81fc72a
clang-format
bmdhacks Sep 5, 2025
4361728
Use l10n for scroll down scroll gamepad action
Capostrophic Sep 5, 2025
1ab3274
Use l10n for travel travel window action
Capostrophic Sep 5, 2025
b7d9d01
Use l10n for wait dialog gamepad actions
Capostrophic Sep 5, 2025
bd4d844
Use l10n for repair gamepad actions
Capostrophic Sep 5, 2025
3159c36
Use l10n for trading menu offer action
Capostrophic Sep 5, 2025
1740e6b
Use l10n for stats window scroll down action
Capostrophic Sep 5, 2025
9a92904
Use l10n for inventory offer action
Capostrophic Sep 5, 2025
ff60b74
Move architecture-independent tool installation to common script
AnyOldName3 Sep 5, 2025
0a2c929
Don't meddle with people's git settings
AnyOldName3 Sep 5, 2025
98bb4af
Use correct shebang
AnyOldName3 Sep 6, 2025
998c738
Add some options from the Windows script to the MacOS script
AnyOldName3 Sep 6, 2025
072504d
fixed a tooltip bug in spell creation and made controller tooltip tog…
bmdhacks Sep 6, 2025
aa5510f
Use CCache in GitHub Actions build again
AnyOldName3 Sep 6, 2025
b3f4287
Update Swedish Interface lines
Capostrophic Sep 5, 2025
8074331
Merge branch 'gamepadactionl10n' into 'master'
Capostrophic Sep 8, 2025
9257bee
Merge branch 'bmdhacks-controller-deslect-bug' into 'master'
psi29a Sep 9, 2025
4168b6d
less restrictive probes and lockpicks equipping too
Sep 11, 2025
e70eb1e
Add French lines for OMWCombat
Capostrophic Sep 7, 2025
0471b98
Add French translations for Doppler factor lines
Capostrophic Sep 7, 2025
fe97e3c
Move brew repair and update to architecture-independent script
AnyOldName3 Sep 12, 2025
28a540d
Merge branch 'googleenpassant' into 'master'
psi29a Sep 13, 2025
0d260b3
Add German translations for OMWCombat
Capostrophic Sep 13, 2025
fbb726c
Merge branch 'shooting-at-macs-without-looking' into 'master'
Capostrophic Sep 13, 2025
baf575e
Add Sex into OpenMW
Capostrophic Sep 13, 2025
b0055ec
Use l10n for map gamepad actions
Capostrophic Sep 13, 2025
1182004
Use l10n for inventory gamepad actions
Capostrophic Sep 14, 2025
9a4db2d
CLEANUP: Document addTopic
magicaldave Sep 14, 2025
2ea1457
Merge branch 'you-were-supposed-to-tell-me-about-this' into 'master'
Capostrophic Sep 15, 2025
e5b5869
Merge branch 'kampfpanzer' into 'master'
Capostrophic Sep 19, 2025
7d4d3e3
Merge branch 'notnpcdating' into 'master'
Capostrophic Sep 19, 2025
ff79c2d
Turn menu.saveGame into a delayed action
Assumeru Sep 20, 2025
bed84e2
Merge branch 'saveaction' into 'master'
petrmikheev Sep 20, 2025
91ccb0f
Use proper naming for BSA File and Hash members
elsid Sep 19, 2025
d2958a1
Make Absorb Skill safe for creatures
Assumeru Sep 22, 2025
000c5d2
Ensure error marker assignment is thread safe
Assumeru Sep 25, 2025
73d818d
Merge branch 'dontcrashonerror' into 'master'
Capostrophic Sep 27, 2025
9897342
Merge branch 'dremoraspearsarepointy' into 'master'
psi29a Sep 28, 2025
b2beb4a
Don't break LuaUi::Element's invariant
Assumeru Sep 28, 2025
ae0886a
Make sure gamepad triggers can be bound (#8721)
Capostrophic Sep 28, 2025
52d2f2a
Merge branch 'triggered' into 'master'
psi29a Oct 1, 2025
f60875d
Merge branch 'soontm' into 'master'
Capostrophic Oct 1, 2025
9b76739
Merge branch 'handlers' into 'master'
Capostrophic Oct 1, 2025
0eb1a79
Update encumbrance unconditionally (#8729)
Capostrophic Oct 2, 2025
fd7e6b6
DOC: Document data-local
magicaldave Oct 2, 2025
5c4821b
Merge branch 'override-all-the-things' into 'master'
Capostrophic Oct 2, 2025
50ffc90
Use vformat_to and add more tests
Assumeru Oct 3, 2025
d9bcc3d
Merge branch 'kelapasawit8123' into 'master'
Capostrophic Oct 3, 2025
1919f91
Merge branch 'openmw/master' into Clean
Sisah2 Oct 4, 2025
ef05e08
Merge branch 'encucumberance' into 'master'
Capostrophic Oct 4, 2025
d9b441c
Fix shield equip and unequip animations, add docs for shield sheathin…
akortunov Oct 4, 2025
d8ef4fc
Changelog for #8734
Capostrophic Oct 4, 2025
cfd7f52
Fix C4244 MSVC warning in Sqlite3::copyColumn
elsid Oct 5, 2025
d171915
Fix error message
elsid Oct 5, 2025
0bae2b1
Do not implicitly convert QByteArray to const char*
elsid Oct 5, 2025
c388fda
Handle empty file name in BSA
elsid Sep 19, 2025
c92e321
Use std::string_view for BSA file name
elsid Sep 19, 2025
38f6c5a
Properly handle duplicated BSA folders
elsid Sep 19, 2025
9a449ed
Only reserve capacity when reading collections
elsid Sep 19, 2025
796202f
Use fail function to verify stream state in BSA
elsid Sep 19, 2025
8012247
Handle errors when computing stream size for BSA
elsid Sep 19, 2025
a111391
Check for failures after reading from stream in BSA
elsid Sep 20, 2025
d7f6d7c
Add unit tests for CompressedBSAFile
elsid Oct 4, 2025
c87cc64
Add tests for BSAFile
elsid Oct 5, 2025
16abb43
Fix potential overflows on reading BSA header
elsid Oct 5, 2025
39b22cb
Merge branch 'fix_copy_column_warning' into 'master'
Capostrophic Oct 11, 2025
afe4edc
Merge branch 'fix_bsatool_afl_findings' into 'master'
Capostrophic Oct 11, 2025
3f6ecc4
Merge branch 'shield_sheath' into 'master'
Capostrophic Oct 11, 2025
1afbc6b
Fix UB in item view controller refocusing during redraw (#8724)
Capostrophic Oct 11, 2025
c75aed5
Merge branch 'solidlyrooted' into 'master'
Capostrophic Oct 11, 2025
48e1ee3
Unify focus object terminology
akortunov Oct 11, 2025
b905836
Remove invalid permanent effects
Assumeru Oct 11, 2025
f783993
Don't mark skill affecting effects as invalid if the target is a crea…
Assumeru Oct 11, 2025
ab4637f
Do not rely on std::string::reserve
elsid Oct 12, 2025
7bf1ea3
Disable not working tests for MSVC
elsid Oct 12, 2025
7e41d81
Always use squared distance in types.Actor.isInActorsProcessingRange
magicaldave Oct 13, 2025
85e35cb
Merge branch 'i-could-be-further-away' into 'master'
Capostrophic Oct 13, 2025
6e8322c
Merge branch 'focus_unify' into 'master'
Capostrophic Oct 13, 2025
ed15542
Use abbreviation for GUI stat name
akortunov Oct 14, 2025
34ff702
Allow skills to be fortified by absorbing from a creature
Assumeru Oct 14, 2025
5242610
Differentiate between invalid and unapplied effects and stop marking …
Assumeru Oct 14, 2025
2c0205d
Merge branch 'fix_msvc_tests' into 'master'
Capostrophic Oct 15, 2025
eb04049
Downgrade gcovr to 8.3
Assumeru Oct 16, 2025
03a4665
Merge branch 'stast_handler' into 'master'
Assumeru Oct 16, 2025
b7ddc83
Cleverer filesystem path conversion for QString/QStringView
Capostrophic Oct 17, 2025
a08ffb7
fix typo in record-filters.rst
hbschr Oct 18, 2025
1f839d2
Merge branch 'fix_qt_build' into 'master'
Capostrophic Oct 18, 2025
9caafb4
Merge branch 'gcovr' into 'master'
Capostrophic Oct 18, 2025
081cf2c
Merge branch 'noitemview' into 'master'
Capostrophic Oct 18, 2025
ce46067
Merge branch 'permanentlyinvalid' into 'master'
Capostrophic Oct 18, 2025
2e67c8b
Merge branch 'patch-1' into 'master'
Capostrophic Oct 19, 2025
232f963
Update SDL controller DB
Capostrophic Oct 22, 2025
a665980
Erase the widget we want to attach rather than the widget we're attac…
Assumeru Oct 23, 2025
823dc6a
Return type as a sol::object instead of a table proxy
Assumeru Oct 23, 2025
2708bfa
Merge branch 'erasethechildren' into 'master'
Capostrophic Oct 24, 2025
d147006
Add integration test
Assumeru Oct 25, 2025
e3b293c
Merge branch 'gamepaddb' into 'master'
Assumeru Oct 25, 2025
fea8078
Don't link to stub Boost.System library (#8754)
Capostrophic Oct 26, 2025
c0ac338
Require finite values in Actor._onHit
Assumeru Oct 27, 2025
f372dc1
Merge branch 'boostsystemfix' into 'master'
AnyOldName3 Oct 27, 2025
a6d128c
Mention NpcRecord in createRecord docs
Capostrophic Oct 27, 2025
83fe65c
Improve weather documentation and prevent division by 0
Assumeru Oct 27, 2025
1ae5adb
Allow non-player actors to catch diseases
Assumeru Oct 27, 2025
23f843c
Merge branch 'objectifyyourtype' into 'master'
Capostrophic Oct 28, 2025
e92745f
Add recent crash fixes into 0.50.0 changelog
Capostrophic Oct 28, 2025
e1cd9bf
Merge branch 'changelog' into 'master'
Capostrophic Oct 28, 2025
25b2a8c
Merge branch 'finitehit' into 'master'
jvoisin Oct 28, 2025
4aa0edf
Merge branch 'customrecorddocs' into 'master'
jvoisin Oct 28, 2025
8b2be21
Merge branch 'almanac' into 'master'
uramer Oct 28, 2025
4f8b418
Ensure LuaUtil::call is invoked from a safe context
Assumeru Oct 30, 2025
d6cc205
Localize cell names in the Lua API (feature 8725)
akortunov Oct 5, 2025
2fe6317
Translate cell name directly
akortunov Oct 5, 2025
3687f1f
Increment Lua API revision
Capostrophic Nov 2, 2025
b516770
Merge branch 'localize_cell_names' into 'master'
Capostrophic Nov 2, 2025
c4b28a3
Lua: Return nil instead of empty strings for optional RefId fields
agluszak Oct 16, 2025
0202594
Increment Lua API revision
Capostrophic Nov 2, 2025
851fd91
Merge branch 'nil_refid' into 'master'
Capostrophic Nov 2, 2025
d0a533b
Use Hand To Hand Hit 2 sound (#8731)
Capostrophic Nov 2, 2025
e4b28eb
Fix clang-tidy checks
elsid Nov 2, 2025
3558f9c
Don't attempt to parse table-like objects as ignore lists
Assumeru Oct 31, 2025
492716e
Type check the ignore list
Assumeru Nov 2, 2025
342a441
Increment Lua API revision
Capostrophic Nov 3, 2025
7c0702a
Merge branch 'cecinestpasunetable' into 'master'
Capostrophic Nov 3, 2025
0977499
Validate skill level before changing the progress (bug 8779)
akortunov Nov 4, 2025
baefea9
Capture this explicitly
Assumeru Nov 5, 2025
39d117e
Merge branch 'fix_clang_tidy' into 'master'
Assumeru Nov 6, 2025
a3d99ce
Add post-processing for bhkListShape subshapes
rapidsamphire Nov 7, 2025
ba19786
Don't reset item view focus during realignment (#8771)
Capostrophic Nov 7, 2025
6d3f5cf
Dehardcode script settings window font and colors
akortunov Aug 30, 2025
42fa037
FIX: Correct typo in unlock events
magicaldave Nov 8, 2025
206c313
Merge branch 'bhkListShape-fix' into 'master'
Capostrophic Nov 9, 2025
2e4020a
Merge branch 'mwui' into 'master'
Capostrophic Nov 9, 2025
8b6a552
Merge branch 'handtwohand' into 'master'
Capostrophic Nov 10, 2025
757c325
Merge branch 'whats-a-taret' into 'master'
Capostrophic Nov 10, 2025
ba72415
Merge branch 'itemviewfocus' into 'master'
Capostrophic Nov 10, 2025
3be1010
Merge branch 'protectthecall' into 'master'
uramer Nov 10, 2025
1315d29
Merge branch 'skills_fix' into 'master'
uramer Nov 10, 2025
1fadb16
Merge branch 'patient0' into 'master'
AnyOldName3 Nov 10, 2025
f31ec2b
Merge branch 'printf' into 'master'
AnyOldName3 Nov 10, 2025
fab182b
disable some warnings
Sisah2 Nov 10, 2025
c6823cb
Merge branch 'openmw/master' into Clean
Sisah2 Nov 10, 2025
4daf851
static link ktx plugin
Sisah2 Nov 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
max-size: 1000M

- name: Configure
run: CI/before_script.macos.sh
run: CI/before_script.macos.sh -C
- name: Build
run: CI/macos/build.sh

Expand Down
15 changes: 10 additions & 5 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ Ubuntu_GCC_tests_coverage:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
before_script:
- CI/install_debian_deps.sh gcc openmw-deps openmw-deps-dynamic openmw-coverage
- pipx install gcovr
- pipx install gcovr==8.3
coverage: /^\s*lines:\s*\d+.\d+\%/
artifacts:
paths: []
Expand Down Expand Up @@ -429,7 +429,11 @@ Ubuntu_Clang:
- mkdir -pv "${CCACHE_DIR}"
- ccache -z -M "${CCACHE_SIZE}"
- CI/before_script.linux.sh
- cp extern/.clang-tidy build/.clang-tidy
- mkdir -p build/extern build/apps/launcher build/apps/opencs build/apps/wizard
- cp extern/.clang-tidy build/extern/
- cp extern/.clang-tidy build/apps/launcher/
- cp extern/.clang-tidy build/apps/opencs/
- cp extern/.clang-tidy build/apps/wizard/
- cd build
- find . -name *.o -exec touch {} \;
- cmake --build . -- -j $(nproc) ${BUILD_TARGETS}
Expand Down Expand Up @@ -555,11 +559,12 @@ Ubuntu_GCC_integration_tests_asan:
- ccache/
script:
- CI/before_install.macos.sh
- brew install ccache
- export CCACHE_BASEDIR="$(pwd)"
- export CCACHE_DIR="$(pwd)/ccache"
- mkdir -pv "${CCACHE_DIR}"
- CI/macos/ccache_prep.sh
- CI/before_script.macos.sh
- ccache -z -M "${CCACHE_SIZE}"
- CI/before_script.macos.sh -C
- CI/macos/build.sh
- cd build
- for dmg in *.dmg; do mv "$dmg" "${dmg%.dmg}_${DMG_IDENTIFIER}_${CI_COMMIT_REF_NAME##*/}.dmg"; done
Expand All @@ -578,7 +583,7 @@ Ubuntu_GCC_integration_tests_asan:
s3cmd put "${dmg}" s3://openmw-artifacts/${artifactDirectory}
done
fi
- ../CI/macos/ccache_show_stats.sh
- ccache -svv
artifacts:
paths:
- build/OpenMW-*.dmg
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
0.51.0
------


0.50.0
------

Expand All @@ -19,6 +23,7 @@
Bug #7979: Paralyzed NPCs battlecry
Bug #7996: Instant magic effects are not always instant
Bug #8012: Startcombat and Stopcombat do not affect music in the menu mode
Bug #8176: Error marker cloning is not thread-safe
Bug #8245: The console command ShowVars does not list global mwscripts
Bug #8265: Topics are linked incorrectly
Bug #8303: On target spells cast by non-actors should fire underwater
Expand Down Expand Up @@ -71,6 +76,11 @@
Bug #8650: Some plants turn invisible when being called types.Container.inventory(cont):isResolved()
Bug #8680: Dead ancestor ghosts stop being dust when you rest near them
Bug #8686: openmw-cs: Crash when smoothing terrain of a not-yet-created cell.
Bug #8710: Absorb Skill breaks on creatures
Bug #8720: Crash due to a malformed Lua UI element
Bug #8734: Shield sheathing does not work properly
Bug #8757: Crash in Lua coroutine when accessing player
Bug #8758: Lua UI crash on creating nested UI elements twice without destroying old parent element
Feature #2522: Support quick item transfer
Feature #3740: Gamepad GUI Mode
Feature #3769: Allow GetSpellEffects on enchantments
Expand Down
5 changes: 5 additions & 0 deletions CI/before_install.macos.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
#!/bin/sh -ex

brew tap --repair
brew update --quiet

if [[ "${MACOS_AMD64}" ]]; then
./CI/macos/before_install.amd64.sh
else
./CI/macos/before_install.arm64.sh
fi

command -v cmake >/dev/null 2>&1 || brew install cmake
108 changes: 92 additions & 16 deletions CI/before_script.macos.sh
Original file line number Diff line number Diff line change
@@ -1,28 +1,91 @@
#!/bin/sh -e
#!/bin/bash -e

# Silence a git warning
git config --global advice.detachedHead false
VERBOSE=""
USE_CCACHE=""
KEEP=""
USE_WERROR=""

rm -fr build
mkdir build
while [ $# -gt 0 ]; do
ARGSTR=$1
shift

if [ ${ARGSTR:0:1} != "-" ]; then
echo "Unknown argument $ARGSTR"
echo "Try '$0 -h'"
wrappedExit 1
fi

for (( i=1; i<${#ARGSTR}; i++ )); do
ARG=${ARGSTR:$i:1}
case $ARG in
V )
VERBOSE=true ;;

C )
USE_CCACHE=true ;;

k )
KEEP=true ;;

E )
USE_WERROR=true ;;

h )
cat <<EOF
Usage: $0 [-VCkETh]
Options:
-C
Use ccache.
-h
Show this message.
-k
Keep the old build directory, default is to delete it.
-V
Run verbosely
-E
Use warnings as errors (-Werror)
EOF
exit 0
;;

* )
echo "Unknown argument $ARG."
echo "Try '$0 -h'"
exit 1 ;;
esac
done
done

if [[ -z $KEEP ]]; then
if [[ -n $VERBOSE && -d "build" ]]; then
echo "Deleting existing build directory"
fi
rm -fr build
fi

mkdir -p build
cd build

DEPENDENCIES_ROOT="/tmp/openmw-deps"

if [[ "${MACOS_AMD64}" ]]; then
QT_PATH=$(arch -x86_64 /usr/local/bin/brew --prefix qt@6)
QT_PATH=$(arch -x86_64 /bin/bash -c "qmake -v | sed -rn -e 's/Using Qt version [.0-9]+ in //p'")
ICU_PATH=$(arch -x86_64 /usr/local/bin/brew --prefix icu4c)
OPENAL_PATH=$(arch -x86_64 /usr/local/bin/brew --prefix openal-soft)
else
QT_PATH=$(brew --prefix qt@6)
QT_PATH=$(qmake -v | sed -rn -e "s/Using Qt version [.0-9]+ in //p")
ICU_PATH=$(brew --prefix icu4c)
OPENAL_PATH=$(brew --prefix openal-soft)
fi

if [[ -n $VERBOSE ]]; then
echo "Using Qt path: ${QT_PATH}"
echo "Using ICU path: ${ICU_PATH}"
echo "Using OpenAL path: ${OPENAL_PATH}"
fi

declare -a CMAKE_CONF_OPTS=(
-D CMAKE_PREFIX_PATH="$DEPENDENCIES_ROOT;$QT_PATH;$OPENAL_PATH"
-D CMAKE_C_COMPILER_LAUNCHER="ccache"
-D CMAKE_CXX_COMPILER_LAUNCHER="ccache"
-D CMAKE_CXX_FLAGS="-stdlib=libc++"
-D CMAKE_C_COMPILER="clang"
-D CMAKE_CXX_COMPILER="clang++"
Expand Down Expand Up @@ -62,14 +125,27 @@ else
)
fi

if [[ "${MACOS_AMD64}" ]]; then
arch -x86_64 cmake \
"${CMAKE_CONF_OPTS[@]}" \
"${BUILD_OPTS[@]}" \
..
else
cmake \
if [[ -n $USE_CCACHE ]]; then
CMAKE_CONF_OPTS+=(
-D CMAKE_C_COMPILER_LAUNCHER="ccache"
-D CMAKE_CXX_COMPILER_LAUNCHER="ccache"
)
fi

if [[ -n $USE_WERROR ]]; then
CMAKE_CONF_OPTS+=(
-D OPENMW_CXX_FLAGS="-Werror"
)
fi

if [[ -n $VERBOSE ]]; then
echo CMake arguments: \
"${CMAKE_CONF_OPTS[@]}" \
"${BUILD_OPTS[@]}" \
..
fi

cmake \
"${CMAKE_CONF_OPTS[@]}" \
"${BUILD_OPTS[@]}" \
..
6 changes: 4 additions & 2 deletions CI/macos/before_install.amd64.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#!/bin/sh -ex

arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
command -v /usr/local/bin/brew || arch -x86_64 bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

arch -x86_64 /usr/local/bin/brew install curl xquartz gd fontconfig freetype harfbuzz brotli ccache cmake qt@6 openal-soft icu4c yaml-cpp sqlite
arch -x86_64 bash -c "command -v qmake >/dev/null 2>&1 && qmake -v | grep -F 'Using Qt version 6.' >/dev/null || /usr/local/bin/brew install qt@6"

arch -x86_64 /usr/local/bin/brew install curl xquartz gd fontconfig freetype harfbuzz brotli openal-soft icu4c yaml-cpp sqlite

curl -fSL -R -J https://gitlab.com/OpenMW/openmw-deps/-/raw/main/macos/openmw-deps-20240802.zip -o ~/openmw-deps.zip
unzip -o ~/openmw-deps.zip -d /tmp > /dev/null
7 changes: 2 additions & 5 deletions CI/macos/before_install.arm64.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
#!/bin/sh -ex

brew tap --repair
brew update --quiet
command -v qmake >/dev/null 2>&1 && qmake -v | grep -F "Using Qt version 6." >/dev/null || brew install qt@6

command -v cmake >/dev/null 2>&1 || brew install cmake

brew install curl xquartz gd fontconfig freetype harfbuzz brotli qt@6 ccache openal-soft icu4c yaml-cpp sqlite
brew install curl xquartz gd fontconfig freetype harfbuzz brotli openal-soft icu4c yaml-cpp sqlite

curl -fSL -R -J https://gitlab.com/OpenMW/openmw-deps/-/raw/main/macos/openmw-deps-20240818-arm64.tar.xz -o ~/openmw-deps.tar.xz
tar xf ~/openmw-deps.tar.xz -C /tmp > /dev/null
7 changes: 0 additions & 7 deletions CI/macos/ccache_prep.sh

This file was deleted.

7 changes: 0 additions & 7 deletions CI/macos/ccache_show_stats.sh

This file was deleted.

12 changes: 7 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ endif()
message(STATUS "Configuring OpenMW...")

set(OPENMW_VERSION_MAJOR 0)
set(OPENMW_VERSION_MINOR 50)
set(OPENMW_VERSION_MINOR 51)
set(OPENMW_VERSION_RELEASE 0)
set(OPENMW_LUA_API_REVISION 95)
set(OPENMW_LUA_API_REVISION 101)
set(OPENMW_POSTPROCESSING_API_REVISION 3)

set(OPENMW_VERSION_COMMITHASH "")
Expand Down Expand Up @@ -270,6 +270,7 @@ set(USED_OSG_PLUGINS
osgdb_bmp
osgdb_dae
osgdb_dds
osgdb_ktx
osgdb_freetype
osgdb_jpeg
osgdb_osg
Expand Down Expand Up @@ -452,7 +453,7 @@ if(HAVE_MULTIVIEW)
add_definitions(-DOSG_HAS_MULTIVIEW)
endif(HAVE_MULTIVIEW)

set(BOOST_COMPONENTS iostreams program_options system)
set(BOOST_COMPONENTS iostreams program_options)

find_package(Boost 1.70.0 CONFIG REQUIRED COMPONENTS ${BOOST_COMPONENTS} OPTIONAL_COMPONENTS ${BOOST_OPTIONAL_COMPONENTS})

Expand Down Expand Up @@ -483,6 +484,7 @@ set(SOL_CONFIG_DIR ${OpenMW_SOURCE_DIR}/extern/sol_config)
include_directories(
BEFORE SYSTEM
"."
${SDL2_INCLUDE_DIR}
${MyGUI_INCLUDE_DIRS}
${OPENAL_INCLUDE_DIR}
${OPENGL_INCLUDE_DIR}
Expand All @@ -493,7 +495,7 @@ include_directories(
${ICU_INCLUDE_DIRS}
)

link_directories(${COLLADA_DOM_LIBRARY_DIRS})
link_directories(${SDL2_LIBRARY_DIRS} ${COLLADA_DOM_LIBRARY_DIRS})

if(MYGUI_STATIC)
add_definitions(-DMYGUI_STATIC)
Expand Down Expand Up @@ -615,7 +617,7 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC" OR CMAKE_CXX_COMPILER_FRONTEND_VARIANT
add_compile_options("/WX")
endif()
else ()
add_compile_options("-Wall" "-Wextra" "-Wundef" "-Wextra-semi" "-Wno-unused-parameter" "-pedantic" "-Wno-long-long" "-Wnon-virtual-dtor" "-Wunused" "-Wshadow")
add_compile_options("-Wall" "-Wextra" "-Wundef" "-Wextra-semi" "-Wno-unused-parameter" "-Wno-long-long" "-Wnon-virtual-dtor" "-Wunused" "-Wshadow" "-Wno-overloaded-virtual" "-Wno-inconsistent-missing-override" "-Wno-deprecated-copy-with-user-provided-copy" "-Wno-extra-semi")

if (CMAKE_CXX_COMPILER_ID STREQUAL Clang AND NOT APPLE)
if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 3.6 OR CMAKE_CXX_COMPILER_VERSION VERSION_EQUAL 3.6)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ OpenMW is an open-source open-world RPG game engine that supports playing Morrow

OpenMW also comes with OpenMW-CS, a replacement for Bethesda's Construction Set.

* Version: 0.50.0
* Version: 0.51.0
* License: GPLv3 (see [LICENSE](https://gitlab.com/OpenMW/openmw/-/raw/master/LICENSE) for more information)
* Website: https://www.openmw.org
* IRC: #openmw on irc.libera.chat
Expand Down
4 changes: 2 additions & 2 deletions apps/bsatool/bsatool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ int list(std::unique_ptr<File>& bsa, Arguments& info)
// Long format
std::ios::fmtflags f(std::cout.flags());
std::cout << std::setw(50) << std::left << file.name();
std::cout << std::setw(8) << std::left << std::dec << file.fileSize;
std::cout << "@ 0x" << std::hex << file.offset << std::endl;
std::cout << std::setw(8) << std::left << std::dec << file.mFileSize;
std::cout << "@ 0x" << std::hex << file.mOffset << std::endl;
std::cout.flags(f);
}
else
Expand Down
4 changes: 4 additions & 0 deletions apps/components_tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,14 @@ file(GLOB UNITTEST_SRC_FILES
esmterrain/testgridsampling.cpp

resource/testobjectcache.cpp
resource/testresourcesystem.cpp

vfs/testpathutil.cpp

sceneutil/osgacontroller.cpp

bsa/testbsafile.cpp
bsa/testcompressedbsafile.cpp
)

source_group(apps\\components-tests FILES ${UNITTEST_SRC_FILES})
Expand Down
Loading
Loading