adam
e4b2f730c7
Make inventory example runnable in a script
2022-05-31 13:12:40 +00:00
Kindi
638ad15af8
Lua API for Miscellaneous records
2022-05-31 08:54:07 +00:00
Kindi
3d0adf259b
Lua API for Apparatus records
2022-05-29 23:03:36 +00:00
psi29a
f84be8c3f9
Merge branch 'lua-api-containers' into 'master'
...
Add bindings for container record
See merge request OpenMW/openmw!1932
2022-05-28 08:03:13 +00:00
psi29a
42718f69dc
Merge branch 'vfs_data' into 'master'
...
Merge files/builtin_scripts and files/vfs into one dir
See merge request OpenMW/openmw!1931
2022-05-27 18:41:54 +00:00
adam
e2528a1562
Add docs and automagical declaration
2022-05-26 07:20:50 +00:00
cody glassman
11845e7d9b
improve layout of postprocessor hud
2022-05-25 19:07:01 -07:00
Petr Mikheev
6d5a0542e7
Merge files/builtin_scripts and files/vfs into one dir
2022-05-26 01:47:38 +02:00
uramer
e591f856fb
Renderers
2022-05-24 19:11:13 +00:00
Kindi
1b37d5d2ad
Lua API for Lockpick and Probe records
2022-05-24 11:48:13 +00:00
Hristos N. Triantafillou
4188bb4e33
Fix formatting so that docs can render correctly
2022-05-23 13:01:02 -05:00
cody glassman
6093cb5f2c
postprocessing lua api extensions
2022-05-22 18:53:38 -07:00
Petr Mikheev
6a0a2eed33
[Lua] core.getRealTime()
2022-05-20 21:49:19 +02:00
psi29a
67421a400a
Merge branch 'bookluabinds' into 'master'
...
Lua API for Book records
See merge request OpenMW/openmw!1886
2022-05-20 14:09:09 +00:00
kuyondo
7dbccc914a
no skill returns nil
2022-05-20 06:03:12 +08:00
uramer
1fe794d935
Changing setting renderer arguments
2022-05-19 19:49:14 +00:00
kuyondo
8a1a838ffa
update book.cpp and weapon.cpp
2022-05-20 00:39:19 +08:00
kuyondo
cad68a5566
Add lua binding for books
2022-05-19 20:02:18 +08:00
kuyondo
93aae5e116
Add lua binding for activators
2022-05-19 04:23:22 +08:00
psi29a
b9b4f1c3c2
Merge branch 'console_log' into 'master'
...
In-game log viewer
See merge request OpenMW/openmw!1799
2022-05-18 07:57:59 +00:00
Adam Ibrahim
96f4057f08
Update files/lua_api/openmw/types.lua, files/lua_api/openmw/ui.lua
2022-05-18 03:22:12 +00:00
psi29a
2f75acc34e
Merge branch 'navmesh_render_update_frequency' into 'master'
...
Add navmesh debug render mode to show update frequency
See merge request OpenMW/openmw!1685
2022-05-17 07:32:08 +00:00
elsid
215b46503c
Support rendering for navmesh update frequency as a heatmap
...
Useful when need to find tiles with high number of updates.
Add debug Lua package with new functions to toggle render mode and set navmesh
render mode.
2022-05-17 01:54:20 +02:00
uramer
14d83b218e
Move permanentStorage option from settings to groups
2022-05-16 21:24:20 +00:00
Petr Mikheev
cf49b46d64
Show logs in the debug window
...
Some part of UI code is written by @andrew-app
2022-05-16 20:50:44 +02:00
psi29a
f092d8da9a
Merge branch 'post_malone' into 'master'
...
Post Processing
See merge request OpenMW/openmw!1124
2022-05-16 14:51:13 +00:00
Petr Mikheev
7ccbf95503
[Lua] makeStrictReadOnly for enums
2022-05-16 00:16:26 +02:00
cody glassman
fee639a74f
Correct default value
2022-05-15 10:03:58 -07:00
cody glassman
04843fed6d
moddable post-processing pipeline
2022-05-15 10:03:58 -07:00
uramer
be100749f8
Merge branch 'lua_onframe' into 'master'
...
[Lua] Rename onInputUpdate -> onFrame and call it even when the game is on pause (#6745 )
See merge request OpenMW/openmw!1852
2022-05-15 16:48:38 +00:00
Petr Mikheev
072337c9b8
Merge branch 'settings_styling' into 'master'
...
Styling for Settings
See merge request OpenMW/openmw!1840
2022-05-14 10:27:30 +00:00
uramer
52d05be04b
Styling for Settings
2022-05-14 10:27:30 +00:00
Petr Mikheev
3e343a53d0
Fix wrong function name in Lua docs
2022-05-13 17:47:11 +00:00
Petr Mikheev
0643685ea5
[Lua] Rename onInputUpdate -> onFrame and call it even when the game is on pause ( #6745 )
2022-05-13 19:14:34 +02:00
uramer
95ad67eb8b
Add extraRoll to the Lua camera package
2022-05-12 23:21:47 +02:00
Cody Glassman
de4a75821e
Correct default window mode
2022-05-11 23:43:35 +00:00
uramer
e92c88a133
Make the documentation clearer, match the documentation when no buttons are pressed for an event
2022-05-10 20:00:42 +02:00
Cody Glassman
882245b935
Lua Bindings: Add view distance bindings to camera
2022-05-09 19:40:48 +00:00
cody glassman
ad139f2f9a
rename to windowed fullscreen
2022-05-08 22:56:39 -07:00
cody glassman
05901a2480
add borderless windows, deprecate fullscreen mode
2022-05-08 22:56:39 -07:00
Petr Mikheev
45161d91c9
Merge branch 'lua_record_types' into 'master'
...
Lua API for NPC and Creature records
See merge request OpenMW/openmw!1823
2022-05-08 20:32:00 +00:00
uramer
9c5887aab6
Add NPC and Creature record bindings
2022-05-08 16:36:17 +02:00
uramer
cd3535cd63
Document Settings interface, add scripts to CMakeLists
2022-05-08 11:15:17 +02:00
uramer
1b62dda9f6
Generate search hints
2022-05-08 11:15:17 +02:00
uramer
5e90b1db0d
Define order of groups in a page
2022-05-08 11:15:17 +02:00
uramer
26154c85a1
Check if options arguments are a table
2022-05-08 11:15:17 +02:00
uramer
9b27973479
Deleted files/builtin_scripts/openmw_aux/settings.lua
2022-05-08 11:15:17 +02:00
uramer
d9b4871f0c
Apply Flex arrange to each child separately
2022-05-08 11:15:17 +02:00
uramer
b899320e9f
Use storage subscribe, unify groups into pages
2022-05-08 11:15:17 +02:00
uramer
a35bc1dee0
openmw_aux.settings, rework to support local scripts
2022-05-08 11:15:17 +02:00
uramer
76b16f57da
Change settings localization, add group name and description
2022-05-08 11:15:17 +02:00
uramer
711f982e19
Simplify renderers, standard setting reset
2022-05-08 11:15:17 +02:00
uramer
a0c0c39a8c
Separate setting keys and names, support localization
2022-05-08 11:15:17 +02:00
uramer
1f5e3b78d4
Use Flex, don't force re-renders on layout table changes
2022-05-08 11:15:17 +02:00
uramer
096255534a
Initial Lua Settings API prototype
2022-05-08 11:15:16 +02:00
uramer
03659bef86
MWUI interface (resolve https://gitlab.com/OpenMW/openmw/-/issues/6594 )
2022-05-03 17:36:49 +00:00
psi29a
275bebb066
Merge branch 'Stereo-MR' into 'master'
...
Stereo
See merge request OpenMW/openmw!1757
2022-04-30 16:40:09 +00:00
madsbuvi
79577f37de
Rebase artifacts + cleaned up the remaining unnecessary exposures of stereo awareness.
2022-04-29 17:35:24 +02:00
psi29a
51024a8208
Merge branch 'issue-6706-save-the-size-of-the-options-window' into 'master'
...
Issue-6706 Save the size of the Options window
Closes #6706
See merge request OpenMW/openmw!1798
2022-04-29 09:56:09 +00:00
Eris Caffee
de291b0ec4
Issue-6706 Save the size of the Options window
2022-04-29 09:56:08 +00:00
cody glassman
276cb6f170
clamp vertex lighting in fragment shader properly
2022-04-28 20:02:13 -07:00
Mads Buvik Sandvei
606a795a54
multiview linker-method
2022-04-28 21:09:06 +02:00
madsbuvi
dd5901d351
Initial commit
...
Multiview shaders.
Refactor Frustum management
Rewrite shared shadow map
cull mask should respect stereo
Stereo savegame screencap
LocalMap refactoring
use the vertex buffer hint instead of the display list patch to enable/disable display lists
Character preview fixes
2022-04-28 21:05:34 +02:00
psi29a
2061a0b66e
Merge branch 'cfg-moons-fallback' into 'master'
...
Add settings fallbacks for the moons in openmw.cfg
See merge request OpenMW/openmw!1787
2022-04-27 21:46:21 +00:00
psi29a
dad9f24867
Merge branch 'link-shaders' into 'master'
...
Shader linking
See merge request OpenMW/openmw!1803
2022-04-27 21:04:08 +00:00
Frederic Chardon
ad1ab1c880
Follow up to !192
2022-04-27 19:51:54 +00:00
psi29a
66a96bfa5e
Merge branch 'launcher-datadirs' into 'master'
...
Make launcher handle data dirs #2858 and BSA
See merge request OpenMW/openmw!192
2022-04-27 17:31:52 +00:00
madsbuvi
164458dc56
shader fixes
2022-04-27 17:43:51 +02:00
Petr Mikheev
1fd4ac9168
[Lua] Update openmw_aux.util
2022-04-26 22:47:28 +02:00
madsbuvi
dc3045c970
mono-only version of the shader linking system introduced in the stereo MR
2022-04-26 19:54:24 +02:00
Petr Mikheev
eae1e87081
[Lua] Update openmw.storage
2022-04-23 18:55:12 +02:00
fredzio
b88d32ff5b
Add 3 tabs in the "Data Files" page
...
1 with the data directories
2 with the BSA archives
3 with the content selector
When user select a directory to be added, first we walk the directory
hierarchy to make a list of all potential data= entries. If we find
none, the selected directory is added.
If more than one data directory is found, user is presented with a
directory list to check which one(s) are to be added.
Directories containing one or more content file are marked with an icon.
data= and fallback-archive= lines are handled like content= lines:
- they are part of the profile in launcher.cfg, prefixed by the profile
name
- they are updated in openmw.cfg when profile is selected / created
Directories can be moved in the list by drag and drop or by buttons.
Insertion is possible anywhere in the list.
Global data path and data local are shown but are greyed out, as they
are always included.
No attempt is made to ensure that the user choice are valid
(dependencies, overwrite of content).
After a profile is loaded, any added content is highlighted in green.
2022-04-23 09:54:45 +02:00
Petr Mikheev
88d09c336c
Lua console
2022-04-21 21:57:07 +02:00
Petr Mikheev
1363292fc9
Merge branch 'l10n_docs' into 'master'
...
L10n docs
See merge request OpenMW/openmw!1785
2022-04-21 19:44:18 +00:00
Benjamin Winger
2f455aa87b
Added fallback details to l10n docs
2022-04-20 20:10:58 -04:00
Benjamin Winger
dac4415699
Moved localisation docs to dedicated page
2022-04-20 20:10:58 -04:00
Matjaž Lamut
21d46dcf78
Add fallbacks for the moons.
2022-04-20 12:02:22 +00:00
fredzio
d05a2facf3
Handle NCC flag in Nif files. Objects with this flag will collide only with camera.
...
Expose objects with NC flag to be used by Lua mods.
2022-04-17 20:03:00 +02:00
Petr Mikheev
45c9635e94
Fix getmetatable, fix pairsForReadonly, add util.loadCode, _G
2022-04-14 01:00:02 +02:00
Petr Mikheev
51845e9553
Rendering raycasts in Lua
2022-04-11 23:36:54 +02:00
Benjamin Winger
21ffbcc4b4
Lua i18n updates
2022-04-10 07:57:02 +00:00
elsid
7038c82690
Configure mav navmeshdb file size from the launcher
2022-04-07 16:38:01 +02:00
elsid
1baee5ddba
Add check box to remove unused tiles
2022-04-07 15:55:12 +02:00
Petr Mikheev
3af8ea5dfc
Update Lua bindings for the camera
2022-04-06 21:55:05 +02:00
Petr Mikheev
7186ea8ab4
[Lua] New overload Actor.equipment(actor, slot)
.
2022-04-06 21:55:05 +02:00
Petr Mikheev
eca64b48e8
Bitwise operations in Lua
2022-04-06 21:55:05 +02:00
Petr Mikheev
a0590d91ce
Refactor files/builtin_scripts/CMakeLists.txt
2022-04-06 21:55:05 +02:00
Alexei Dobrohotov
98b2ddfd4c
Make console and maximized window defaults mimic Morrowind
2022-04-06 16:12:31 +03:00
Petr Mikheev
fbc84465c5
Merge branch 'futureproof_layers' into 'master'
...
Add layer size, make layers API more flexible
See merge request OpenMW/openmw!1724
2022-03-29 20:11:11 +00:00
psi29a
1f14f97d17
Merge branch 'navmeshdb_max_file_size' into 'master'
...
Limit max navmeshdb file size (#6649 )
Closes #6649
See merge request OpenMW/openmw!1716
2022-03-27 09:07:56 +00:00
Evil Eye
93d195646c
Lua stats
2022-03-25 20:03:13 +00:00
psi29a
1542a0392c
Merge branch 'gloss' into 'master'
...
Gloss-mapping
Closes #6541
See merge request OpenMW/openmw!1552
2022-03-24 11:22:58 +00:00
uramer
5d1fe6c2bc
Add layer size, make layers API more flexible
2022-03-23 15:04:49 +01:00
jvoisin
eb46bde75e
Merge branch 'lua_records' into 'master'
...
Lua bindings for ESM::Door and ESM::Weapon records
See merge request OpenMW/openmw!1717
2022-03-20 15:39:48 +00:00
Petr Mikheev
1b1e81b90e
Lua bindings for ESM::Door and ESM::Weapon records
2022-03-20 15:39:48 +00:00
Petr Mikheev
d185cb6dce
Add Lua function ui.screenSize()
2022-03-20 00:16:41 +01:00
elsid
5b9dd10cbe
Limit max navmeshdb file size
...
Use "pragma max_page_count" to define max allowed file size in combination with
"pragma page_size" based on a new setting "max navmeshdb file size".
* Stop navmeshtool on the first db error.
* Disable writes to db in the engine on first "database or disk is full"
SQLite3 error. There is no special error code for this error.
* Change default "write to navmeshdb" to true.
* Use time intervals for transaction duration instead of number of changes.
2022-03-18 19:08:46 +01:00
Petr Mikheev
fa115418eb
[Lua] Remove queries
2022-03-15 23:35:36 +01:00
Petr Mikheev
9af49cfa68
[Lua] Update documentation
2022-03-15 23:35:36 +01:00
Petr Mikheev
af93ebf433
[Lua] Move class-specific functions to openmw.types
2022-03-15 19:23:26 +01:00