Commit Graph

1847 Commits (8179a097f837a9593d738a8567d95f9f40aaa1b3)

Author SHA1 Message Date
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
Thomas Lowe 3daa716090 Updated button description. 3 years ago
andrew-app 13400b2c5f Bug #5434: Pinned windows shouldn't cover breath progress bar 3 years ago
Thomas Lowe f50cbcad81 * AA combo box no longer disables the AA alpha test checkbox.
* Updated AA alpha test description to be more accurate
3 years ago
Thomas Lowe 95d7bdd0c9 alpha test defaults to false 3 years ago
Thomas Lowe bdb7b6079e Removed a period from the checkbox's display text to conform with other buttons. 3 years ago
Thomas Lowe 5f355a14cd Changed default setting for anti-alias alpha test to true.
Added checkbox in advanced page for anti-alias alpha test, connected to AA combobox in the graphics page.
3 years ago
uramer 4a976a8e23 Use a setting to enable Lua Action tracebacks 3 years ago
glassmancody.info 9389cfaa42 mac os driver workaround and shadervisitor fixes 3 years ago
Petr Mikheev 73821ace94 Update Lua docs 3 years ago
Petr Mikheev f42badd7be Dehardcode camera 3 years ago
Petr Mikheev d5ca091d6e Make util.rotateX, util.rotateY, rotate.Z consistent with morrowind rotation 3 years ago
uramer 68963538ae Lua UI API 3 years ago
psi29a bd694128b9 Merge branch 'lua_input' into 'master'
Update Lua package openmw.input

See merge request OpenMW/openmw!1356
3 years ago
psi29a 68e7a4083e Merge branch 'master' into 'master'
Overhaul raindrop water ripple effect

Closes #6360

See merge request OpenMW/openmw!1316
3 years ago
psi29a 9a00984561 Merge branch 'tabcontrol-button-styles' into 'master'
Add missing controls to OpenMW's TabControl skin

See merge request OpenMW/openmw!1367
3 years ago
psi29a bea8df7dd4 Merge branch 'astoecke-fix-6386-water-reflection' into 'master'
Use `gl_FragCoord`  in `water_fragment.glsl` (fixes #6386)

Closes #6386

See merge request OpenMW/openmw!1347
3 years ago
wareya a1d03d178d Update water_fragment.glsl 3 years ago
Petr Mikheev d285427485 Update Lua package openmw.input 3 years ago
Alexei Dobrohotov 9880c43c86 Add specular strength shader parameter 3 years ago
Andreas Stöckel fbc7cf5e65 Fix #6386
Use `gl_FragCoords` instead passing the normalised screen-space coordinates
to the fragment shader in a numerically unstable way.
3 years ago
psi29a 5836d0225f Merge branch 'leave_butter_to_soften' into 'master'
Soft Particles (#6128)

See merge request OpenMW/openmw!980
3 years ago
uramer 6bcef77433 Add missing controls to OpenMW's TabControl skin 3 years ago
Alexei Dobrohotov 9dd36a345f Fix a typo in nv_default shader 3 years ago
wareya 6d98866be0 Merge remote-tracking branch 'upstream/master' 3 years ago
glassmancody.info 4461366761 settings update and launcher option 3 years ago
wareya 9b030e174f removing this part was a mistake, made the ripples more repetitive 3 years ago
wareya e1378cd290 Replace uniform with define 3 years ago
wareya 226d3eac0d Improve performance, add simpler ripples, add a setting, fix nighttime brightness 3 years ago
glassmancody.info 40b6bbbdf3 use openmw define system 3 years ago
glassmancody.info 8c3b00164e soft particles 3 years ago
psi29a 34b63bf142 Merge branch 'omwscripts' into 'master'
Change format of "*.omwscripts" files

See merge request OpenMW/openmw!1271
3 years ago
Petr Mikheev dd96eba2b0 Update OpenMW Lua docs 3 years ago
glassmancody.info 07e32c0fa6 remove object shader path 3 years ago
glassmancody.info 9cbbd2fff5 better transitions 3 years ago
glassmancody.info 1e40d27318 introduce sky shaders 3 years ago
wareya 1848f7f915 Overhaul raindrop water ripple effect 3 years ago
elsid 144862aa35
Define default actor half extents in settings
Player's half extents may change over time when wolfskin model is used for
example. Having it in settings is a more presistent approach.
3 years ago
psi29a c3f5e8f968 Merge branch 'lua_transform' into 'master'
3D transforms in Lua

See merge request OpenMW/openmw!1235
3 years ago
Bret Curtis e581b61ecb check if FORCE_OPAQUE is available before using it. 3 years ago
Bo Svensson 4b1c009ffd
use StateSet define for translucentFramebuffer (#3138)
With this PR we test out osg's shader define system for a somewhat harmless feature. As we can see, our code becomes more concise and efficient in this case. Most importantly, we no longer create unneeded vertex shader objects.
3 years ago
Petr Mikheev 48538d5cef 3D transforms in Lua 3 years ago
Petr Mikheev fb3917fc1a Lua callbacks 3 years ago
Petr Mikheev 0bd1c22e24 Raycasting in Lua 3 years ago
Bo Svensson d854e247b8
reword warning in settings-default.cfg (#3124)
* reword warning in settings-default.cfg

The warning at the head of settings-default.cfg is somewhat confusing for users, overly verbose and lacking the most crucial piece of information in its first sentence. Hence, it is unsurprising some users fail to heed the warning, as observed through user support requests on Matrix.

* settings-default.cfg
3 years ago
Cédric Mocquillon 98a0819d52 Debug terrain chunks 3 years ago
Bo Svensson 9d661359a1
Groundcover consolidation (#3096)
* chunkmanager.hpp viewdistance

* chunkmanager.cpp viewdistance

* chunkmanager.hpp viewdistance

* quadtreeworld.cpp viewdistance

* quadtreeworld.cpp consolidate

* quadtreeworld.hpp consolidate

* renderingmanager.cpp groundcover consolidate

* renderingmanager.hpp groundcover consolidate

* renderingmanager.cpp updater move

* renderingmanager.hpp updater move

* groundcover.hpp activegrid consolidation

* groundcover.cpp activegrid consolidation

* settings-default.cfg dead settings remove

* viewdata.cpp revert

* wrong file paste mistake

* wrong file paste mistake

* wrong file paste mistake

* renderingmanager.cpp updatecallback fix

* renderingmanager.cpp namespace fix

* groundcover.hpp redefinition fix

* groundcover.cpp redefinition fix

* renderingmanager.cpp crash fix

* renderingmanager.cpp euclidean groundcover distance

* viewdata.hpp getreusedistance

* quadtreeworld.cpp reusedistance

* groundcover.rst [ci skip]
3 years ago
Petr Mikheev 3771e523f1 More object bindings 3 years ago
Petr Mikheev 0e6fbbc126 Lua package 'openmw.input' 3 years ago