Zackhasacat
abd2c5326f
Merge branch 'makealchemygreatagain' into 'master'
...
Allow choosing different apparatus in alchemy window
Closes #7665
See merge request OpenMW/openmw!3580
2023-11-20 18:08:06 +00:00
kuyondo
9ebbdc3a22
expell->expel
2023-11-20 15:59:11 +08:00
Zackhasacat
6fb6c7a32f
Merge branch 'misisng_plugins' into 'master'
...
Display missing plugins upon savegame loading
Closes #7608
See merge request OpenMW/openmw!3594
2023-11-20 00:19:43 +00:00
kuyondo
a96c038f19
prefer previous tools over best tools
2023-11-19 19:10:12 +08:00
Evil Eye
8ca6f1ad49
Use destination cell
2023-11-19 10:53:50 +01:00
Evil Eye
1b820b980a
Don't try to escort to nowhere
2023-11-19 10:25:20 +01:00
elsid
94b085af9e
Add Navigator and Lua API function to find nearest position on navmesh
2023-11-18 23:54:37 +01:00
elsid
1322f7b75b
Deduplicate height field data definition
2023-11-18 22:38:00 +01:00
elsid
9c526b6639
Add Navigator test for zero distance path
2023-11-18 22:35:10 +01:00
Evil Eye
5a1a54b959
Merge branch 'lua_class_data' into 'master'
...
Add class records to lua
See merge request OpenMW/openmw!3515
2023-11-18 20:55:45 +00:00
Andrei Kortunov
9bbb89e268
Allow to set default focus for interactive messagebox
2023-11-18 18:00:40 +04:00
Andrei Kortunov
ff418f16f2
Do not wait one frame for blocking messageboxes
2023-11-18 16:47:06 +04:00
Andrei Kortunov
f88b99201a
Display missing plugins upon savegame loading (feature 7608)
2023-11-18 14:12:18 +04:00
Evil Eye
63875a7954
Merge branch 'concepts' into 'master'
...
Use concepts for some argument types
See merge request OpenMW/openmw!3598
2023-11-18 09:59:39 +00:00
jvoisin
2150e4cae6
Merge branch 'warningfixes' into 'master'
...
Fix warnings
See merge request OpenMW/openmw!3587
2023-11-17 23:41:47 +00:00
Zackhasacat
3e3a39539c
Reorder, remove comment
2023-11-17 14:51:19 -06:00
Zackhasacat
13deb0fba8
Merge branch 'imod' into 'master'
...
Fill out item modification records and add them to the scene
See merge request OpenMW/openmw!3540
2023-11-17 18:22:17 +00:00
kuyondo
d2d99a4348
give gcc satisfaction
2023-11-18 01:04:31 +08:00
kuyondo
f3ad16620a
refactor and maintenance alchemywindow and alchemy
2023-11-18 00:41:44 +08:00
kuyondo
60711cedb0
use std::distance
2023-11-17 23:20:20 +08:00
Kindi
6d0dceae34
Allow choosing different apparatus in alchemy window
2023-11-17 23:16:09 +08:00
Andrei Kortunov
99939022bd
Remove redundant code
2023-11-17 11:18:59 +04:00
Andrei Kortunov
fa8f92b5ab
Do not keep outdated references in the UserData
2023-11-17 11:13:13 +04:00
Andrei Kortunov
1440bcaf2a
Fix HUD cleanup from main menu
2023-11-17 10:38:58 +04:00
elsid
b17afc4641
Use concepts for some argument types
2023-11-16 22:22:46 +01:00
elsid
fb0b95a2dd
Define editor settings as typed struct members
2023-11-16 22:14:58 +01:00
elsid
755fef62f7
Mark State copy constructor and assignment operators as delete
2023-11-16 22:05:05 +01:00
elsid
e07d8f3066
Add separate setting type for subcategory
2023-11-16 22:05:05 +01:00
elsid
fb6e429dad
Remove "separators" from cs settings
...
Those are just empty widgets which do not make significant visible difference in
the UI.
2023-11-16 22:05:05 +01:00
elsid
335dbffe6e
Avoid std::string to QString conversion for label
2023-11-16 22:05:05 +01:00
Zackhasacat
35da9578ca
Merge gitlab.com:openmw/openmw into lua_class_data
2023-11-16 11:33:44 -06:00
Zackhasacat
bc63737488
Update Formatting
2023-11-16 11:20:08 -06:00
uramer
6484e2e411
Merge branch 'serices_are_readonly' into 'master'
...
Make actor.providedServices read only
See merge request OpenMW/openmw!3570
2023-11-16 15:23:09 +00:00
Zackhasacat
cbfcd21d98
Make actor.providedServices read only
2023-11-16 15:23:09 +00:00
Andrei Kortunov
ba71eefbae
Fix GCC warnings
2023-11-16 18:53:46 +04:00
Zackhasacat
16f178b80e
Remove character
2023-11-16 07:43:45 -06:00
Zackhasacat
10030a55e0
Merge branch 'master' of gitlab.com:openmw/openmw into lua_class_data
2023-11-16 07:37:03 -06:00
Zackhasacat
a2b47f44d2
Fix misspelling
2023-11-16 07:36:40 -06:00
Alexei Kotov
d495e5af62
Merge branch 'missing_settings_values' into 'master'
...
Use settings values for missed cases (#6876 )
See merge request OpenMW/openmw!3589
2023-11-16 11:54:04 +00:00
jvoisin
edd69885ce
Merge branch 'fixpartialequipagain' into 'master'
...
Properly reset variable for partial equipping
See merge request OpenMW/openmw!3586
2023-11-15 22:39:34 +00:00
jvoisin
9b1cb99b1a
Merge branch 'ncroot' into 'master'
...
Improve BulletNifLoader handling of extra data
See merge request OpenMW/openmw!3590
2023-11-15 22:37:57 +00:00
jvoisin
710b560f91
Merge branch 'dont_reset_luminance' into 'master'
...
consistent average scene luminance (#7679 )
See merge request OpenMW/openmw!3579
2023-11-14 10:56:26 +00:00
Alexei Kotov
c7d5ea9fbf
Improve BulletNifLoader handling of extra data
...
Only handle extra data for the root node(s)
Properly handle MRK flag editor marker filtering
Fix BSXFlags test
2023-11-14 01:30:36 +03:00
elsid
1fa5d2ca98
Use settings values for GUI tags
2023-11-12 16:33:48 +01:00
elsid
8f27178a0b
Use settings values for navigator in the launcher
2023-11-12 16:33:44 +01:00
elsid
01316f15b8
Avoid redundant conversion to string
2023-11-12 16:33:38 +01:00
Andrei Kortunov
155b07f341
Do not update WindowManager by world data when there is no game
2023-11-12 12:23:29 +04:00
kuyondo
a2de470804
minor partial equipping fix
2023-11-12 12:22:35 +08:00
uramer
fe68ff7807
Merge branch 'controller_can_tab' into 'master'
...
Allow Shoulder Buttons on Controller to act as Tab and Shift Tab in menus
Closes #7554
See merge request OpenMW/openmw!3397
2023-11-11 16:30:16 +00:00
Zackhasacat
96178a2605
Allow Shoulder Buttons on Controller to act as Tab and Shift Tab in menus
2023-11-11 16:30:16 +00:00
Cody Glassman
85fcfbafda
apply same logic to render targets, remove UB
2023-11-10 21:22:11 -08:00
Cody Glassman
dec120f38c
consistent average scene luminance
2023-11-10 21:00:47 -08:00
Alexei Kotov
49f13c53c0
Merge branch 'makeunlocksoundwhenlocking' into 'master'
...
Play a sound when lock spell succeeds
See merge request OpenMW/openmw!3578
2023-11-09 20:00:55 +00:00
jvoisin
9fb5fe26e6
Merge branch 'render_target_fixes' into 'master'
...
[Postprocessing] Fix dirty flag and share luminance calculator between frames
See merge request OpenMW/openmw!3566
2023-11-08 22:50:51 +00:00
Cody Glassman
cdaa44f24c
[Postprocessing] Fix dirty flag and share luminance calculator between frames
2023-11-08 22:50:50 +00:00
jvoisin
32a9581394
Merge branch 'deepdepths' into 'master'
...
Depth flag handling fixes (bug #7380 )
See merge request OpenMW/openmw!3568
2023-11-08 22:47:29 +00:00
AnyOldName3
9b6d82566f
Merge branch 'unbound' into 'master'
...
Don't use Bounding Box node bounds as the original collision shape
See merge request OpenMW/openmw!3562
2023-11-08 16:33:16 +00:00
Kindi
a7a48aaa91
make successful lockspell play unlock sound
2023-11-09 00:27:07 +08:00
Zackhasacat
ec81bd7f1b
rename specilizationIndexToLuaId
2023-11-07 12:01:54 -06:00
Zackhasacat
cb705ff02a
Revert redundant changes
2023-11-07 11:52:53 -06:00
Zackhasacat
ae4eafdfd4
Move classes to types.NPC
2023-11-07 11:50:09 -06:00
Zackhasacat
81da58478d
Remove test use
2023-11-07 11:41:14 -06:00
Zackhasacat
76f872aaa2
use std:;array
2023-11-07 11:40:43 -06:00
Evil Eye
76843aff19
Merge branch 'getcellnametes4' into 'master'
...
Use the display name instead of the editor ID for World::getCellName
See merge request OpenMW/openmw!3564
2023-11-07 16:45:55 +00:00
Evil Eye
5356f54526
Merge branch 'savedgamehealth' into 'master'
...
Cast displayed health to int in saved game dialog (#7656 )
Closes #7656
See merge request OpenMW/openmw!3563
2023-11-07 16:45:42 +00:00
Alexei Kotov
48c1c2cf08
Merge branch 'partialequippingp2' into 'master'
...
Fix partial ammo equipping
See merge request OpenMW/openmw!3434
2023-11-07 03:55:58 +00:00
Zackhasacat
5a0de322a3
Merge branch 'fix_use_item' into 'master'
...
Fix #7674
Closes #7674
See merge request OpenMW/openmw!3567
2023-11-07 03:07:43 +00:00
Alexei Kotov
bdc019647a
Merge branch 'figure-skaters' into 'master'
...
Use accumulated movement when possible
Closes #5062
See merge request OpenMW/openmw!3549
2023-11-07 03:01:56 +00:00
Alexei Kotov
d5dbbfb570
Merge branch '75_chameleon' into 'master'
...
Make "isTargetMagicallyHidden" include 75% Chameleon
See merge request OpenMW/openmw!3565
2023-11-07 02:59:37 +00:00
Abdu Sharif
0f3dba28a7
Consider 75% Chameleon magical invisibility as well
2023-11-07 02:59:37 +00:00
Alexei Kotov
116ef1c62b
Depth flag handling fixes (bug #7380 )
...
Properly disable depth test while allowing depth writes to happen
Remove NiStencilProperty interaction
Don't set up depth flags for BSShaderPPLightingProperty
2023-11-06 02:19:56 +03:00
Petr Mikheev
a60726ce35
Fix #7674
2023-11-05 21:32:18 +01:00
Zackhasacat
231803c6ea
Merge branch 'sunvisibility' into 'master'
...
Make sun specularity behavior more intuitive (bug #6190 )
Closes #6190
See merge request OpenMW/openmw!3535
2023-11-05 17:55:27 +00:00
jvoisin
e88f8e09c3
Merge branch 'fixed' into 'master'
...
Replace more variable width integers in ESM code
See merge request OpenMW/openmw!3518
2023-11-05 16:36:13 +00:00
jvoisin
e4c5c1bc43
Merge branch 'govna' into 'master'
...
Expose governing attributes to Lua
See merge request OpenMW/openmw!3556
2023-11-05 16:35:27 +00:00
jvoisin
44dc29e675
Merge branch 'forurm' into 'master'
...
Add types.Actor.isDead
See merge request OpenMW/openmw!3557
2023-11-05 16:35:09 +00:00
Mads Buvik Sandvei
acf6178ea5
movement = movementFromAnimation;
also when speed is 0.
2023-11-05 16:46:11 +01:00
Evil Eye
9fe0e4c035
Merge branch 'bsshaderdepth' into 'master'
...
Support BSShader/BSLightingShader depth flags
See merge request OpenMW/openmw!3560
2023-11-05 09:03:31 +00:00
Evil Eye
776677fd70
Merge branch 'enchantmenttooltips' into 'master'
...
Validate enchantment records (bug #7654 )
Closes #7654
See merge request OpenMW/openmw!3531
2023-11-05 09:02:14 +00:00
Alexei Kotov
88749b03d4
Use display name instead of editor ID for World::getCellName
...
Doesn't affect Morrowind cells, but allows TES4+ cells to have legible names
2023-11-05 05:07:04 +03:00
Mads Buvik Sandvei
e86a4ebafe
Fixes based on comments by capo
2023-11-04 21:01:06 +01:00
Alexei Kotov
255d509c84
Merge branch 'fix_esmtool_output' into 'master'
...
Print uint8_t as unsigned in esmtool
See merge request OpenMW/openmw!3561
2023-11-04 18:51:06 +00:00
Mads Buvik Sandvei
9ebec27daf
use const.
2023-11-04 16:18:36 +01:00
Mads Buvik Sandvei
c7c3a52e6a
Clang
2023-11-04 14:41:08 +01:00
Mads Buvik Sandvei
475bb1af65
Move calculating the animation direction into its own function to help simplify update(). Eliminate a pointless epsilon.
2023-11-04 14:34:41 +01:00
Mads Buvik Sandvei
1edc82062d
Account for strafing when draw state is not nothing, and "turn to movement direction" is true
2023-11-04 14:13:02 +01:00
Mads Buvik Sandvei
68fe1361f1
Attempt at clarifying the code
2023-11-04 14:00:13 +01:00
Alexei Kotov
515a90e9e0
Cast displayed health to int in saved game dialog ( #7656 )
2023-11-04 04:30:40 +03:00
Zackhasacat
c311caef9a
Redo specialization field
2023-11-03 17:19:53 -05:00
Alexei Kotov
2c1db92d04
Don't use Bounding Box node bounds as the original collision shape
...
Bounding Box node bounds are not used for non-actor collision in Morrowind and the generated box isn't actually used for actor collision in OpenMW
Preserving btBoxShape cloning code because it might get used in the future
2023-11-04 00:56:14 +03:00
elsid
7a0d1a0868
Print uint8_t as unsigned
2023-11-03 21:23:37 +01:00
Cody Glassman
9a5fa9b8d6
fix persistent buffers and glsl_version
2023-11-03 12:59:23 -07:00
AnyOldName3
e67135a517
Merge branch 'expiredborders' into 'master'
...
Fix #7621
Closes #7621
See merge request OpenMW/openmw!3533
2023-11-03 18:13:02 +00:00
Evil Eye
eb0ddf72d8
Merge branch 'fix_my_errors' into 'master'
...
Fix minor doc error, throw error when attempting to assign a value to a non-existing global variable in lua
See merge request OpenMW/openmw!3548
2023-11-03 16:31:23 +00:00
Zackhasacat
dd87d01f06
Fix minor doc error, throw error when attempting to assign a value to a non-existing global variable in lua
2023-11-03 16:31:23 +00:00
Alexei Kotov
af08205f19
Support BSShader/BSLightingShader depth flags
2023-11-03 18:38:01 +03:00
Alexei Kotov
876f6ea2da
Validate enchantment records (bug #7654 )
...
Clean up spell validation
Fix a flaw in spell effect tooltip code
2023-11-03 15:08:16 +03:00
AnyOldName3
07594037ca
Merge branch 'settings_values_shadows' into 'master'
...
Use settings values for Shadows settings (#6876 )
See merge request OpenMW/openmw!3550
2023-11-03 11:35:58 +00:00
Alexei Kotov
410fc17159
Merge branch 'fo4_abc' into 'master'
...
Use correct template flags for FO4 NPCs
See merge request OpenMW/openmw!3544
2023-11-03 01:30:08 +00:00
Evil Eye
1e06d74f82
Fix #7621
2023-11-02 21:53:22 +01:00
Mads Buvik Sandvei
9c93d907dc
Settings page entry for the "player movement ignores animation" setting.
2023-11-02 19:30:51 +01:00
Evil Eye
2d90176fe9
Add types.Actor.isDead
2023-11-02 19:29:26 +01:00
Zackhasacat
ea3eeb6bad
Merge branch 'master' of gitlab.com:openmw/openmw into lua_class_data
2023-11-02 13:00:20 -05:00
Zackhasacat
859b6c823f
Fix includes
2023-11-02 12:21:59 -05:00
Zackhasacat
25fe42de10
Spacing
2023-11-02 12:17:55 -05:00
Zackhasacat
3c0c699e42
Do not use const
2023-11-02 12:15:48 -05:00
Zackhasacat
685c02bd73
Re-add missing line
2023-11-02 12:10:52 -05:00
Zackhasacat
e54eba7043
Formatting fixes
2023-11-02 12:08:07 -05:00
Evil Eye
a88f0ecc95
Expose governing attributes to Lua
2023-11-02 17:43:09 +01:00
Evil Eye
3baefdf29e
Merge branch 'invisibilityagain' into 'master'
...
Improve invisibility breaking consistency (bug #7660 )
Closes #7660
See merge request OpenMW/openmw!3539
2023-11-02 16:00:41 +00:00
elsid
f4efbcc1c4
Use settings values for Shadows settings
2023-11-02 16:36:44 +01:00
Alexei Kotov
4445a55084
Merge branch 'font_fix' into 'master'
...
Fix TrueType fonts scaling
See merge request OpenMW/openmw!3541
2023-11-02 13:09:17 +00:00
Mads Buvik Sandvei
452f7a470e
fabsf -> abs
2023-11-01 23:19:13 +01:00
Mads Buvik Sandvei
a0f8bbc621
Bad merge
2023-11-01 20:34:39 +01:00
Mads Buvik Sandvei
f41de6b02d
Use accumulated movement whenever possible. Apply diagonal movement by rotating accumulated movement and sliding based on that, rather than ignoring accumulated movement.
2023-11-01 20:31:57 +01:00
Mads Buvik Sandvei
93b723a066
Apply legs yaw to accumulated movement.
2023-11-01 20:30:26 +01:00
Zackhasacat
67e74936ff
Make classes Read Only
2023-11-01 13:23:32 -05:00
Zackhasacat
482d174ef2
Read only, add skill spec to docs
2023-11-01 13:21:14 -05:00
jvoisin
d3ccc246c5
Apply 1 suggestion(s) to 1 file(s)
2023-11-01 12:03:49 +00:00
Petr Mikheev
4c6e081da3
Skip zero links to ArmorAddons
2023-11-01 10:30:19 +01:00
Zackhasacat
371eeddf85
Merge branch 'master' of gitlab.com:openmw/openmw into lua_class_data
2023-10-31 22:23:45 -05:00
Petr Mikheev
6c01ce2672
Use correct template flags for FONV and FO4 NPCs
2023-10-31 23:48:29 +01:00
Cody Glassman
7e9690e531
[renderer] render scene exclusively to fbo
2023-10-31 14:45:31 -07:00
Alexei Kotov
bff4666b7b
Merge branch 'dont_save_esm4' into 'master'
...
Stop trying to save ESM4 objects in omwsave files
See merge request OpenMW/openmw!3537
2023-10-31 21:33:34 +00:00
Alexei Kotov
629fe8ce81
Merge branch 'we-all-know-actors-cant-read' into 'master'
...
Some cleanup of scripted animation handling.
Closes #4742 , #7637 , and #7636
See merge request OpenMW/openmw!3522
2023-10-31 21:31:58 +00:00
Alexei Kotov
6e069161a4
Merge branch 'sortalphabetcalinrechargeandrepairmenu' into 'master'
...
Sort repair and recharge menu list alphabetically
See merge request OpenMW/openmw!3524
2023-10-31 21:27:43 +00:00
Kindi
733a6e01ad
Sort repair and recharge menu list alphabetically (bug #7642 )
2023-10-31 21:27:42 +00:00
Alexei Kotov
0b8739711e
Merge branch 'settings_values_video' into 'master'
...
Use settings values for Video settings (#6876 )
See merge request OpenMW/openmw!3527
2023-10-31 21:24:53 +00:00
Alexei Kotov
c49c401441
Merge branch 'settings_values_stereo' into 'master'
...
Use settings values for Stereo settings (#6876 )
See merge request OpenMW/openmw!3530
2023-10-31 21:21:32 +00:00
Petr Mikheev
dafe858cb4
Add types.Player.sendMenuEvent
2023-10-31 11:05:00 +01:00
Petr Mikheev
1490f6f082
Fix: lower content file names in menu.getSaves
2023-10-31 11:05:00 +01:00
Petr Mikheev
889ddc10d6
Enable openmw.input
in menu scripts
2023-10-31 11:05:00 +01:00
Petr Mikheev
1dd7a15255
Draft: add new type of Lua scripts - menu scripts
2023-10-31 10:29:24 +01:00
Andrei Kortunov
377d8c905c
Fix TrueType fonts scaling
2023-10-31 10:59:57 +04:00
Alexei Kotov
03c3818229
Place ESM4::ItemMod into the scene
2023-10-31 00:54:44 +03:00
Alexei Kotov
3d5b06a78e
Sort inactive shader list ( #7652 )
2023-10-30 23:46:25 +03:00
Alexei Kotov
2d38ca4c35
Improve invisibility breaking consistency (bug #7660 )
...
- Break on recharge attempts
- Break on repair attempts
- Break on potion creation attempts
- Don't break on failed ingredient consuming
2023-10-30 15:30:01 +03:00
Kindi
3761797467
reimplement partial equipping
2023-10-30 11:20:34 +08:00
Petr Mikheev
e51dfca488
Stop trying to save ESM4 objects in omwsave files because they currently can not be saved and only lead to errors in logs.
2023-10-29 22:41:53 +01:00
Petr Mikheev
62b787a214
Merge branch 'ltexmstt' into 'master'
...
Add movable static and ESM4 land texture stores, don't show tooltips for unnamed ESM4Named objects
See merge request OpenMW/openmw!3528
2023-10-29 20:02:07 +00:00
Alexei Kotov
a891965d20
Merge branch 'uimodechanged' into 'master'
...
Queue Lua handler `uiModeChanged`
See merge request OpenMW/openmw!3509
2023-10-29 19:20:59 +00:00
Mads Buvik Sandvei
58e3fdac36
Clang format
2023-10-29 16:32:35 +01:00
Mads Buvik Sandvei
85f104fefe
Comments from Capo
2023-10-29 15:33:07 +01:00
Mads Buvik Sandvei
afb9fa06d7
clang format
2023-10-29 14:54:01 +01:00
Mads Buvik Sandvei
70f41b22b6
Based on the reason for closing !1845 , we *should* let a scripted animation get stuck forever if the animation was already playing.
2023-10-29 14:53:03 +01:00
Mads Buvik Sandvei
cf5b782c76
More persist -> script language.
2023-10-29 14:53:03 +01:00
Mads Buvik Sandvei
426f5952a5
Prevent movement only when *scripted* animations are playing. Otherwise idle animations of wandering NPCs will slide.
2023-10-29 14:53:03 +01:00
Mads Buvik Sandvei
a9ade184d8
mLoopCount is the number of *remaining* loops. So we should be checking for >0, not >1.
2023-10-29 14:53:03 +01:00
Mads Buvik Sandvei
92a5e52407
rename "persisted" animations to "scripted", because that is what they actually are. And begin teaching the animation system to distinguish between a scripted and an unscripted animation.
2023-10-29 14:53:03 +01:00
Mads Buvik Sandvei
24890a729b
clang'd
2023-10-29 14:53:03 +01:00
Mads Buvik Sandvei
8792e76f5d
explicitly prevent movement whenever playing scripted animations
2023-10-29 14:53:03 +01:00
Mads Buvik Sandvei
cdb325f19a
Rewrite CharacterController::updateAnimQueue() to properly maintain the animation queue and clean up finished animations.
2023-10-29 14:53:03 +01:00
Alexei Kotov
50f3b81096
Merge branch 'settings_values_terrain' into 'master'
...
Use settings values for Terrain settings (#6876 )
See merge request OpenMW/openmw!3529
2023-10-29 13:15:54 +00:00
Alexei Kotov
e6137cff73
Merge branch 'tapdancers' into 'master'
...
AiWander must update wandering manually flag when resuming existing path.
Closes #7647
See merge request OpenMW/openmw!3526
2023-10-29 13:10:01 +00:00
uramer
1ec4681e40
Merge branch 'areyouthere' into 'master'
...
Add record presence early-outs for various script instructions (feature #7625 )
Closes #7625
See merge request OpenMW/openmw!3501
2023-10-29 12:15:48 +00:00
Alexei Kotov
12abd30e9f
Make sun specularity behavior more intuitive (bug #6190 )
...
Remove sun visibility influence on object specularity
Subdue sun visibility influence on water specularity
2023-10-29 04:11:40 +03:00
Mads Buvik Sandvei
24bac3ebd4
AiWander must update mIsWanderingManually when resuming wander.
2023-10-29 01:07:46 +02:00
Evil Eye
6cd5734fb3
Rate weapons as useless if the actor's skill is 0
2023-10-28 10:49:18 +02:00
elsid
bb7ac64f19
Use settings values for Stereo and Stereo View settings
2023-10-27 23:30:17 +02:00
elsid
561a6bf854
Avoid using camera settings from stereo manager
2023-10-27 23:29:07 +02:00
elsid
7e5a1cec04
Use settings values for Terrain settings
2023-10-27 22:32:20 +02:00
Alexei Kotov
84cad3de01
Don't show tooltips for unnamed ESM4Named
2023-10-27 22:53:40 +03:00
Alexei Kotov
3f4591eb3b
Add movable static and ESM4 land texture stores
2023-10-27 22:53:40 +03:00
psi29a
f724b05c57
Merge branch 'teleport_block' into 'master'
...
Lua: Add isTeleportingEnabled and setTeleportingEnabled to types.Player
See merge request OpenMW/openmw!3519
2023-10-27 17:37:04 +00:00
elsid
dcd81d026f
Use settings values for Video settings
...
* Convert window mode, vsync mode into enums, screenshot type into a struct.
* Add missing doc for screenshot type.
2023-10-27 14:31:23 +02:00
Zackhasacat
6a671186ee
Removed unused var
2023-10-26 11:50:50 -05:00
psi29a
8380da2e1d
Merge branch 'missmewiththatscript' into 'master'
...
Remove missing scripts from actors much like is done for items
Closes #7204
See merge request OpenMW/openmw!3502
2023-10-26 16:24:35 +00:00
psi29a
664caa2fc1
Merge branch 'iseeyou' into 'master'
...
Prevent fleeing in inappropriate situations (bug #6932 )
Closes #6932
See merge request OpenMW/openmw!3508
2023-10-26 16:24:10 +00:00
psi29a
bdd0299fe7
Merge branch 'flyyouscamps' into 'master'
...
Allow talking with fleeing creatures (bug #7631 )
Closes #7631
See merge request OpenMW/openmw!3510
2023-10-26 16:23:57 +00:00
psi29a
035004170c
Merge branch 'datadirs' into 'master'
...
Launcher: Improve directory appending UX and heuristics (bug #7502 )
Closes #7502
See merge request OpenMW/openmw!3490
2023-10-26 16:23:28 +00:00
Zackhasacat
c2943e2fd0
Use int32_t
2023-10-25 21:47:00 -05:00
Zackhasacat
2f16a104dc
Revise record store, add specialization function
2023-10-25 21:38:42 -05:00
Zackhasacat
909be9cf35
Merge branch 'master' of gitlab.com:openmw/openmw into lua_class_data
2023-10-25 21:05:35 -05:00
Zackhasacat
f0640da21e
Add character to core
2023-10-25 21:05:14 -05:00
Zackhasacat
3e31142c0b
Remove lua action
2023-10-25 17:24:18 -05:00
Kindi
1bff02e3b0
add docs
2023-10-26 03:32:15 +08:00
psi29a
6a87ba8f33
Merge branch 'mygui343_fix' into 'master'
...
Fix MyGUI 3.4.3 issues [#7528 ]
See merge request OpenMW/openmw!3319
2023-10-25 12:35:13 +00:00
psi29a
f3931c8321
Merge branch 'lua_hud_hide' into 'master'
...
Add functions to lua ui library to toggle HUD visibility, and check current status.
See merge request OpenMW/openmw!3450
2023-10-25 12:34:56 +00:00
Zackhasacat
ac9cfc782a
Add functions to lua ui library to toggle HUD visibility, and check current status.
2023-10-25 12:34:56 +00:00
Alexei Kotov
e6c02efbb7
Add record presence early-outs for various script instructions (feature #7625 )
...
AddItem, RemoveItem, StartScript, StopScript, AddTopic
2023-10-24 23:19:53 +03:00
Evil Eye
23bf6ed878
Remove missing scripts from actors much like is done for items
2023-10-24 20:59:45 +02:00
Zackhasacat
f4d349070c
Add isTeleportingEnabled and setTeleportingEnabled
2023-10-24 13:51:12 -05:00
Evil Eye
dc781bad5d
Use fixed size unsigned ints for inventory offsets
2023-10-24 17:51:12 +02:00
Zackhasacat
15bee21286
Fix caps
2023-10-24 09:30:00 -05:00
Petr Mikheev
f547cd5934
Merge branch 'lua_object_var' into 'master'
...
Add lua binding for gameObject globalVariable
See merge request OpenMW/openmw!3483
2023-10-24 13:55:51 +00:00
Zackhasacat
78e9a1753e
Add lua binding for gameObject globalVariable
2023-10-24 13:55:50 +00:00
Petr Mikheev
31f5c8826b
Merge branch 'lua_global_new' into 'master'
...
Add global variable access to world.mwscript (#7597 )
See merge request OpenMW/openmw!3491
2023-10-24 09:23:25 +00:00
Zackhasacat
db42a91867
Add global variable access to world.mwscript ( #7597 )
2023-10-24 09:23:25 +00:00
Zackhasacat
254bf7c5d8
class -> classes
2023-10-23 22:23:30 -05:00
Zackhasacat
611f96ce65
Add class bindings
2023-10-23 22:19:16 -05:00
Mads Buvik Sandvei
354b028072
isMovementAnimationControlled should be private.
2023-10-22 17:23:27 +02:00
Mads Buvik Sandvei
e893767ed0
Redundant line
2023-10-22 17:23:27 +02:00
Mads Buvik Sandvei
45a2b8042d
Derive the value of MovementAnimationControlled instead of storing it.
2023-10-22 17:23:27 +02:00
Mads Buvik Sandvei
dcf6a1fc3c
Refresh mMovementAnimationControlled when refreshing idle animations.
2023-10-22 17:22:50 +02:00
Alexei Kotov
f68bd3ba97
Launcher: Improve directory appending UX and heuristics (bug #7502 )
...
- Recognize more asset directories and omwgame files
- Always let the user append the selected directory
- Automatically pick the user-selected directory if it's the only valid directory
- Add a caption to directory selection dialog, properly handle cancellation
2023-10-22 16:20:19 +03:00
Alexei Kotov
3330907d7b
Combat AI: Prefer picking reachable/visible targets (bug #6932 )
2023-10-22 16:20:02 +03:00
Alexei Kotov
ee5ca066fd
Allow talking with fleeing creatures (bug #7631 )
2023-10-22 16:18:52 +03:00
Bret Curtis
1bd4860026
no more obsolete mygui shizzle for macos
2023-10-22 11:25:39 +02:00
psi29a
a08ca11c34
Merge branch 'boundingboxing' into 'master'
...
BulletNifLoader: Replicate node bounds handling more closely
See merge request OpenMW/openmw!3505
2023-10-22 08:52:23 +00:00
psi29a
631a3954b1
Merge branch 'notsocharmingnow' into 'master'
...
Don't apply Charm to creatures (bug #7630 )
Closes #7630
See merge request OpenMW/openmw!3507
2023-10-22 08:52:04 +00:00
Petr Mikheev
4d66679204
Queue Lua handler uiModeChanged
2023-10-21 13:04:02 +02:00
Alexei Kotov
d0ffe6e2f9
Don't apply Charm to creatures (bug #7630 )
2023-10-21 07:10:16 +03:00
Alexei Kotov
9405e5cb3c
BulletNifLoader: Replicate node bounds handling more closely
2023-10-19 03:11:55 +03:00
Cody Glassman
5fc46b166a
track debug window size and dimensions between sessions
2023-10-18 09:04:57 -07:00
Evil Eye
97009f1e23
Merge Assumeru/mystringvui
2023-10-17 23:53:04 +02:00
Bret Curtis
e97b07b6a4
additional cleanup
2023-10-17 23:53:04 +02:00
Bret Curtis
43a931d3c4
[ #7528 ] Fix MyGUI 3.4.3 issues
2023-10-17 23:53:04 +02:00
psi29a
ed2e969802
Fix build
2023-10-17 20:10:19 +00:00
psi29a
798ff7062b
Merge branch 'bullet' into 'master'
...
BulletNifLoader updates
See merge request OpenMW/openmw!3498
2023-10-17 07:40:45 +00:00
psi29a
9259f5c056
Merge branch 'merryweather' into 'master'
...
Replace more sized reads and change weather loading
See merge request OpenMW/openmw!3496
2023-10-16 20:06:59 +00:00
psi29a
97d9f9c4f3
Merge branch 'dont-lose-your-head' into 'master'
...
Add missing headers to components/CMakeLists.txt
See merge request OpenMW/openmw!3499
2023-10-16 20:06:47 +00:00
elsid
7ac402390a
Use settings values for Water settings
2023-10-15 23:24:46 +02:00
AnyOldName3
2ed584428c
Add missing headers to components/CMakeLists.txt
...
Otherwise, they won't show up as part of the project in IDEs.
2023-10-15 15:44:24 +01:00
Kindi
7e087707cd
fix potential miscalculation
2023-10-15 21:26:47 +08:00
Alexei Kotov
8db631c6b6
Update BSXFlags test
2023-10-15 15:32:59 +03:00
psi29a
febfa353e0
Merge branch 'save_metadata' into 'master'
...
Add additional fields to save metadata
See merge request OpenMW/openmw!3493
2023-10-15 11:42:02 +00:00
psi29a
03fa273394
Merge branch 'settings_values_sound' into 'master'
...
Use settings values for Sound settings (#6876 )
See merge request OpenMW/openmw!3494
2023-10-15 11:41:30 +00:00
Evil Eye
fbafa13b3d
Appease the compiler
2023-10-14 17:01:55 +02:00
Evil Eye
514723a4e6
Use fixed size ints for Region and use an array for weather odds
2023-10-14 16:36:45 +02:00
Evil Eye
2ebd544dfb
Fix #7624
2023-10-14 14:18:50 +02:00
Andrei Kortunov
fc74cc49dd
Add additional fields to save metadata (feature 7618)
2023-10-14 09:53:44 +04:00
elsid
a84e412a37
Use settings values for Sound settings
2023-10-13 12:58:58 +02:00
psi29a
fe5dbb7a25
Merge branch 'bsatool' into 'master'
...
Fix creating archives in bsatool
See merge request OpenMW/openmw!3484
2023-10-13 07:34:51 +00:00
psi29a
de11bbc008
Merge branch 'settings_values_shaders' into 'master'
...
Use settings values for Shaders settings (#6876 )
See merge request OpenMW/openmw!3489
2023-10-13 07:34:43 +00:00
uramer
99461fd9b2
Merge branch 'control_switch' into 'master'
...
[Lua] Add CONTROL_SWITCH functions to `types.Player` and deprecate them in `openmw.input`
See merge request OpenMW/openmw!3487
2023-10-13 07:00:34 +00:00
elsid
08902371b4
Use settings values for Shaders settings
2023-10-12 20:43:53 +02:00
Kindi
58a16dacbe
take2 resolve
2023-10-13 00:53:59 +08:00
Alexei Kotov
4b4c46fa70
Merge branch 'settings_values_saves' into 'master'
...
Use settings values for Saves settings (#6876 )
See merge request OpenMW/openmw!3486
2023-10-11 21:35:48 +00:00
Alexei Kotov
8c58ec9c32
Merge branch 'esm4actors' into 'master'
...
Show ESM4 NPCs
See merge request OpenMW/openmw!3312
2023-10-11 21:33:14 +00:00
elsid
1038a68fbf
Use settings values for Saves settings
2023-10-10 20:39:52 +02:00
psi29a
01ee448c61
Merge branch 'settings_values_navigator' into 'master'
...
Use settings values for Navigator settings (#6876 )
See merge request OpenMW/openmw!3468
2023-10-10 03:24:33 +00:00
Petr Mikheev
15306c7d49
[Lua] Add CONTROL_SWITCH functions to types.Player
and deprecate them in openmw.input
2023-10-10 01:15:09 +02:00
psi29a
fb9fc91710
Merge branch 'settings_values_post_processing' into 'master'
...
Use settings values for Post Processing settings (#6876 )
See merge request OpenMW/openmw!3480
2023-10-09 11:35:53 +00:00
psi29a
9534130906
Merge branch 'settings_values_physics' into 'master'
...
Use settings values for Physics settings (#6876 )
See merge request OpenMW/openmw!3481
2023-10-09 11:35:43 +00:00
psi29a
ab631fcd70
Merge branch 'whosabaddoggo' into 'master'
...
Handle AllowWerewolfForceGreeting variable (bug #7609 )
Closes #7609
See merge request OpenMW/openmw!3476
2023-10-09 11:35:16 +00:00
Alexei Kotov
1bd388faf3
Fix creating archives in bsatool
2023-10-09 07:07:53 +03:00
elsid
4a7886816e
Use settings values for Physics settings
2023-10-08 12:19:02 +02:00
elsid
7b4b8763ff
Use settings values for Post Processing settings
2023-10-08 11:58:16 +02:00
psi29a
575f43876b
Merge branch 'fixedpath' into 'master'
...
Replace more sized reads and change path grid loading
See merge request OpenMW/openmw!3475
2023-10-08 02:18:43 +00:00
Petr Mikheev
3882a5f25a
update
2023-10-07 17:21:25 +02:00
Petr Mikheev
b4552d47f6
Don't use ESM4 mHeadFeamleParts; switch from manually adding "meshes\\" to correctMeshPath
2023-10-07 17:21:25 +02:00
Petr Mikheev
1acac873cf
Use "setObjectRoot" in esm4npcanimation.cpp
2023-10-07 17:21:25 +02:00
Petr Mikheev
4beed29404
Changes required during review
2023-10-07 17:21:25 +02:00
Petr Mikheev
2900351777
Render ESM4 NPCs
2023-10-07 17:21:25 +02:00
psi29a
d43493dd4c
Merge branch 'idlestorm' into 'master'
...
Avoid redundant animation resets in updateIdleStormState
See merge request OpenMW/openmw!3473
2023-10-07 01:41:36 +00:00
Alexei Kotov
cecb2b71ea
Handle AllowWerewolfForceGreeting variable (bug #7609 )
2023-10-06 23:17:32 +03:00
Evil Eye
b99f58613e
Remove signed/unsigned conversions in pathgrid loading code and use meaningful member names
2023-10-06 16:46:09 +02:00
psi29a
2c81220cf7
Merge branch 'book' into 'master'
...
Reading ESM4 books
See merge request OpenMW/openmw!3471
2023-10-05 17:24:50 +00:00
Alexei Kotov
79bda2e694
Avoid redundant animation resets in updateIdleStormState
2023-10-04 22:26:52 +03:00
psi29a
d9f8757f33
Merge branch 'goblinsnacks' into 'master'
...
Allow creatures to use potions
Closes #7604
See merge request OpenMW/openmw!3469
2023-10-04 03:46:51 +00:00
Petr Mikheev
6161953106
Allow reading ESM4 books
2023-10-03 10:55:12 +02:00
Alexei Kotov
b6d2fa5f9d
Merge branch 'initially_disabled' into 'master'
...
Take into account "Enable Parent" subrecord and disable ESM4 objects that should be initially disabled
See merge request OpenMW/openmw!3461
2023-10-02 18:28:29 +00:00
Evil Eye
0814ef5697
Allow creatures to use potions
2023-10-01 11:22:20 +02:00
elsid
68de5690ef
Use settings values for Navigator settings
2023-10-01 11:10:04 +02:00
elsid
b3c8a15af1
Parse navmesh render mode on reading settings
2023-10-01 11:09:59 +02:00
psi29a
08ff69f199
Merge branch 'menu_fix' into 'master'
...
Update canvas size every frame when it is visible
See merge request OpenMW/openmw!3463
2023-09-29 11:25:09 +00:00
Andrei Kortunov
1ac0a3b25b
Update canvas size every frame when it is visible (bug 7603)
2023-09-29 13:34:04 +04:00
psi29a
df1063be5d
Merge branch 'thedichotomyof4' into 'master'
...
ESM4 upd8s: Fours and Worlds
Closes #7445
See merge request OpenMW/openmw!3454
2023-09-29 08:16:30 +00:00
Petr Mikheev
02de5e82d8
Take into account "Enable Parent" subrecord and disable ESM4 objects that should be initially disabled.
2023-09-28 23:09:09 +02:00
psi29a
3ea14e904d
Merge branch 'actors_range' into 'master'
...
Handle actors processing range in Lua
See merge request OpenMW/openmw!3458
2023-09-28 08:33:46 +00:00
psi29a
6c39e3f817
Merge branch 'draft' into 'master'
...
Treat teleportation out of the draft cell as object creation
Closes #7588 and #7453
See merge request OpenMW/openmw!3455
2023-09-28 08:33:10 +00:00
psi29a
f9bba096db
Merge branch 'fix_editor_model' into 'master'
...
Avoid using settings in components to get actor model (#7596 )
Closes #7596
See merge request OpenMW/openmw!3460
2023-09-28 08:32:52 +00:00
psi29a
bae8d585fe
Merge branch 'lua/capacity_encum_bindings' into 'master'
...
Add more lua bindings for encumbrance and capacity
See merge request OpenMW/openmw!3462
2023-09-28 08:32:38 +00:00
glassmancody.info
9aa992eede
add more lua bindings for encumbrance and capacity
2023-09-27 17:19:08 -07:00
Evil Eye
7594d94024
Prevent re-adding local scripts
2023-09-27 22:24:28 +02:00
Evil Eye
f6626e36cf
Unbreak respawns and fix #7588
2023-09-27 22:07:55 +02:00
Evil Eye
33b57d9134
Use moveToCell and init mwscript
2023-09-27 21:23:07 +02:00
elsid
1d94527a19
Avoid using settings in components to get actor model
...
Settings::Values are initialized only for engine. Accessing them from other
binaries leads to a crash.
2023-09-27 21:00:46 +02:00
Andrei Kortunov
40c8783790
Handle actors processing range in Lua
2023-09-27 15:14:32 +04:00
psi29a
e090bc234b
Merge branch 'simulation_fix' into 'master'
...
Decouple rendering simulation time from Lua simulation time (bug 7576)
Closes #7576
See merge request OpenMW/openmw!3457
2023-09-27 07:30:36 +00:00
Zackhasacat
cde2b49313
Fix recordDraft isScroll for types.book in lua
2023-09-27 07:30:27 +00:00
Andrei Kortunov
442c032373
Decouple rendering simulation time from Lua simulation time (bug 7576)
2023-09-26 14:39:38 +04:00
Evil Eye
641f34a3c9
Treat teleportation out of the draft cell as object creation
2023-09-25 21:01:32 +02:00
Alexei Kotov
8d655054f1
esmtool: Print human-readable ESM4 file format version
2023-09-25 21:40:14 +03:00
Alexei Kotov
9f8f2dd925
Use parent worldspace terrain when requested
2023-09-25 21:40:14 +03:00
Alexei Kotov
7e360df6c0
Place ESM4::Flora instances to the scene
2023-09-24 10:25:44 +03:00
psi29a
67075990bd
Merge branch 'deprecations' into 'master'
...
Remove numeric magic school ids and deprecate the enum
See merge request OpenMW/openmw!3440
2023-09-23 11:59:22 +00:00
psi29a
6d32caa2d6
Merge branch 'somethinginparticlular' into 'master'
...
Read even more NIF records
See merge request OpenMW/openmw!3442
2023-09-23 11:59:06 +00:00
Alexei Kotov
c800152ca2
Diminish error marker prominence
...
Don't render ESM4 actors or SpeedTree objects
2023-09-22 01:01:19 +03:00
psi29a
84019e7998
Merge branch 'mobiusdoublereacharound' into 'master'
...
Rewrite melee hit target selection (bug #3438 )
Closes #3438
See merge request OpenMW/openmw!3274
2023-09-21 20:31:18 +00:00
Evil Eye
90ca8a2f4e
Remove ATTRIBUTE, SKILL, and SCHOOL enums
2023-09-21 19:34:13 +02:00
Evil Eye
6ed5cbb7d0
Remove numeric magic school ids and deprecate the enum
2023-09-20 19:51:29 +02:00
Alexei Kotov
440851ff48
Rewrite melee hit target selection (bug #3438 )
2023-09-19 22:31:45 +03:00
Petr Mikheev
38f56cfcdd
Fix #7453 : wrong position of dynamically placed CreatureLevList
2023-09-19 11:22:58 +02:00
Petr Mikheev
95906a34b3
Fix #6146 (actor:setEquipment
doesn't trigger mwscripts)
2023-09-19 10:59:20 +02:00
psi29a
38d0ece366
Merge branch 'titlefix' into 'master'
...
Repeat title music only in main menu
See merge request OpenMW/openmw!3436
2023-09-19 08:37:44 +00:00
psi29a
3ae189dda1
Merge branch 'nifcouriersix' into 'master'
...
Modernize NIF loader, part 6
See merge request OpenMW/openmw!3435
2023-09-19 08:37:23 +00:00
psi29a
1a5b63412a
Merge branch 'fix-lua-layers' into 'master'
...
Fix Lua UI Layer bindings
See merge request OpenMW/openmw!3433
2023-09-18 08:37:29 +00:00
psi29a
1c8198242e
Merge branch 'toggleai' into 'master'
...
Add a way to toggle AI to Lua debug package
See merge request OpenMW/openmw!3429
2023-09-18 08:37:19 +00:00
psi29a
eb688b603d
Merge branch 'refnum_ref' into 'master'
...
Replace `const ESM::RefNum&` -> `ESM::RefNum`
See merge request OpenMW/openmw!3432
2023-09-18 08:35:45 +00:00
Andrei Kortunov
3ef9b850d7
Repeat title music only in main menu
2023-09-18 10:45:08 +04:00
Alexei Kotov
1b93e646b8
Rename Property->NiProperty
2023-09-18 06:44:44 +03:00
Alexei Kotov
1e3da5516a
Fix BA2 handling in niftest
2023-09-17 19:30:30 +03:00
Alexei Kotov
9ae1077808
Update NIF property loading, first pass
...
Revise all FO3+ shader properties (attempt reading FO4, FO76 and Starfield properties)
Use constants for most instances of property flags
Drop invalid usage of non-existent double-sided flag for BSShader
Make formatting more consistent, drop unnecessary comments
2023-09-17 19:22:16 +03:00
psi29a
18b6eba709
Merge branch 'reloadlua' into 'master'
...
safe reloadlua on top of !3362
See merge request OpenMW/openmw!3412
2023-09-17 11:28:01 +00:00
Alexei Kotov
eb8242946a
Improve node record consistency with NifTools
2023-09-16 19:17:40 +03:00
Alexei Kotov
bff9231c3b
Refactor NiGeometry/BSTriShape
...
Don't pass invalid geometry data links to the loaders
2023-09-16 19:17:40 +03:00
uramer
cda5f12630
Fix Lua UI Layer bindings
2023-09-16 13:45:19 +02:00
Kindi
83ebaf27cc
take2
2023-09-16 17:53:26 +08:00
Alexei Kotov
deb051639e
Refactor NiBoundingVolume
2023-09-15 21:11:12 +03:00
Petr Mikheev
c67b866a11
Replace const ESM::RefNum&
-> ESM::RefNum
2023-09-15 19:38:09 +02:00
Petr Mikheev
72b8ff82ff
!3362 with safe reloadlua
2023-09-15 19:10:33 +02:00
Andrei Kortunov
56ea3e3879
Add a way to toggle AI to Lua debug package
2023-09-15 18:49:46 +04:00
psi29a
551f424c80
Merge branch 'silent_warning' into 'master'
...
Silent coverity warning
See merge request OpenMW/openmw!3423
2023-09-15 12:57:08 +00:00
Petr Mikheev
4fa8756791
Silent coverity warning
2023-09-15 11:05:40 +02:00
psi29a
12159d95f3
Merge branch 'music' into 'master'
...
Rework music system
See merge request OpenMW/openmw!3372
2023-09-15 07:11:31 +00:00
psi29a
ed022a6c14
Merge branch 'fix_use' into 'master'
...
Fix regression added in !3354 : Set `force` to false when applying UseItem from inventory.
See merge request OpenMW/openmw!3422
2023-09-15 07:03:34 +00:00
psi29a
59f8034442
Merge branch 'sizedreads' into 'master'
...
Replace more sized reads
See merge request OpenMW/openmw!3425
2023-09-15 07:03:18 +00:00
psi29a
64e4a33400
Merge branch 'nif' into 'master'
...
Modernize NIF loader, part 4
See merge request OpenMW/openmw!3427
2023-09-15 07:02:38 +00:00
Andrei Kortunov
db72a91180
Add a way to check if sound system is enabled
2023-09-14 13:02:20 +04:00
Andrei Kortunov
ebb75008f8
Do not use playlist for title music
2023-09-14 09:17:59 +04:00
Alexei Kotov
0fe095303f
Rename Controller->NiTimeController, update NiTimeController and related code
2023-09-14 03:12:10 +03:00
Alexei Kotov
05d8975ed1
Revise various NIF controller records
...
Mostly those that don't require external changes
2023-09-14 01:44:41 +03:00
Evil Eye
b59739a529
Replace more sized reads
2023-09-13 21:51:42 +02:00
Andrei Kortunov
655c4442bc
Implement isMusicPlaying
2023-09-13 17:48:49 +04:00
Bret Curtis
a285408212
small coverity fix
2023-09-13 12:28:38 +02:00
Kindi
ff16ee2d64
implement lua api for get/set item condition
2023-09-13 16:10:15 +08:00
Andrei Kortunov
cbb4c1bb9a
Fix music during a new game start
2023-09-13 09:11:07 +04:00
Andrei Kortunov
e25e867d77
Remove 'music' package
2023-09-13 09:11:07 +04:00
Andrei Kortunov
18fe6a8ae7
Remove default argument
2023-09-13 09:11:07 +04:00
Andrei Kortunov
e1cae5a029
Rework music system
2023-09-13 09:11:07 +04:00
psi29a
090da90302
Merge branch 'factions' into 'master'
...
Implement Lua API for factions
See merge request OpenMW/openmw!3405
2023-09-12 19:41:54 +00:00
psi29a
42b77342c5
Merge branch 'nif' into 'master'
...
Modernize NIF loader, part 3
See merge request OpenMW/openmw!3418
2023-09-12 08:34:46 +00:00
Andrei Kortunov
02dcf1fb31
Split setFactionRank to separate functions
2023-09-12 11:57:19 +04:00
Andrei Kortunov
6ee86dea82
Implement Lua API for factions (feature 7468)
2023-09-12 09:49:03 +04:00
Petr Mikheev
fb8ccf52d8
Add missing argument force
in UseItem
2023-09-11 16:21:34 +02:00
psi29a
9d186ee2cd
Merge branch 'ptrindex' into 'master'
...
Fix crash: PtrRegistry can contain pointers to already removed temporary ManualRefs
See merge request OpenMW/openmw!3411
2023-09-11 06:57:36 +00:00
psi29a
d87db1dc5f
Merge branch 'drainfatigue' into 'master'
...
Uncap Drain Fatigue again (bug #7573 )
Closes #7573
See merge request OpenMW/openmw!3414
2023-09-11 06:57:25 +00:00
psi29a
39a209cb78
Merge branch 'settings_values_models' into 'master'
...
Use settings values for Models settings (#6876 )
See merge request OpenMW/openmw!3413
2023-09-11 06:55:17 +00:00
psi29a
9d3eb1a901
Merge branch 'fix_crash' into 'master'
...
Fix crash on accessing cells settings from non engine binaries
Closes #7572
See merge request OpenMW/openmw!3415
2023-09-10 15:23:57 +00:00
psi29a
4deb012edf
Merge branch 'centeroncell' into 'master'
...
Reset the rotation for ESM3 door-based COC destinations again (#7471 )
Closes #7471
See merge request OpenMW/openmw!3416
2023-09-10 15:23:09 +00:00
Alexei Kotov
a7cc4e6ba6
Rename Node->NiAVObject and update everything directly related
...
Update NiNode
Simplify RootCollisionNode handling in BulletNifLoader
2023-09-10 07:18:39 +03:00
Alexei Kotov
6872c7144e
Rename Transformation->NiTransform and update everything directly related
2023-09-10 07:18:39 +03:00
Alexei Kotov
ef896faa90
Rename Named->NiObjectNET and update everything directly related to it
...
BulletNifLoader: properly check if the node has animation controllers
Flatten extra data linked list
2023-09-10 07:18:39 +03:00
psi29a
9791fae2db
Merge branch 'statrecords' into 'master'
...
Expose skill and attribute records to Lua and deprecate their enums
See merge request OpenMW/openmw!3407
2023-09-09 20:39:45 +00:00
Petr Mikheev
892f6d1aee
Make LiveCellRef to remove itself from PtrRegistry in destructor (to prevent potential use after free); Update ContainerStore::mPtr after copying container/actor.
2023-09-09 21:54:13 +02:00
Alexei Kotov
0f2e5f9db6
Uncap Drain effects again (bug #7573 )
2023-09-09 22:46:11 +03:00
Alexei Kotov
817078cbea
Reset the rotation for ESM3 door-based COC destinations again
2023-09-09 21:00:47 +03:00
elsid
053a3caf7b
Pass cache expiry delay to GenericResourceManager constructor
2023-09-09 19:35:20 +02:00
elsid
ad509bb954
Use settings values for Models settings
2023-09-09 13:12:08 +02:00
psi29a
bcc3365766
Merge branch 'fix_hidden_window' into 'master'
...
Fix bug related to !3236
See merge request OpenMW/openmw!3406
2023-09-09 08:06:47 +00:00
psi29a
0a47e927d5
Merge branch 'nif' into 'master'
...
Modernize NIF loader, part 2
See merge request OpenMW/openmw!3404
2023-09-09 08:06:32 +00:00
psi29a
45a211c098
Merge branch 'lua_nil' into 'master'
...
Return nil when we try to use an invalid store index from Lua
Closes #7550
See merge request OpenMW/openmw!3410
2023-09-09 08:06:19 +00:00
psi29a
cadb166b58
Merge branch 'companion_creatures' into 'master'
...
Allow creatures to be companions again
See merge request OpenMW/openmw!3409
2023-09-09 08:06:03 +00:00
Andrei Kortunov
5d211d3c93
Return nil when we try to use an invalid store index from Lua
2023-09-08 09:48:45 +04:00
Andrei Kortunov
7c5caec443
Allow creatures to be companions again
2023-09-08 08:30:06 +04:00
Evil Eye
cd0e612cb7
Expose skill and attribute records to Lua and deprecate their enums
2023-09-07 21:30:08 +02:00
Petr Mikheev
42f2ece8b3
Fix bug: UI modes that are added not through Lua don't show windows that were hidden by Lua in other mode.
2023-09-07 02:16:22 +02:00
Alexei Kotov
89774716fb
Modernize NiGeometryData
2023-09-06 23:55:36 +03:00
Alexei Kotov
cfd37dbcc6
Modernize NiTriShapeData
2023-09-06 23:55:36 +03:00
Alexei Kotov
eba0ab444b
Modernize NiTriStripsData
2023-09-06 23:55:35 +03:00
Alexei Kotov
5b07a78f2c
Modernize skin instance records
2023-09-06 23:55:35 +03:00
psi29a
30f4cd972d
Merge branch 'unbind_control' into 'master'
...
Ability to unbind controls in settings menu
See merge request OpenMW/openmw!3393
2023-09-06 08:17:00 +00:00
psi29a
938c487684
Merge branch 'time' into 'master'
...
[Lua] Ability to unpause the game when UI is opened.
See merge request OpenMW/openmw!3398
2023-09-06 08:16:49 +00:00
psi29a
df31f947c6
Merge branch 'searchyourfeelingsyouknowittobetrue' into 'master'
...
Replace find with search
Closes #7566
See merge request OpenMW/openmw!3403
2023-09-06 08:15:52 +00:00
psi29a
5a0a04684a
Merge branch 'nocliffracerschooling' into 'master'
...
Editor: Remove Training service for creatures
See merge request OpenMW/openmw!3396
2023-09-06 08:14:00 +00:00
Petr Mikheev
0836680e36
Ability to unbind controls in settings menu
2023-09-05 23:09:51 +02:00
Evil Eye
6cec92223e
Replace find with search
2023-09-05 16:38:34 +02:00
psi29a
690a237896
Merge branch 'init_field' into 'master'
...
Init structs to make sure that we do not store a random data
See merge request OpenMW/openmw!3400
2023-09-05 07:33:39 +00:00
Zackhasacat
f287b2f436
Merge branch 'master' of gitlab.com:openmw/openmw into lua_record_services
2023-09-04 10:49:51 -05:00
Zackhasacat
7df43f28ed
Remove unused include
2023-09-04 10:47:47 -05:00
psi29a
1a4b29f014
Merge branch 'fix_terrain_cache' into 'master'
...
Terrain cache fixes and optimizations
Closes #7557
See merge request OpenMW/openmw!3388
2023-09-04 09:39:46 +00:00
Andrei Kortunov
5d51f3ea26
Init structs to make sure that we do not store a random data
2023-09-04 12:19:56 +04:00
psi29a
5faf56950b
Merge branch 'lua_files' into 'master'
...
Implement Lua API for VFS
Closes #6864
See merge request OpenMW/openmw!3373
2023-09-03 17:06:14 +00:00
Zackhasacat
208cd14cfe
Use lua table, getESMStore
2023-09-03 11:26:10 -05:00
psi29a
ccc465db27
Merge branch 'nif' into 'master'
...
Modernize NIF loader, part 1
See merge request OpenMW/openmw!3394
2023-09-03 10:34:46 +00:00
psi29a
b79c40c11c
Merge branch 'more_coverity' into 'master'
...
More Coverity fixes
See merge request OpenMW/openmw!3391
2023-09-03 10:34:26 +00:00
Petr Mikheev
65cd518b44
Update camera logic related to paused game / opened UI
2023-09-03 04:21:18 +02:00
Petr Mikheev
23a7661d0b
Control UI pause from Lua
2023-09-03 03:41:13 +02:00
Zackhasacat
ecc69b5479
Fix line
2023-09-02 15:33:06 -05:00
Zackhasacat
1db236b5fd
Fix docs, dependancies
2023-09-02 15:30:02 -05:00
Zackhasacat
ee5983f64a
Docs fixes
2023-09-02 15:21:03 -05:00
Zackhasacat
6c6885c394
Formatting
2023-09-02 15:17:14 -05:00
Zackhasacat
070c600a83
Formatting
2023-09-02 15:16:59 -05:00
Zackhasacat
e139135fdc
Revert unneeded changes
2023-09-02 15:16:41 -05:00
Zackhasacat
40925fa912
Add line
2023-09-02 15:15:30 -05:00
Zackhasacat
bbe7702dbc
Use string_view
2023-09-02 15:13:46 -05:00
Zackhasacat
7d0e140889
Merge branch 'master' of gitlab.com:openmw/openmw into lua_record_services
2023-09-02 14:55:57 -05:00
Zackhasacat
e50532691b
Fix define endif
2023-09-02 14:55:04 -05:00
Zackhasacat
9c4ffa8256
Map by service name
2023-09-02 14:23:57 -05:00
Zackhasacat
44303ed8ca
Move services to new HPP
2023-09-02 14:10:50 -05:00
psi29a
b818414d82
Merge branch 'activate_and_use' into 'master'
...
Handle Use action in Lua in a similar way to Activate action
See merge request OpenMW/openmw!3354
2023-09-02 15:11:43 +00:00
Alexei Kotov
16cc1ad59f
Editor: Disable Training service for creatures
2023-09-02 17:52:15 +03:00
Andrei Kortunov
65109b3822
Simplify VFS index iteration
2023-09-02 17:40:14 +04:00
Andrei Kortunov
c04a0ca3a5
Implement Lua API for VFS
2023-09-02 08:47:46 +04:00
Zackhasacat
85d47dd715
Add return value
2023-09-01 17:53:28 -05:00
Zackhasacat
aba63c0145
Shorten, move to the correct place
2023-09-01 16:44:58 -05:00
Zackhasacat
9f80d68795
add servicesOffered to npc and creature records
2023-09-01 16:39:33 -05:00
psi29a
a1828eec29
Merge branch 'lua_spell_fix' into 'master'
...
Clear selected enchanted item and/or spell with actor.clearSelectedCastable()
See merge request OpenMW/openmw!3315
2023-09-01 20:33:42 +00:00
Zackhasacat
7113db8b97
Clear selected enchanted item and/or spell with actor.clearSelectedCastable()
2023-09-01 20:33:42 +00:00
Andrei Kortunov
7da8f388f5
More Coverity fixes
2023-09-01 16:49:39 +04:00
psi29a
3e99103beb
Merge branch 'rtd' into 'master'
...
Show OpenMW version and Lua API revision in documentation
Closes #6149
See merge request OpenMW/openmw!3382
2023-09-01 08:06:58 +00:00
Zackhasacat
86c28921ae
Add function to get current disposition, add baseDisposition to NPC record
2023-09-01 08:06:34 +00:00
Alexei Kotov
2edf3399e2
Modernize extra data records
2023-09-01 01:54:11 +03:00
psi29a
4fbf42b145
Merge branch 'no_dpad_movement' into 'master'
...
Do not bind movement to the Controller DPad, but allow it to be rebound
See merge request OpenMW/openmw!3356
2023-08-31 20:04:38 +00:00
Zackhasacat
ce1c78422b
Do not bind movement to the Controller DPad, but allow it to be rebound
2023-08-31 20:04:37 +00:00
Petr Mikheev
d39552962f
Validate version of resources
2023-08-31 20:56:02 +02:00
Petr Mikheev
f260fa006e
Show OpenMW version and Lua API revision in documentation.
2023-08-31 20:56:02 +02:00
psi29a
5ba13f7aae
Merge branch 'lua_template_new' into 'master'
...
Support 'template' field in createRecordDraft, to use an existing record as a base in lua
See merge request OpenMW/openmw!3387
2023-08-31 08:02:50 +00:00
Petr Mikheev
ea8692a534
Add usehandlers.lua (same approach as activationhandlers.lua)
2023-08-30 22:48:51 +02:00
psi29a
58aeb81e46
Merge branch 'container_ptr' into 'master'
...
Add `obj.parentContainer` in Lua. Refactor ContainerStore::mPtr, ContainerStore::mActor.
See merge request OpenMW/openmw!3381
2023-08-30 10:19:16 +00:00
Zackhasacat
4b7bf62671
Fix weapon table, and docs
2023-08-29 16:37:32 -05:00
elsid
52ab47771c
Initialize expiry delay for all GenericResourceManager instances
2023-08-29 20:25:21 +02:00
Zackhasacat
0085fb923e
Formatting fixes
2023-08-29 11:33:13 -05:00
Zackhasacat
45f25e3f14
Add in initial support
2023-08-29 11:19:11 -05:00
psi29a
a0d3313d8d
Merge branch 'lua_restock' into 'master'
...
Add isRestocking to types.Item
See merge request OpenMW/openmw!3383
2023-08-29 07:07:06 +00:00
Zackhasacat
95c736d54e
Remove gobjefct
2023-08-28 08:50:25 -05:00
Zackhasacat
5fdaee093a
add isRestocking
2023-08-28 08:30:54 -05:00
psi29a
65a15ff0b1
Merge branch 'container_inventory' into 'master'
...
[Lua] Add alias `types.Container.inventory` = `types.Container.content` for consistency with `types.Actor.inventory`
See merge request OpenMW/openmw!3314
2023-08-28 11:32:16 +00:00
psi29a
15a24a5af6
Merge branch 'formid' into 'master'
...
Change FormId::toString to be consistent with RefId. Remove FormIdRefId.
See merge request OpenMW/openmw!3378
2023-08-28 11:32:04 +00:00
psi29a
07edabdc75
Merge branch 'optimize_get_land' into 'master'
...
Optimize Storage::getLand calls
See merge request OpenMW/openmw!3379
2023-08-28 07:01:46 +00:00
psi29a
b866483ca1
Merge branch 'fix_cellstore' into 'master'
...
Fix bug in CellStore::writeReferences (#7542 )
Closes #7542
See merge request OpenMW/openmw!3380
2023-08-28 07:01:17 +00:00
Zackhasacat
84987450ee
Add baseCount
2023-08-27 20:47:43 -05:00
Petr Mikheev
55a9ab4f52
Add obj.parentContainer
in Lua. Refactor ContainerStore::mPtr, ContainerStore::mActor.
2023-08-27 23:45:19 +02:00
Petr Mikheev
1143efd46d
Fix bug in CellStore::writeReferences ( #7542 )
2023-08-27 14:30:46 +02:00
Petr Mikheev
32f3a16db3
Change FormId::toString to be consistent with RefId. Remove FormIdRefId.
2023-08-27 09:55:06 +02:00
elsid
816d3772b9
Cache absent land object
...
This allows to save on lookup in store.
2023-08-27 01:32:36 +02:00
Evil Eye
8f10c8f84a
Don't pass obsolete slot parameter to cast
2023-08-25 16:48:38 +02:00
psi29a
5b3e2fbf1c
Merge branch 'clickbait' into 'master'
...
Assign StringRefIds to attributes
See merge request OpenMW/openmw!3256
2023-08-21 18:59:44 +00:00
psi29a
516108691d
Merge branch 'record_gold' into 'master'
...
Add baseGold to NPC and creature lua records
See merge request OpenMW/openmw!3369
2023-08-21 11:33:11 +00:00
psi29a
86f15fa194
Merge branch 'ui' into 'master'
...
Control GUI from Lua
See merge request OpenMW/openmw!3236
2023-08-21 11:32:24 +00:00
psi29a
ef69ec4adf
Merge branch 'sound_mapping' into 'master'
...
Use a separate lookup for sound files
See merge request OpenMW/openmw!3358
2023-08-21 11:31:35 +00:00
psi29a
5df5c37b18
Merge branch 'lua_check_initialized' into 'master'
...
Fix #7540
Closes #7540
See merge request OpenMW/openmw!3355
2023-08-21 09:30:16 +00:00
psi29a
bfb2ae7948
Merge branch 'fix_moveinto' into 'master'
...
Fix incorrect validation in obj:moveInto
See merge request OpenMW/openmw!3359
2023-08-21 09:29:46 +00:00
Andrei Kortunov
921375a06b
Use a separate lookup for sound files
2023-08-21 08:34:51 +04:00
Zackhasacat
1320261eba
Add baseGold to NPC and creature records
2023-08-20 14:55:23 -05:00
Petr Mikheev
c5ba289bc7
Handle UI modes open/close sounds in Lua
2023-08-20 17:49:56 +02:00
Petr Mikheev
36d22cff1c
Improve GUI mode validation
2023-08-20 17:49:56 +02:00
Petr Mikheev
f1bcf64afb
Dehardcode input.ACTION.Inventory, input.ACTION.Journal, input.ACTION.QuickKeysMenu
2023-08-20 17:49:56 +02:00
Petr Mikheev
87eacf774a
Control GUI modes from Lua
2023-08-20 17:49:56 +02:00
Evil Eye
5a8d108852
Cast to size_t
2023-08-20 16:25:58 +02:00
Evil Eye
62f47acf6b
Replace more explicitly sized reads and variable width integers
2023-08-20 11:34:05 +02:00
Evil Eye
e660a9ca16
Assign StringRefIds to attributes
2023-08-20 10:28:46 +02:00
Petr Mikheev
842e154d8a
Fix incorrect validation in obj:moveInto
2023-08-19 13:08:30 +02:00
Petr Mikheev
5bbbeefee7
Fix #7540
2023-08-19 12:52:01 +02:00
psi29a
e5d5cbcdd1
Merge branch 'save_safeguard' into 'master'
...
Add a safeguard to do not use uninitialized value
See merge request OpenMW/openmw!3349
2023-08-19 09:31:00 +00:00
psi29a
ebf803a00b
Merge branch 'anonymous_namespace' into 'master'
...
Move some code to unnamed namespace
See merge request OpenMW/openmw!3351
2023-08-19 09:30:09 +00:00
elsid
ba1b3ae962
Avoid duplicated addEntryToObjectCache call
2023-08-19 01:30:18 +02:00
elsid
b67ecb4e4f
Remove redundant else
2023-08-19 01:30:17 +02:00
elsid
9cebe78a51
Avoid implicit cast to bool for pointers
2023-08-19 01:30:17 +02:00
elsid
bda29819cf
Reduce include dependency for land records
2023-08-19 01:30:17 +02:00
elsid
955790dc31
Split ESM::Land::loadData
2023-08-19 01:30:17 +02:00
elsid
dc05e9adbb
Avoid redundant check for nullptr
2023-08-19 01:30:17 +02:00
elsid
28614730da
Pass land reference to LandObject constructor
2023-08-19 01:30:17 +02:00
elsid
7c7577a6bd
Do not recreate cache object
2023-08-19 01:30:16 +02:00
elsid
95a39b3281
Use sized types for land records members
2023-08-18 18:30:06 +02:00
psi29a
16628a766f
Merge branch 'fallout4' into 'master'
...
ESM4 Loader: initial Fallout 4 support
See merge request OpenMW/openmw!3347
2023-08-18 16:22:40 +00:00
Andrei Kortunov
1c0ced15c6
Move some code to unnamed namespace
2023-08-18 19:43:50 +04:00
psi29a
a1b7c0c3d5
Merge branch 'fix_build' into 'master'
...
Fix build
See merge request OpenMW/openmw!3350
2023-08-18 15:42:53 +00:00
psi29a
42e7647508
Merge branch 'more_coverity' into 'master'
...
More Coverity fixes
See merge request OpenMW/openmw!3326
2023-08-18 12:19:10 +00:00
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;
^
2023-08-18 12:15:34 +02:00
Petr Mikheev
4211665ede
Merge branch 'sounds' into 'master'
...
Lua bindings for sound functions
See merge request OpenMW/openmw!3247
2023-08-18 09:15:24 +00:00
Andrei Kortunov
88fe328de1
Add a safeguard to do not use uninitialized value
2023-08-18 13:13:00 +04:00
Andrei Kortunov
1555fd8b34
Add assert
2023-08-18 12:46:45 +04:00
psi29a
861b9b215c
Merge branch 'moveinto' into 'master'
...
[Lua] Accept GameObject as destination in obj:moveInto.
See merge request OpenMW/openmw!3318
2023-08-18 08:23:20 +00:00
psi29a
adb5774aa9
Merge branch 'optimize_get_blendmaps' into 'master'
...
Optimize land lookup on blendmaps sampling
See merge request OpenMW/openmw!3333
2023-08-18 08:22:16 +00:00
psi29a
e21e3a0d46
Merge branch 'time' into 'master'
...
Pause/resume the game in Lua scripts
See merge request OpenMW/openmw!3317
2023-08-18 08:22:04 +00:00
psi29a
856262d4c0
Merge branch 'trainingwheels' into 'master'
...
Use the correct skills for training again
Closes #7536
See merge request OpenMW/openmw!3339
2023-08-18 08:21:55 +00:00
psi29a
f9910290e0
Merge branch 'fix_hand_model' into 'master'
...
Fix #7506
Closes #7506
See merge request OpenMW/openmw!3335
2023-08-18 08:21:11 +00:00
Andrei Kortunov
f053188247
Increase Lua API version
2023-08-18 11:18:35 +04:00
elsid
0d4833febb
Fix esmtool dump format
2023-08-17 11:22:05 +02:00
Alexei Kotov
9ec68e864c
Load ESM4 idle animations correctly for every game
2023-08-17 04:33:01 +03:00
Alexei Kotov
5e5a25f901
Show BA2 files in the launcher
2023-08-17 02:12:31 +03:00
Andrei Kortunov
d9c91ff3d9
Add bindings for ESM::Sound records
2023-08-16 20:26:55 +04:00
Petr Mikheev
e2c5f4e766
Fix #7506
2023-08-16 17:14:08 +02:00
jvoisin
1489376951
Apply 1 suggestion(s) to 1 file(s)
2023-08-15 14:55:13 +00:00
Andrei Kortunov
7ce9fc25c5
Implement Lua bindings for sound system
2023-08-15 10:28:29 +04:00
Zackhasacat
3e8a1cce7c
Load ESM4 Terminal objects, add lua bindings for them
2023-08-15 06:23:38 +00:00
jvoisin
4cf80cdac2
Merge branch 'fix_esm4_ai' into 'master'
...
Fix AI in ESM4 cells
See merge request OpenMW/openmw!3338
2023-08-14 22:00:24 +00:00
Evil Eye
f7edf24356
Use std::stable_sort
2023-08-13 20:26:59 +02:00
Alexei Kotov
995de00f58
Merge branch 'fix_errormsg' into 'master'
...
Minor fix of error message in LuaManager::DealyedAction::apply
See merge request OpenMW/openmw!3334
2023-08-13 18:24:58 +00:00
Evil Eye
3141cf9e28
Use the correct skills for training again
2023-08-13 16:10:19 +02:00
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
2023-08-13 13:18:22 +00:00
elsid
eb77fd1813
Add height field to navigator in ESM4 cells
2023-08-13 02:26:45 +02:00
elsid
5abbc56bf2
Use proper cell size for ESM4 cells in CoordinateConverter
2023-08-13 02:24:22 +02:00
Petr Mikheev
efe2dfc056
Minor fix of error message in LuaManager::DealyedAction::apply
2023-08-12 11:08:19 +02:00
elsid
07c1177b0d
Optimize land lookup on blendmaps sampling
...
Minimize number of getLand calls by grouping samples per cell.
2023-08-12 02:57:16 +02:00
elsid
ce6ffba986
Move blendmap sampling logic into separate function
2023-08-12 02:45:09 +02:00
Alexei Kotov
04d54517b7
Always enable has water flag for TES3 exterior cells
2023-08-12 00:52:08 +03:00
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
2023-08-11 18:29:52 +00:00
Alexei Dobrohotov
9723912ee0
Evaluate the attack early for non-biped attacks with no hit key ( #7524 )
2023-08-11 01:27:55 +03:00
elsid
1c4b6a552f
Always enable fog of war in map window
2023-08-10 20:49:35 +02:00
Andrei Kortunov
e749461d06
More Coverity fixes
2023-08-09 15:50:44 +04:00
Petr Mikheev
b5f4cec725
Fix crash if content file is not found (was caused by !3249 )
2023-08-09 10:32:35 +02:00
Petr Mikheev
87912065fd
Rename MWLua::WorldView -> MWLua::ObjectLists
2023-08-08 22:57:28 +02:00
Petr Mikheev
6c4e1f4e8f
Lua commands world.pause / world.unpause
2023-08-08 22:57:28 +02:00
Petr Mikheev
91c7585c8b
Move some time-related function from World and WorldView to DateTimeManager
2023-08-08 22:57:28 +02:00
Petr Mikheev
1a53e9db5d
[Lua] Accept GameObject as destination in obj:moveInto.
2023-08-08 22:56:42 +02:00
Petr Mikheev
ac9facabf5
[Lua] Add alias types.Container.inventory = types.Container.content
2023-08-08 22:56:16 +02:00
psi29a
84e71f4977
Merge branch 'hashtagcornyphrase' into 'master'
...
Don't replace tags when dealing with console input
See merge request OpenMW/openmw!3291
2023-08-08 08:54:23 +00:00
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
2023-08-08 08:54:10 +00:00
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
2023-08-08 08:54:00 +00:00
Evil Eye
fb10014d6e
Remove heal cooldown
2023-08-07 22:44:24 +02:00
Evil Eye
ee92ae7e34
Simplify restore magicka priority
2023-08-07 22:43:39 +02:00
Evil Eye
7c82405c9f
Tweak AI rating to reduce healing spam
2023-08-07 22:43:35 +02:00
elsid
8e7fe44514
Support terrain sample size greater than cell size
2023-08-06 23:47:35 +02:00
elsid
2a49919b53
Move esm3terrain to esmterrain
2023-08-06 19:17:44 +02:00
psi29a
fadfffe22c
Merge branch 'settings_values_map' into 'master'
...
Use settings values for Map settings (#6876 )
See merge request OpenMW/openmw!3284
2023-08-06 16:14:09 +00:00
psi29a
0c5faf8fbb
Merge branch 'save_apply_lua_actions' into 'master'
...
Apply delayed Lua actions before making a save
See merge request OpenMW/openmw!3294
2023-08-06 16:13:33 +00:00
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
2023-08-06 16:13:07 +00:00
psi29a
8d1a19a6f4
[ #7358 ] Make MyGui 3.4.2 required for 0.49
2023-08-06 16:05:59 +00:00
Petr Mikheev
957880d515
Add to ESMStore the records that are needed to render ESM4 actors; cleanup usage of records.hpp
2023-08-05 13:18:09 +02:00
Petr Mikheev
5d54ca6fdb
Refactor components/esm4
2023-08-05 13:12:24 +02:00
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
2023-08-05 10:02:08 +00:00
Chris Vigil
996f5fd7ad
Resolve "Extend searching in the console with regex and toggleable case-sensitivity"
2023-08-05 10:02:07 +00:00
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
2023-08-04 09:05:02 +00:00
psi29a
c290754077
Revert "Merge branch 'loadSSEAlchemyTable' into 'master'"
...
This reverts merge request !3267
2023-08-03 19:55:06 +00:00
psi29a
4aaffa72e5
Merge branch 'more_coverity_fixes' into 'master'
...
More coverity fixes
See merge request OpenMW/openmw!3304
2023-08-03 07:15:34 +00:00
Andrei Kortunov
b3a981e0fc
Simplify strings construction
2023-08-02 17:59:40 +04:00
psi29a
5160fbc2a0
Merge branch 'fixedtimestamp' into 'master'
...
Move TimeStamp to ESM3 and remove sized reads
See merge request OpenMW/openmw!3295
2023-08-02 08:11:33 +00:00
psi29a
b643e58e71
Merge branch 'esm4_cell_description' into 'master'
...
Always log something for loading and unloading ESM4 cell
See merge request OpenMW/openmw!3298
2023-08-02 08:10:59 +00:00
psi29a
354798fc7f
Merge branch 'terrain_fixes' into 'master'
...
Do not copy QVectors twice
See merge request OpenMW/openmw!3308
2023-08-02 08:10:32 +00:00
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
2023-08-02 07:53:01 +00:00
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.
2023-08-01 14:42:53 +02:00
Andrei Kortunov
0723b44a65
Do not copy QVectors twice
2023-08-01 15:45:18 +04:00
psi29a
c86eecb2ea
Merge branch 'movable_objects' into 'master'
...
Move objects instead of copying where possible
See merge request OpenMW/openmw!3289
2023-08-01 10:43:44 +00:00
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
2023-08-01 07:25:34 +00:00
psi29a
23671ced33
Merge branch 'fix_use_after_move' into 'master'
...
Fix use after move in InfoOrder::insertInfo
See merge request OpenMW/openmw!3296
2023-08-01 07:25:17 +00:00
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.
2023-07-31 22:02:21 +02:00
Andrei Kortunov
35561450f1
Do not copy osg::ref_ptr when possible
2023-07-31 20:43:46 +04:00
Andrei Kortunov
d3d7a663c6
Move some objects instead of copying
2023-07-31 20:43:46 +04:00
Andrei Kortunov
dee9ebd05e
Fix operations order
2023-07-31 20:15:30 +04:00
Andrei Kortunov
b1c8a968ae
Do not use invalid iterators
2023-07-31 17:53:33 +04:00
Andrei Kortunov
deba5b4d47
Catch unhandled exceptions
2023-07-31 16:35:31 +04:00
Andrei Kortunov
da06cd005e
Init variables
2023-07-31 16:35:31 +04:00
Andrei Kortunov
c50769c8c5
Catch filesystem exceptions
2023-07-31 16:35:31 +04:00
psi29a
1d207ed318
Merge branch 'test_load_deleted_dialinfo' into 'master'
...
Add test to ensure deleted DialInfos are removed
See merge request OpenMW/openmw!3297
2023-07-31 10:50:07 +00:00
psi29a
4990f786eb
Merge branch 'fix_esm4_exterior_cell' into 'master'
...
Treat ESM4 exterior cells as exterior
See merge request OpenMW/openmw!3282
2023-07-31 10:49:54 +00:00
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
2023-07-31 10:49:33 +00:00
Petr Mikheev
3814830e9f
Fix build (missing include)
2023-07-31 09:32:52 +02:00
Petr Mikheev
0487bf95d1
Merge branch 'coverity49' into 'master'
...
Fix some Coverity warnings
See merge request OpenMW/openmw!3286
2023-07-31 00:09:14 +00:00
Petr Mikheev
e077ca5aa3
Merge branch 'clean_includes_4' into 'master'
...
Cleanup includes
See merge request OpenMW/openmw!3288
2023-07-31 00:04:18 +00:00
Petr Mikheev
abde92e207
Merge branch 'active-spells-rework' into 'master'
...
Lua: active spell params and active spell effects
See merge request OpenMW/openmw!3179
2023-07-31 00:02:05 +00:00
Mads Buvik Sandvei
c18a7801ed
Lua: active spell params and active spell effects
2023-07-31 00:02:05 +00:00
Petr Mikheev
5702cb4b30
Merge branch 'effective-effect-indexing' into 'master'
...
Lua: String overload for effects store index.
See merge request OpenMW/openmw!3285
2023-07-30 23:55:19 +00:00
Mads Buvik Sandvei
edb7081ea6
Lua: String overload for effects store index.
2023-07-30 23:55:19 +00:00
elsid
798f3cc385
Support ESM4 record FullName, CellFlags, X, Y fields by esmtool
2023-07-30 18:20:10 +02:00
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.
2023-07-30 17:13:50 +02:00
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).
2023-07-30 16:50:50 +02:00
elsid
662991dda9
Add test to ensure deleted DialInfos are removed
2023-07-30 14:11:13 +02:00
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.
2023-07-30 13:37:53 +02:00
Evil Eye
79b3855c5b
Move TimeStamp to ESM3 and remove sized reads
2023-07-30 11:37:32 +02:00
Petr Mikheev
f344c26465
Apply delayed Lua actions before making a save
2023-07-30 02:50:22 +02:00
Petr Mikheev
9a9f9d7081
Adjust FormId in FormIdRefId and for items in containers when loading saves
2023-07-30 02:01:09 +02:00
Petr Mikheev
2b601eea6d
Fix crash related to async content loading ( #7508 )
2023-07-29 21:13:57 +02:00
Evil Eye
c47489ef6e
Don't replace tags when dealing with console input
2023-07-29 17:07:37 +02:00
elsid
dd54857610
Add missing array include
2023-07-29 00:29:03 +02:00
elsid
c9c32d9a0d
Cleanup includes
2023-07-29 00:16:43 +02:00
Andrei Kortunov
d8ec78d732
Fix some Coverity warnings
2023-07-28 20:58:18 +04:00
psi29a
81deb3796b
Merge branch 'loadSSEAlchemyTable' into 'master'
...
Load SSE alchemy table
See merge request OpenMW/openmw!3267
2023-07-28 07:46:20 +00:00