1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-16 19:59:55 +00:00
Commit graph

291 commits

Author SHA1 Message Date
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
Andrei Kortunov
a340b49cbc Enhance light settings tweaking 2024-01-16 10:23:13 +04:00
uramer
94d782c4be Fix doc typos and add menu package to necessary lists 2024-01-14 17:47:23 +01:00
uramer
7cc0eae461 Fix Menu Lua settings reset between states 2024-01-13 00:46:24 +01:00
uramer
bd54292ff4 Update I.Settings.registerGroup documentation 2024-01-10 23:13:27 +01:00
uramer
8cc47f5363 Only allow menu scripts to register permanent groups 2024-01-10 23:13:27 +01:00
uramer
c2b8e318cf Move inputBinding renderer to menu context 2024-01-10 23:13:27 +01:00
uramer
79deb5f559 Remove settings pages in Lua 2024-01-10 23:13:27 +01:00
uramer
c6a27d06b0 Move controls settings to menu context 2024-01-10 23:13:27 +01:00
uramer
5b97a93169 Move camera settings to a menu script 2024-01-10 23:13:27 +01:00
uramer
6917384fc1 Don't reset menu-registered setting groups 2024-01-10 23:13:27 +01:00
uramer
d1d430b431 Initial Menu context Settings implementation 2024-01-10 22:29:03 +01:00
uramer
9b54f479e8 Move settings rendering to Menu scripts 2024-01-08 21:58:11 +01:00
uramer
d1268acf95 Merge branch 'master' into menuscripts 2024-01-07 23:15:21 +01:00
uramer
2c45d316fb Missing newlines in MWUI documentation 2024-01-05 11:21:12 +00:00
uramer
e734191b56 Add clarifying comment 2024-01-02 14:40:03 +01:00
uramer
9d1a3f243d Use the same controls check for startUse and processAttacking 2024-01-02 14:31:13 +01:00
uramer
5f2cbf810d Check if controls are on for Use action 2024-01-02 13:38:55 +01:00
Alexei Kotov
91a01ae1e2 Remove duplicate ToggleWeapon trigger handler registration 2023-12-30 03:23:27 +03:00
psi29a
e9f3e5c6d1 Merge branch 'lua_actions_electric_boogaloo' into 'master'
Lua actions take 3

See merge request OpenMW/openmw!2628
2023-12-29 18:56:59 +00:00
uramer
0e2e386dc9 Lua actions take 3 2023-12-29 18:56:59 +00:00
Cody Glassman
187f63d3d3 support postprocess distortion 2023-12-21 10:56:38 -08:00
Evil Eye
659d7fefa1 Add Russian localization 2023-12-01 16:38:38 +01:00
Evil Eye
23aacbd914 Introduce a minimum supported save game format 2023-12-01 16:37:29 +01:00
Evil Eye
047db00980 Merge branch 'useitem_force_fix' into 'master'
Allow not passing force in ItemUsage events

See merge request OpenMW/openmw!3609
2023-11-29 15:42:35 +00:00
Zackhasacat
67421d67e2 Allow not passing force in ItemUsage events 2023-11-29 15:42:34 +00:00
Zackhasacat
f230e3cab0 Merge branch 'lua_ui_select_renderer_invalid' into 'master'
Render invalid 'select' setting renderer values instead of silent failure

See merge request OpenMW/openmw!3584
2023-11-21 23:06:22 +00:00
Zackhasacat
6fb6c7a32f Merge branch 'misisng_plugins' into 'master'
Display missing plugins upon savegame loading

Closes #7608

See merge request OpenMW/openmw!3594
2023-11-20 00:19:43 +00:00
Andrei Kortunov
f88b99201a Display missing plugins upon savegame loading (feature 7608) 2023-11-18 14:12:18 +04:00
Joakim Berg
624d6ce7d0 Update file sv.yaml 2023-11-14 21:11:27 +00:00
Joakim Berg
818cd8343f Update file sv.yaml 2023-11-14 10:52:28 +00:00
Joakim Berg
f62b43d2d6 Update file sv.yaml 2023-11-14 05:27:30 +00:00
uramer
435e9731df Render invalid 'select' setting renderer values instead of silent failure 2023-11-11 18:09:00 +01:00
Cody Glassman
0f53088014 re-sync docs with postprocessing API 2023-11-05 10:22:22 -08:00
Alexei Kotov
d851eaa199 Merge branch 'fix_lua_sneak' into 'master'
Remember sneaking when game is saved and loaded(#7664)

See merge request OpenMW/openmw!3546
2023-11-03 20:36:15 +00:00
Zackhasacat
8d0d9a49c6 Remember sneaking when game is saved and loaded(#7664) 2023-11-03 20:36:14 +00:00
uramer
abae5f031d Fix docs type 2023-11-02 16:05:52 +00:00
Petr Mikheev
889ddc10d6 Enable openmw.input in menu scripts 2023-10-31 11:05:00 +01:00
Petr Mikheev
1dd7a15255 Draft: add new type of Lua scripts - menu scripts 2023-10-31 10:29:24 +01:00
Zackhasacat
ac9cfc782a Add functions to lua ui library to toggle HUD visibility, and check current status. 2023-10-25 12:34:56 +00:00
Petr Mikheev
15306c7d49 [Lua] Add CONTROL_SWITCH functions to types.Player and deprecate them in openmw.input 2023-10-10 01:15:09 +02:00
psi29a
2c81220cf7 Merge branch 'book' into 'master'
Reading ESM4 books

See merge request OpenMW/openmw!3471
2023-10-05 17:24:50 +00:00
Petr Mikheev
54cc1f25a2 Mention in Lua documentation that default tag is an empty string 2023-10-04 10:36:54 +02:00
Petr Mikheev
fcc7b9bb9e Support tags in I.Camera.disable*, I.Camera.enable* in the same way as in world.pause; Update I.Camera docs. 2023-10-04 10:20:56 +02:00
Petr Mikheev
6161953106 Allow reading ESM4 books 2023-10-03 10:55:12 +02:00
PharisMods
01aa67c792 Use thick border textures for thick border UI templates 2023-10-01 00:54:24 +00:00
Petr Mikheev
fb8ccf52d8 Add missing argument force in UseItem 2023-09-11 16:21:34 +02:00
Petr Mikheev
42f2ece8b3 Fix bug: UI modes that are added not through Lua don't show windows that were hidden by Lua in other mode. 2023-09-07 02:16:22 +02:00
psi29a
938c487684
Merge branch 'time' into 'master'
[Lua] Ability to unpause the game when UI is opened.

See merge request OpenMW/openmw!3398
2023-09-06 08:16:49 +00:00
psi29a
5faf56950b
Merge branch 'lua_files' into 'master'
Implement Lua API for VFS

Closes #6864

See merge request OpenMW/openmw!3373
2023-09-03 17:06:14 +00:00
Andrei Kortunov
66bf7be373 Preload new packages to console 2023-09-03 08:24:51 +04:00
Petr Mikheev
65cd518b44 Update camera logic related to paused game / opened UI 2023-09-03 04:21:18 +02:00
Petr Mikheev
23a7661d0b Control UI pause from Lua 2023-09-03 03:41:13 +02:00
Petr Mikheev
b4c8b8308f Lock actiovation when the game is paused; Lock movement controls when UI is opened. 2023-09-03 02:43:55 +02:00
Petr Mikheev
ea8692a534 Add usehandlers.lua (same approach as activationhandlers.lua) 2023-08-30 22:48:51 +02:00
Petr Mikheev
c5ba289bc7 Handle UI modes open/close sounds in Lua 2023-08-20 17:49:56 +02:00
Petr Mikheev
36d22cff1c Improve GUI mode validation 2023-08-20 17:49:56 +02:00
Petr Mikheev
f1bcf64afb Dehardcode input.ACTION.Inventory, input.ACTION.Journal, input.ACTION.QuickKeysMenu 2023-08-20 17:49:56 +02:00
Petr Mikheev
87eacf774a Control GUI modes from Lua 2023-08-20 17:49:56 +02:00
psi29a
ab798be320 Merge branch 'fix_scrollbars' into 'master'
Do not use deprecated MyGUI properties

Closes #5896

See merge request OpenMW/openmw!3320
2023-08-20 11:04:23 +00:00
Petr Mikheev
b34930d3f2 Add missing 'local' in playercontrols.lua 2023-08-09 10:18:26 +02:00
Andrei Kortunov
a2d509a4b5 Do not use deprecated MyGUI features for scrollbars 2023-08-08 09:30:22 +04:00
Andrei Kortunov
f3cf61627c Do not use deprecated MyGUI features for list boxes 2023-08-08 09:30:13 +04:00
Andrei Kortunov
370807281f Do not use deprecated MyGUI features for progress bars 2023-08-08 09:30:02 +04:00
Chris Vigil
996f5fd7ad Resolve "Extend searching in the console with regex and toggleable case-sensitivity" 2023-08-05 10:02:07 +00:00
psi29a
3032b340a2 Merge branch 'teleporting' into 'master'
A few Lua changes related to teleporting

See merge request OpenMW/openmw!3246
2023-07-27 09:32:28 +00:00
Petr Mikheev
2c212b18e4 Remove World::activate since all activation now goes trough LuaManager 2023-07-22 17:22:43 +02:00
Petr Mikheev
f2edf05a55 Move camera update after teleporting from worldimp to camera.lua 2023-07-19 10:42:58 +02:00
uramer
bf7b39f214 Fix typos in Lua documentation 2023-07-08 18:40:33 +02:00
Joakim Berg
c612c2a218 Last Swedish translations as of now (#7417) 2023-07-08 12:39:00 +00:00
psi29a
dd0d66513d Merge branch 'clickbait' into 'master'
Mostly dehardcode attributes

See merge request OpenMW/openmw!3164
2023-06-25 20:11:19 +00:00
psi29a
e406b13233 Merge branch 'transjune23' into 'master'
More translations in Swedish

See merge request OpenMW/openmw!3165
2023-06-23 20:09:19 +00:00
Joakim Berg
6e54fbe9bc Update file sv.yaml 2023-06-21 20:08:12 +00:00
psi29a
6ff46bbb5d Merge branch 'lua-translate' into 'master'
Do not translate a Lua language name

See merge request OpenMW/openmw!3168
2023-06-21 15:40:18 +00:00
Andrei Kortunov
a75c81ed54 Do not translate a Lua language name 2023-06-21 18:13:58 +04:00
psi29a
47b1247fa2 Merge branch 'l10n' into 'master'
Make configurable whether GMST strings have priority over built-in interface messages

See merge request OpenMW/openmw!3134
2023-06-21 06:52:30 +00:00
psi29a
68415a952e Merge branch 'lua_quat' into 'master'
Breaking change in Lua API: change obj.rotation from Euler angles to Quaternion

See merge request OpenMW/openmw!3123
2023-06-20 09:59:06 +00:00
Joakim Berg
f276c8cbd8 Update 2 files
- /files/data/l10n/OMWEngine/sv.yaml
- /files/data/l10n/Interface/sv.yaml
2023-06-19 21:58:42 +00:00
Evil Eye
abcebd49d2 Allow for more than 8 attributes 2023-06-19 20:41:54 +02:00
Evil Eye
8edbb9f005 Add attributes to the level up dialog dynamically 2023-06-18 22:55:05 +02:00
Evil Eye
9a4bfed852 Dynamically build the attribute list in the review dialog 2023-06-18 20:08:10 +02:00
Evil Eye
75f0ad4e95 Dynamically build the attribute selection dialog 2023-06-18 19:55:33 +02:00
Evil Eye
ea2cedb5ea Build the attribute list in the stats window dynamically 2023-06-18 19:10:29 +02:00
Petr Mikheev
42f1cf9a07 Simplify cellhandlers.lua 2023-06-17 20:11:35 +02:00
psi29a
3a707d8b98 Merge branch 'herebedreugh' into 'master'
Spawn creatures in newly generated exteriors

Closes #7413

See merge request OpenMW/openmw!3126
2023-06-15 07:41:35 +00:00
psi29a
807893eb45 Merge branch 'clickbait' into 'master'
Mostly dehardcode skills

See merge request OpenMW/openmw!3112
2023-06-15 07:03:13 +00:00
Petr Mikheev
17a544bdbb Update l10n/OMWEngine/fr.yaml (sort message and add "GmstOverridesL10n") 2023-06-13 22:21:40 +02:00
Evil Eye
f02dd0ef03 Implement onNewExterior to spawn fish in generated exteriors 2023-06-13 17:04:22 +02:00
Petr Mikheev
718d5e4a71 Add setting "gmst overrides l10n" 2023-06-13 10:06:59 +02:00
Arnaud Dochain
05bde3862f Add missing french localization ( #7417 ) 2023-06-12 19:48:43 +00:00
Petr Mikheev
3b43cc2aea Lua: change obj.rotation from Euler angles to Quaternion 2023-06-12 00:16:42 +02:00
Evil Eye
2cb77ed48f Dehardcode skill selection 2023-06-08 18:35:52 +02:00
Petr Mikheev
773669e69b Add Lua script to handler ESM4 doors with Flag_AutomaticDoor 2023-06-07 20:57:48 +02:00
psi29a
c15710c35b Merge branch 'settings_values_index' into 'master'
Use typed settings storage for settings window (#6876)

See merge request OpenMW/openmw!2997
2023-05-12 21:53:59 +00:00
Petr Mikheev
067df2d07e Rename some functions in Lua API from aaa to getAaa (for consistency with setAaa) 2023-05-08 00:49:06 +02:00
elsid
f41c087945
Use proper setting value types in layout file 2023-05-03 22:11:44 +02:00
Abdu Sharif
50076461ea Update openmw_postprocessor_hud.skin.xml 2023-05-02 17:13:57 +00:00
Andrei Kortunov
6ce0d9e9b9 Localize testcells/testinteriorcells progress text 2023-04-21 09:46:02 +04:00
Petr Mikheev
480951207c Activation handler for ESM4 Door 2023-04-20 13:42:17 +02:00
Petr Mikheev
61d207bd78 Allow Lua scripts to extend or override standard activation mechanics 2023-04-16 23:50:27 +02:00
Andrei Kortunov
4ff9e1956f Localize messagebox about disabled postprocessor 2023-04-01 11:42:49 +04:00
uramer
7f3926db3f Merge branch 'lua_ai' into 'master'
Expose the argument `cancelOther` of `AiSequence::stack` to Lua

Closes #7245

See merge request OpenMW/openmw!2865
2023-03-30 19:35:48 +00:00
Petr Mikheev
3c5a9f55c5 Expose the argument cancelOther of AiSequence::stack to Lua 2023-03-27 02:28:45 +02:00
Petr Mikheev
f442e2831e Fixes in calendar.lua 2023-03-26 13:43:44 +02:00
Petr Mikheev
618b912a20 Dehardcode non-game-specific localization GMSTs; Update l10n files. 2023-03-26 13:43:44 +02:00
Petr Mikheev
685f86f19e Move Morrowind-specific l10n files to a separate data dir; dehardcode a few GMST names. 2023-03-12 13:12:13 +01:00
Krzysztof Antoniak
ccdd381f96 Minor fixes to Lua documentation 2023-02-28 22:04:53 -08:00
Andrei Kortunov
be488649c3 Add support for non-adaptive VSync (feature 7129) 2023-02-26 15:19:19 +04:00
Shihan42
b80556b5af Add buttons to search for next and previous occurrence 2023-02-21 12:25:17 +01:00
Shihan42
63659224fd Add new EditBox for searching to console layout 2023-02-20 18:18:00 +01:00
Alexei Kotov
2b56ab327c Only attempt attacks in an attack stance 2023-02-19 02:59:33 +03:00
Petr Mikheev
0c3237ad78 Fix #7223 2023-02-18 16:24:10 +01:00
psi29a
6559860310 Merge branch 'water_nm_to_vfs' into 'master'
Move water normal to vfs (#7180)

Closes #7180

See merge request OpenMW/openmw!2657
2023-01-30 13:18:27 +00:00
uramer
c17eedd348 Documentation and API fixes (part of !2529) 2023-01-30 10:13:26 +00:00
glassmancody.info
897ee702d1 move water normal to vfs 2023-01-29 11:14:08 -08:00
Andrei Kortunov
a774a51699 Improve duration tooltip 2023-01-22 14:32:47 +04:00
glassmancody.info
27fe8d42ae fix pass normals 2023-01-19 09:28:51 -08:00
Petr Mikheev
b9d38ae8d8 Fix #7156 "Autorun is broken" 2023-01-13 23:26:09 +01:00
psi29a
319aa11d84 Merge branch 'l10n_rename' into 'master'
Reorganize l10n files

See merge request OpenMW/openmw!2546
2023-01-04 21:48:00 +00:00
Petr Mikheev
8c7d347179 Reorganize l10n files 2023-01-02 13:21:05 +01:00
Alexei Kotov
cecc3cb736 Slightly more natural wording for Windowed Fullscreen hint 2023-01-02 14:51:25 +03:00
Alexei Kotov
ecadcc37bb OMWControls: Russian localization 2023-01-02 14:50:46 +03:00
Joakim Berg
f120622dad Updates to Swedish translations 2023-01-01 14:00:32 +00:00
Petr Mikheev
1869aeae5c Move some of player controls logic from C++ to Lua 2022-12-28 22:04:19 +01:00
psi29a
ba2ececa93 Merge branch 'resolution' into 'master'
Improve window mode change

Closes #7087

See merge request OpenMW/openmw!2530
2022-12-28 10:45:14 +00:00
psi29a
56b493877b Merge branch 'fonts' into 'master'
Improve Mystic cards font

See merge request OpenMW/openmw!2516
2022-12-28 10:44:21 +00:00
Andrei Kortunov
9e77654ab4 Add a hint about disabled resolution list in the Windowed Fullscreen mode 2022-12-27 13:42:39 +04:00
Petr Mikheev
02a9069a0e Lua Profiler 2022-11-30 00:06:14 +01:00
Joakim Berg
e3619e40fe Some Swedish translations 2022-11-21 08:45:35 +00:00
Andrei Kortunov
1851a5afe0 Improve Mystic cards font 2022-11-20 12:15:53 +04:00
Andrei Kortunov
282f4cf9c3 Add missing translations 2022-11-20 11:54:59 +04:00
Andrei Kortunov
da5b442fcf Improve postprocess HUD layout 2022-11-10 08:31:21 +04:00
uramer
1789160057 Clear storage of setting groups on reloadlua 2022-11-06 19:36:58 +01:00
Petr Mikheev
589d7e821d Fix Lua settings UI not working after a save (#7005) 2022-11-03 22:13:39 +01:00
Andrei Kortunov
7d23ad29e0 Make count input box larger to fit larger text 2022-09-25 11:54:34 +04:00
Andrei Kortunov
a2c02d2999 Support high-resolution cursor textures (feature 6933) 2022-09-11 20:54:20 +04:00
Andrei Kortunov
6ec9616ddd Localize the 'show effect duration' option 2022-09-08 07:46:56 +04:00
Andrei Kortunov
cbe923eaa7 Revert changes in the progress bars layout 2022-09-05 10:33:26 +04:00
Abdu Sharif
7344a176b5 Fix bloomlinear options 2022-09-01 06:51:26 +00:00
Andrei Kortunov
3037f190be Implement per-font resolution 2022-08-30 12:16:30 +04:00
psi29a
945448cdf1 Merge branch 'font_fixes' into 'master'
Improve built-in default fonts

See merge request OpenMW/openmw!2302
2022-08-30 07:54:20 +00:00
Andrei Kortunov
3178868cc3 Improve built-in default fonts 2022-08-30 07:54:20 +00:00