uramer
1afc7ecd58
Test Lua widgets for text inputs correctly
2024-01-10 23:13:27 +01:00
uramer
a6e2ceebb8
Don't clear menu UI on game load
2024-01-07 23:29:20 +01:00
uramer
d1268acf95
Merge branch 'master' into menuscripts
2024-01-07 23:15:21 +01:00
Alexei Kotov
7310418984
Downgrade Settings GUI mode to a modal (bug #6758 )
2024-01-02 22:32:52 +03:00
Evil Eye
da9b0c5119
Use MyGUI::UString's new string_view support
2023-11-22 22:02:06 +01: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
9bbb89e268
Allow to set default focus for interactive messagebox
2023-11-18 18:00:40 +04:00
Andrei Kortunov
ff418f16f2
Do not wait one frame for blocking messageboxes
2023-11-18 16:47:06 +04:00
elsid
1fa5d2ca98
Use settings values for GUI tags
2023-11-12 16:33:48 +01:00
elsid
01316f15b8
Avoid redundant conversion to string
2023-11-12 16:33:38 +01:00
Petr Mikheev
1dd7a15255
Draft: add new type of Lua scripts - menu scripts
2023-10-31 10:29:24 +01:00
elsid
dcd81d026f
Use settings values for Video settings
...
* Convert window mode, vsync mode into enums, screenshot type into a struct.
* Add missing doc for screenshot type.
2023-10-27 14:31:23 +02:00
psi29a
6a87ba8f33
Merge branch 'mygui343_fix' into 'master'
...
Fix MyGUI 3.4.3 issues [#7528 ]
See merge request OpenMW/openmw!3319
2023-10-25 12:35:13 +00: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
Cody Glassman
5fc46b166a
track debug window size and dimensions between sessions
2023-10-18 09:04:57 -07:00
Evil Eye
97009f1e23
Merge Assumeru/mystringvui
2023-10-17 23:53:04 +02:00
Bret Curtis
43a931d3c4
[ #7528 ] Fix MyGUI 3.4.3 issues
2023-10-17 23:53:04 +02:00
Petr Mikheev
23a7661d0b
Control UI pause from Lua
2023-09-03 03:41:13 +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
87eacf774a
Control GUI modes from Lua
2023-08-20 17:49:56 +02:00
Andrei Kortunov
d8ec78d732
Fix some Coverity warnings
2023-07-28 20:58:18 +04:00
elsid
fac1927f5e
Use settings values for HUD settings
2023-07-19 22:53:35 +02:00
elsid
d113f0fc44
Use settings values for GUI settings
2023-07-16 20:46:54 +02:00
elsid
6e8dcc16c6
Use settings values for Game settings
2023-07-01 00:59:35 +02:00
Evil Eye
e9bcad4e05
Autocalculate enchantment costs and charges
2023-06-17 22:25:47 +02:00
Evil Eye
492e336c0c
Use string_view in more UI code
2023-05-21 18:14:12 +02:00
Evil Eye
5491512905
Use string_view in more places and reduce the number of empty string literals
2023-05-21 16:39:32 +02:00
elsid
6de335dd77
Pass path to startup script as std::filesystem::path
2023-05-06 13:58:39 +02:00
elsid
62362fc0ef
Use typed settings storage for windows
...
Group window settings into structs. Include rect sizes in regular and maximized
state and maximized flag. Use them instead of manipulations with string names.
2023-04-12 00:54:00 +02:00
Andrei Kortunov
4ff9e1956f
Localize messagebox about disabled postprocessor
2023-04-01 11:42:49 +04:00
Petr Mikheev
618b912a20
Dehardcode non-game-specific localization GMSTs; Update l10n files.
2023-03-26 13:43:44 +02:00
Andrei Kortunov
be488649c3
Add support for non-adaptive VSync (feature 7129)
2023-02-26 15:19:19 +04:00
elsid
b5ec584be2
Replace ESM::RefId::sEmpty by default constructed RefId where possible
...
Static const is only required to provide a reference or a pointer when it is not
possible with default constructed temporary.
2023-02-18 01:07:15 +01:00
elsid
6d261d38dd
Add functions to read and write ESM::RefId and use them
...
To be later changed with another implementation.
2023-02-13 22:07:58 +01:00
psi29a
886600a1dd
Merge branch 'consoledisposal' into 'master'
...
Check if the console's selected object is available (bug #5870 )
Closes #5870
See merge request OpenMW/openmw!2713
2023-02-10 17:26:54 +00:00
Alexei Kotov
f356d0a2fc
Check if the console's selected object is available (bug #5870 )
2023-02-10 16:08:38 +03:00
psi29a
b385f27f86
Merge branch 'console_history' into 'master'
...
Remembering console commands between sessions
Closes #7125
See merge request OpenMW/openmw!2603
2023-02-10 11:54:45 +00:00
Kindi
044d82a842
Remembering console commands between sessions
2023-02-10 11:54:45 +00:00
elsid
f09789002a
Define hardcoded global variable names as constants
2023-02-07 00:47:34 +01:00
florent.teppe
216ca71149
Applied review comments
...
getEditorName => getNameId
restored cosntructor in CoordinateConverter
2023-01-28 12:14:00 +01:00
florent.teppe
531e55e04c
Better handling of the esm3 vs esm4 cell problem
...
Common attribute are in one structure that has two constructors, one for ESM3 vs ESM4 Cell
Mood part of MWWorld::Cell
2023-01-27 13:39:39 +01:00
florent.teppe
562e129bd0
encapsulations of esm3 cell and esm4 cells.
2023-01-26 22:37:31 +01:00
florent.teppe
3780033837
Reverts Cell name to a string
2023-01-21 18:39:42 +01:00
Petr Mikheev
1869aeae5c
Move some of player controls logic from C++ to Lua
2022-12-28 22:04:19 +01:00
florent.teppe
dc21df97c8
Fixed issue with getSummonedCreature( that returned a reference to a non const static value
...
Fix compile, and apply review comment
Fixed greater vs more typo.
getCellname is back to a string view.
Because in most cases was used as a strong not a refId.
and there was a fundamental issue with region names used as a cellname
2022-12-27 19:16:22 +01:00
florent.teppe
1ef1de974d
script blacklist => RefId
...
Applies changes from review
Fixed clang format
Clang format + review.
2022-12-27 19:16:21 +01:00
florent.teppe
2c30575b3b
CellName is now a RefId, makes more sense that way.
2022-12-27 19:16:21 +01:00
florent.teppe
0f3499f504
Renamed string => Id, makes more sense considering the new underlying type
...
Fixes unnecessary copies, and issues with case sensitive comparisons.
fixed modification that wasn't necessary
Fixed type mismatch, and unecessary copy
2022-12-27 19:15:57 +01:00
florent.teppe
65cdd489fb
create a specific esm reader function for RefID to avoid allocation for string and then again for RefId
...
Fixed some types
removed useless header
applied clang format
fixed compile tests
fixed clang tidy, and closer to logic before this MR
Removed hardcoded refids
unless there is a returned value we don't use static RefIds
can use == between RefId and hardcoded string
Fix clang format
Fixed a few instances where std::string was used, when only const std::string& was needed
removed unused variable
2022-12-27 19:15:57 +01:00