Kindi
1d35a83452
Update types.lua
2 years ago
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