1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-09-14 03:14:08 +00:00
Commit graph

432 commits

Author SHA1 Message Date
Andrew Lanzone
e01291ec4a Add whole set of button icons 2025-05-17 22:32:03 -07:00
Andrew Lanzone
c0694d3c0e Add overlay showing what controller buttons do 2025-05-16 21:41:28 -07:00
Andrew Lanzone
f055ccf5ba Update item view to allow controller support; test it in Container menu 2025-05-14 02:31:32 -07:00
Alexei Kotov
6aed2d8284 Bump Crimes interface version 2025-04-13 14:05:07 +03:00
Chronolegionnaire
ed62f9b12b Lua api demands a boolean for victim aware but crimes.lua looks for a number. Which makes scripts that call the crime interface unable to provide a value other than nil for victim aware. 2025-04-06 06:27:40 +00:00
Alexei Kotov
17938cdb7e Make the crosshair smaller 2025-04-01 01:25:08 +03:00
Alexei Kotov
8634b6c3ac Revise saved game dialog save info layout (#8313) 2025-03-21 03:18:32 +03:00
Alexei Kotov
c2744a1846 Change substitute character in Mystic Cards from question mark to underscore 2025-03-18 00:50:03 +03:00
Alexei Kotov
8d0dcb774f Add no-break space to MysticCards 2025-03-18 00:49:51 +03:00
Alexei Kotov
887e1c04ef Spell buying window layout tweaks 2025-03-16 13:53:43 +03:00
Alexei Kotov
4db41c2111 Merchant repair menu layout tweaks 2025-03-16 13:16:59 +03:00
Alexei Kotov
71ef86078c Clip HUD item widgets to not overlap the borders (#7740) 2025-03-11 22:21:42 +03:00
Evil Eye
c691917172 Distinguish between I.Controls and I.GamepadControls 2025-03-10 16:37:13 +01:00
Alexei Kotov
59edf4750b Fix Travel window header alignment 2025-03-06 01:16:45 +03:00
Alexei Kotov
cd53cbbea2 Don't disable automove when the player can't move (#8358) 2025-02-21 01:38:08 +03:00
Mads Buvik Sandvei
a2f5e1c075 Fix multiview use in techniques 2025-01-26 16:26:36 +01:00
Alexei Kotov
aa277c0934 Add an option to match sunlight to the sun (#8032) 2024-12-28 18:29:35 +03:00
Evil Eye
5534aeb30e Only set use when holding a weapon 2024-11-16 14:13:58 +01:00
uramer
ad1c2a0e9f Fix table-valued settings 2024-10-28 16:46:14 +01:00
Calandiel Elende
9248e37156 add OFFENSE_TYPE and commitCrime to lua 2024-10-20 09:37:27 +00:00
Alexei Kotov
c4ca0105e8 Make OMWMusic lines stylistically consistent with other tabs 2024-10-02 14:16:55 +03:00
psi29a
ac21cf3bb3 Merge branch 'script-music-settings-fr-localization' into 'master'
Add OpenMW Music setting yaml localization and uniformize the other settings tabs

See merge request OpenMW/openmw!4389
2024-09-27 06:38:00 +00:00
psi29a
cb009db4bb Merge branch 'topicHighlighting' into 'master'
Topic Highlighting Mouse Over Fix

See merge request OpenMW/openmw!4113
2024-09-27 06:36:17 +00:00
Arnaud Dochain
7f1ce5e812 Add OpenMW Music French setting and unfoformize the other settings tabs 2024-09-24 17:05:51 +00:00
Alexei Kotov
2ab6dd0229 Address my own review concerns
Correct the number of hyphens in documentation
Use the correct settings tag
Simplify color values
2024-09-19 04:05:54 +03:00
Evil Eye
82cd151b4c Start combat music for fleeing actors that haven't drawn a weapon 2024-09-16 16:38:26 +02:00
Alexei Kotov
176dec45a7 Make light attenuation fade optional
This also makes Force Per Pixel Lighting caption shorter to provide more space for the new button
2024-08-30 10:03:37 +03:00
psi29a
527fa053c5 Merge branch 'actions_patchup' into 'master'
Lua Actions patchup

See merge request OpenMW/openmw!4311
2024-08-18 10:02:03 +00:00
Mads Buvik Sandvei
7f0f2373ea Use sol::optional for optional table instead of function overloading. 2024-08-12 21:24:50 +02:00
Mads Buvik Sandvei
09f6daf155 Rewrite addvfx and spawnvfx to take a model path instead of a static. Mode vfx from core to world. Add event handlers for AddVfx and SpawnVfx. 2024-08-10 14:56:35 +02:00
uramer
2df8c13525 Lua triggers to cover remaining deprecated actions 2024-08-08 00:08:48 +02: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
Abdu Sharif
32aeaf793b Call it contrast 2024-07-28 22:32:32 +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
Hristos N. Triantafillou
fe18c279ac
Add the AiWander Lua API MR to changelog, fix Lua docs typo 2024-07-23 18:26:05 -05:00
Sam Hellawell
9beb380c7d Remove M_PI, documenation cleanup 2024-07-19 00:05:16 +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
Kindi
576850279b add missing package to lua console 2024-07-15 12:26:51 +08: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
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
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
Evil Eye
0342a299cc Require Pursue packages to target a player 2024-07-07 15:05:19 +02: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
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
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
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
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
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
psi29a
157a5a4489 Merge branch 'l10n' into 'master'
Many localization fixes

See merge request OpenMW/openmw!4108
2024-05-24 17:46:47 +00:00
Andrei Kortunov
aa07dc0312 Rollback a Muisc interface 2024-05-24 10:16:28 +04:00
psi29a
d15be7a685 Merge branch 'fix-nearest-gui-options' into 'master'
Fix incorrect texture filtering GUI for nearest, allow to disable nearest from GUI

See merge request OpenMW/openmw!4114
2024-05-23 10:07:42 +00:00
psi29a
db27543ea1 Merge branch 'uniform_choice' into 'master'
Add choice widget type to postprocessing uniforms

See merge request OpenMW/openmw!3969
2024-05-23 10:06:22 +00:00
Alexei Kotov
462818c304 Make paralysis cancel camera mode changes (#7997) 2024-05-23 12:29:10 +03:00
Kagernac
f9577d904c This commit introduces six new color settings for dialogue topic keywords
referencing settings.cfg and settings-default.cfg. These settings work similarly
to the color references found in openmw.cfg and Morrowind.ini.

Changes include:

Removal of deprecated settings:
color topic specific
color topic exhausted
Addition of six new color settings to settings.cfg and settings-default.cfg
Updated description in settings-default.cfg to reflect the new color format
2024-05-22 20:25:58 -07:00
Sam Hellawell
a7991f9988 Update german translation 2024-05-23 04:11:29 +01:00
Sam Hellawell
d3c1aa6653 Fix incorrect texture filtering GUI for nearest, allow to disable nearest from GUI 2024-05-23 04:11:29 +01:00
Kagernac
02730af391 Changing the skin of the widget seems to be the easiest way to have the choices in the list react to specific conditions and interactions.
Seems that changing the skin modifies some size properties so they had to be reset.

Needed to create a specific skin in order to prevent modifying unintended text.

The exhausted color is not referenced by the settings.cfg, the user will need to modify the color in the skin file.

Edit: Fixed the coding convention issues and converted the tabs into spaces in the .xml. Closed the previous merge request out of confusion, sorry new to Git.
2024-05-19 14:43:41 -07:00
Andrei Kortunov
5a1ec8ce87 Implement Lua-based music 2024-05-19 22:10:54 +04:00
Alexei Kotov
45035413e9 Shorten Swedish am/pm lines to make them less confusing 2024-05-18 08:38:00 +03:00
Alexei Kotov
2aa5c78424 Add Swedish translations for the newly exposed lines 2024-05-18 07:38:05 +03:00
Alexei Kotov
1528522c4d Add French translations for the newly exposed lines
Bump the max width for Prefs page checkbox captions to allow butchering the lines less
2024-05-17 18:31:26 +03:00
Alexei Kotov
f2f9ce343e Add German translations for the newly exposed lines 2024-05-17 13:58:16 +03:00
Alexei Kotov
86ecf3fa0c Make saved game dialog Health and Level lines localizable
Currently providing English, Russian and GMST-based localization.
2024-05-17 05:01:06 +03:00
Alexei Kotov
71dc14cbb2 Use standard quote marks for German OMWControls and OMWCamera
Mystic Cards doesn't provide glyphs for the quote marks Atahualpa used
2024-05-17 04:25:48 +03:00
Alexei Kotov
381ab8e0d2 Unbreak Swedish OMWEngine localization 2024-05-17 03:24:03 +03:00
Alexei Kotov
04989953ad Make rest autosave, crosshair and best attack lines localizable
This includes English, Russian and GMST-based localization for these lines
2024-05-17 02:57:16 +03:00
Alexei Kotov
309201934a Fix Calendar localizations in German, Swedish and Russian
The proper translations for some lines can't come from data/l10n/Calendar variants of the files as these are overridden and aren't included to begin with
Capitalize Dag in Swedish localization
Add all missing lines in Russian localization
Properly supply all localization files
2024-05-17 02:55:56 +03:00
psi29a
7f54486e80 Merge branch 'doc_has_more_probls' into 'master'
Very minor doc changes

See merge request OpenMW/openmw!4072
2024-05-12 08:38:00 +00:00
Alexei Kotov
37e11df59b Adjust default spellings for English l10n am/pm/day lines 2024-05-10 15:38:34 +03:00
Zackhasacat
921ee8ffe6 Merge branch 'master' of gitlab.com:openmw/openmw into doc_has_more_probls 2024-05-07 15:57:30 -05:00
Hristos N. Triantafillou
686fdb057d
Idle is optional and could be nil 2024-05-03 15:21:48 -05:00
Zackhasacat
d150a6611d Minor doc changes 2024-05-03 11:59:43 -05:00
Hristos N. Triantafillou
63a27bbf99 Expose Wander option values to the Lua API (#7916) 2024-05-03 09:40:30 +00:00
psi29a
3980bb15cc Merge branch 'lua_controller_cursor' into 'master'
Add lua bindings for controller cursor mode

See merge request OpenMW/openmw!3623
2024-04-25 08:45:57 +00:00
Joakim Berg
9448a30caf Accidental upper case in a comment 2024-04-15 17:53:17 +00:00
Joakim Berg
231ec03ef4 swedish calendar translation 2024-04-15 17:30:11 +00:00
Martin Otto
e0a016749c Update/add German translation files 2024-04-15 06:47:48 +00:00
psi29a
9db56c8bc4 Merge branch 'usedontactivate' into 'master'
Disallow Lua activation of inventory objects

See merge request OpenMW/openmw!4009
2024-04-09 07:10:15 +00:00
psi29a
c29816f67e Merge branch 'sv-translatation-2024-04-04' into 'master'
Update Swedish translations

See merge request OpenMW/openmw!4004
2024-04-08 09:11:41 +00:00
Joakim Berg
c485726046 Update Swedish translations 2024-04-08 09:11:40 +00:00
Andrei Kortunov
edb9da5a67 Capitalize in-game setting 2024-04-08 09:15:09 +04:00
Zackhasacat
a51b6c7392 Remove menu select 2024-04-07 15:23:27 -05:00
Zackhasacat
a29be8909d Add bindings to select the next menu element 2024-04-07 10:35:13 -05:00
Zackhasacat
6491bb4910 Merge branch 'master' of gitlab.com:openmw/openmw into lua_controller_cursor 2024-04-07 08:58:30 -05:00
Evil Eye
d68d20eb1a Disallow Lua activation of inventory objects 2024-04-07 10:42:29 +02:00
trav5
b0008d22e6 Attempt to fix openmw issue #7906
l10n name is taken not from the ActionInfo/TriggerInfo's 'key' param,
but from the 'l10n' param when making the inputBinding setting renderer
2024-04-06 23:07:11 +02:00
Andrei Kortunov
b3188b593c Disable MyGUI windows snapping 2024-04-02 11:40:21 +04:00
Arnaud Dochain
36ca3b8bd9 French localisation update 2024-04-01 20:55:38 +00:00
Alexei Kotov
76105cc2d1 Make sunlight scattering and wobbly shores optional 2024-03-29 10:41:04 +03:00
psi29a
3fcf3aca77 Merge branch 'modalsettingsmodal' into 'master'
Reimplement the Settings window as a normal window (#7845, #7870)

Closes #7845 and #7870

See merge request OpenMW/openmw!3895
2024-03-27 17:59:41 +00:00
Cody Glassman
098396822f add choice widget type to postprocessing uniforms 2024-03-21 17:48:30 -07:00
psi29a
d746918563 Merge branch 'yaml_parse' into 'master'
Load YAML files via Lua

Closes #7590

See merge request OpenMW/openmw!3924
2024-03-15 11:02:05 +00:00
Andrei Kortunov
715efe892f Load YAML files via Lua (feature 7590) 2024-03-14 16:29:21 +04:00
Alexei Kotov
6232b4f9e8 Reimplement the Settings window as a normal window (#7845, #7870) 2024-03-11 23:48:44 +03:00
psi29a
b5b6744321 Merge branch 'hotfix_ui_update' into 'master'
Fix Lua UI updates

See merge request OpenMW/openmw!3936
2024-03-11 11:14:26 +00:00
psi29a
0557a649ce Merge branch 'skill-used-rework' into 'master'
Rewrite SkillProgression.skillUsed to allow directly adding xp

See merge request OpenMW/openmw!3927
2024-03-11 09:48:14 +00:00
uramer
eba4ae94b0 Fix re-rendering of settings on value changes 2024-03-10 14:06:21 +01:00
Mads Buvik Sandvei
57d7f5977c Bump interface version 2024-03-09 21:56:46 +01:00
Mads Buvik Sandvei
7cb316f3c9 Docu fix 2024-03-09 16:35:24 +01:00
psi29a
61d01f3b62 Merge branch 'openmw-sv-2024-03' into 'master'
Bring sv translations up to date

See merge request OpenMW/openmw!3926
2024-03-09 09:49:14 +00:00
Joakim Berg
709c12053a Bring sv translations up to date 2024-03-09 09:49:14 +00:00
uramer
a11e553de4 Optimize setting group rendering by rendering them as separate elements, support element-rendered setting renderers 2024-03-06 23:16:02 +01:00
uramer
7a5493796f Update setting page elements when possible 2024-03-06 23:16:02 +01:00
Mads Buvik Sandvei
312f6c90e0 Rewrite SkillProgression.skillUsed to allow directly adding xp instead of going via useType. 2024-03-06 20:27:41 +01:00
psi29a
03d5872a55 Merge branch 'drop_on_exit' into 'master'
Add a storage mode to drop section on game exit

See merge request OpenMW/openmw!3905
2024-02-28 20:36:40 +00:00
Andrei Kortunov
2a4f12b96e Use a new life time API 2024-02-27 23:26:26 +04:00
Mads Buvik Sandvei
c82c111ee1 Use correct index for Athletics_SwimOneSecond 2024-02-27 19:28:51 +01:00
Alexei Kotov
ba78729f35 Make Run action ru description more faithful to en description 2024-02-25 16:42:18 +03:00
Alexei Kotov
25b6230a54 Fix Smooth Move Right action localization 2024-02-25 16:13:45 +03:00
Alexei Kotov
fe78e57391 Russian localization updates
Localize new player controls lines
Fix some other minor inconsistencies
2024-02-25 15:53:23 +03:00
Alexei Kotov
cd4845ff08 Merge branch 'ingame_text' into 'master'
Improve in-game text

See merge request OpenMW/openmw!3894
2024-02-23 12:37:21 +00:00
Abdu Sharif
83ab028bef Improve in-game text 2024-02-23 12:37:20 +00:00
psi29a
a6c9e63520 Merge branch 'nojumpallowed' into 'master'
Reduce false-positive jumping events (#7833)

Closes #7833

See merge request OpenMW/openmw!3869
2024-02-22 18:05:07 +00:00
uramer
d7bd50e45f Only set controls.jump to true for one frame when jumping 2024-02-20 20:20:38 +01:00
Zackhasacat
d73c1c8590 Merge branch 'master' of gitlab.com:openmw/openmw into lua_controller_cursor 2024-02-20 12:07:23 -06:00
Zackhasacat
873877795a Move gamepad controls to lua interface 2024-02-20 12:06:19 -06:00
uramer
cfa6dc076b Render global setting groups on renderlua 2024-02-19 19:39:52 +01:00
uramer
586706ffe0 Handle group resets gracefully 2024-02-19 19:35:41 +01:00
uramer
ef730c4395 Clean up global setting groups, don't try to destroy setting pages before they were rendered 2024-02-19 18:26:58 +01:00
psi29a
ec1cf46ec7 Merge branch 'lua_keybinds' into 'master'
Lua Implement mouse input engine handlers, improve inputBinding renderer

See merge request OpenMW/openmw!3855
2024-02-14 08:30:38 +00:00
uramer
4ffcb5b197 Prevent deepContentCopy corrupting non-plain tables 2024-02-13 00:59:39 +01:00
psi29a
a060a7297c Merge branch 'dehardcode-skillprogression' into 'master'
Lua: Dehardcode skill and level progression

See merge request OpenMW/openmw!3779
2024-02-12 14:10:51 +00:00
uramer
63a1bbb88d Enable Lua mouse engine handlers while in UI 2024-02-11 23:49:26 +01:00
uramer
f4fed4ca5f Simplify inputBinding renderer, allow binding controller buttons 2024-02-11 16:27:54 +01:00
Alexei Kotov
3301ebb2cb Merge branch 'localize_screenshot' into 'master'
Localize screenshot messages

See merge request OpenMW/openmw!3843
2024-02-10 13:54:05 +00:00
Alexei Kotov
d975ed33ab Merge branch 'lua_fix_move360' into 'master'
Lua Fix 360 controller movement

See merge request OpenMW/openmw!3851
2024-02-09 15:42:03 +00:00
Andrei Kortunov
6760fa4945 Localize screenshot messages 2024-02-08 12:50:12 +04:00
uramer
2463633c99 Put camera after playercontrols in load order not to override move360 controls 2024-02-07 18:10:36 +01:00
uramer
e7ef49e6df Deep update and destroy ui helpers 2024-02-06 15:35:04 +01: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
Mads Buvik Sandvei
3882ba15fb Rework documentation of skill used/level up handlers. 2024-02-02 20:10:25 +01:00
Mads Buvik Sandvei
4f8476efd4 Comments 2024-01-31 23:01:16 +01:00
Mads Buvik Sandvei
9f15f3b431 Add engine handler for skill levelup, to dehardcode the book/trainer case. 2024-01-30 21:25:39 +01:00
Mads Buvik Sandvei
2cfa819ccc Use interface in _onSkillUse engine handler. 2024-01-30 21:25:39 +01:00
Mads Buvik Sandvei
e1a22242d9 skillGain as a table 2024-01-30 21:25:38 +01:00
Mads Buvik Sandvei
011d9d6493 Dehardcode skill and level progression 2024-01-30 21:25:36 +01:00
uramer
2008f35e57 Don't reset player setting groups right after game load, refactor update group functions 2024-01-27 19:09:26 +01:00
uramer
9cce2e39ba Merge branch 'master' into menuscripts 2024-01-27 15:45:31 +01:00
uramer
d9f8c5c3e8 Fix menu setting page key set 2024-01-27 15:03:34 +01:00
uramer
ad5d594c28 Let menu scripts clean up before loading a game 2024-01-27 14:47:22 +01:00
Mads Buvik Sandvei
a94add741e Lua: Animation bindings 2024-01-26 21:39:33 +00:00