Commit Graph

21159 Commits (22142668c7192b0c1bf90293edfd279411ada0b6)

Author SHA1 Message Date
elsid 57bcb3e89d
Fix build
apps/openmw/mwlua/soundbindings.cpp:166:78: error: member access into incomplete type 'MWBase::World'
        const SoundStore* soundStore = &MWBase::Environment::get().getWorld()->getStore().get<ESM::Sound>();
                                                                             ^
apps/openmw/mwlua/../mwbase/environment.hpp:27:11: note: forward declaration of 'MWBase::World'
    class World;
          ^
1 year ago
Petr Mikheev 4211665ede Merge branch 'sounds' into 'master'
Lua bindings for sound functions

See merge request OpenMW/openmw!3247
1 year ago
Andrei Kortunov 88fe328de1 Add a safeguard to do not use uninitialized value 1 year ago
Andrei Kortunov 1555fd8b34 Add assert 1 year ago
psi29a 861b9b215c Merge branch 'moveinto' into 'master'
[Lua] Accept GameObject as destination in obj:moveInto.

See merge request OpenMW/openmw!3318
1 year ago
psi29a adb5774aa9 Merge branch 'optimize_get_blendmaps' into 'master'
Optimize land lookup on blendmaps sampling

See merge request OpenMW/openmw!3333
1 year ago
psi29a e21e3a0d46 Merge branch 'time' into 'master'
Pause/resume the game in Lua scripts

See merge request OpenMW/openmw!3317
1 year ago
psi29a 856262d4c0 Merge branch 'trainingwheels' into 'master'
Use the correct skills for training again

Closes #7536

See merge request OpenMW/openmw!3339
1 year ago
psi29a f9910290e0 Merge branch 'fix_hand_model' into 'master'
Fix #7506

Closes #7506

See merge request OpenMW/openmw!3335
1 year ago
Andrei Kortunov f053188247 Increase Lua API version 1 year ago
elsid 0d4833febb
Fix esmtool dump format 1 year ago
Alexei Kotov 9ec68e864c Load ESM4 idle animations correctly for every game 1 year ago
Alexei Kotov 5e5a25f901 Show BA2 files in the launcher 1 year ago
Andrei Kortunov d9c91ff3d9 Add bindings for ESM::Sound records 1 year ago
Petr Mikheev e2c5f4e766 Fix #7506 1 year ago
jvoisin 1489376951 Apply 1 suggestion(s) to 1 file(s) 1 year ago
Andrei Kortunov 7ce9fc25c5 Implement Lua bindings for sound system 1 year ago
Zackhasacat 3e8a1cce7c Load ESM4 Terminal objects, add lua bindings for them 1 year ago
jvoisin 4cf80cdac2 Merge branch 'fix_esm4_ai' into 'master'
Fix AI in ESM4 cells

See merge request OpenMW/openmw!3338
1 year ago
Evil Eye f7edf24356 Use std::stable_sort 1 year ago
Alexei Kotov 995de00f58 Merge branch 'fix_errormsg' into 'master'
Minor fix of error message in LuaManager::DealyedAction::apply

See merge request OpenMW/openmw!3334
1 year ago
Evil Eye 3141cf9e28 Use the correct skills for training again 1 year ago
jvoisin 7d9f5f676a Merge branch 'angrydraugrs' into 'master'
Evaluate the attack early for non-biped attacks with no hit key (#7524)

Closes #7524

See merge request OpenMW/openmw!3331
1 year ago
elsid eb77fd1813
Add height field to navigator in ESM4 cells 1 year ago
elsid 5abbc56bf2
Use proper cell size for ESM4 cells in CoordinateConverter 1 year ago
Petr Mikheev efe2dfc056 Minor fix of error message in LuaManager::DealyedAction::apply 1 year ago
elsid 07c1177b0d
Optimize land lookup on blendmaps sampling
Minimize number of getLand calls by grouping samples per cell.
1 year ago
elsid ce6ffba986
Move blendmap sampling logic into separate function 1 year ago
Alexei Kotov 04d54517b7 Always enable has water flag for TES3 exterior cells 1 year ago
Alexei Kotov f2a9ab52db Merge branch 'fix_crach_missing_content_file' into 'master'
Fix crash if content file is not found (was caused by !3249)

See merge request OpenMW/openmw!3323
1 year ago
Alexei Dobrohotov 9723912ee0 Evaluate the attack early for non-biped attacks with no hit key (#7524) 1 year ago
elsid 1c4b6a552f
Always enable fog of war in map window 1 year ago
Andrei Kortunov e749461d06 More Coverity fixes 1 year ago
Petr Mikheev b5f4cec725 Fix crash if content file is not found (was caused by !3249) 1 year ago
Petr Mikheev 87912065fd Rename MWLua::WorldView -> MWLua::ObjectLists 1 year ago
Petr Mikheev 6c4e1f4e8f Lua commands world.pause / world.unpause 1 year ago
Petr Mikheev 91c7585c8b Move some time-related function from World and WorldView to DateTimeManager 1 year ago
Petr Mikheev 1a53e9db5d [Lua] Accept GameObject as destination in obj:moveInto. 1 year ago
Petr Mikheev ac9facabf5 [Lua] Add alias types.Container.inventory = types.Container.content 1 year ago
psi29a 84e71f4977 Merge branch 'hashtagcornyphrase' into 'master'
Don't replace tags when dealing with console input

See merge request OpenMW/openmw!3291
1 year ago
psi29a 3151452e25 Merge branch 'pandorasbox' into 'master'
Launcher, content selector: support ESM4 files, allow using game files as addon files

See merge request OpenMW/openmw!3219
1 year ago
psi29a 7b4f7b7f07 Merge branch 'adjust_refnum' into 'master'
Adjust FormId in FormIdRefId and for items in containers when loading saves

See merge request OpenMW/openmw!3293
1 year ago
Evil Eye fb10014d6e Remove heal cooldown 1 year ago
Evil Eye ee92ae7e34 Simplify restore magicka priority 1 year ago
Evil Eye 7c82405c9f Tweak AI rating to reduce healing spam 1 year ago
elsid 8e7fe44514
Support terrain sample size greater than cell size 1 year ago
elsid 2a49919b53
Move esm3terrain to esmterrain 1 year ago
psi29a fadfffe22c Merge branch 'settings_values_map' into 'master'
Use settings values for Map settings (#6876)

See merge request OpenMW/openmw!3284
1 year ago
psi29a 0c5faf8fbb Merge branch 'save_apply_lua_actions' into 'master'
Apply delayed Lua actions before making a save

See merge request OpenMW/openmw!3294
1 year ago
psi29a ba4298f36d Merge branch 'refactor_esm4' into 'master'
Refactor components/esm4 to make it easier to load records to ESMStore

See merge request OpenMW/openmw!3301
1 year ago
psi29a 8d1a19a6f4 [#7358] Make MyGui 3.4.2 required for 0.49 1 year ago
Petr Mikheev 957880d515 Add to ESMStore the records that are needed to render ESM4 actors; cleanup usage of `records.hpp` 1 year ago
Petr Mikheev 5d54ca6fdb Refactor components/esm4 1 year ago
psi29a e6cffa5494 Merge branch '7248-Extend_console_search_with_regex_and_case_sensitivity' into 'master'
Resolve "Extend searching in the console with regex and toggleable case-sensitivity"

Closes #7248

See merge request OpenMW/openmw!3248
1 year ago
Chris Vigil 996f5fd7ad Resolve "Extend searching in the console with regex and toggleable case-sensitivity" 1 year ago
psi29a 2a4440e5b1 Merge branch 'theprojectileswereswords' into 'master'
Fix price enchantment price calculation to use the correct item count

Closes #7472

See merge request OpenMW/openmw!3227
1 year ago
psi29a c290754077 Revert "Merge branch 'loadSSEAlchemyTable' into 'master'"
This reverts merge request !3267
1 year ago
psi29a 4aaffa72e5 Merge branch 'more_coverity_fixes' into 'master'
More coverity fixes

See merge request OpenMW/openmw!3304
1 year ago
Andrei Kortunov b3a981e0fc Simplify strings construction 1 year ago
psi29a 5160fbc2a0 Merge branch 'fixedtimestamp' into 'master'
Move TimeStamp to ESM3 and remove sized reads

See merge request OpenMW/openmw!3295
1 year ago
psi29a b643e58e71 Merge branch 'esm4_cell_description' into 'master'
Always log something for loading and unloading ESM4 cell

See merge request OpenMW/openmw!3298
1 year ago
psi29a 354798fc7f Merge branch 'terrain_fixes' into 'master'
Do not copy QVectors twice

See merge request OpenMW/openmw!3308
1 year ago
psi29a 4aafcf5fdc Merge branch 'rm_path_to_next_path_point' into 'master'
Do not build path to next path point via navmesh

See merge request OpenMW/openmw!3306
1 year ago
elsid 22981af2ea
Make sure ESM4 cell description is not empty
To avoid logging empty cell descriptions on loading and unloading. Not all cells
have editor id but every has id and coordinates. Add world to distinguish cell
coordinates in different worldspaces.
1 year ago
Andrei Kortunov 0723b44a65 Do not copy QVectors twice 1 year ago
psi29a c86eecb2ea Merge branch 'movable_objects' into 'master'
Move objects instead of copying where possible

See merge request OpenMW/openmw!3289
1 year ago
psi29a 6ff2bb8aeb Merge branch 'more_esm4_fields' into 'master'
Support ESM4 record FullName, CellFlags, X, Y fields by esmtool

See merge request OpenMW/openmw!3299
1 year ago
psi29a 23671ced33 Merge branch 'fix_use_after_move' into 'master'
Fix use after move in InfoOrder::insertInfo

See merge request OpenMW/openmw!3296
1 year ago
elsid fbeb3ab03a
Do not build path to next path point via navmesh
To void a situation when next path point continuously changing making actor go
in circles.

This is unnecessary but also creates problems since pathgrid is used to build
path for AiWander.
1 year ago
Andrei Kortunov 35561450f1 Do not copy osg::ref_ptr when possible 1 year ago
Andrei Kortunov d3d7a663c6 Move some objects instead of copying 1 year ago
Andrei Kortunov dee9ebd05e Fix operations order 1 year ago
Andrei Kortunov b1c8a968ae Do not use invalid iterators 1 year ago
Andrei Kortunov deba5b4d47 Catch unhandled exceptions 1 year ago
Andrei Kortunov da06cd005e Init variables 1 year ago
Andrei Kortunov c50769c8c5 Catch filesystem exceptions 1 year ago
psi29a 1d207ed318 Merge branch 'test_load_deleted_dialinfo' into 'master'
Add test to ensure deleted DialInfos are removed

See merge request OpenMW/openmw!3297
1 year ago
psi29a 4990f786eb Merge branch 'fix_esm4_exterior_cell' into 'master'
Treat ESM4 exterior cells as exterior

See merge request OpenMW/openmw!3282
1 year ago
psi29a b2f669ca48 Merge branch 'fix_async_load' into 'master'
Fix crash related to async content loading (#7508)

Closes #7508

See merge request OpenMW/openmw!3290
1 year ago
Petr Mikheev 3814830e9f Fix build (missing include) 1 year ago
Petr Mikheev 0487bf95d1 Merge branch 'coverity49' into 'master'
Fix some Coverity warnings

See merge request OpenMW/openmw!3286
1 year ago
Petr Mikheev e077ca5aa3 Merge branch 'clean_includes_4' into 'master'
Cleanup includes

See merge request OpenMW/openmw!3288
1 year ago
Petr Mikheev abde92e207 Merge branch 'active-spells-rework' into 'master'
Lua: active spell params and active spell effects

See merge request OpenMW/openmw!3179
1 year ago
Mads Buvik Sandvei c18a7801ed Lua: active spell params and active spell effects 1 year ago
Petr Mikheev 5702cb4b30 Merge branch 'effective-effect-indexing' into 'master'
Lua: String overload for effects store index.

See merge request OpenMW/openmw!3285
1 year ago
Mads Buvik Sandvei edb7081ea6 Lua: String overload for effects store index. 1 year ago
elsid 798f3cc385
Support ESM4 record FullName, CellFlags, X, Y fields by esmtool 1 year ago
elsid 385dab3df3
Cache cell description
It should not change over time and it's relatively small enough to trade some
CPU time for some memory.
1 year ago
elsid d59a993351
Treat ESM4 exterior cells as exterior
Prevent adding exterior cells to WorldModel::mInteriors. Otherwise CellStore
might be created twice because it's not present in mExteriors but present in
mCells. This happens on teleport to a cell using its name (e.g. --start
"AnvilMainGate" flag).
1 year ago
elsid 662991dda9
Add test to ensure deleted DialInfos are removed 1 year ago
elsid 66c5944ecf
Fix use after move in InfoOrder::insertInfo
When it->second.mPosition->mPrev != value.mPrev value is first moved into
*mPosition and then used to get mPrev. Since mPrev is RefId and it's copy-only
type there is no real problem but coverity complains about it.

Also enforce contract of insertInfo to support move-only types by adding a test
for a value type with deleted copy constructors.
1 year ago
Evil Eye 79b3855c5b Move TimeStamp to ESM3 and remove sized reads 1 year ago
Petr Mikheev f344c26465 Apply delayed Lua actions before making a save 1 year ago
Petr Mikheev 9a9f9d7081 Adjust FormId in FormIdRefId and for items in containers when loading saves 1 year ago
Petr Mikheev 2b601eea6d Fix crash related to async content loading (#7508) 1 year ago
Evil Eye c47489ef6e Don't replace tags when dealing with console input 1 year ago
elsid dd54857610
Add missing array include 1 year ago
elsid c9c32d9a0d
Cleanup includes 1 year ago
Andrei Kortunov d8ec78d732 Fix some Coverity warnings 1 year ago
psi29a 81deb3796b Merge branch 'loadSSEAlchemyTable' into 'master'
Load SSE alchemy table

See merge request OpenMW/openmw!3267
1 year ago
alekulyn d2896945e8 Load SSE alchemy table 1 year ago
psi29a a6d6e16d48 Merge branch 'readsize' into 'master'
Disallow implicitly sized reads of ESM structs

See merge request OpenMW/openmw!3100
1 year ago
elsid 9acb93ab29
Use settings values for Map settings 1 year ago
psi29a e76ce6b696 Merge branch 'fix_find_path' into 'master'
Remove stepping from findSmoothPath and other tweaks (#7241 , #7485)

Closes #7485 and #7241

See merge request OpenMW/openmw!3264
1 year ago
psi29a 3e16ef7445 Merge branch 'esm4_achr' into 'master'
Load ESM4 actors (no rendering yet)

See merge request OpenMW/openmw!3278
1 year ago
psi29a f5677aa352 Merge branch 'settings_values_input' into 'master'
Use settings values for Input settings (#6876)

See merge request OpenMW/openmw!3265
1 year ago
psi29a e073eab05e Merge branch 'more_evade_directions' into 'master'
Use more evade directions and filter by supporting animation (#7450)

Closes #7450

See merge request OpenMW/openmw!3210
1 year ago
psi29a 3032b340a2 Merge branch 'teleporting' into 'master'
A few Lua changes related to teleporting

See merge request OpenMW/openmw!3246
1 year ago
psi29a cf8af70764 Merge branch 'fix_remove_from_inventory' into 'master'
[Lua] Fix removing from inventory

See merge request OpenMW/openmw!3229
1 year ago
Petr Mikheev bc1d412aaa Merge branch 'fix-7503' into 'master'
[#7503]: pass full count of coins to createGold() in moveToCell()

See merge request OpenMW/openmw!3279
1 year ago
Petr Mikheev 9b511fdf7a Load ESM4 actors 1 year ago
Petr Mikheev f99582e671 [Lua] Fix removing from inventory 1 year ago
psi29a 488657d9b4 Merge branch 'refnum-for-items-in-spellcast' into 'master'
Use refnum instead of slot for items during spellcast

Closes #4508

See merge request OpenMW/openmw!3244
1 year ago
Mads Buvik Sandvei 364f2a98e9 Use refnum instead of slot for items during spellcast 1 year ago
psi29a 94d8c50df2 Merge branch 'lua_activation' into 'master'
Lua scripts can handle activation of mwscripted objects

See merge request OpenMW/openmw!3263
1 year ago
jvoisin 090f823c17 Fix a coverity warning 1 year ago
Mads Buvik Sandvei 1162323e96 Do not redundantly take and set count in moveToCell(). moveToCell() should always be moving the full stack. 1 year ago
Mads Buvik Sandvei 8867e76fd7 pass full count of coins to createGold() in moveToCell() 1 year ago
psi29a b9460afdfd Merge branch 'save-game-string-view' into 'master'
Refactor saveGame to use string_view

See merge request OpenMW/openmw!3271
1 year ago
psi29a baf7ef2525 Merge branch 'copying' into 'master'
Avoid unnecessary LiveCellRef copying; Fix potential use-after-free in WorldModel

See merge request OpenMW/openmw!3276
1 year ago
AnyOldName3 6246b479ea Merge branch 'async_content_load' into 'master'
Speedup loading - load content files during logo video playing

See merge request OpenMW/openmw!3249
1 year ago
Petr Mikheev 4d004e4730 Avoid unnecessary LiveCellRef copying in a couple of places; change initialization order in WorldModel; 1 year ago
Christian Bouwense 4b5d64f9e5 inline asUTF8() instead of constructing a whole new string_view 1 year ago
psi29a f9cb752b25 Merge branch 'resistanceisnotfutile' into 'master'
Resist failed normal weapon hits (bug #7284)

Closes #7284

See merge request OpenMW/openmw!3220
1 year ago
psi29a 7ead12e103 Merge branch 'dropit' into 'master'
Drop empty stacks that aren't overriding anything

See merge request OpenMW/openmw!3268
1 year ago
psi29a 09e1ff9a4b Merge branch 'fix_world_model' into 'master'
Fix WorldModel (#7474)

Closes #7474

See merge request OpenMW/openmw!3270
1 year ago
psi29a b68ca259ae remove unused variables and commented out code 1 year ago
Christian Bouwense 7d0caf9eec refactor saveGame to use string_view instead of a const standard string reference 1 year ago
elsid 8ceb79caf5
Load present cell store when requested 1 year ago
elsid 1a7b4283e7
Avoid duplicated emplace for interior cell store 1 year ago
Evil Eye c80574299d Drop non-carriable lights and empty stacks that aren't overriding anything 1 year ago
Petr Mikheev 59d17d3eb6 Fix #7491 1 year ago
elsid 6c18723bc7
Use settings values for Input settings 1 year ago
elsid 5a27ccacb7
Pass const float* to vanityRotateCamera 1 year ago
elsid e00eb50587
Remove stepping from findSmoothPath
This is not used anyway. There are features like smooth movement which remove
all redundant points.

Use single findStraightPath call instead of multiple.
1 year ago
elsid b4868c6094
Filter evade directions by supported animations
To avoid trying those which will not lead to any actor movement due to absent
animation.
1 year ago
elsid 80ae8ce116
Cache supported animations 1 year ago
elsid 579e533621
Add more evade directions and order them to make a circle 1 year ago
elsid 53a129a762
Include pathgrid to all AI packages paths 1 year ago
Petr Mikheev 2c212b18e4 Remove World::activate since all activation now goes trough LuaManager 1 year ago
Petr Mikheev c5871a5a7a Allow to handle activation in Lua even for mwscripted objects 1 year ago
Petr Mikheev 9105a073fc Handle ESM4::Rec_Deleted and ESM4::Rec_Disabled flags. 1 year ago
psi29a 4973230b84 Merge branch 'settings_values_hud' into 'master'
Use settings values for HUD settings (#6876)

See merge request OpenMW/openmw!3250
1 year ago
psi29a 9410eed9e5 Merge branch 'bump-cmake-version' into 'master'
Bump required CMake version to 3.16

See merge request OpenMW/openmw!3242
1 year ago
Evil Eye 45ba05c0ed Disallow implicitly sized reads of ESM structs 1 year ago
psi29a ec9b4c4563 Merge branch 'caius4friends' into 'master'
Fix dialogue insertion again

See merge request OpenMW/openmw!3212
1 year ago
psi29a 03dbe1c9f3 Merge branch 'stringrefidskills' into 'master'
Assign StringRefIds to skills

See merge request OpenMW/openmw!3146
1 year ago
Petr Mikheev 38f409e687 Fix #7446: Incorrect height after teleporting from one worldspace to another 1 year ago
AnyOldName3 34fcfb63cf Eliminate redundant version checks 1 year ago
Petr Mikheev 1bfe59e2fb Load content files during playing logo video 1 year ago
elsid fac1927f5e
Use settings values for HUD settings 1 year ago
Petr Mikheev f2edf05a55 Move camera update after teleporting from worldimp to camera.lua 1 year ago
Petr Mikheev 4016e8b383 Lua engine handler onTeleported 1 year ago
Petr Mikheev 086fdb1f37 Run onNewGame handler in LuaManager::synchronizedUpdate 1 year ago
psi29a baa67893b6 Merge branch 'settings_values_gui' into 'master'
Use settings values for GUI settings (#6876)

See merge request OpenMW/openmw!3238
1 year ago
psi29a 5a31320d8d Merge branch 'preserve-refnum-on-drop' into 'master'
Preserve refnum when dropping items from inventory to ground.

Closes #6148

See merge request OpenMW/openmw!3207
1 year ago
psi29a 85822eca45 Merge branch 'darkmagic' into 'master'
Implement the NegativeLight flag

Closes #7477

See merge request OpenMW/openmw!3240
1 year ago
Alexei Kotov 7e1e43f9c6 Allow GMSTs with empty EDID 1 year ago
Mads Buvik Sandvei 61f1f4a013 signed/unsigned comparison warning. 1 year ago
Evil Eye 7573004efc Implement the NegativeLight flag 1 year ago
Mads Buvik Sandvei fe0b640f85 Use copyItem() when not moving full stack. 1 year ago
Mads Buvik Sandvei b8a9fcad68 fixes based on comments by ptmikheev 1 year ago
Mads Buvik Sandvei e22eec0585 optimize moveItem() by unsetting refnum instead of calling unstackItem. 1 year ago
Petr Mikheev b583aad14a Fix bug in LuaManager::reloadAllScripts 1 year ago
elsid d113f0fc44
Use settings values for GUI settings 1 year ago
psi29a 98bb9fc125 Merge branch 'deserializedeez' into 'master'
Make RefId::deserializeText return an empty RefId if no pre-existing StringRefId can be found

See merge request OpenMW/openmw!3226
1 year ago
psi29a f4295cf67a Merge branch 'fix_getall' into 'master'
Fix argument validation in Lua command `cell:getAll`

See merge request OpenMW/openmw!3195
1 year ago
psi29a b383efabf5 Merge branch 'urinvalid' into 'master'
Don't allow saves with an invalid last generated RefNum to load

Closes #7134

See merge request OpenMW/openmw!3233
1 year ago
psi29a abb71eeb53 Merge branch 'plannedobsolescence' into 'master'
Allow compilation with MYGUI_DONT_USE_OBSOLETE

See merge request OpenMW/openmw!3232
1 year ago
Alexei Kotov 80b7dec571 Prevent object paging from leaking Vvardenfell into other exteriors 1 year ago
Mads Buvik Sandvei 64e55b37ec Clang'd 1 year ago
Mads Buvik Sandvei 6e03d710ba Remove ItemModel::copyItem(), it is obsolete. 1 year ago
Evil Eye 44ab0ff8ef Don't allow saves with an invalid last generated RefNum to load 1 year ago
Evil Eye a0127dd7e4 Allow compilation with MYGUI_DONT_USE_OBSOLETE 1 year ago
Evil Eye cd8f2355c0 Only allow StringRefId for Skill ids 1 year ago
Evil Eye b082afd5b0 Fix price enchantment price calculation to use the correct item count 1 year ago
Evil Eye f7be94aa21 Address feedback 1 year ago
Evil Eye 967b5d205b Use StringRefId for skills 1 year ago
Evil Eye ac9378fa08 Replace Skill::mIndex with Skill::refIdToIndex 1 year ago
Evil Eye c59032fd66 Make RefId::deserializeText return an empty RefId if no pre-existing StringRefId can be found 1 year ago
Alexei Dobrohotov 39c84c84da Cap global map cell size (bug #6222) 1 year ago
Petr Mikheev 95bce836ee Add non-carriable lights to nearby.items 1 year ago
Petr Mikheev e96864a79c Fix argument validation in Lua command `cell:getAll` 1 year ago
Evil Eye 974b4739fa Add a test for three way merges 1 year ago
Alexei Kotov 89c18d85de Merge branch 'settings_values_groundcover' into 'master'
Use settings values for Groundcover settings (#6876)

See merge request OpenMW/openmw!3204
1 year ago
Alexei Kotov 4bbbfe74b3 Merge branch 'finishdrag' into 'master'
Finish draganddrop before startdrag

See merge request OpenMW/openmw!3186
1 year ago
Kindi 00e5f31242 Finish draganddrop before startdrag 1 year ago
psi29a 429e911da1 Merge branch 'lua_journal' into 'master'
Add Lua bindings for journal (second iteration of !3133)

See merge request OpenMW/openmw!3189
2 years ago
Alexei Dobrohotov 411c71062c Resist failed normal weapon hits (bug #7284) 2 years ago
Alexei Dobrohotov d589b46f96 Launcher, content selector: support ESM4 files
Cell name loader ignores ESM4 files
2 years ago
Alexei Dobrohotov 2de8c6b3c0 Don't discard collision for the entire tree if BSXFlags marker flag is set 2 years ago
unknown 09147934fb Adjust unit tests 2 years ago
Mads Buvik Sandvei 0c37a64a84 Remove resolved TODO 2 years ago
psi29a a755fa0f34 Merge branch 'cleanup_includes' into 'master'
Cleanup includes

See merge request OpenMW/openmw!3203
2 years ago
Alexei Dobrohotov 3b85f9f8cf Autocomplete ESM4::Cell editor IDs 2 years ago
Mads Buvik Sandvei 8c3c5238d7 Preserve refnum when dropping items from inventory to ground. 2 years ago
psi29a fbe6a398f8 Merge branch 'unstack-refnum' into 'master'
Generate new refnum for the new stack created when unstacking.

See merge request OpenMW/openmw!3206
2 years ago
Mads Buvik Sandvei 0f608f388e Generate new refnum for the new stack created when unstacking. 2 years ago
psi29a 29ffc2840e Merge branch 'fix_7448' into 'master'
Fix #7448 (onConsume don't work after loading a save if inventory wasn't accessed from Lua)

Closes #7448

See merge request OpenMW/openmw!3194
2 years ago
Petr Mikheev a09fb8d8f8 Rework Lua bindings for journal 2 years ago
Tobias Tribble c792582376 Add Lua bindings for journal 2 years ago
elsid 0851f0705d
Use settings values for Groundcover settings 2 years ago
elsid f6fce5ee15
Cleanup includes 2 years ago
psi29a 63e9a63c67 Merge branch 'i-can-see-nearly-now-the-grass-is-gone' into 'master'
Maybe compute an accurate near and far plane using primitives for groundcover

See merge request OpenMW/openmw!2960
2 years ago
psi29a cab47d0a2a Merge branch 'settings_values_general' into 'master'
Use settings values for General settings (#6876)

See merge request OpenMW/openmw!3198
2 years ago
psi29a aa820be986 Merge branch 'cell_for_drafts' into 'master'
Add special cell for objects created via Lua scripts and not yet added into the world

Closes #7383

See merge request OpenMW/openmw!3193
2 years ago
Petr Mikheev fb7ba40385 Merge branch 'lua-bb-once-and-for-all' into 'master'
Lua - Fix BB once and for all

See merge request OpenMW/openmw!3143
2 years ago
elsid ebb8fdc698
Use settings values for General settings 2 years ago
glassmancody.info a659d2eaeb lua - fix bounding box once and for all 2 years ago
Petr Mikheev d830ae37b1 Add special cell for objects created via Lua scripts and not yet added into the world 2 years ago
elsid a6dbd819a1
Fix writing IndexRefId to ESM3
Use correct enum value.
2 years ago
psi29a 8a33edd64a Merge branch 'cleanup_includes' into 'master'
Cleanup includes

See merge request OpenMW/openmw!3191
2 years ago
psi29a 050fc20379 Merge branch 'settings_values_game' into 'master'
Use settings values for Game settings (#6876)

See merge request OpenMW/openmw!3188
2 years ago
Petr Mikheev e3fa3a3712 Fix 7448 (onConsume don't work after loading a save if inventory wasn't accessed from Lua) 2 years ago
psi29a 6601b0cb15 Merge branch 'fastandloose' into 'master'
Drop support for --fs-strict

Closes #7394

See merge request OpenMW/openmw!3093
2 years ago
psi29a b1e00b59f2 Merge branch 'lua_mwscript' into 'master'
Change MWScript Lua bindings (#7142)

See merge request OpenMW/openmw!2881
2 years ago
elsid 05a42a1816
Cleanup includes 2 years ago
psi29a 023e8f72cd Merge branch 'master' into 'master'
pass time on OnTrainingFinished callback instead of before the fadeScreenIn

See merge request OpenMW/openmw!3181
2 years ago
Dave Corley dfa4f5da8a pass time on OnTrainingFinished callback instead of before the fadeScreenIn 2 years ago
elsid 6e8dcc16c6
Use settings values for Game settings 2 years ago
elsid fb5e5335aa
Initialize mTimerDisposeSummonsCorpses in class definition 2 years ago
elsid 86e5b94ef6
Convert setting value int to CollisionShapeType on initialization 2 years ago
elsid 47978dcb71
Remove unused getActorsProcessingRange function 2 years ago
Petr Mikheev 866f67ed19 Change MWScript Lua bindings (#7142) 2 years ago
psi29a 2a271cdecc Merge branch 'fix_7439' into 'master'
Fix #7439: world.players and nearby.players returns "0_-1" instead of "1_-1"

Closes #7439

See merge request OpenMW/openmw!3183
2 years ago
psi29a 2b11c2cf36 Merge branch 'fix-exterior-regression' into 'master'
Fixes #7437

Closes #7388 and #7437

See merge request OpenMW/openmw!3187
2 years ago
florent.teppe 950cc7be83 gets the right worldspace when calculating exterior positions. 2 years ago
Petr Mikheev 39fc832fde Fix #7441: Objects that are removed and disabled in the same frame via lua remain in the world but become uninteractable 2 years ago
psi29a fc5d73648a Merge branch 'schooled' into 'master'
Merge magic schools into skills

See merge request OpenMW/openmw!3148
2 years ago
Kindi a176e0f9ea Partial ammo equipping 2 years ago
Petr Mikheev 8ca7770d56 Fix #7439: world.players and nearby.players returns "0_-1" instead of "1_-1" 2 years ago
Evil Eye 73c2387708 Merge schools into skills 2 years ago
Evil Eye 9947a41c37 Combine magic school properties into structs 2 years ago
psi29a 31efad1dd0 Merge branch 'fix_model_path' into 'master'
Fix #7403: incorrect model path for records created by Lua scripts

Closes #7403

See merge request OpenMW/openmw!3151
2 years ago
psi29a dd0d66513d Merge branch 'clickbait' into 'master'
Mostly dehardcode attributes

See merge request OpenMW/openmw!3164
2 years ago
psi29a 0ce98ccc0a Merge branch 'idontwannatalkaboutit' into 'master'
Return the actual topic the info came from

See merge request OpenMW/openmw!3176
2 years ago
Evil Eye c5344b7069 Return the actual topic the info came from 2 years ago
Andrei Kortunov aad7c5066d Do not lose existing callbacks for sky node 2 years ago
Evil Eye 9663f4f473 Address jvoisin's remarks 2 years ago
psi29a 47b1247fa2 Merge branch 'l10n' into 'master'
Make configurable whether GMST strings have priority over built-in interface messages

See merge request OpenMW/openmw!3134
2 years ago
psi29a bb7eb0f527 Merge branch 'chargingup' into 'master'
Autocalculate enchantment costs and charges

Closes #7428

See merge request OpenMW/openmw!3152
2 years ago
psi29a c4b62c8380 Merge branch 'objlist_serialize' into 'master'
Support LObjectList, GObjectList in Lua serialization

See merge request OpenMW/openmw!3153
2 years ago
Evil Eye 6e5b423d04 Fix saving skill increases 2 years ago
psi29a a59f22fd30 Merge branch 'esm4_fix' into 'master'
Add a safeguard to load only supported records

Closes #7406

See merge request OpenMW/openmw!3158
2 years ago
psi29a abdd4f5207 Merge branch 'lua_potion_magic' into 'master'
Lua: Add effects to potionRecord, ingredientRecord

See merge request OpenMW/openmw!3160
2 years ago
Zackhasacat 611a6429a9 Lua: Add effects to potionRecord, ingredientRecord 2 years ago
psi29a 68415a952e Merge branch 'lua_quat' into 'master'
Breaking change in Lua API: change obj.rotation from Euler angles to Quaternion

See merge request OpenMW/openmw!3123
2 years ago
Evil Eye abcebd49d2 Allow for more than 8 attributes 2 years ago
Petr Mikheev 57e028fcc9 Merge branch 'container_resolve_lua' into 'master'
Lua: Add functions to resolve inventories

See merge request OpenMW/openmw!3157
2 years ago
Zackhasacat f4980c178d Lua: Add functions to resolve inventories 2 years ago
psi29a bbfd906f08 Merge branch 'lua_effect_icon' into 'master'
Add icon path to core.MagicEffect

See merge request OpenMW/openmw!3154
2 years ago
Zackhasacat 835a67d876 Add icon path to core.MagicEffect 2 years ago
Mads Buvik Sandvei 5c32b32c58 Lua: ESM::Enchantment bindings 2 years ago
Evil Eye 8edbb9f005 Add attributes to the level up dialog dynamically 2 years ago
Evil Eye 9a4bfed852 Dynamically build the attribute list in the review dialog 2 years ago
Evil Eye 75f0ad4e95 Dynamically build the attribute selection dialog 2 years ago
Evil Eye ea2cedb5ea Build the attribute list in the stats window dynamically 2 years ago
Andrei Kortunov 04be1526b2 Add a safeguard to load only supported records 2 years ago
Evil Eye bac6777fae Reduce the number of magic numbers 2 years ago
Petr Mikheev 2f16a8d27c Fix incorrect model part for records created by Lua scripts 2 years ago
Petr Mikheev 8e59c6b67b Support LObjectList, GObjectList in Lua serialization 2 years ago
Evil Eye e9bcad4e05 Autocalculate enchantment costs and charges 2 years ago
Petr Mikheev 9d15629ae2 [Lua] Add `nearby.players` and `world.players` 2 years ago
Petr Mikheev 0b9bcf58e2 Merge branch 'active-effect-modifiers' into 'master'
Lua bindings for modifying active effects/spells

See merge request OpenMW/openmw!3128
2 years ago
Mads Buvik Sandvei 698316fd2e Lua bindings for modifying active effects/spells 2 years ago
psi29a 0755954b78 Merge branch 'openmwcs-pref-size' into 'master'
Add white space and larger default opening size of OpenMW-CS preferences

See merge request OpenMW/openmw!3145
2 years ago
Matjaž Lamut d12426f1b0 Add white space and larger default opening size of OpenMW-CS preferences window. Improves first-impression and overall readability. 2 years ago
Bret Curtis 73c5909387 small revert, "It is copying a texture, it is not a default initialized one. The source texture may or may not want GL_CLAMP_TO_EDGE." 2 years ago
Bret Curtis ff6944701f Be more explicit about use of CLAMP_TO_EDGE instead of defaulting to GL CLAMP 2 years ago
psi29a 44c3c40058 Merge branch 'lua-world-to-viewport' into 'master'
[Lua] Add world to viewport function to camera

See merge request OpenMW/openmw!3139
2 years ago
elsid 04215ca9ec
Use settings values for Fog settings 2 years ago
psi29a 1630e04d1b Merge branch 'fix_7423' into 'master'
Fix #7422, #7423, #7424

Closes #7424, #7423, and #7422

See merge request OpenMW/openmw!3136
2 years ago
Petr Mikheev 8da6fd1095 Fix #7424 2 years ago
psi29a 3a707d8b98 Merge branch 'herebedreugh' into 'master'
Spawn creatures in newly generated exteriors

Closes #7413

See merge request OpenMW/openmw!3126
2 years ago
psi29a d5f0f44afb Merge branch 'raise_lower_rank_refactor' into 'master'
Refactor raiserank and lowerrank

See merge request OpenMW/openmw!3135
2 years ago
psi29a 807893eb45 Merge branch 'clickbait' into 'master'
Mostly dehardcode skills

See merge request OpenMW/openmw!3112
2 years ago
Zackhasacat 3e52971a13 Add duration to core.MagicEffectWithParams 2 years ago
glassmancody.info c27904aa92 lua - add world to viewport function to camera 2 years ago
Petr Mikheev ab7eebb356 Fix #7423 (too strict fallback validation) 2 years ago
Kindi dccf6a2b8c Refactor raiserank and lowerrank 2 years ago
psi29a 428642d2cf Merge branch 'fix_7420' into 'master'
Fix #7420 (Local scripts on items cause the game to crash when activated)

Closes #7420

See merge request OpenMW/openmw!3131
2 years ago
Evil Eye f02dd0ef03 Implement onNewExterior to spawn fish in generated exteriors 2 years ago
Petr Mikheev 718d5e4a71 Add setting "gmst overrides l10n" 2 years ago
psi29a 825d862f52 Merge branch 'lua_lock_trap' into 'master'
Allow Lua to access lock and trap data for doors and containers

See merge request OpenMW/openmw!2985
2 years ago
Zackhasacat c108989b26 Allow Lua to access lock and trap data for doors and containers 2 years ago
psi29a d4e1f9c5de Merge branch 'fallbacks2' into 'master'
Validate fallbacks in openmw.cfg with a whitelist and add them to GMST store

See merge request OpenMW/openmw!3129
2 years ago
Kindi 43e92fa1c9 Add type prop for types.Creature 2 years ago
Petr Mikheev 790ddcf32e Fix #7420 (Local scripts on items cause the game to crash when activated) 2 years ago
Petr Mikheev 256db78c6c [Lua] core.getGMST returns `nil` if there is no such game setting 2 years ago
Petr Mikheev 96399b3d23 Add fallbacks to Store<ESM::GameSetting> 2 years ago
Petr Mikheev be45b8199e Whitelist and type validation for fallbacks 2 years ago
Petr Mikheev e35bf97603 Merge branch 'awildmoonappeared' into 'master'
Expose levelled creatures to Lua

See merge request OpenMW/openmw!3127
2 years ago
Petr Mikheev 3b43cc2aea Lua: change obj.rotation from Euler angles to Quaternion 2 years ago
Evil Eye 9772845f7b Address feedback 2 years ago
psi29a 1d5b73f20a Merge branch 'youonlyneedtounlockonce' into 'master'
Don't unlock unlocked objects now that unlock is no longer idempotent

See merge request OpenMW/openmw!3125
2 years ago
Evil Eye 66d9d7e585 Expose levelled creatures to Lua 2 years ago
Evil Eye 24c1909d52 Don't unlock unlocked objects now that unlock is no longer idempotent 2 years ago
Evil Eye 3c588900dd Apply elsid's suggestion and revert 3a888ef543 2 years ago
elsid e6e6b65ab3
Remove redundant manipulators 2 years ago
psi29a 724d29aa63 Merge branch 'add_getBounty_to_types_Player' into 'master'
Lua: Add getCrimeLevel() to types.Player

See merge request OpenMW/openmw!3118
2 years ago