1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-30 21:15:36 +00:00
Commit graph

33319 commits

Author SHA1 Message Date
AnyOldName3
82bc924e08 More facism appeasement 2024-02-05 14:27:47 +01:00
AnyOldName3
3bb8540f1d Write byte order mark and line terminator
PowerShell <= 5 needs a byte-order mark to identify non-local-eight-bit-encoded scripts.

I've interacted with enough things that yell at me for not terminating the final line of a script that I'm uncomfortable if I don't.
2024-02-05 14:27:47 +01:00
Bret Curtis
5576e4e9b7 clang-format again 2024-02-05 14:27:47 +01:00
Bret Curtis
9434ac0e06 clangafiy it 2024-02-05 14:27:47 +01:00
Bret Curtis
49a86a2d38 hail marry from aon3 2024-02-05 14:27:47 +01:00
Bret Curtis
a0251d0d0f give aon3 tip a try 2024-02-05 14:27:47 +01:00
Bret Curtis
f256a87ce3 powershell it? 2024-02-05 14:27:47 +01:00
Bret Curtis
9a148d8662 where are we windows? 2 2024-02-05 14:27:47 +01:00
Bret Curtis
2d281de85a where are we windows? 2024-02-05 14:27:47 +01:00
Bret Curtis
3d9a29fda0 make use of powershell.exe: https://stackoverflow.com/questions/67077738/how-to-run-an-executable-file-in-gitlab-ci-cd-script-using-powershell 2024-02-05 14:27:47 +01:00
Bret Curtis
f48b96d861 oh clang-format; stop hating me 2024-02-05 14:27:47 +01:00
Bret Curtis
1a3d87d955 what happens if we run it... 2024-02-05 14:27:47 +01:00
Bret Curtis
52e33a68e1 run command in windows with quotes 2024-02-05 14:27:47 +01:00
Bret Curtis
fd45e0c9ac per recommendation 2024-02-05 14:27:47 +01:00
Bret Curtis
34db13dd67 clang-format always knows best 2024-02-05 14:27:47 +01:00
Bret Curtis
61fb575757 added quotes and introduced test to cover space in directory for config files 2024-02-05 14:27:47 +01:00
Bret Curtis
df06e0d7b9 purge unnecessary cmake cruft 2024-02-05 14:27:47 +01:00
Bret Curtis
2a98519451 initial conversion to cxxopts for mwiniimporter
clang-format

clang-format again

add cxxopts to cmake and 3 oses

use version and not tag for cxxopts

add the include dir for windows maybe

add the include dir for windows maybe: part 2

give _DIR a try and point to cmake dir

try prefix path

add FindCXXOPTS.cmake

slim down findcxxopts

remove boost stuff from mwiiniimporter cmake; set include path in windows

one too many S

add support for fetching

formatting

validated that we need  MaybeQuotedPath

naive attempt to use vcpkg

remove findCXXOPTS.cmake

naive attempt to use vcpkg

more cleanup; make use of cxxopts::cxxopts

remove offending bad line

try to integration the cxxopts install via vcpkg

add vcpkg.cmake toolchain file

use the right path?

go the fetch route for windows

fetch cxxopts workaround

make use of CONFIG and also put in TODO

add code coverage

fix clang-format

fix clang-format again

add some tooling for tests

const params and use order of operations

allow to be run from anywhere

appease the jvoisin

u8 all the things

make sure we can run on all systems; but require that it run in the same directory as the binary we wish to test

give CLI11 a try

get things building on windows too

give this a try...

clean-format fix1

clean-format fix2

clang-format fix3

do not check if file already exists; overwrite existing

try to abstract out _wsystem and std::system

appease the clang-format gods

purge cli11

bring back tests
2024-02-05 14:27:46 +01:00
psi29a
76842c3ba1 Merge branch 'more_move' into 'master'
Address Coverity Scan complaints left

See merge request OpenMW/openmw!3837
2024-02-05 13:22:14 +00:00
psi29a
9fc71bb7df Merge branch 'crash_catcher' into 'master'
Cleanup crash catcher code and support lldb

See merge request OpenMW/openmw!3792
2024-02-05 13:01:10 +00:00
jvoisin
cdd73a1a19 Merge branch 'fix_far_away_navmesh_crash' into 'master'
Limit navmesh vertices coordinates values (#6574)

Closes #6574

See merge request OpenMW/openmw!3825
2024-02-05 09:49:24 +00:00
jvoisin
838785d5a3 Merge branch 'sworc' into 'master'
Make StartCombat a no-op for dead targets and don't always play attack lines

Closes #7769 and #5413

See merge request OpenMW/openmw!3803
2024-02-05 09:48:20 +00:00
Alexei Kotov
a5d88d489b Merge branch 'menu_fixes' into 'master'
Follow up fixes for Lua Menu MR !3464

See merge request OpenMW/openmw!3834
2024-02-05 00:41:11 +00:00
uramer
891f3583fe Only reset settings when there is no game, not on game end / player death 2024-02-04 11:12:12 +01:00
uramer
72136e7e92 Remove debug log 2024-02-04 11:12:12 +01:00
uramer
5d0537e57c Document core.sendGlobalEvent behavior in menu scripts 2024-02-04 11:12:12 +01:00
uramer
02accd7a49 Fix statemanager cleanup setting game state to ended by accident 2024-02-04 11:12:12 +01:00
uramer
8c6a1ae8c0 Allow menu scripts to send global events while a game is loaded 2024-02-04 11:12:11 +01:00
Alexei Kotov
62f2f4a011 Merge branch 'clear_lua_actions' into 'master'
Fix quickload causing a crash with certain Lua queued actions

Closes #7801

See merge request OpenMW/openmw!3833
2024-02-04 07:25:39 +00:00
Andrei Kortunov
292879d0fb Address Coverity Scan complaints left 2024-02-04 08:56:25 +04:00
elsid
e6196c782d
Limit navmesh vertices coordinates values
Float values with more than 22 significant fraction bits may cause out of bounds
access in recastnavigation on triangles rasterization. Prevent passing such
values there.
2024-02-03 18:48:42 +01:00
Alexei Kotov
8b47381162 Merge branch 'more_move' into 'master'
Fix some Coverity Scan complaints

See merge request OpenMW/openmw!3829
2024-02-03 17:24:53 +00:00
uramer
a1970857fd Queue quick loads 2024-02-03 15:18:34 +01:00
Zackhasacat
1338e884a9 Merge branch 'menuscripts' into 'master'
Add new Lua context: menu scripts

Closes #7805 and #7648

See merge request OpenMW/openmw!3464
2024-02-02 21:46:22 +00:00
uramer
784459a652 Clean up the cleanup code 2024-02-02 22:07:58 +01:00
jvoisin
720573115d Merge branch 'references' into 'master'
Pass some arguments by references

See merge request OpenMW/openmw!3824
2024-02-02 16:35:40 +00:00
Anton Uramer
5bd641d2dd Lua API Revision 52 2024-02-02 12:53:03 +01:00
Alexei Kotov
a12b792573 Merge branch 'How-to-kill-a-god' into 'master'
Initialize mScripted again when loading scripted animations.

See merge request OpenMW/openmw!3827
2024-02-02 10:26:12 +00:00
Andrei Kortunov
69936f3537 Move TextureData 2024-02-02 09:45:42 +04:00
Andrei Kortunov
225e834b88 Fix some Coverity Scan complaints 2024-02-02 09:28:19 +04:00
uramer
b988db9bda Merge branch 'master' into menuscripts 2024-02-01 20:11:02 +01:00
Mads Buvik Sandvei
a59981e3fa Initialize mScripted again. 2024-02-01 20:00:10 +01:00
uramer
130b634931 Changelog entries 2024-02-01 17:52:41 +01:00
Andrei Kortunov
66d1e036d2 Pass some arguments by references 2024-02-01 10:02:15 +04:00
Alexei Kotov
2114f84939 Merge branch 'fix_formatting' into 'master'
Fix formatting to make clang-format pass

See merge request OpenMW/openmw!3826
2024-02-01 02:15:51 +00:00
Zackhasacat
c7fcd1c31b Fix formatting 2024-01-31 17:00:33 -06:00
psi29a
6136e3d8fc Merge branch 'csspellarg' into 'master'
Editor: Reset effect arguments when the effect ID changes (#7785)

Closes #7785

See merge request OpenMW/openmw!3802
2024-01-31 10:52:13 +00:00
psi29a
ee8eb9d36e Merge branch 'localizable_errors' into 'master'
Make ContentSelector errors localizable

See merge request OpenMW/openmw!3821
2024-01-31 10:51:54 +00:00
psi29a
5ca8f7a00e Merge branch 'normalizedsun' into 'master'
Actually normalize the sun position exposed to post-processing

See merge request OpenMW/openmw!3820
2024-01-31 10:50:31 +00:00
psi29a
c9489bad9b Merge branch 'cleanup_esm3_readers_cache' into 'master'
Remove stateless encoder from ReadersCache

See merge request OpenMW/openmw!3823
2024-01-31 10:49:53 +00:00