Commit Graph

2360 Commits (e7c9c57017c5b1203577eb2e2d2a16e73eaca422)

Author SHA1 Message Date
Alexei Kotov 0142caacf7 Use falloff start and stop opacity in NoLighting shader 2 years ago
Kindi 4734504e2c Lua binding for Clothing 2 years ago
psi29a b385f27f86 Merge branch 'console_history' into 'master'
Remembering console commands between sessions

Closes #7125

See merge request OpenMW/openmw!2603
2 years ago
Kindi 044d82a842 Remembering console commands between sessions 2 years ago
elsid 2c43a8558a
Add option to disable debug log for unsupported nif files
It becomes quite extensive and not very useful when loading oblivion content
files.
2 years ago
Bret Curtis a708fb4a5c make sure lua works with macos packages 2 years ago
glassmancody.info e778ffee9b po2 scaling for average luminance 2 years ago
AnyOldName3 0edc8fc77d Don't use FFP-friendly texture image units for shadow maps
This more-or-less gets rid of the shadow system's only depencency on FFP
stuff. All that remains is it using OSG cameras, which OSG provides a
uniform-based implementation of, too, which we can trivially migrate to.

This should mean we're not eating any of the ~8 FPP-friendly texture
units, which is good as Morrowind models can use all of those on their
(although they very rarely do), and instead use some of the ~160
shader-only texture image units. This just requires not calling
glEnable(GL_TEXTURE_2D), accomplished by changing
setTextureAttributeAndModes to setTextureAttribute.

Also changes from using glTexGen and its eye plane matrices to pass the
shadow space matrix for each light to explicit uniforms. Thankfully, the
maths was a simple combination of the valid region matrix and eye plane
matrix maths.

As of this commit, I believe this kills shadows in one eye for stereo
rendering.
2 years ago
psi29a 68b3b90255 Merge branch 'ui_content_leak' into 'master'
Move implementation of UI Content to Lua (#7155)

See merge request OpenMW/openmw!2661
2 years ago
uramer 539ee77888 Note Layout names colliding with Content methods 2 years ago
psi29a 6559860310 Merge branch 'water_nm_to_vfs' into 'master'
Move water normal to vfs (#7180)

Closes #7180

See merge request OpenMW/openmw!2657
2 years ago
uramer c17eedd348 Documentation and API fixes (part of !2529) 2 years ago
glassmancody.info 897ee702d1 move water normal to vfs 2 years ago
psi29a a9dbb023d7 Merge branch 'lua_create' into 'master'
Lua commands to create/move/remove objects; consistent handling of disabled objects (#6726, #6893)

See merge request OpenMW/openmw!2627
2 years ago
Andrei Kortunov a774a51699 Improve duration tooltip 2 years ago
Petr Mikheev c294898246 Lua commands to create/move/remove objects; consistent handling of disabled objects (#6726, #6893) 2 years ago
psi29a 90d9cc5042 Merge branch 'old-editor-icons' into 'master'
Remove old, unused OpenMW-CS icons and their source files.

See merge request OpenMW/openmw!2624
2 years ago
psi29a 761aef61ae Merge branch 'normal_fix' into 'master'
Fix pass normals (#7146, #7145)

See merge request OpenMW/openmw!2635
2 years ago
Kindi 07da7eddea Add remap and round to lua utils 2 years ago
glassmancody.info 27fe8d42ae fix pass normals 2 years ago
Lamoot 4ab5be6f3f Remove old, unused OpenMW-CS icons and their source files. 2 years ago
Andrei Kortunov 902c48d1bb Rework launcher UI 2 years ago
Alexei Kotov 58b8bf883a Merge branch 'text_wrap_tooltip' into 'master'
Add text-wrapping to a tooltip (redo)

See merge request OpenMW/openmw!2580
2 years ago
Petr Mikheev b9d38ae8d8 Fix #7156 "Autorun is broken" 2 years ago
psi29a 0028127b42 Merge branch 'lua_mwscript' into 'master'
Access local mwscript variables in Lua scripts

See merge request OpenMW/openmw!2589
2 years ago
psi29a c24f43ec32 Merge branch 'occlusion_tweaks' into 'master'
Weather occlusion updates

See merge request OpenMW/openmw!2595
2 years ago
psi29a 2754d63e45 Merge branch 'cleanup_actions' into 'master'
Cleanup unused actions

See merge request OpenMW/openmw!2591
2 years ago
glassmancody.info ee1acd6eb1 add sfc setting, only add to subgraph when enabled 2 years ago
Petr Mikheev 7a0b998d4f Cleanup unused actions 2 years ago
psi29a b6d0d09c5a Merge branch 'cell_hastag' into 'master'
[Lua] New function `cell.hasTag`

See merge request OpenMW/openmw!2567
2 years ago
Petr Mikheev 8c7cad024b Access local mwscript variables in Lua scripts 2 years ago
glassmancody.info 9a4977d334 rain occlusion 2 years ago
Petr Mikheev 7f117a28c8 Merge branch 'updateluacoredoc' into 'master'
update lua doc : recordid desc

See merge request OpenMW/openmw!2576
2 years ago
Jack Hill 4a16bdb767 Add text-wrapping to a tooltip
Namely the "Always allow NPC to follow over water surface" tooltip.
2 years ago
psi29a 319aa11d84 Merge branch 'l10n_rename' into 'master'
Reorganize l10n files

See merge request OpenMW/openmw!2546
2 years ago
psi29a 7b001246ee Merge branch 'l10n' into 'master'
Localization updates

See merge request OpenMW/openmw!2571
2 years ago
psi29a 1e62b84f9a Merge branch 'lua_initdata' into 'master'
Allow passing `initData` to the :addSript call (#7091)

Closes #7091

See merge request OpenMW/openmw!2568
2 years ago
Rasinin 02f0af42d9 updateluacoredoc: recordid desc 2 years ago
Petr Mikheev f0a06258fb [Lua] New function `cell:hasTag` 2 years ago
Petr Mikheev 8c7d347179 Reorganize l10n files 2 years ago
Alexei Kotov cecc3cb736 Slightly more natural wording for Windowed Fullscreen hint 2 years ago
Alexei Kotov ecadcc37bb OMWControls: Russian localization 2 years ago
Alexei Kotov 563324bcff Merge branch 'swedish-translations-omwcontrols' into 'master'
Updates to Swedish translations (OMWControls)

See merge request OpenMW/openmw!2569
2 years ago
Petr Mikheev 1a2d6514ba Fix incorrect description is Lua docs 2 years ago
Joakim Berg f120622dad Updates to Swedish translations 2 years ago
Petr Mikheev b248c3e173 Allow passing `initData` to the :addSript call (#7091) 2 years ago
Petr Mikheev 1879c70d1e Return back old settings description and mention that they are moved to the in-game menu 2 years ago
Petr Mikheev 1869aeae5c Move some of player controls logic from C++ to Lua 2 years ago
psi29a ba2ececa93 Merge branch 'resolution' into 'master'
Improve window mode change

Closes #7087

See merge request OpenMW/openmw!2530
2 years ago
psi29a 56b493877b Merge branch 'fonts' into 'master'
Improve Mystic cards font

See merge request OpenMW/openmw!2516
2 years ago
Andrei Kortunov 9e77654ab4 Add a hint about disabled resolution list in the Windowed Fullscreen mode 2 years ago
AnyOldName3 66b8d4fb29 Add a setting to control coverage adjustment
With it on, which was always the case before this setting was added,
vanilla content and poorly-made mods will look acceptable, but well-made
mods will have alpha-tested meshes appear to grow and potentially gain a
weird outline as they get further away.

With it off, which replicates the 0.46 behaviour, well-made mods will
look really good, but vanilla content and poorly-made mods will have
alpha-tested meshes shrink as they get further away.

It's been bugging me that this was forced on since 0.47 released, and
I'd hoped to figure out a solution for automatic detection at some point
before 0.48 branched off, but I didn't, so now this is what we're
getting to have Tamriel Rebuilt look right.
2 years ago
psi29a 1d55be8214 Merge branch 'lua_profiler' into 'master'
Lua profiler

See merge request OpenMW/openmw!2523
2 years ago
Petr Mikheev 7c36a7eb49 Run Lua GC in every frame 2 years ago
Petr Mikheev 55db95d4cf Update Lua profiler; add ability to run OpenMW with old LuaJit that doesn't allow custom allocator (Lua profiler will be disabled in this case) 2 years ago
Petr Mikheev 02a9069a0e Lua Profiler 2 years ago
Evil Eye a648e4cc11 Add option to restore non-MCP Calm spell behaviour 2 years ago
Joakim Berg e3619e40fe Some Swedish translations 2 years ago
Andrei Kortunov 1851a5afe0 Improve Mystic cards font 2 years ago
Andrei Kortunov 282f4cf9c3 Add missing translations 2 years ago
Andrei Kortunov da5b442fcf Improve postprocess HUD layout 2 years ago
uramer 1789160057 Clear storage of setting groups on reloadlua 2 years ago
Petr Mikheev 589d7e821d Fix Lua settings UI not working after a save (#7005) 2 years ago
mpeco e10b7e5c82 types.lua baseArmor comment 2 years ago
mpeco fd2d9d7d1a types.lua typo 2 years ago
mpeco af3af6e091 update types.lua 2 years ago
Andrei Kortunov 7d23ad29e0 Make count input box larger to fit larger text 2 years ago
AnyOldName3 84f8a6848a Renormalise line endings
This should replace accidental CRLF with LF
2 years ago
psi29a 80d52e3da8 Merge branch 'cursor' into 'master'
Support high-resolution cursor textures

Closes #6933

See merge request OpenMW/openmw!2262
2 years ago
psi29a 435eacdaad Merge branch 'debug_draw_commands' into 'master'
API to draw primitives

See merge request OpenMW/openmw!2345
2 years ago
Andrei Kortunov a2c02d2999 Support high-resolution cursor textures (feature 6933) 2 years ago
florent.teppe 43b0ae1ce7 all debug renders now use the same shader and it works
remove debug draw shader, now that debug and debugdraw serve the same function

remove debug draw code from actors to clean

replaced int uniforms with bool for better readability

clang format

cleanup, remove unused func, and mistake whitespace

fix namespace

added more colors

fixed missing whitespace
2 years ago
florent.teppe 21971c08ba debug draw shader uses the generic functions
renamed files

roundabout way to change case with windows noticing

fixed type

fix filename in cmakelist.txt

ported shader and c++ code so glsl 120 can be used instead of 330

new debug shader and old one are almost unified

for some reason, even though I get no compilation issue, old debug draws don't work, only the new one implemented by this MR

remove useless const cast
2 years ago
florent.teppe bd1bbc0ab8 removes mutex, and uses double buffering to avoid writing on a resource that will be read by the draw thread
changes when the buffers are reset -> at the end of the draw, because that's when we are certain the data isn't needed anymore

removed useless variable
fixed typo
include osg::vec3 instead of osg vec3f

compile linux

compile ?

applied clang format to the new files
2 years ago
florent.teppe 2a980ecb50 cleaned some code and fixed some naming issues
Moved debug draw to components, fixed some whitespace issues, added include guard

fixed uniform name, removed old files

Fixes some more whitespace weirdness
2 years ago
florent.teppe 12b3424dd7 initial work to get lines in
lines need the same synchronisation system as the other primitives

This two points are there because if I resize to 0 it crashes, si I need a pice of line at 0.,0.,0. so there is no crash.Not ideal

Lines are colored

didn't commit updated shader file
2 years ago
florent.teppe 76008e1ff8 Multiple shapes to draw
adds wireCube primitive

scale of the command taken into account

shading light is more vertical
2 years ago
florent.teppe 93af569a68 can place a cube at 0,0,0 Useless for now
Arbitrarly draw cubes at certain position with a certain color

Adds exemple of how it looks in the actor update code.

draws a green cube if alive, red else
2 years ago
psi29a 7e8a933be9 Merge branch 'doc_fix' into 'master'
Remove deprecated setting from docs

See merge request OpenMW/openmw!2385
2 years ago
Andrei Kortunov 6ec9616ddd Localize the 'show effect duration' option 2 years ago
glassmancody.info 137baa4f75 remove deprecated setting 2 years ago
Andrei Kortunov cbe923eaa7 Revert changes in the progress bars layout 2 years ago
Abdu Sharif 7344a176b5 Fix bloomlinear options 2 years ago
Andrei Kortunov 3037f190be Implement per-font resolution 2 years ago
psi29a 945448cdf1 Merge branch 'font_fixes' into 'master'
Improve built-in default fonts

See merge request OpenMW/openmw!2302
2 years ago
Andrei Kortunov 3178868cc3 Improve built-in default fonts 2 years ago
Andrei Kortunov 8bac073f9c Enlarge character selection menu to fit long character or class names 2 years ago
Arnaud Dochain 5d089c9e46 Bloom shader (MR2313) french localisation 2 years ago
psi29a d9ea6e36fa Merge branch 'remove_forgotten_code' into 'master'
Remove forgotten commented-out debugging code

See merge request OpenMW/openmw!2319
2 years ago
wareya e7879e52df Remove forgotten commented-out debugging code 2 years ago
elsid ab1ddc690e
Do not check getPolyHeight status
It may fail in some cases depending on a platform without obvious reason.
2 years ago
psi29a f36e13444e Merge branch 'font_loading' into 'master'
Cleanup fonts loading

See merge request OpenMW/openmw!2309
2 years ago
psi29a 537c6e96ab Merge branch 'bloom_shader' into 'master'
Add wareya's linear bloom shader

See merge request OpenMW/openmw!2313
2 years ago
jvoisin 84c72b1c0a Add dots at the end, and add the .ru translation 2 years ago
Andrei Kortunov 9e1ab590f1 Cleanup fonts loading 2 years ago
psi29a 4078f19c74 Merge branch 'SHADER_HOT_RELOAD' into 'master'
Shaders: Hot reload, togglable by lua debug command

See merge request OpenMW/openmw!2238
2 years ago
jvoisin 534f0377d5 Add wareya's linear bloom shader 2 years ago
psi29a 7bb1856b74 Merge branch 'font_fixes' into 'master'
Font fixes

See merge request OpenMW/openmw!2297
2 years ago
Andrei Kortunov 2cae8bea5d Improve layout of Interface tab 2 years ago
Andrei Kortunov 2cd2b42e33 Improve handling of larger font size 2 years ago
Andrei Kortunov c3d3f3140b Allow to change font settings in the launcher 2 years ago
Alexei Kotov 15f4b5515d Clarify object paging merge factor docs 2 years ago
psi29a 1e4dd46688 Merge branch 'fontconfig' into 'master'
Allow users to decide if they need to import bitmap fonts

See merge request OpenMW/openmw!2270
2 years ago
Andrei Kortunov 43f552f48f Allow users to decide if they need to import bitmap fonts 2 years ago
Joakim Berg b3b1628439 Update BuiltInShaders/sv.yaml 2 years ago
Arnaud Dochain 19f4e58fed French i10n translations 2 years ago
florent teppe baadc06e98 Merge branch 'master' into 'SHADER_HOT_RELOAD'
# Conflicts:
#   apps/openmw/mwrender/postprocessor.hpp
2 years ago
cody glassman ac4b29be08 cleanup default shaders and remove confusing main shader 2 years ago
florent.teppe df69fc7659 Post processing shaders now use the same lua commands, no more launcher option to enable live reload 2 years ago
florent.teppe 15751c57a0 Lua debug api doc 2 years ago
Alexei Kotov a50b0eccc0 Fix loading screen scene snapshot layer 2 years ago
psi29a 454684bad3 Merge branch 'custom_actor_collision_shape_type' into 'master'
Support cylinder and rotating box collision shape types for actors (#6138)

Closes #6138

See merge request OpenMW/openmw!2043
2 years ago
psi29a c8e5b90ac4 Merge branch 'postpass_hotfix' into 'master'
[Postprocessing[ Temporary fix for artifacts in transparent post-pass (#6919)

See merge request OpenMW/openmw!2222
2 years ago
glassmancody.info 02ded8832c temporary fix for artifacts in transparent post-pass 2 years ago
Petr Mikheev 9a4df75f3c Merge branch 'luaIngredient' into 'master'
Lua Bindings for Ingredient Records

See merge request OpenMW/openmw!2205
2 years ago
Christian Haro 86bb3195a0 Lua Bindings for Ingredient Records 2 years ago
Andrei Kortunov 888f4d2ac1 Add a post processing API to work with fog 2 years ago
elsid 8b8e4f78b6
Support cylinder and rotating box collision shape types for actors
Cylinder collision shape should give the best consistency between physics
simulation and pathfinding. Rotating box is already used by some actors, so
add it to have the same collision shape type for all actors.
2 years ago
Cody Glassman 89e0de2314 Bring back empty script message 2 years ago
Ivan Beloborodov f960e30d01 Implement Add switch for armor degradation fix. #6888 2 years ago
Matt 8ccadba799 German translation 2 years ago
psi29a 4c50073f41 Merge branch 'sv-post-proc-transl' into 'master'
Swedish translations for built-in post processing shaders

See merge request OpenMW/openmw!2188
2 years ago
Joakim Berg 9d79fe6310 Added strings related to language settings menu 2 years ago
Andrei Kortunov cb64f49ba1 Allow to configure locales via settings menu 2 years ago
psi29a 26bd907b0b Merge branch 'hdr_quick' into 'master'
Fix auto exposure

See merge request OpenMW/openmw!2174
2 years ago
Joakim Berg 0a22919820 Update files/data/l10n/BuiltInShaders/sv.yaml, files/data/CMakeLists.txt 2 years ago
Joakim Berg be3fb651cf Update files/data/l10n/PostProcessing/sv.yaml 2 years ago
Andrei Kortunov e0c05a15fb Post processing shaders localization 2 years ago
glassmancody.info fd4966f77a temporary fix for auto exposure 2 years ago
Petr Mikheev 643e33c11a Merge branch 'lua_pathfinding_bindings' into 'master'
Add bindings for navigator utils functions (#6690)

See merge request OpenMW/openmw!2128
2 years ago
elsid 27cc901e76
Add bindings for navigator utils functions 2 years ago
Joakim Berg 03b178c2eb Swedish i10n translations 2 years ago
Andrei Kortunov 4e9a063de2 Fix MacOS build 3 years ago
Andrei Kortunov 6f6b5ba04b Some refactoring 3 years ago
Andrei Kortunov db686b25c2 Use fallback data from openmw.cfg to setup fonts 3 years ago
Andrei Kortunov c47a48e25d Inject layout files to VFS 3 years ago
Andrei Kortunov 4ddba5142e Introduce font mappings 3 years ago
Andrei Kortunov dd04bfccfb Load fonts 3 years ago
psi29a a1e7622a30 Merge branch 'sky_blending_multiview' into 'master'
Support sky blending in multiview mode

See merge request OpenMW/openmw!2113
3 years ago
Andrei Kortunov ccbb5e03fb Use YAML files to translate MyGUI's localization tags 3 years ago
Cody Glassman 24749b066c Add sky blending to launcher 3 years ago
Petr Mikheev c1344c4765 Minor fix in move360.lua. Scrolling shouldn't toggle view mode when TAB is pressed. 3 years ago
Petr Mikheev b3c8c8eb56 Support sky blending in multiview mode 3 years ago
psi29a e70d2be1ee Merge branch 'settings_input' into 'master'
More responsive renderers for input events (#6827)

Closes #6827

See merge request OpenMW/openmw!2093
3 years ago
glassmancody.info 05fedafd37 fixed mouse event for padded box 3 years ago
glassmancody.info 89bc756732 tmp_sun_fix 3 years ago
Abdu Sharif c09648c349 Add a missing 0 in fog.glsl 3 years ago
psi29a 9da84480f0 Merge branch 'misc_ui' into 'master'
Improved settings window

Closes #6780

See merge request OpenMW/openmw!2087
3 years ago
psi29a 1e56ac9878 Merge branch 'sizable' into 'master'
Movable and resizable log window

See merge request OpenMW/openmw!2086
3 years ago
glassmancody.info 63d9fa55c6 settings window cleanup 3 years ago
jvoisin 0f649ce544 Merge branch 'fix-appstream-images' into 'master'
Fix the screenshot URLs in the appstream XML

See merge request OpenMW/openmw!2081
3 years ago
glassmancody.info fcab4fe1ab make debug window a movable and resizable window 3 years ago
Petr Mikheev cae7bc92d8 Merge branch 'locale_ru' into 'master'
Add a Russian localization for built-in Lua content

See merge request OpenMW/openmw!2079
3 years ago
Cody Glassman 051832d7ae [Lua] Set simulation time scale 3 years ago
Andrei Kortunov 0989e273d4 Add a Russian localization for built-in Lua content 3 years ago
Alexander Olofsson 84259d312b
Fix the screenshot URLs in the appstream XML 3 years ago
Cody Glassman 03616ae2d3 Fix undeclared shader variable 3 years ago
glassmancody.info 7b958148d0 better fade 3 years ago
psi29a 56187ad977 Merge branch 'soften_me_up_like_one_of_your_french_meshes' into 'master'
Allow soft particle effect on any NIF

See merge request OpenMW/openmw!2015
3 years ago
Petr Mikheev 466fc559f4 Fix move360.lua switching to 3rd person view when it shouldn't 3 years ago
glassmancody.info b09411d396 allow soft particles on meshes and add extra data extensions 3 years ago
Petr Mikheev d0deb37f5c Fix several issues with sky blending 3 years ago
Petr Mikheev 377c00261a [Lua] Ability to distinguish normal interiors and quasi exteriors (like Mournhold). 3 years ago
Petr Mikheev 8123e41a75 Fix #6824 3 years ago
psi29a 1a478875f0 Merge branch 'navmesh_agent_bounds' into 'master'
Support different agent collision shape type for pathfinding

See merge request OpenMW/openmw!2030
3 years ago
Mads Buvik Sandvei b0e4c7e76a [Postprocessing] Stereo integration 3 years ago
elsid 1a12c453d6
Support different agent collision shape type for pathfinding
Actors may have different collision shapes. Currently there are axis-aligned
bounding boxes and rotating bounding boxes. With AABB it's required to use
bounding cylinder for navmesh agent to avoid providing paths where actor can't
pass. But for rotating bounding boxes cylinder with diameter equal to the front
face width should be used to not reduce of available paths. For example rats
have rotating bounding box as collision shape because of the difference between
front and side faces width.

* Add agent bounds to navmesh tile db cache key. This is required to distinguish
  tiles for agents with different bounds.
* Increase navmesh version because navmesh tile db cache key and data has changed.
* Move navmesh version to the code to avoid misconfiguration by users.
* Fix all places where wrong half extents were used for pathfinding.
3 years ago
Petr Mikheev 3bf18c601c Better fog 3 years ago
Alexei Kotov 54896e4883 Disable all the non-vanilla Lua camera settings by default 3 years ago
Petr Mikheev 73eda27e7f Update l10n/OMWCamera/en.yaml 3 years ago
Petr Mikheev 5f0a7c2b16 Fix jumping when using move360 with a controller 3 years ago
Petr Mikheev 1ca0a3a555 Addition camera features: move360, pov_auto_switch, slow_view_change 3 years ago
Petr Mikheev 3fb470dcce Increase the size of the settings menu; reduce the size of Lua settings "number" in order to make camera settings look good with the default size of the settings menu. 3 years ago
Petr Mikheev 65efd6f1c2 Remove from settings.cfg camera settings that are controlled from Lua 3 years ago
Petr Mikheev 860d5899c4 Control camera settings in-game 3 years ago
uramer 6d2dcaea50 Lua UI: Enable autoSize for single line text edit 3 years ago
uramer 6c9c832927 Lua UI: Support autosized multiline text 3 years ago
psi29a 787f8fb627 Merge branch 'launcher' into 'master'
Launcher consistency fixes

See merge request OpenMW/openmw!1983
3 years ago
Kindi aa2e724342 Lua API for Repair records 3 years ago
Alexei Kotov 6cbda10bd5 Content selector: Remove the title 3 years ago
Alexei Kotov 323b671f6d Launcher: Properly capitalize navmesh cache tab name 3 years ago
Petr Mikheev 0745ed590b Fix incorrect package name in lua docs 3 years ago
beelzebielsk fb5eb542ff Lua api for potion records 3 years ago
glassmancody.info 4dee9acd1e fill bars to postprocess hud 3 years ago
psi29a a875ac86c0 Merge branch 'change-inventory-usage-docs' into 'master'
Make inventory example runnable in a script

See merge request OpenMW/openmw!1957
3 years ago
beelzebielsk ad3b83432c Fix docs typos 3 years ago
adam e4b2f730c7 Make inventory example runnable in a script 3 years ago
Kindi 638ad15af8 Lua API for Miscellaneous records 3 years ago
Kindi 3d0adf259b Lua API for Apparatus records 3 years ago
psi29a f84be8c3f9 Merge branch 'lua-api-containers' into 'master'
Add bindings for container record

See merge request OpenMW/openmw!1932
3 years ago
psi29a 42718f69dc Merge branch 'vfs_data' into 'master'
Merge files/builtin_scripts and files/vfs into one dir

See merge request OpenMW/openmw!1931
3 years ago
adam e2528a1562 Add docs and automagical declaration 3 years ago
cody glassman 11845e7d9b improve layout of postprocessor hud 3 years ago
Petr Mikheev 6d5a0542e7 Merge files/builtin_scripts and files/vfs into one dir 3 years ago
uramer e591f856fb Renderers 3 years ago
Kindi 1b37d5d2ad Lua API for Lockpick and Probe records 3 years ago
Hristos N. Triantafillou 4188bb4e33
Fix formatting so that docs can render correctly 3 years ago
cody glassman 6093cb5f2c postprocessing lua api extensions 3 years ago
Petr Mikheev 6a0a2eed33 [Lua] core.getRealTime() 3 years ago
psi29a 67421a400a Merge branch 'bookluabinds' into 'master'
Lua API for Book records

See merge request OpenMW/openmw!1886
3 years ago
kuyondo 7dbccc914a no skill returns nil 3 years ago
uramer 1fe794d935 Changing setting renderer arguments 3 years ago
kuyondo 8a1a838ffa update book.cpp and weapon.cpp 3 years ago
kuyondo cad68a5566 Add lua binding for books 3 years ago
kuyondo 93aae5e116 Add lua binding for activators 3 years ago
psi29a b9b4f1c3c2 Merge branch 'console_log' into 'master'
In-game log viewer

See merge request OpenMW/openmw!1799
3 years ago
Adam Ibrahim 96f4057f08 Update files/lua_api/openmw/types.lua, files/lua_api/openmw/ui.lua 3 years ago
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
3 years ago
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.
3 years ago
uramer 14d83b218e Move permanentStorage option from settings to groups 3 years ago
Petr Mikheev cf49b46d64 Show logs in the debug window
Some part of UI code is written by @andrew-app
3 years ago
psi29a f092d8da9a Merge branch 'post_malone' into 'master'
Post Processing

See merge request OpenMW/openmw!1124
3 years ago
Petr Mikheev 7ccbf95503 [Lua] makeStrictReadOnly for enums 3 years ago
cody glassman fee639a74f Correct default value 3 years ago
cody glassman 04843fed6d moddable post-processing pipeline 3 years ago
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
3 years ago
Petr Mikheev 072337c9b8 Merge branch 'settings_styling' into 'master'
Styling for Settings

See merge request OpenMW/openmw!1840
3 years ago
uramer 52d05be04b Styling for Settings 3 years ago
Petr Mikheev 3e343a53d0 Fix wrong function name in Lua docs 3 years ago
Petr Mikheev 0643685ea5 [Lua] Rename onInputUpdate -> onFrame and call it even when the game is on pause (#6745) 3 years ago
uramer 95ad67eb8b Add extraRoll to the Lua camera package 3 years ago
Cody Glassman de4a75821e Correct default window mode 3 years ago
uramer e92c88a133 Make the documentation clearer, match the documentation when no buttons are pressed for an event 3 years ago
Cody Glassman 882245b935 Lua Bindings: Add view distance bindings to camera 3 years ago
cody glassman ad139f2f9a rename to windowed fullscreen 3 years ago
cody glassman 05901a2480 add borderless windows, deprecate fullscreen mode 3 years ago
Petr Mikheev 45161d91c9 Merge branch 'lua_record_types' into 'master'
Lua API for NPC and Creature records

See merge request OpenMW/openmw!1823
3 years ago
uramer 9c5887aab6 Add NPC and Creature record bindings 3 years ago
uramer cd3535cd63 Document Settings interface, add scripts to CMakeLists 3 years ago
uramer 1b62dda9f6 Generate search hints 3 years ago
uramer 5e90b1db0d Define order of groups in a page 3 years ago
uramer 26154c85a1 Check if options arguments are a table 3 years ago
uramer 9b27973479 Deleted files/builtin_scripts/openmw_aux/settings.lua 3 years ago
uramer d9b4871f0c Apply Flex arrange to each child separately 3 years ago
uramer b899320e9f Use storage subscribe, unify groups into pages 3 years ago
uramer a35bc1dee0 openmw_aux.settings, rework to support local scripts 3 years ago
uramer 76b16f57da Change settings localization, add group name and description 3 years ago
uramer 711f982e19 Simplify renderers, standard setting reset 3 years ago
uramer a0c0c39a8c Separate setting keys and names, support localization 3 years ago
uramer 1f5e3b78d4 Use Flex, don't force re-renders on layout table changes 3 years ago
uramer 096255534a Initial Lua Settings API prototype 3 years ago
uramer 03659bef86 MWUI interface (resolve https://gitlab.com/OpenMW/openmw/-/issues/6594) 3 years ago
psi29a 275bebb066 Merge branch 'Stereo-MR' into 'master'
Stereo

See merge request OpenMW/openmw!1757
3 years ago
madsbuvi 79577f37de Rebase artifacts + cleaned up the remaining unnecessary exposures of stereo awareness. 3 years ago
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
3 years ago
Eris Caffee de291b0ec4 Issue-6706 Save the size of the Options window 3 years ago
cody glassman 276cb6f170 clamp vertex lighting in fragment shader properly 3 years ago
Mads Buvik Sandvei 606a795a54 multiview linker-method 3 years ago
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
3 years ago
psi29a 2061a0b66e Merge branch 'cfg-moons-fallback' into 'master'
Add settings fallbacks for the moons in openmw.cfg

See merge request OpenMW/openmw!1787
3 years ago
psi29a dad9f24867 Merge branch 'link-shaders' into 'master'
Shader linking

See merge request OpenMW/openmw!1803
3 years ago
Frederic Chardon ad1ab1c880 Follow up to !192 3 years ago
psi29a 66a96bfa5e Merge branch 'launcher-datadirs' into 'master'
Make launcher handle data dirs #2858 and BSA

See merge request OpenMW/openmw!192
3 years ago
madsbuvi 164458dc56 shader fixes 3 years ago
Petr Mikheev 1fd4ac9168 [Lua] Update openmw_aux.util 3 years ago
madsbuvi dc3045c970 mono-only version of the shader linking system introduced in the stereo MR 3 years ago
Petr Mikheev eae1e87081 [Lua] Update openmw.storage 3 years ago
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.
3 years ago
Petr Mikheev 88d09c336c Lua console 3 years ago
Petr Mikheev 1363292fc9 Merge branch 'l10n_docs' into 'master'
L10n docs

See merge request OpenMW/openmw!1785
3 years ago
Benjamin Winger 2f455aa87b
Added fallback details to l10n docs 3 years ago
Benjamin Winger dac4415699
Moved localisation docs to dedicated page 3 years ago
Matjaž Lamut 21d46dcf78 Add fallbacks for the moons. 3 years ago
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.
3 years ago
Petr Mikheev 45c9635e94 Fix getmetatable, fix pairsForReadonly, add util.loadCode, _G 3 years ago
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