Commit Graph

1895 Commits (7cd422264768f00e238647f2facdfe9c6ea1feb1)

Author SHA1 Message Date
Petr Mikheev 51845e9553 Rendering raycasts in Lua 3 years ago
Benjamin Winger 21ffbcc4b4 Lua i18n updates 3 years ago
elsid 7038c82690
Configure mav navmeshdb file size from the launcher 3 years ago
elsid 1baee5ddba
Add check box to remove unused tiles 3 years ago
Petr Mikheev 3af8ea5dfc Update Lua bindings for the camera 3 years ago
Petr Mikheev 7186ea8ab4 [Lua] New overload `Actor.equipment(actor, slot)`. 3 years ago
Petr Mikheev eca64b48e8 Bitwise operations in Lua 3 years ago
Petr Mikheev a0590d91ce Refactor files/builtin_scripts/CMakeLists.txt 3 years ago
Alexei Dobrohotov 98b2ddfd4c Make console and maximized window defaults mimic Morrowind 3 years ago
Petr Mikheev fbc84465c5 Merge branch 'futureproof_layers' into 'master'
Add layer size, make layers API more flexible

See merge request OpenMW/openmw!1724
3 years ago
psi29a 1f14f97d17 Merge branch 'navmeshdb_max_file_size' into 'master'
Limit max navmeshdb file size (#6649)

Closes #6649

See merge request OpenMW/openmw!1716
3 years ago
Evil Eye 93d195646c Lua stats 3 years ago
psi29a 1542a0392c Merge branch 'gloss' into 'master'
Gloss-mapping

Closes #6541

See merge request OpenMW/openmw!1552
3 years ago
uramer 5d1fe6c2bc Add layer size, make layers API more flexible 3 years ago
jvoisin eb46bde75e Merge branch 'lua_records' into 'master'
Lua bindings for ESM::Door and ESM::Weapon records

See merge request OpenMW/openmw!1717
3 years ago
Petr Mikheev 1b1e81b90e Lua bindings for ESM::Door and ESM::Weapon records 3 years ago
Petr Mikheev d185cb6dce Add Lua function `ui.screenSize()` 3 years ago
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.
3 years ago
Petr Mikheev fa115418eb [Lua] Remove queries 3 years ago
Petr Mikheev 9af49cfa68 [Lua] Update documentation 3 years ago
Petr Mikheev af93ebf433 [Lua] Move class-specific functions to `openmw.types` 3 years ago
uramer deefdd5620 Layer Notifications over Popup 3 years ago
uramer 688ca8b7fc Revert "Rename Popup layer to Tooltip"
This reverts commit 543ee33f7eb4bec43761f784cfa19d3b13f5b3fd.
3 years ago
uramer 3bcbd4c170 Fix quickkeys assign UI layer 3 years ago
uramer db5770b44c Fix bugs introduced by layer refactor 3 years ago
uramer 6845d681f2 Update hardcoded layers (hotfix for https://gitlab.com/OpenMW/openmw/-/merge_requests/1681) 3 years ago
psi29a 2d4e9b38ae Merge branch 'lua_ui_image' into 'master'
Document the Lua Image widget, add UI texture resources

See merge request OpenMW/openmw!1637
3 years ago
Petr Mikheev 6afafbbe30 Merge branch 'refactor_layers' into 'master'
Refactor UI layers

See merge request OpenMW/openmw!1681
3 years ago
uramer 21a363d96f Refactor UI layers 3 years ago
uramer e7474490a1 Document using ui.texture to create atlases 3 years ago
uramer 94cc090f73 PR feedack for documentation 3 years ago
uramer e7ed709e5e Fix Lua TextEdit skin 3 years ago
uramer fc50724f5c Render text and images correctly in templates with slots 3 years ago
uramer e092ee2624 Document the Lua Image widget, add UI texture resources 3 years ago
uramer 62aac3cc77 Fix Lua Camera module declaration 3 years ago
uramer 4a0b784699 Use reasonable Luadoc comment headers 3 years ago
Petr Mikheev ff7ac7192b Merge branch 'ui_pairs' into 'master'
Implement pairs and ipairs for ui.content and ui.layers. Document all iterable types in a uniform way.

See merge request OpenMW/openmw!1643
3 years ago
uramer a1abc84f59 Implement pairs and ipairs for ui.content and ui.layers. Document all iterable types in a uniform way. 3 years ago
uramer cc6dce5443 Support controller touchpads (Resolves https://gitlab.com/OpenMW/openmw/-/issues/6639) 3 years ago
uramer 7b8216a0e1 Merge branch 'ptmikheev-master-patch-23744' into 'master'
Add missing `i18n/Calendar/en.lua` in CMakeLists.txt

See merge request OpenMW/openmw!1646
3 years ago
Alexei Dobrohotov dd473d06df Implement gloss-mapping (feature #6541) 3 years ago
David Nagy d787317df9 Update overview.rst (#6598) 3 years ago
Petr Mikheev 32e710b113 Add missing `i18n/Calendar/en.lua` in CMakeLists.txt 3 years ago
uramer ede9d27437 Element-wise multiplication and division of Lua vectors 3 years ago
Petr Mikheev ee2235c5c1 Copy scripts/omw/ai.lua to vfs (was added in !1604, but I forgot to modify CMakeLists.txt) 3 years ago
psi29a 0ce338bee7 Merge branch 'rain_ripple_default' into 'master'
Set rain ripples default to sparse

Closes #6422

See merge request OpenMW/openmw!1631
3 years ago
uramer 643c1d6aeb Merge branch 'lua_ai' into 'master'
Control AI packages from Lua

See merge request OpenMW/openmw!1604
3 years ago
Evil Eye 7a7a95407a Merge branch 'lua_pairs' into 'master'
Proper support of `pairs` and `ipairs` in Lua; fix bug in `makeReadOnly`.

See merge request OpenMW/openmw!1628
3 years ago
Petr Mikheev a294adcdaf Proper support of `pairs` and `ipairs` in Lua; fix bug in `makeReadOnly`. 3 years ago
uramer 581c3f4882 Update and document Lua Text and TextEdit widget types, fix some issues with Lua UI 3 years ago
Abdu Sharif ebaee9d08c Update settings-default.cfg 3 years ago
Petr Mikheev 6c56436809 Control AI packages from Lua 3 years ago
AnyOldName3 9d8853442b Merge branch 'portable' into 'master'
Make OpenMW "portable"

Closes #2491

See merge request OpenMW/openmw!1555
3 years ago
Petr Mikheev 6e4f628866 Replace `inventory:get<Type>()` with `inventory:getAll(<Type>)` 3 years ago
Petr Mikheev 9c1ff16b62 Add config variable `user-data="?userdata?"`. Allows to override paths to saves and screenshots. 3 years ago
Petr Mikheev 5ca56a4f8a New option "config" for specifying additional config directories. 3 years ago
psi29a cf8d49bb9a Merge branch 'lua_settings_ui' into 'master'
Lua settings UI

Closes #6454

See merge request OpenMW/openmw!1595
3 years ago
uramer 2945f6238e Fix util.color docs 3 years ago
uramer 946b8b804c MR feedback 3 years ago
uramer 406e950052 Merge branch 'lua_activate' into 'master'
Lua command `object:activateBy(actor)` and handler `onActivate`

See merge request OpenMW/openmw!1618
3 years ago
Petr Mikheev 47c37e5849 Lua command `object:activateBy(actor)` and handler `onActivate` 3 years ago
uramer f873703bdb Merge branch 'lua_aux_util' into 'master'
Add range to "aux_util.findNearestTo".

See merge request OpenMW/openmw!1620
3 years ago
uramer 2185fd29c5 Document ui.registerSettingsPage 3 years ago
uramer ef1e72dc17 Revert from settings description to searchHints 3 years ago
uramer 086a7d9bc5 Wrap Lua settings widgets into an Adapter widget 3 years ago
uramer 5f7ab49880 Implement script setting pages' descriptions 3 years ago
uramer 64df4f54c6 Add scrolling to the script settings view 3 years ago
uramer fba82eb1a7 Script settings tab 3 years ago
uramer c31dedb89c Implement Yaw, Pitch and Use (attack / cast spell) in Lua self.controls 3 years ago
Petr Mikheev 899199c8ed Add range to "aux_util.findNearestTo". 3 years ago
Petr Mikheev 53f2dfd1c0 Merge branch 'lua_ui_templates' into 'master'
Lua UI templates

See merge request OpenMW/openmw!1475
3 years ago
uramer 960dd1f708 Lua UI templates 3 years ago
Petr Mikheev 88a83bab1f Remove predefined data paths `data="?global?data"`, `data=./data` (#6564) 3 years ago
psi29a fac47ce0b5 Merge branch 'support_controller_gyro' into 'master'
Support controller gyro

Closes #6557

See merge request OpenMW/openmw!1571
3 years ago
uramer 4021d23cff Refactor sensor manager axis correction 3 years ago
elsid fbb72a1951 Make back launcher "Game Mechanics" tab to be default 3 years ago
uramer d1d8f058ac Lua bindings for Colours 3 years ago
Petr Mikheev a182fdeea1 Permanent storage for Lua data 3 years ago
psi29a 781b014183 Merge branch 'toggable_daynightswitch' into 'master'
Toggable day night switch (#5928)

Closes #5928

See merge request OpenMW/openmw!1549
3 years ago
Cody Glassman 8ec0a52605 Toggable day night switch (#5928) 3 years ago
Petr Mikheev 9fd7630ca0 Add calendar.lua 3 years ago
Petr Mikheev 2d1b100239 Change terminology of gameSecond/gameHour to simulationTime/gameTime 3 years ago
Abdu Sharif cd1bea080f Update changelog and remove an unused setting from settings-default.cfg 3 years ago
psi29a d8d7a3b372 Merge branch 'softparticles_patch' into 'master'
Shadervisitor adjustments and Mac OS fix for soft particles

See merge request OpenMW/openmw!1380
3 years ago
Petr Mikheev d1252090a4 Merge branch 'blendtec_tures' into 'master'
Shader-based object texture blending

See merge request OpenMW/openmw!977
3 years ago
Petr Mikheev 0f246e7365 Use a separate instance of Lua i18n for every context 3 years ago
glassmancody.info d5cba38f4b shader-based object texture blending 3 years ago
Petr Mikheev f91a5499d3 Add extern/i18n.lua 3 years ago
Petr Mikheev db72380ba9 Allow Lua scripts to handle input actions when UI is opened. Also fixes #6456. 3 years ago
Petr Mikheev 7549496162 A few small fixes + expose makeReadOnly to Lua + an option to apply makeReadOnly during deserialize 3 years ago
uramer c865114b9b Lua UI Layers 3 years ago
elsid 96eb8d7be9
Write generated navmesh to navmeshdb
Perform all request to db in a single thread to avoid blocking navmesh
generator threads due to slow write operations.

Write to db navmesh for all changes except update as it done for memory cache.

Batch multiple db operations into a single transaction to speed up writing by
not executing fsync after each insert/update query. All reads are performed in
the same transaction so they see uncommited data.
3 years ago
elsid 9e0451c714
Support navmesh generation from launcher 3 years ago
elsid c9b8ba7b46
Read navmesh tile data from database
When tile is not found in memory cache try to find it in the database.
3 years ago
elsid 953a4c5550
Add a binary to generate navmesh from content files
Load content files based on the engine config files. Generate navmesh per cell
for all cells and store into SQLite database.
3 years ago
elsid 01c712d5f1
Split navigator settings into subtypes
Mostly to distinguish settings that affect properties of the generated navmesh.
3 years ago
Bret Curtis 454ddfa304
Merge pull request #3224 from Vulpen/feature-AA-alpha-test
Issue #6019 AA Alpha Test Option In Launcher
3 years ago
Bret Curtis 9336626927 use OPENMW_RESOURCES_ROOT instead 3 years ago
Bret Curtis a9bf53d4ed modified builtin_scripts to be macOS aware; simplified things as the SHADER and MYGUI dir were just pointing to the OpenMW_BINARY_DIR anyway, so removing the code duplication 3 years ago
Petr Mikheev 620748480b Merge branch 'lua_missing_key_codes' into 'master'
Lua binding for SDL_GetKeyName, two missing scan codes

See merge request OpenMW/openmw!1450

(cherry picked from commit d86e7d4c9a28bc96af0a5638b26879fa49b8a847)

9a073baa Add Apostrophe and Period scan codes
d66f3a35 Add getKeyName to Lua input API
ed64add9 Replace mentions of KeyEvent with KEY
3 years ago