1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-16 08:29:56 +00:00
Commit graph

2911 commits

Author SHA1 Message Date
uramer
2df8c13525 Lua triggers to cover remaining deprecated actions 2024-08-08 00:08:48 +02:00
Mads Buvik Sandvei
3df137166c Update self.lua 2024-08-06 20:18:43 +00:00
Cody Glassman
a53d002262 lua - add swizzling to vector types 2024-08-05 06:53:59 -07:00
elsid
ec02e2ba1d Revert "Merge branch 'swizzle_bop_boom_bazingle' into 'master'"
This reverts merge request !4288
2024-08-05 09:08:17 +00:00
Cody Glassman
9951fd8a1a support 0/1 constant swizzles 2024-08-04 11:56:34 -07:00
Cody Glassman
19c0cebb27 lua - add swizzling to vector types 2024-08-04 11:56:34 -07:00
AnyOldName3
297712a8eb Some translations 2024-08-04 19:07:59 +01:00
psi29a
488a05d14c Merge branch 'lua-add-is-fleeing' into 'master'
lua - add isFleeing() to AI interface

See merge request OpenMW/openmw!4256
2024-08-01 09:55:50 +00:00
Sebastian Fieber
234476bdae lua - add isFleeing() to lua AI interface 2024-07-31 20:29:33 +02:00
AnyOldName3
cd7941dc9f Some launcher fixes
I tried to fix https://gitlab.com/OpenMW/openmw/-/issues/8080 by making it so that instead of crashing, we showed an error.

In doing so, I discovered some problems with plugin sorting and the refresh button, like:
* it forgetting the non-user content files somewhere
* nothing guaranteeing that built-in content files stay at the top of the list and them only being there because the first data directory that provides them is usually the first data directory
* it forgetting the non-user content files somewhere else
* it looking like it'd forget any kind of non-user setting under certain circumstances

I fixed those problems too
2024-07-31 00:04:38 +01:00
psi29a
317aee134f Merge branch 'half_float_docs' into 'master'
Add half_float to the post processing documentation

See merge request OpenMW/openmw!4283
2024-07-30 08:14:17 +00:00
psi29a
30a844ae71 Merge branch 'how-do-you-ambulate' into 'master'
FEAT(types): Expose creature flags

See merge request OpenMW/openmw!4280
2024-07-29 08:07:36 +00:00
Abdu Sharif
32aeaf793b Call it contrast 2024-07-28 22:32:32 +00:00
Dave Corley
42060be65c FEAT: Add essential and respawning flags for both NPC and Creature types 2024-07-28 17:14:09 -05:00
Dave Corley
ef9d5270a1 FEAT(types): Expose creature flags 2024-07-28 17:14:05 -05:00
psi29a
fc2f30dc4a Merge branch 'anim-api-cleanup' into 'master'
Anim api cleanup (close #8081)

Closes #8081

See merge request OpenMW/openmw!4274
2024-07-28 09:17:05 +00:00
Cody Glassman
77eeb5bd92 Merge branch 'master' into 'master'
HALF_FLOAT  and normals changes

See merge request OpenMW/openmw!4240
2024-07-27 15:21:45 +00:00
Jared Davenport
349931b5cd HALF_FLOAT and normals changes 2024-07-27 15:21:44 +00:00
Alexei Kotov
11c21c28bf Merge branch 'remember-remember-the-point-of-my-mr-and-fix-a-typo' into 'master'
Add the AiWander Lua API MR to changelog, fix Lua docs typo

See merge request OpenMW/openmw!4275
2024-07-24 23:51:32 +00:00
uramer
f15888f474 Lua docs: getRealFrameDuration not available in global 2024-07-24 09:28:51 +02:00
Hristos N. Triantafillou
fe18c279ac
Add the AiWander Lua API MR to changelog, fix Lua docs typo 2024-07-23 18:26:05 -05:00
Dave Corley
277f7d17e8 CLEANUP(animation.lua): Camelcase everything 2024-07-23 14:39:56 -05:00
psi29a
5d3aa62e56 Merge branch 'fix_save_docs' into 'master'
Lua docs: correct save getters return types

See merge request OpenMW/openmw!4262
2024-07-22 22:16:01 +00:00
Alexei Kotov
1f4ab3b668 Merge branch 'animationblending' into 'master'
Animation blending implementation. Flexible and moddable through .yaml blending config files.

See merge request OpenMW/openmw!3497
2024-07-22 13:16:06 +00:00
psi29a
376e8a6e1f Merge branch 'bounding_box' into 'master'
lua - use loaded node when possible when calculating bounding box (#7580)

Closes #7580

See merge request OpenMW/openmw!4073
2024-07-21 09:31:22 +00:00
uramer
e8d7c2a257 Correct save getters return types 2024-07-20 20:34:41 +02:00
Cody Glassman
21377ee4f3 shaders - multiply instead of replace alpha in distortion 2024-07-19 15:58:49 -07:00
Sam Hellawell
277c179fe9 Translation fix 2024-07-19 00:05:59 +01:00
Sam Hellawell
0b3ab23e50 Russian update suggested by Andrei 2024-07-19 00:05:35 +01:00
Sam Hellawell
9beb380c7d Remove M_PI, documenation cleanup 2024-07-19 00:05:16 +01:00
Sam Hellawell
1317434ac0 CI fix 2024-07-19 00:05:03 +01:00
Sam Hellawell
231af7b1ae fr/sv translations 2024-07-19 00:04:16 +01:00
Sam Hellawell
b1b2cceec6 Update translation capitalization 2024-07-19 00:04:16 +01:00
Sam Hellawell
a2a4d222a7 Localization fixes 2024-07-19 00:04:16 +01:00
Sam Hellawell
07e6ebdea1 Update english translation, add ruski translation 2024-07-19 00:04:16 +01:00
Sam Hellawell
da542fcf67 Translation updates 2024-07-19 00:04:15 +01:00
Max Yari
55ffb6d7d2 Animation blending implementation for NIF and osgAnimation through YAML files
Signed-off-by: Sam Hellawell <sshellawell@gmail.com>
2024-07-19 00:04:15 +01:00
psi29a
bd71f79d86 Merge branch 'bikin-malu-saja' into 'master'
Add missing packages to lua console

See merge request OpenMW/openmw!4254
2024-07-16 11:39:55 +00:00
MaxYari
1abe28e797 Lua door opening api 2024-07-15 07:09:44 +00:00
Kindi
576850279b add missing package to lua console 2024-07-15 12:26:51 +08:00
psi29a
6fee37b3c3 Merge branch 'activeactiveactive' into 'master'
Move index from ActiveEffect to ActiveSpellEffect

See merge request OpenMW/openmw!4212
2024-07-11 09:03:22 +00:00
psi29a
bfcdc16ca5 Merge branch 'move360-fix-no-zoom' into 'master'
Add Camera.isZoomEnabled check to move360 zooming

Closes #8064

See merge request OpenMW/openmw!4247
2024-07-11 09:02:24 +00:00
Sam Kaufman
f258f9ec68 Set macOS app. category to role-playing game. 2024-07-10 07:34:08 +00:00
psi29a
a0e3b2ce85 Merge branch 'cleanup_logs' into 'master'
Clean up a debug log

See merge request OpenMW/openmw!4246
2024-07-09 21:33:18 +00:00
trav
0d14464fdf Merge branch openmw:master into move360-fix-no-zoom 2024-07-09 18:58:32 +00:00
psi29a
5be78f89b8 Merge branch 'master' into 'lalat-dalam-cawan'
# Conflicts:
#   files/lua_api/openmw/types.lua
2024-07-09 07:49:29 +00:00
psi29a
7d0fca1bf5 Merge branch 'noscript' into 'master'
Make mwscript return nil for records that don't have a script

See merge request OpenMW/openmw!4236
2024-07-09 07:47:24 +00:00
psi29a
82f6845b70 Merge branch 'hotpursuit' into 'master'
Require Pursue packages to target a player

See merge request OpenMW/openmw!4239
2024-07-09 07:44:21 +00:00
trav5
d4e6dd9f8c Add Camera.isZoomEnabled check to move360 zooming
Early return in the processZoom3rdPerson function at move360.lua
extended with a check for disabled zoom in the Camera interface.

This fixes #8064 - prevents from switching between 1st and 3rd person
camera by pressing zoom in/out inputs when zooming is disabled.
2024-07-08 23:30:05 +02:00
uramer
dbbcbaa4c5 Clean up a debug log 2024-07-08 21:41:31 +02:00
psi29a
3a5ed998e7 Merge branch 'timeplayed' into 'master'
Remove time played setting

See merge request OpenMW/openmw!4235
2024-07-08 07:29:29 +00:00
Evil Eye
0342a299cc Require Pursue packages to target a player 2024-07-07 15:05:19 +02:00
Kuyondo
4bacf0d55a Its sound id not sound path 2024-07-07 21:03:43 +08:00
Evil Eye
ee653eb2b8 Make mwscript return nil for records that don't have a script 2024-07-07 13:58:34 +02:00
psi29a
061f10bef7 Merge branch 'enchantmentproptorecord' into 'master'
Return nil for absent values in record properties (enchant)

See merge request OpenMW/openmw!4228
2024-07-06 21:33:55 +00:00
Kindi
bf9f5dc2ef dont return empty string for absent value 2024-07-06 00:40:06 +08:00
Kindi
045e6d8c4f move enchant charge and soul to itemdata 2024-07-05 23:33:55 +08:00
psi29a
ef0bb02def Merge branch 'master' into 'master'
An ability to specify attack type in controls.use value

See merge request OpenMW/openmw!4187
2024-07-05 08:12:17 +00:00
Alexei Kotov
888abc0097 Remove time played setting 2024-07-05 07:13:45 +03:00
Cody Glassman
45cb3eb081 lua - use loaded node when possible when calculating bounding box 2024-07-03 13:29:01 -07:00
Dave Corley
8130410200 FIX(animation.lua): Use lowercase instead of camelcase as the function
expects lower
2024-06-29 22:14:19 -05:00
psi29a
4da35c7e7f Merge branch 'free_range_containers' into 'master'
FEAT: Add organic/respawning flags to containers (Close #8038)

Closes #8038

See merge request OpenMW/openmw!4205
2024-06-29 09:21:12 +00:00
Evil Eye
8a022651f7 Move index from ActiveEffect to ActiveSpellEffect 2024-06-28 17:23:51 +02:00
Dave Corley
77fa41b8c6 CLEANUP(container): Make organic/respawning field names more consistent 2024-06-28 09:26:35 -05:00
Dave Corley
fccf75377d FEAT: Add organic/respawning flags to containers 2024-06-28 09:21:44 -05:00
Evil Eye
91bcd0a556 Add a showInDialogue parameter to ui.showMessage and use it for level up messages 2024-06-27 17:16:49 +02:00
Max Yari
13918e3b70 AttackType -> ATTACK_TYPE 2024-06-24 01:15:43 +02:00
Max Yari
88e4ec198d Changed value type in the docs 2024-06-22 00:15:19 +02:00
Max Yari
b01b76b81e Introduced attacktype enum, fixed lua docs 2024-06-21 23:18:48 +02:00
Max Yari
2ef0568dda Changed lua enum name, tweaked docs 2024-06-21 23:18:48 +02:00
Max Yari
70c822d036 Updated lua docs description 2024-06-21 23:18:48 +02:00
Alexei Kotov
348ef6ff2f Update settings-default.cfg light bounds multiplier comment 2024-06-21 20:22:26 +03:00
psi29a
3a686dd8af Merge branch 'lua_travel_dest_2' into 'master'
Expose cell ID, Add actor travel destinations to types.Actor.record.servicesOffered

See merge request OpenMW/openmw!3592
2024-06-19 21:38:27 +00:00
Zackhasacat
533ce499e0 Expose cell ID, Add actor travel destinations to types.Actor.record.servicesOffered 2024-06-19 21:38:27 +00:00
Kagernac
f7628ff0a8 Code cleanup and documentation
Added documentation in GUI.rst for the new settings

Cleaned up the MR with some remnant changes.
2024-06-19 11:08:05 -07:00
Kindi
ecb07c9bc7 add mwscript.isRunning 2024-06-17 08:05:52 +08:00
psi29a
9523aab18e Merge branch 'objectisinstance(lockable)' into 'master'
Doc: Add objectisinstance to lockable

See merge request OpenMW/openmw!4175
2024-06-15 08:42:24 +00:00
Kindi
cdc77a1d2c add missing objectisinstance to lockable 2024-06-14 12:19:25 +08:00
Alexei Kotov
6ad914919b Remove launcher lighting settings that support runtime changes
Also update lighting method descriptions
2024-06-12 22:44:12 +03:00
Alexei Kotov
ccd36e9413 Support light fade settings in legacy lighting method
This doesn't change launcher descriptions because the launcher settings are going to be omitted
2024-06-12 22:44:12 +03:00
psi29a
cbf0471d8a Merge branch 'launch_button' into 'master'
Set minimum width for Launch OpenMW button

See merge request OpenMW/openmw!4162
2024-06-10 13:51:13 +00:00
psi29a
56183ba982 Merge branch 'ingameppl' into 'master'
Move force per-pixel lighting setting to the in-game settings

See merge request OpenMW/openmw!4137
2024-06-10 13:49:14 +00:00
Andrei Kortunov
fb3687e62a Set minimum width for Launch OpenMW button 2024-06-08 17:20:54 +04:00
Kagernac
7d403089ec Cleaner implementation
Retrieved the Colours straight from Settings

Made tagname clearer in openmw_list.skin.xml

Fixed minor formatting issue in validate.cpp, textcolours.cpp

Updated skin variables to be const and string_view
2024-06-07 18:38:32 -07:00
psi29a
176e6490c5 Merge branch 'stufftheminasack' into 'master'
Drop 360-degree screenshot support (#7720)

Closes #7720

See merge request OpenMW/openmw!4158
2024-06-07 20:50:43 +00:00
psi29a
24d8accee7 Merge branch 'lua_base_disposition_fns' into 'master'
lua - Add [get,set,mod]BaseDisposition functions to npc type

See merge request OpenMW/openmw!4142
2024-06-06 21:44:55 +00:00
Alexei Kotov
93d1c6d7e0 Drop 360-degree screenshot support (#7720) 2024-06-06 14:46:01 +03:00
Kagernac
aca39c919f Changed the tagname to match the values in settings.cfg
Changed the values from int to float in settings.cfg. This is consistent with the older format.

The prefix is no longer referenced and hardcoded. There were four original values in the old color format, the parsing had to be modified to account for floats and four values.
2024-06-05 20:26:45 -07:00
Alexei Kotov
593d4ff714 Move per-pixel lighting to the in-game settings 2024-06-06 05:19:33 +03:00
Sebastian Fieber
ed26708e4d more dry + restrict mutation of disposition to global and on self 2024-06-05 18:09:54 +02:00
Kagernac
3e6ccfce1f Took @Capostrophic's suggestion about leveraging a new tag format
Removed the color settings from Textcolours, they are unneccessary

Removed the Fallback workaround as a dedicated else condition was created with the new tag "fontcolouroptional". This code section has no involvement in Fallback

openmw_list.skin.xml was updated to reflect this new tag

settings.cfg was updated with the updated variable names
2024-06-04 23:14:44 -07:00
psi29a
32dd4a4a68 Merge branch 'windows11_qss' into 'master'
Improve dark mode stylesheets

See merge request OpenMW/openmw!4148
2024-06-04 20:38:46 +00:00
Andrei Kortunov
937101d580 Add a dark style sheet tweaked for Windows 11 2024-06-02 16:58:02 +04:00
Andrei Kortunov
98c0b712f5 Update some lines in Russian translations 2024-06-02 13:55:17 +04:00
Sebastian Fieber
da4531faa0 rename modBaseDisposition to modifyBaseDisposition 2024-05-31 19:39:02 +02:00
Sebastian Fieber
f683adeb14 Add [get,set,mod]BaseDisposition functions to npc type 2024-05-30 00:08:11 +02:00
Joakim Berg
fcc29eeefe duh, found more post processing mistranslations 2024-05-25 18:14:01 +00:00
Joakim Berg
60e8275bb9 Fixed some small translation errors 2024-05-25 18:09:31 +00:00
Alexei Kotov
950d65a382 Merge branch 'rollback_music_interface' into 'master'
Rollback a Muisc interface

See merge request OpenMW/openmw!4129
2024-05-25 15:31:16 +00:00
psi29a
6e0606b55b Merge branch 'paralysisagainagain' into 'master'
Make paralysis cancel camera mode changes (#7997)

Closes #7997

See merge request OpenMW/openmw!4122
2024-05-24 23:06:35 +00:00