Commit Graph

22782 Commits (e1665f39450dd9b70fa67a47bd3b26f4d9bdb9e9)

Author SHA1 Message Date
Sam Hellawell 13e1df3bf0 Grammar cleanup, code cleanup, reduce logging, revert mRotation change 6 months ago
Sam Hellawell 22229dd674 Cleanup, use string_view comparison 6 months ago
Sam Hellawell 07e6ebdea1 Update english translation, add ruski translation 6 months ago
Max Yari 136be62146 Launcher checkbox
Signed-off-by: Sam Hellawell <sshellawell@gmail.com>
6 months ago
Max Yari 55ffb6d7d2 Animation blending implementation for NIF and osgAnimation through YAML files
Signed-off-by: Sam Hellawell <sshellawell@gmail.com>
6 months ago
psi29a 2c8d657ecb Merge branch 'luaopensesame' into 'master'
Lua door opening api

See merge request OpenMW/openmw!4251
6 months ago
MaxYari 1abe28e797 Lua door opening api 6 months ago
psi29a 3ffd6a7ae9 Merge branch 'tests_log' into 'master'
Support custom log level in tests

See merge request OpenMW/openmw!4179
6 months ago
psi29a cc28396617 Merge branch 'evictthosewindows' into 'master'
Force windows to exit when popping their GUI mode through Lua

Closes #7834

See merge request OpenMW/openmw!4185
6 months ago
elsid a5d9bb08e0
Support custom log level in tests 6 months ago
elsid 1bdc01273e
Move "debugging" function into Debug namespace 6 months ago
elsid 6d43aedec8
Use Lua modules in tests from the source directory 6 months ago
elsid 73d48720ef
Do not change output names for targets
Changing them does not solve any problem but only creates some.
6 months ago
elsid b3abc436dd
Keep separation between openmw and openmw-lib on Android
They are not set up properly so CMake configuration fails because of not found
openmw-lib target since it's not defined for Android.
6 months ago
Evil Eye de59d79388 Update the menu video from a separate thread and respect window resizes 6 months ago
Dave Corley 4cc956fdd7 TEST: Add a test to ensure invalid box extents are not assigned 6 months ago
psi29a e9343da7a8 Merge branch 'themawithungers' into 'master'
Don't trigger onNewExterior while loading saves

See merge request OpenMW/openmw!4206
6 months ago
psi29a 1c71f12d4e Merge branch 'hopskipanimjump' into 'master'
Keep running scripts until the menu pauses the game

Closes #8056

See merge request OpenMW/openmw!4243
6 months ago
psi29a ecb64eab8e Merge branch 'juststrummingmylute' into 'master'
Attempt to select an AI action directly instead of waiting for the next frame

Closes #7973

See merge request OpenMW/openmw!4244
6 months ago
psi29a 7d0fca1bf5 Merge branch 'noscript' into 'master'
Make mwscript return nil for records that don't have a script

See merge request OpenMW/openmw!4236
6 months ago
Evil Eye 134c099df9 Attempt to select an AI action directly instead of waiting for the next frame 6 months ago
Evil Eye 299ee1a6b1 Keep running scripts until the menu pauses the game 6 months ago
psi29a 3a5ed998e7 Merge branch 'timeplayed' into 'master'
Remove time played setting

See merge request OpenMW/openmw!4235
6 months ago
Evil Eye ee653eb2b8 Make mwscript return nil for records that don't have a script 6 months ago
psi29a 061f10bef7 Merge branch 'enchantmentproptorecord' into 'master'
Return nil for absent values in record properties (enchant)

See merge request OpenMW/openmw!4228
6 months ago
psi29a e8c422697f Merge branch 'first_person_mesh_distortion' into 'master'
Fix distortion breaking in first person meshes

See merge request OpenMW/openmw!4231
6 months ago
Kindi bf9f5dc2ef dont return empty string for absent value 6 months ago
Kindi 045e6d8c4f move enchant charge and soul to itemdata 6 months ago
psi29a ef0bb02def Merge branch 'master' into 'master'
An ability to specify attack type in controls.use value

See merge request OpenMW/openmw!4187
6 months ago
psi29a 804b589a68 Merge branch 'qt_follow_up' into 'master'
Cleanup changes in Qt applications

See merge request OpenMW/openmw!4225
6 months ago
Alexei Kotov 888abc0097 Remove time played setting 6 months ago
Cody Glassman 4d7e9bae73 ensure distortion is only rendered once 6 months ago
Andrei Kortunov dc7407a34c Use signed variables to match an API 6 months ago
Dave Corley fc65643224 FIX: Actually set the transform so first person camera works again 6 months ago
Cody Glassman 45cb3eb081 lua - use loaded node when possible when calculating bounding box 6 months ago
psi29a 81e59bb4aa Merge branch 'i-didnt-want-to-grow-up-to-be-this-big' into 'master'
FIX: Incorrect scaling applied when creatures rotate (close #6665)

Closes #6665

See merge request OpenMW/openmw!4219
6 months ago
Andrei Kortunov a9108a743d Do not make redundant copy 6 months ago
psi29a 3ebeaaa3bb Merge branch 'saymyname' into 'master'
Don't use getRefIdString to get a fallback object name for non-string ids

Closes #8043

See merge request OpenMW/openmw!4217
6 months ago
psi29a 045bccb3e9 Merge branch 'copycompiler' into 'master'
Avoid a few copies in mwscript

See merge request OpenMW/openmw!4215
6 months ago
psi29a 024d1c5971 Merge branch 'interpreter_code_duplicates' into 'master'
Exit with fatal error on duplicated instruction code

See merge request OpenMW/openmw!4214
6 months ago
Evil Eye ff72a26ef2 Don't use getRefIdString to get a fallback object name for non-string ids 6 months ago
Dave Corley fcc58f6db3 CLEANUP(rotatecontroller): Deduplicate rotate/scale checks into the main
callback function
6 months ago
Dave Corley cac5ae34a5 CLEANUP(character.cpp): Replace usages of biped function with isBiped var 6 months ago
Dave Corley 33cd654bf5 FIX(character.cpp): Don't allow turn to movement direction to apply to non-bipeds 6 months ago
Dave Corley c95c7503a8 FIX(rotatecontroller): Account for parent node scale when rotating objects 6 months ago
psi29a b1de8ed720 Merge branch 'profilersort' into 'master'
Reorder F3 profiler stats according to timeline

Closes #8005

See merge request OpenMW/openmw!4196
6 months ago
psi29a 4da35c7e7f Merge branch 'free_range_containers' into 'master'
FEAT: Add organic/respawning flags to containers (Close #8038)

Closes #8038

See merge request OpenMW/openmw!4205
6 months ago
psi29a 11d405dcdf Merge branch 'buyfrommebestprices' into 'master'
Add a showInDialogue parameter to ui.showMessage and use it for level up messages

Closes #8041

See merge request OpenMW/openmw!4209
6 months ago
Evil Eye ad7fb3d13f Avoid a few copies in mwscript 6 months ago
elsid 89bb04e8fd
Exit with fatal error on duplicated instruction code
Instead of causing SIGABRT which is more confusing.
6 months ago
Dave Corley 77fa41b8c6 CLEANUP(container): Make organic/respawning field names more consistent 6 months ago
Dave Corley fccf75377d FEAT: Add organic/respawning flags to containers 6 months ago
Max Yari 1497dae4fa Better mUse out-of-range handling 6 months ago
Andrei Kortunov 5390634e22 Add a missing null pointer check 6 months ago
Evil Eye 91bcd0a556 Add a showInDialogue parameter to ui.showMessage and use it for level up messages 6 months ago
Max Yari 3eadb84142 Fixed wrong mUse wrapping 6 months ago
psi29a 6754b8d941 Revert "Merge branch 'were_engineers_not_salt_miners' into 'master'"
This reverts merge request !4178
6 months ago
psi29a 8471cfb576 Merge branch 'localpairs' into 'master'
Allow mwscript variable iteration

See merge request OpenMW/openmw!4180
6 months ago
psi29a 64dd6e36d1 Merge branch 'openmw-cs-error-verify-refnums' into 'master'
OpenMW-CS verify duplicate RefNums

See merge request OpenMW/openmw!4012
6 months ago
cykoder 57e7bf3748 OpenMW-CS verify duplicate RefNums 6 months ago
psi29a 11c2cf0780 Merge branch 'esm_script' into 'master'
Make loading and saving ESM3 script record more robust

See merge request OpenMW/openmw!4195
6 months ago
Evil Eye 152073a42e Don't trigger onNewExterior while loading saves 6 months ago
psi29a 57adb93075 Merge branch 'coverity' into 'master'
Coverity fixes

See merge request OpenMW/openmw!4198
6 months ago
psi29a b8d861ca16 Merge branch 'unscriptedrealitytv' into 'master'
Don't try to show unallocated or uninitialized profiling data

See merge request OpenMW/openmw!4188
6 months ago
psi29a 456ac2a85b Merge branch 'were_engineers_not_salt_miners' into 'master'
FEAT: Lua Engine Handler for MWScript `startscript` functionality

See merge request OpenMW/openmw!4178
6 months ago
Dave Corley 1a79e79f57 FEAT: Lua Engine Handler for MWScript `startscript` functionality 6 months ago
psi29a d3c3d0cf44 Merge branch 'indexthemoon' into 'master'
Move Lua index helpers to components and make owner.factionRank match other ranks

See merge request OpenMW/openmw!4186
6 months ago
Max Yari 13918e3b70 AttackType -> ATTACK_TYPE 6 months ago
Evil Eye 5cf809f39b Merge branch 'ocd' into 'master'
Assorted nitpicks

See merge request OpenMW/openmw!4194
6 months ago
psi29a 7888a11c36 Merge branch 'lushemptyplants' into 'master'
Don't display the harvested plant if graphic herbalism is off

See merge request OpenMW/openmw!4193
6 months ago
Alexei Kotov b0671c76d8 Throw on setting tags that can't provide the setting name 6 months ago
Alexei Kotov 43b381f592 Loop by const ref in activeSpells.add 6 months ago
psi29a 0013a44b71 Merge branch 'datadisplaydelegate' into 'master'
React to scale or color changes in editor tables

See merge request OpenMW/openmw!4098
6 months ago
holorat cd4b7db02d Reorder profiler stats according to timeline 6 months ago
Max Yari b01b76b81e Introduced attacktype enum, fixed lua docs 6 months ago
Max Yari 2ef0568dda Changed lua enum name, tweaked docs 6 months ago
Max Yari 7d659ae64c Added lua enum for attacktypes 6 months ago
Max Yari 22d9906978 An ability to specify attack type in controls.use value 6 months ago
elsid 5c3ae3d94c
Make loading and saving script record more robust
* Check the header presence before using it.
* Write the header based on the actual content.
6 months ago
Alexei Kotov c6156011c8 Remove unnecessary lines in actor bindings 6 months ago
Alexei Kotov 479d4931d7 Handle negative MaxNumberRipples more sensibly 6 months ago
elsid 447c4bb6a0
Extend ESM3 Script record tests 6 months ago
elsid 4571a8b88a
Remove unused SCHD type 6 months ago
Evil Eye 2edbabd3d7 Don't display the harvested plant if graphic herbalism is off 6 months ago
Evil Eye 46c8133a72 Don't try to show unallocated or uninitialized profiling data 6 months ago
psi29a 3a686dd8af Merge branch 'lua_travel_dest_2' into 'master'
Expose cell ID, Add actor travel destinations to types.Actor.record.servicesOffered

See merge request OpenMW/openmw!3592
7 months ago
Zackhasacat 533ce499e0 Expose cell ID, Add actor travel destinations to types.Actor.record.servicesOffered 7 months ago
Evil Eye 6aa52c09da Shuffle code around 7 months ago
Evil Eye d6fc0744c7 Move Lua index helpers to components and make owner.factiooRank match other ranks 7 months ago
Evil Eye 989686500c Force windows to exit when popping their GUI mode through Lua 7 months ago
Evil Eye 0f20e47e0e Add unit tests 7 months ago
Evil Eye 2adaf33fa2 Allow mwscript variable iteration 7 months ago
Kindi ecb07c9bc7 add mwscript.isRunning 7 months ago
Alexei Kotov 39a231233c Fully reset the player's cell reference when the player is reset (#8021) 7 months ago
psi29a 218e19d8f7 Merge branch 'mapshenanigans' into 'master'
Fix local map issues

Closes #8004

See merge request OpenMW/openmw!4174
7 months ago
psi29a 05a70b29c5 Merge branch 'rangingareas' into 'master'
Don't apply area of effect for potions and improve range handling

Closes #8018

See merge request OpenMW/openmw!4172
7 months ago
psi29a 98ba2120b6 Merge branch 'zerotohero' into 'master'
Use -1 as the plugin index for LandTextures

See merge request OpenMW/openmw!4121
7 months ago
psi29a 6caac886ea Merge branch 'equalopportunity' into 'master'
Support light fade settings in legacy lighting method, remove launcher lighting settings that support runtime changes

See merge request OpenMW/openmw!4168
7 months ago
Evil Eye 5a54cd9406 Fix local map issues 7 months ago
Evil Eye a934902f12 Don't apply area of effect for potions and improve range handling 7 months ago
Dave Corley b7deb7e9bc Feat(CS): Make LMB the primary interaction 7 months ago
Alexei Kotov d226b72592 Throw on invalid bone group indices in getActiveGroup 7 months ago
Alexei Kotov 6ad914919b Remove launcher lighting settings that support runtime changes
Also update lighting method descriptions
7 months ago
Evil Eye fbc6629d40 Rework land texture handling 7 months ago
Alexei Kotov 5c6fbc332f Fix endif conditions in cmake 7 months ago
Alexei Kotov 65a9f78943 Fix flags used in terrain saving/loading tests 7 months ago
psi29a c1d74763ed Merge branch 'i-have-no-land-and-i-must-scream' into 'master'
Fix(CS): Add landscape flag if it doesn't exist at all and improve landscape QOL

Closes #7707

See merge request OpenMW/openmw!3617
7 months ago
psi29a 61772fa234 Merge branch 'verifiers' into 'master'
Complain about fishy local variable names, improve editor effect list handling

See merge request OpenMW/openmw!4160
7 months ago
psi29a 0a7f4e5149 Merge branch 'unit_tests' into 'master'
Split openmw_test_suite into openmw and components tests

See merge request OpenMW/openmw!4166
7 months ago
elsid 1e98cc6c3b
Move EXPECT_ERROR macro to a separate header
To include it only where it's required.
7 months ago
elsid 7d1cd11ba9
Split openmw_test_suite into openmw and components tests
To avoid duplicated compilation for openmw translation units. Link openmw-lib to
openmw-tests instead.
7 months ago
elsid 9b0362fba8
Split openmw into binary and library
To make it possible to create a new binary for the tests by linking this
library to it.

Rename openmw-lib into openmw to have libopenmw.a on Linux. Do not rename it on
Windows to avoid conflict with automatically generated lib for exe due to
__declspec(dllexport) presence.
7 months ago
elsid 2e0e0f53b6
Add --coverage to openmw-cs 7 months ago
Evil Eye 965bc20bab Set mPluginIndex to -1 for textures defined in this plugin 7 months ago
Evil Eye ed5bedb9db Use record state to determine if a LandTexture record was defined in the current plugin 7 months ago
psi29a cbf0471d8a Merge branch 'launch_button' into 'master'
Set minimum width for Launch OpenMW button

See merge request OpenMW/openmw!4162
7 months ago
psi29a 3ef4180464 Merge branch 'soulless' into 'master'
Properly copy items between containers

See merge request OpenMW/openmw!4139
7 months ago
psi29a 56183ba982 Merge branch 'ingameppl' into 'master'
Move force per-pixel lighting setting to the in-game settings

See merge request OpenMW/openmw!4137
7 months ago
Dave Corley 659874cb65 FEAT: Update land flag representation in ESMTool 7 months ago
Dave Corley 145f9c1154 CLEANUP(CS): Do heightData check in actual implementation, revert
accidental change to land condition order
7 months ago
Dave Corley 86316fa7ab Fix(cell.cpp): Don't try to update land for interiors 7 months ago
Dave Corley 10eb807e72 Fix(Cell.hpp): Correct include path for document 7 months ago
Dave Corley 0a8fee59dd Don't store member variables from document & use simpler and safer
inputs to cell constructor. Explicitly tell the constructor whether land
should be loaded or not
7 months ago
Dave Corley 47044e1dc0 Cleanup(CS): re-add const for land collection 7 months ago
Dave Corley 89bce6f678 Fix(CS): Enum name in accordance with current standards 7 months ago
Dave Corley 6f2ae4a33b Cleanup(CS): Improve readability and clean up some implementations 7 months ago
Dave Corley ad135e3b95 Fix(cell.cpp): Change commands.hpp to absolute include path 7 months ago
Dave Corley d8187e40b2 Feat(CS): Create LAND record using the undo stack 7 months ago
Dave Corley 731302ecff Feat(CS): Add undo stack as a member of CSVRender::Cell 7 months ago
Dave Corley f565730a9a Fix(cell.cpp): never try to update land for interiors 7 months ago
Dave Corley dd7a2f22d1 Cleanup(CSVRender::Cell:updateLand): Early exit when landscape should
not be loaded
7 months ago
Dave Corley 78fd135764 Fix(CS): Remove unreachable code as land data will always be present 7 months ago
Dave Corley 3e7335ddc7 Fix(CS): Initialize landscape when opening an existing cell without VHGT 7 months ago
Dave Corley 2541b74fc6 Fix(CS): Apply land flags when appropriate edits are made 7 months ago
elsid 6ba42314df
Fix Ptr::toString 7 months ago
Andrei Kortunov fb3687e62a Set minimum width for Launch OpenMW button 7 months ago
Alexei Kotov dd0ff13ba9 Reset attribute/skill arguments in IngredEffectRefIdAdapter if needed 7 months ago
Alexei Kotov 3051e0834a Accept invalid effect IDs and ranges in EffectsListAdapter 7 months ago
psi29a 9087de1596 Merge branch 'esm3_land' into 'master'
Add unit tests for saving and loading ESM3 Land

See merge request OpenMW/openmw!4159
7 months ago
Alexei Kotov 252ee7f8c4 Deduplicate effect list verification
Drop Potion-specific range check, it's irrelevant
7 months ago
Alexei Kotov ba20ba2c6c Editor: Warn if a magic effect's max magnitude is zero 7 months ago
Alexei Kotov 2fdbd6287d Editor: Verify magic effects for enchantments, ingredients and potions
Use constants for known magic effect/skill/attribute range
7 months ago
Kagernac 7d403089ec Cleaner implementation
Retrieved the Colours straight from Settings

Made tagname clearer in openmw_list.skin.xml

Fixed minor formatting issue in validate.cpp, textcolours.cpp

Updated skin variables to be const and string_view
7 months ago
psi29a 176e6490c5 Merge branch 'stufftheminasack' into 'master'
Drop 360-degree screenshot support (#7720)

Closes #7720

See merge request OpenMW/openmw!4158
7 months ago
psi29a a80f5c109c Merge branch 'ltexerasure' into 'master'
Fix LTEX overriding and allow deletion

See merge request OpenMW/openmw!4152
7 months ago
elsid 044748725c
Add unit tests for saving and loading ESM3 Land 7 months ago
psi29a 24d8accee7 Merge branch 'lua_base_disposition_fns' into 'master'
lua - Add [get,set,mod]BaseDisposition functions to npc type

See merge request OpenMW/openmw!4142
7 months ago
Mads Buvik Sandvei e063fa5b23 rename template_ to templatePtr 7 months ago
Alexei Kotov 93d1c6d7e0 Drop 360-degree screenshot support (#7720) 7 months ago
Mads Buvik Sandvei 90b415a8dd comments by elsid 7 months ago
Alexei Kotov 593d4ff714 Move per-pixel lighting to the in-game settings 7 months ago
psi29a ee5ccaa760 Merge branch 'setangleaxis' into 'master'
Fix SetAngle alternative axis order

See merge request OpenMW/openmw!4155
7 months ago
Evil Eye 330f5de78d Rename ot mStatic 7 months ago
Sebastian Fieber ed26708e4d more dry + restrict mutation of disposition to global and on self 7 months ago
Alexei Kotov 32ca57c9ad Merge branch 'unify_operation_bars' into 'master'
Unify operation progress bar appearance

See merge request OpenMW/openmw!4154
7 months ago
Kagernac 3e6ccfce1f Took @Capostrophic's suggestion about leveraging a new tag format
Removed the color settings from Textcolours, they are unneccessary

Removed the Fallback workaround as a dedicated else condition was created with the new tag "fontcolouroptional". This code section has no involvement in Fallback

openmw_list.skin.xml was updated to reflect this new tag

settings.cfg was updated with the updated variable names
7 months ago
psi29a 8f3625b6a8 Merge branch 'cleanup_object_paging' into 'master'
Cleanup object paging

See merge request OpenMW/openmw!4149
7 months ago
jvoisin c7f3277744 Merge branch 'waterfiltering' into 'master'
Apply filtering settings to water normal map

See merge request OpenMW/openmw!4151
7 months ago
Alexei Kotov 4a394a391b Fix SetAngle alternative axis order 7 months ago
Andrei Kortunov eac2082e82 Unify operation progress bar appearance 7 months ago
Alexei Kotov 56b31d87e3 Merge branch 'soundfixes' into 'master'
Follow-up work for Lua-based music

See merge request OpenMW/openmw!4146
7 months ago
Evil Eye ca6baed366 Fix LTEX overriding and allow deletion 7 months ago
Alexei Kotov c7e98fdb45 Apply filtering settings to water normal map 7 months ago
elsid 2169e22e93
Move key when inserting item to mLODNameCache 7 months ago
elsid 6e3fd34790
Calculate floor and ceil of bounds once 7 months ago
elsid 3790e97184
Clarify scope and constness of the variables 7 months ago
elsid d9d8802f3a
Move node when inserting into a nodes map 7 months ago
elsid aecdf04705
Use custom struct for CellRef used by object paging
ESM::CellRef is too heavy. There is no need to have all the data from there.
7 months ago
elsid 0040409a4d
Move collectESM3References to unnamed namespace 7 months ago
elsid 524af5b723
Move symbols not defined in header to unnamed namespace 7 months ago
Andrei Kortunov 7b5146e824 Do not allow Lua's "stopMusic" to interrupt MWScript's music 7 months ago
Andrei Kortunov 402e725d87 Reset music type to Normal when we are done to scripted music 7 months ago
Andrei Kortunov e762ae9703 Move current music from MechanicsManager to SoundManager 7 months ago
psi29a 05815b3952 Merge branch 'settingswindow' into 'master'
Hide the settings window when any main menu button is pressed

See merge request OpenMW/openmw!4136
7 months ago
Mads Buvik Sandvei a1b695a8d5 De-duplicate ManualRef constructor 7 months ago
Sebastian Fieber da4531faa0 rename modBaseDisposition to modifyBaseDisposition 7 months ago
Sebastian Fieber f683adeb14 Add [get,set,mod]BaseDisposition functions to npc type 7 months ago
Mads Buvik Sandvei ae4bf04798 Fix soul gems losing their souls when splitting stacks between containers. 7 months ago
elsid 6218afa484
Cleanup object paging includes 7 months ago
elsid b5a75ba96c
Use std::vector to collect ChunkIds to be removed
Cache does not have duplicated entries.
7 months ago
elsid b64069156d
Convert position on construction 7 months ago
elsid 33ef7fc8ca
Make ClearCacheFunctor a class and rename to clarify the purpose 7 months ago
psi29a e7c9574d31 Merge branch 'savetheslot' into 'master'
Convert constant effect equipment slots to refnums

Closes #7998

See merge request OpenMW/openmw!4130
7 months ago
psi29a 8cf6fde8b6 Merge branch 'fix_debug_render' into 'master'
Fix debug render for recast mesh and navmesh

See merge request OpenMW/openmw!4127
7 months ago
psi29a af4adf41d0 Merge branch 'saveyourvanityforsomeonewhocares' into 'master'
Toggle the vanity camera off before toggling to the saved camera mode

Closes #7960

See merge request OpenMW/openmw!4135
7 months ago
psi29a 4ae29b0042 Merge branch 'log_exceptions' into 'master'
Log caught exceptions

See merge request OpenMW/openmw!4131
7 months ago
Alexei Kotov 340783e3a1 Merge branch 'modernprometheus' into 'master'
Make torches held by creatures emit light

Closes #8002

See merge request OpenMW/openmw!4134
7 months ago
Andrei Kortunov 204267d211 React to scale or color changes in editor tables 7 months ago
Alexei Kotov 131bb510e4 Merge branch 'operation_fixes' into 'master'
Improve operations widget formatting, part 2

See merge request OpenMW/openmw!4119
7 months ago
Alexei Kotov 7274d825a3 Hide the settings window when any main menu button is pressed 7 months ago
Evil Eye 9027af426b Toggle the vanity camera off before toggling to the saved camera mode 7 months ago
Evil Eye a7026ae3e9 Make torches held by creatures emit light 7 months ago
elsid 71369be796
Log caught exceptions 7 months ago
Andrei Kortunov 2749d2a6cb Revert "Make sure that Open button becomes focused after enabling"
This reverts commit d5bbd75828.
7 months ago
Evil Eye 11e8e1eeb5 Include creatures 7 months ago
psi29a 62930cb8db Merge branch 'fix_archives_selection' into 'master'
Fix archive selection when switching profiles (#7956)

See merge request OpenMW/openmw!4118
7 months ago
Yury Stepovikov 80d2b289e7 Fix archive selection when switching profiles (#7956) 7 months ago
psi29a 6e0606b55b Merge branch 'paralysisagainagain' into 'master'
Make paralysis cancel camera mode changes (#7997)

Closes #7997

See merge request OpenMW/openmw!4122
7 months ago
psi29a c8567e96fd Merge branch 'itsover32767' into 'master'
Use more appropriate types in terrain storage

See merge request OpenMW/openmw!4125
7 months ago
psi29a 157a5a4489 Merge branch 'l10n' into 'master'
Many localization fixes

See merge request OpenMW/openmw!4108
7 months ago
Evil Eye cdfd305ac3 Convert constant effect equipment slots to refnums 7 months ago
elsid d6af9305ae
Exclude debug rendering from toggleworld 7 months ago
elsid 4b8897e33e
Use state sets without transparency support for recast mesh and agents paths 7 months ago
elsid 98d530d8cb
Share state sets for recast mesh tiles and actors paths 7 months ago
Evil Eye 6a10311ae5 Use more appropriate types in terrain storage 7 months ago
psi29a d15be7a685 Merge branch 'fix-nearest-gui-options' into 'master'
Fix incorrect texture filtering GUI for nearest, allow to disable nearest from GUI

See merge request OpenMW/openmw!4114
7 months ago
psi29a db27543ea1 Merge branch 'uniform_choice' into 'master'
Add choice widget type to postprocessing uniforms

See merge request OpenMW/openmw!3969
7 months ago
psi29a b0aa19dc07 Merge branch 'msvc_crash_fix' into 'master'
Avoid MSVC crash in Visual Studio 17.10.0

See merge request OpenMW/openmw!4116
7 months ago
Alexei Kotov ae7861abe4 Move paralysis god mode checks to CreatureStats 7 months ago
Kagernac f9577d904c This commit introduces six new color settings for dialogue topic keywords
referencing settings.cfg and settings-default.cfg. These settings work similarly
to the color references found in openmw.cfg and Morrowind.ini.

Changes include:

Removal of deprecated settings:
color topic specific
color topic exhausted
Addition of six new color settings to settings.cfg and settings-default.cfg
Updated description in settings-default.cfg to reflect the new color format
7 months ago
Sam Hellawell d3c1aa6653 Fix incorrect texture filtering GUI for nearest, allow to disable nearest from GUI 7 months ago
psi29a 2be6116ef6 Merge branch 'fix_recastmesh' into 'master'
Limit number of cached tiles with recast meshes

See merge request OpenMW/openmw!4112
7 months ago
Andrei Kortunov 52de6177d1 Avoid MSVC crash in Visual Studio 17.10.0 7 months ago
Andrei Kortunov 6c83451b15 Improve operations widget formatting 7 months ago
Alexei Kotov 67c47b8603 Merge branch 'operation_fixes' into 'master'
Improve operation widget appearance

See merge request OpenMW/openmw!4110
7 months ago
Dave Corley c87eaefd17 Merge branch 'theeditorisjustanotherengine' into 'master'
Use ESM::ReadersCache in the editor

Closes #7896

See merge request OpenMW/openmw!4111
8 months ago
psi29a cd116ebe5f Merge branch 'dark_mode' into 'master'
Support dark mode on Windows

Closes #7985

See merge request OpenMW/openmw!4101
8 months ago
Andrei Kortunov bf682d51a6 Support dark mode on Windows (feature 7985) 8 months ago
psi29a fd3ae0d42a Merge branch 'dehardcode_music' into 'master'
Dehardcode music

See merge request OpenMW/openmw!3438
8 months ago
psi29a f34994e4c8 Merge branch 'notexturetypeconfusion' into 'master'
Support defining the texture type with a state attribute (#6240)

Closes #6240

See merge request OpenMW/openmw!4079
8 months ago
psi29a 651a7d569c Merge branch 'activatebooks' into 'master'
Allow NPCs to activate in-world books for the player (part of #7959)

See merge request OpenMW/openmw!4080
8 months ago
psi29a d67bc1defd Merge branch 'timeplayedhours' into 'master'
Improve Time Played formatting (#7971)

Closes #7971

See merge request OpenMW/openmw!4107
8 months ago
Kagernac 02730af391 Changing the skin of the widget seems to be the easiest way to have the choices in the list react to specific conditions and interactions.
Seems that changing the skin modifies some size properties so they had to be reset.

Needed to create a specific skin in order to prevent modifying unintended text.

The exhausted color is not referenced by the settings.cfg, the user will need to modify the color in the skin file.

Edit: Fixed the coding convention issues and converted the tabs into spaces in the .xml. Closed the previous merge request out of confusion, sorry new to Git.
8 months ago
Alexei Kotov a3bfd3a337 Merge branch 'fix-infinite-fall-into-void' into 'master'
Fix infinite fall into void (#1415)

Closes #1415

See merge request OpenMW/openmw!4100
8 months ago
Alexei Kotov e96ebec2cf Merge branch 'fix_lua_attack' into 'master'
Allow Actors to pick an attack type/animation when no AI applies (fix #7583)

Closes #7583

See merge request OpenMW/openmw!4102
8 months ago
Alexei Kotov 03652104fe Merge branch 'cleanup_preloading' into 'master'
Cleanup preloading code

See merge request OpenMW/openmw!4104
8 months ago
Evil Eye 77d554594f Add ReadersCache::clear 8 months ago
Andrei Kortunov 5a1ec8ce87 Implement Lua-based music 8 months ago
elsid 45d62ee59f
Limit RecastMeshManager range by active cell grid 8 months ago
elsid 49db37ee29
Merge setWorldspace and updateBounds 8 months ago
elsid 9854d42d56
Use ESM::RefId for worldspace type 8 months ago
elsid 5d28164416
Remove recast mesh tiles outside active range 8 months ago
elsid 4f5bdbb4fb
Remove recastmesh group for absent tile 8 months ago
Evil Eye 5f0fe8097c Use ESM::ReadersCache in the editor 8 months ago
Andrei Kortunov 3d699bd533 Improve operation widget appearance 8 months ago
Alexei Kotov 908f3891fb Add helper method for texture type recovery 8 months ago
Alexei Kotov 84f4ba4ca1 Support defining the texture type with a state attribute (#6240)
Named textures are still supported for easier native format compatibility (and so that I don't have to edit the documentation)
8 months ago
Sam Hellawell c1cd8bd900 Check collision before findInteriorPositionfindInteriorPos 8 months ago
elsid 6f70350f2f
Remove unused arguments from preload functions 8 months ago
elsid 7290ce81c0
Avoid allocating std::vector for a single element 8 months ago
elsid ac891a5eb1
Use algorithms to check if PositionCellGrid(s) is/are contained in a range 8 months ago
Evil Eye c3d02c0b41 Merge branch 'cleanup_dialogue_api' into 'master'
Cleanup dialogue API

See merge request OpenMW/openmw!4088
8 months ago
psi29a 42db5f4386 Merge branch 'fix_menu_timers' into 'master'
Process menu script timers

See merge request OpenMW/openmw!4103
8 months ago
Alexei Kotov 86ecf3fa0c Make saved game dialog Health and Level lines localizable
Currently providing English, Russian and GMST-based localization.
8 months ago
Alexei Kotov b8ee467d13 Allow NPCs to activate in-world books for the player (part of #7959) 8 months ago
Alexei Kotov 6bf0d17aa2 Improve Time Played formatting (#7971) 8 months ago
Sam Hellawell 72dbad6fb4 Satisfy king clang 8 months ago
Sam Hellawell 6f7fff409c Empty refid check 8 months ago
trav5 3f26a6c5a0 Merge branch 'master' of https://gitlab.com/OpenMW/openmw into fix7970-remove-removed-spells-on-rest 8 months ago
psi29a 4a3dbb5a80 Merge branch 'default_colors' into 'master'
Change default colors in script editor to support dark themes

See merge request OpenMW/openmw!4097
8 months ago
psi29a 991f887de2 Merge branch 'fix/7562-mouse-position' into 'master'
fix(openmw): MacOS Scaling Bugs

See merge request OpenMW/openmw!3963
8 months ago
Dylan 91a771f851 fix(openmw): MacOS Scaling Bugs 8 months ago
Sam Hellawell 64142dbd51 Merge remote-tracking branch 'origin/master' into fix-infinite-fall-into-void
# Conflicts:
#	CHANGELOG.md
8 months ago
Sam Hellawell e98c4f86d6 Remove period 8 months ago
elsid d71b422615
Convert PositionCellGrid into a struct 8 months ago
Sam Hellawell e1cfd46f87 Do not teleport if dest < lowest point or collision disabled, add debug log 8 months ago
Zackhasacat 20d26a9cda Use random attack type 8 months ago
uramer a662198903 Process menu script timers 8 months ago
Zackhasacat 0ad64cffdb Add empty line back 8 months ago
Zackhasacat b62b0a2f00 Check for world AI disable 8 months ago
Zackhasacat 1e05bb20bf Allow Actors to pick an attack type/animation when no AI applies 8 months ago
Sam Hellawell b43c7238e9 Fix infinite fall into void (#1415) 8 months ago
Alexei Kotov 195599c13c Don't update head animation if the animation is paused (#7980) 8 months ago
Andrei Kortunov dca452aaca Change default colors in script editor to support dark themes 8 months ago
psi29a 2bed7450b6 Merge branch 'style_change' into 'master'
Minor changes in Qt styles handling

See merge request OpenMW/openmw!4093
8 months ago
trav5 238d68b691 Magic effects are updated once before applying when resting
Fixing #7970.
When the player was resting, all their magic effects were applied throughout
the rest duration, including the effects for already removed spells, which
were applied once more before removal.
This commit calls an update before that applying, so that these removed
spells are executed and removed and only then the real duration-long
execution of remaining magic effects takes place.
8 months ago
Zackhasacat c63c1e69cf Lua: Add missing light flags, allow creating light record via world.createRecord 8 months ago
Andrei Kortunov bf568da6de Remove redundant checks 8 months ago
Andrei Kortunov 0262b33067 Update toolbar style sheet when theme changed 8 months ago
Andrei Kortunov d5bbd75828 Make sure that Open button becomes focused after enabling 8 months ago
Andrei Kortunov b0930158df Use an auto raise mode to disable the border 8 months ago
Andrei Kortunov e7d566eb2e Remove border from status bar 8 months ago
Andrei Kortunov abd4596cf8 Do not use style sheets to set font 8 months ago
psi29a ea7555c012 Merge branch 'feature/pplLauncherSetting' into 'master'
added force PPL checkbox

See merge request OpenMW/openmw!3857
8 months ago
psi29a 919d1e366e Merge branch 'staticcollections' into 'master'
Place static collections to the scene and fix item modification record loading

See merge request OpenMW/openmw!4085
8 months ago
psi29a 3e8442e749 Merge branch 'fix_build' into 'master'
Add missing include (#7967)

Closes #7967

See merge request OpenMW/openmw!4087
8 months ago
elsid 35f5c8cd15
Add missing includes 8 months ago
jvoisin c9890fbd4f Merge branch 'fix_disabled_esm4' into 'master'
Make a check for disabled parent recursive

See merge request OpenMW/openmw!4084
8 months ago
elsid 26233e082d
Optimize iteration over dialogue records 8 months ago
Zackhasacat 0e1678b3b8 Merge branch 'mwdialogue-bindings' into 'master'
Add Lua bindings for ESM::Dialogue record stores to openmw.core

Closes #7964

See merge request OpenMW/openmw!4034
8 months ago
Alexei Kotov 29b25ffb26 Formatting 8 months ago
elsid bad935ff34
Make a check for disabled parent recursive 8 months ago
Alexei Kotov fd4d3b8a27 Fix item mod record loading 8 months ago
Alexei Kotov 7d979a2dfc Place ESM4 static collections to the scene 8 months ago
psi29a 99ac6c40e5 Merge branch 'wizard_update' into 'master'
UI fixes for Wizard

See merge request OpenMW/openmw!4069
8 months ago
Alexei Kotov b9069835b2 Merge branch 'scriptedit' into 'master'
Improve appearance of script editor in the OpenMW-CS

See merge request OpenMW/openmw!4076
8 months ago
Alexei Kotov c95bb4ce59 Merge branch 'split_esm_headers' into 'master'
Split ESM headers

See merge request OpenMW/openmw!4071
8 months ago
trav fc6695a918 Merge branch openmw:master into mwdialogue-bindings 8 months ago
Andrei Kortunov b56c255be2 Improve appearance of script editor in the OpenMW-CS 8 months ago
psi29a 2e971ec2e3 Merge branch 'appropriateammunition' into 'master'
Adjust Russian appropriate ammunition setting label/description

See merge request OpenMW/openmw!4062
8 months ago
trav 512b7e46e5 Merge branch openmw:master into mwdialogue-bindings 8 months ago
elsid f83d388391
Iterate over smaller container when removing blacklisted refs 8 months ago
elsid a920ca9070
Report loading screens to osg stats 8 months ago
Alexei Kotov 95cef34477 Bump the minimum launcher width to 775 8 months ago
Hristos N. Triantafillou 63a27bbf99 Expose Wander option values to the Lua API (#7916) 8 months ago
elsid 01166b1f26
Split ESM headers 8 months ago
trav5 0e03b9bd32 ESM::Dialogue Lua bindings: filterActorGender returns string 8 months ago
trav5 9001ed1e2f ESM::Dialogue Lua bindings: rank filters start from 1 and filterActorCell->filterPlayerCell 8 months ago
Andrei Kortunov 9252879f0f UI fixes for Wizard 8 months ago
trav5 2cdfaa69b3 ESM::Dialogue Lua bindings: Fixes in speaker faction and DialogueRecordInfo docs [correction] 8 months ago
trav5 9743276332 ESM::Dialogue Lua bindings: Fixes in speaker faction and DialogueRecordInfo docs 8 months ago
psi29a a57c350c08 Merge branch 'paint_svg' into 'master'
Change SVG icons color in the editor

See merge request OpenMW/openmw!4060
8 months ago
psi29a bb89717886 Merge branch 'droppinglikeflies' into 'master'
Fix Drop behavior for creatures that don't have an inventory

See merge request OpenMW/openmw!4063
8 months ago
elsid 404940b6e0
Make sure proper number of cells is preloaded
Limit the number of exterior cells around a cell to be preloded based on current
and max cache size not just max cache size. Avoid doing break from inner loop
only.

Log when truncation happens but only once during process lifetime to warn a user.
8 months ago
elsid 2220868fa9
Preload surrounding exterior cells for the teleport door destination
When player teleports to the exterior cell, multiple cells are loaded not only
the target so better to have them preloaded too.
8 months ago
Alexei Kotov cc4b2e5c58 Fix Drop behavior for creatures that don't have an inventory 8 months ago
psi29a 5b25435260 Merge branch 'fix_osg_stats_report' into 'master'
Report osg stats for frames with loading screens (#7737)

Closes #7737

See merge request OpenMW/openmw!4053
8 months ago
psi29a 1e1fd28136 Merge branch 'fix_anim_state' into 'master'
Fix AnimState initialization

See merge request OpenMW/openmw!4061
8 months ago
psi29a 24fca82f2c Merge branch 'faction_relations' into 'master'
Take in account faction reaction changes

See merge request OpenMW/openmw!4015
8 months ago
trav c6807465f6 Merge branch openmw:master into mwdialogue-bindings 8 months ago
trav5 0aae0299af ESM::Dialogue Lua bindings: Several post-review fixes 8 months ago
jvoisin 3e63b507d4 Merge branch 'fix_physics_crash' into 'master'
Fix crash in physics worker on removing object (#7950)

Closes #7950

See merge request OpenMW/openmw!4057
8 months ago
trav5 421cf40508 ESM::Dialogue Lua bindings: ref in DialogueInfos 8 months ago
trav5 52e1f32c88 Important change, https://godbolt.org/z/YjjaaqYsc 8 months ago
trav5 897e43ae1e Less complex "index" and "at" 8 months ago
trav5 b9358521cc Better return values 8 months ago
elsid 9d2f132aa7
Fix AnimState initialization
Remove redundant user defined constructor and destructor, make sure all members
are properly initialized including mTime (new float does not initialize the
float).
8 months ago
trav5 4449b66846 Operators and retting rid of 'records' 8 months ago
elsid 41d5d3bf09
Report osg stats for all frames showing loading screens 8 months ago
Andrei Kortunov 070327a259 Change SVG color in the editor 8 months ago
trav a0989c3481 Merge branch openmw:master into mwdialogue-bindings 8 months ago
elsid 5261f0c5cf
Modify PhysicsTaskScheduler::mCollisionObjects under lock
addCollisionObject is called from the main thread and removeCollisionObject is
usually called from the main thread and rarely from one of the physics worker
threads. This usually happens on cell unloading when object is already removed
from the scene but there is active simulation for it. Which possible because
it's a shared pointer.

There is getUserPointer function which only reads from the container but it's
called only when there is no active simulation so no lock is required.
8 months ago
elsid acf1e51a28
Call getUserPointer only for not nullptr collision object
nullptr can't have user pointer anyway so it saves a lookup in the
unordered_map.
8 months ago
Benjamin Y d62fb92b5b Fixed capitalization 8 months ago
Benjamin Y 3146015a00 Fixed Label Capitalization 8 months ago
psi29a ec8675ba6f Merge branch 'scalable_launcher' into 'master'
Improve launcher appearance

See merge request OpenMW/openmw!4051
8 months ago
psi29a 3980bb15cc Merge branch 'lua_controller_cursor' into 'master'
Add lua bindings for controller cursor mode

See merge request OpenMW/openmw!3623
8 months ago
trav 0986b103c5 Merge branch openmw:master into mwdialogue-bindings 8 months ago
elsid b4976354a5
Use correct frame and stats for lua worker
When a loading screen appears during the frame processing, the frame number
returned by the viewer is incremented and the stats reporting goes into the
wrong frame. Pass frame number and stats object from the main thread to avoid
this.
8 months ago
trav5 223e315fdb ESM::Dialogue Lua bindings quest change and docs 8 months ago
bwyunker 563f5b37a3 Merge branch 'master' into feature/pplLauncherSetting 8 months ago
psi29a 5f926bd129 Merge branch 'scalable_wizard' into 'master'
Use scalable icons for wizard

See merge request OpenMW/openmw!4050
8 months ago
psi29a a20f456a5c Merge branch 'mudcrabcanhazsoulgem' into 'master'
Allow running soulgem instructions on all actors (#7943)

Closes #7943

See merge request OpenMW/openmw!4048
8 months ago
psi29a a628c658a9 Merge branch 'lessgoofymaterialptr' into 'master'
Simplify material file pointer acrobatics

See merge request OpenMW/openmw!4049
8 months ago
Andrei Kortunov 5e8dc9cc03 Fix stub icon color 8 months ago
psi29a 6d0df9f686 Merge branch 'window_clamp' into 'master'
Do not take in account UI scaling factor twice

See merge request OpenMW/openmw!4046
8 months ago
Andrei Kortunov d97838def1 Improve launcher appearance 8 months ago
Andrei Kortunov 0873eb6e62 Use scalable icons for wizard 8 months ago
psi29a 02cdeb6252 Merge branch 'scalable_editor' into 'master'
Treat editor icons as scalable

See merge request OpenMW/openmw!4042
8 months ago
psi29a 9662586947 Merge branch 'editor-crash' into 'master'
Clamp widgets coordinates to avoid editor crashes

See merge request OpenMW/openmw!4043
8 months ago
Alexei Kotov 78eda530ac Simplify material file pointer acrobatics 8 months ago
Alexei Kotov 1c1df996be Allow running soulgem instructions on all actors (#7943) 8 months ago
Andrei Kortunov d10b0d503b Do not take in account UI scaling factor twice 8 months ago
psi29a 023c0f7a46 Merge branch 'vfs_normalized_path_6' into 'master'
Use normalized path for music related functions

See merge request OpenMW/openmw!4038
8 months ago
Andrei Kortunov 1bb48bcef7 Treat editor icons as scalable 8 months ago
Andrei Kortunov 1909ec121b Take in account faction reaction changes 9 months ago
Andrei Kortunov 2264d067fc Clamp widgets coordinates to avoid crashes 9 months ago
elsid a863899eb1
Use normalized path for SoundManager::streamMusic 9 months ago
trav5 277d830530 ESM::Dialogue Lua bindings 6 9 months ago
trav5 c1639e54b1 ESM::Dialogue Lua bindings 6 9 months ago