Dave Corley
77fa41b8c6
CLEANUP(container): Make organic/respawning field names more consistent
2024-06-28 09:26:35 -05:00
Dave Corley
fccf75377d
FEAT: Add organic/respawning flags to containers
2024-06-28 09:21:44 -05:00
Max Yari
1497dae4fa
Better mUse out-of-range handling
2024-06-28 10:00:04 +02:00
Andrei Kortunov
5390634e22
Add a missing null pointer check
2024-06-27 21:10:38 +04:00
Evil Eye
91bcd0a556
Add a showInDialogue parameter to ui.showMessage and use it for level up messages
2024-06-27 17:16:49 +02:00
Max Yari
3eadb84142
Fixed wrong mUse wrapping
2024-06-26 01:25:25 +02:00
psi29a
6754b8d941
Revert "Merge branch 'were_engineers_not_salt_miners' into 'master'"
...
This reverts merge request !4178
2024-06-25 20:58:31 +00:00
psi29a
8471cfb576
Merge branch 'localpairs' into 'master'
...
Allow mwscript variable iteration
See merge request OpenMW/openmw!4180
2024-06-25 07:20:14 +00:00
psi29a
64dd6e36d1
Merge branch 'openmw-cs-error-verify-refnums' into 'master'
...
OpenMW-CS verify duplicate RefNums
See merge request OpenMW/openmw!4012
2024-06-24 18:03:59 +00:00
cykoder
57e7bf3748
OpenMW-CS verify duplicate RefNums
2024-06-24 18:03:59 +00:00
psi29a
11c2cf0780
Merge branch 'esm_script' into 'master'
...
Make loading and saving ESM3 script record more robust
See merge request OpenMW/openmw!4195
2024-06-24 17:59:20 +00:00
Evil Eye
152073a42e
Don't trigger onNewExterior while loading saves
2024-06-24 12:47:24 +02:00
psi29a
57adb93075
Merge branch 'coverity' into 'master'
...
Coverity fixes
See merge request OpenMW/openmw!4198
2024-06-24 07:10:28 +00:00
psi29a
b8d861ca16
Merge branch 'unscriptedrealitytv' into 'master'
...
Don't try to show unallocated or uninitialized profiling data
See merge request OpenMW/openmw!4188
2024-06-24 07:09:43 +00:00
psi29a
456ac2a85b
Merge branch 'were_engineers_not_salt_miners' into 'master'
...
FEAT: Lua Engine Handler for MWScript `startscript` functionality
See merge request OpenMW/openmw!4178
2024-06-24 07:09:24 +00:00
Dave Corley
1a79e79f57
FEAT: Lua Engine Handler for MWScript startscript
functionality
2024-06-24 07:09:23 +00:00
psi29a
d3c3d0cf44
Merge branch 'indexthemoon' into 'master'
...
Move Lua index helpers to components and make owner.factionRank match other ranks
See merge request OpenMW/openmw!4186
2024-06-24 07:06:24 +00:00
Max Yari
13918e3b70
AttackType -> ATTACK_TYPE
2024-06-24 01:15:43 +02:00
Evil Eye
5cf809f39b
Merge branch 'ocd' into 'master'
...
Assorted nitpicks
See merge request OpenMW/openmw!4194
2024-06-23 07:10:07 +00:00
psi29a
7888a11c36
Merge branch 'lushemptyplants' into 'master'
...
Don't display the harvested plant if graphic herbalism is off
See merge request OpenMW/openmw!4193
2024-06-22 16:35:59 +00:00
Alexei Kotov
b0671c76d8
Throw on setting tags that can't provide the setting name
2024-06-22 14:34:09 +03:00
Alexei Kotov
43b381f592
Loop by const ref in activeSpells.add
2024-06-22 12:08:40 +03:00
psi29a
0013a44b71
Merge branch 'datadisplaydelegate' into 'master'
...
React to scale or color changes in editor tables
See merge request OpenMW/openmw!4098
2024-06-22 09:03:19 +00:00
holorat
cd4b7db02d
Reorder profiler stats according to timeline
2024-06-22 00:27:49 +03:00
Max Yari
b01b76b81e
Introduced attacktype enum, fixed lua docs
2024-06-21 23:18:48 +02:00
Max Yari
2ef0568dda
Changed lua enum name, tweaked docs
2024-06-21 23:18:48 +02:00
Max Yari
7d659ae64c
Added lua enum for attacktypes
2024-06-21 23:18:48 +02:00
Max Yari
22d9906978
An ability to specify attack type in controls.use value
2024-06-21 23:18:48 +02:00
elsid
5c3ae3d94c
Make loading and saving script record more robust
...
* Check the header presence before using it.
* Write the header based on the actual content.
2024-06-21 20:37:37 +02:00
Alexei Kotov
c6156011c8
Remove unnecessary lines in actor bindings
2024-06-21 20:22:26 +03:00
Alexei Kotov
479d4931d7
Handle negative MaxNumberRipples more sensibly
2024-06-21 20:16:43 +03:00
elsid
447c4bb6a0
Extend ESM3 Script record tests
2024-06-21 18:01:34 +02:00
elsid
4571a8b88a
Remove unused SCHD type
2024-06-21 15:39:17 +02:00
Evil Eye
2edbabd3d7
Don't display the harvested plant if graphic herbalism is off
2024-06-21 12:15:11 +02:00
Evil Eye
46c8133a72
Don't try to show unallocated or uninitialized profiling data
2024-06-20 19:36:30 +02:00
psi29a
3a686dd8af
Merge branch 'lua_travel_dest_2' into 'master'
...
Expose cell ID, Add actor travel destinations to types.Actor.record.servicesOffered
See merge request OpenMW/openmw!3592
2024-06-19 21:38:27 +00:00
Zackhasacat
533ce499e0
Expose cell ID, Add actor travel destinations to types.Actor.record.servicesOffered
2024-06-19 21:38:27 +00:00
Evil Eye
6aa52c09da
Shuffle code around
2024-06-19 16:47:58 +02:00
Evil Eye
d6fc0744c7
Move Lua index helpers to components and make owner.factiooRank match other ranks
2024-06-18 21:32:16 +02:00
Evil Eye
989686500c
Force windows to exit when popping their GUI mode through Lua
2024-06-18 20:02:39 +02:00
Evil Eye
0f20e47e0e
Add unit tests
2024-06-18 17:43:48 +02:00
Evil Eye
2adaf33fa2
Allow mwscript variable iteration
2024-06-18 17:43:48 +02:00
Kindi
ecb07c9bc7
add mwscript.isRunning
2024-06-17 08:05:52 +08:00
Alexei Kotov
39a231233c
Fully reset the player's cell reference when the player is reset ( #8021 )
2024-06-15 11:49:12 +03:00
psi29a
218e19d8f7
Merge branch 'mapshenanigans' into 'master'
...
Fix local map issues
Closes #8004
See merge request OpenMW/openmw!4174
2024-06-15 08:42:36 +00:00
psi29a
05a70b29c5
Merge branch 'rangingareas' into 'master'
...
Don't apply area of effect for potions and improve range handling
Closes #8018
See merge request OpenMW/openmw!4172
2024-06-15 08:42:11 +00:00
psi29a
98ba2120b6
Merge branch 'zerotohero' into 'master'
...
Use -1 as the plugin index for LandTextures
See merge request OpenMW/openmw!4121
2024-06-14 07:22:27 +00:00
psi29a
6caac886ea
Merge branch 'equalopportunity' into 'master'
...
Support light fade settings in legacy lighting method, remove launcher lighting settings that support runtime changes
See merge request OpenMW/openmw!4168
2024-06-14 07:21:19 +00:00
Evil Eye
5a54cd9406
Fix local map issues
2024-06-13 23:03:57 +02:00
Evil Eye
a934902f12
Don't apply area of effect for potions and improve range handling
2024-06-13 18:00:44 +02:00
Alexei Kotov
d226b72592
Throw on invalid bone group indices in getActiveGroup
2024-06-12 23:26:16 +03:00
Alexei Kotov
6ad914919b
Remove launcher lighting settings that support runtime changes
...
Also update lighting method descriptions
2024-06-12 22:44:12 +03:00
Evil Eye
fbc6629d40
Rework land texture handling
2024-06-12 17:09:28 +02:00
Alexei Kotov
5c6fbc332f
Fix endif conditions in cmake
2024-06-12 15:43:04 +03:00
Alexei Kotov
65a9f78943
Fix flags used in terrain saving/loading tests
2024-06-12 12:50:20 +03:00
psi29a
c1d74763ed
Merge branch 'i-have-no-land-and-i-must-scream' into 'master'
...
Fix(CS): Add landscape flag if it doesn't exist at all and improve landscape QOL
Closes #7707
See merge request OpenMW/openmw!3617
2024-06-11 11:10:33 +00:00
psi29a
61772fa234
Merge branch 'verifiers' into 'master'
...
Complain about fishy local variable names, improve editor effect list handling
See merge request OpenMW/openmw!4160
2024-06-11 11:10:19 +00:00
psi29a
0a7f4e5149
Merge branch 'unit_tests' into 'master'
...
Split openmw_test_suite into openmw and components tests
See merge request OpenMW/openmw!4166
2024-06-11 11:09:43 +00:00
elsid
1e98cc6c3b
Move EXPECT_ERROR macro to a separate header
...
To include it only where it's required.
2024-06-10 23:12:15 +02:00
elsid
7d1cd11ba9
Split openmw_test_suite into openmw and components tests
...
To avoid duplicated compilation for openmw translation units. Link openmw-lib to
openmw-tests instead.
2024-06-10 23:12:14 +02:00
elsid
9b0362fba8
Split openmw into binary and library
...
To make it possible to create a new binary for the tests by linking this
library to it.
Rename openmw-lib into openmw to have libopenmw.a on Linux. Do not rename it on
Windows to avoid conflict with automatically generated lib for exe due to
__declspec(dllexport) presence.
2024-06-10 23:11:34 +02:00
elsid
2e0e0f53b6
Add --coverage to openmw-cs
2024-06-10 23:04:01 +02:00
Evil Eye
965bc20bab
Set mPluginIndex to -1 for textures defined in this plugin
2024-06-10 21:39:10 +02:00
Evil Eye
ed5bedb9db
Use record state to determine if a LandTexture record was defined in the current plugin
2024-06-10 21:39:10 +02:00
psi29a
cbf0471d8a
Merge branch 'launch_button' into 'master'
...
Set minimum width for Launch OpenMW button
See merge request OpenMW/openmw!4162
2024-06-10 13:51:13 +00:00
psi29a
3ef4180464
Merge branch 'soulless' into 'master'
...
Properly copy items between containers
See merge request OpenMW/openmw!4139
2024-06-10 13:49:51 +00:00
psi29a
56183ba982
Merge branch 'ingameppl' into 'master'
...
Move force per-pixel lighting setting to the in-game settings
See merge request OpenMW/openmw!4137
2024-06-10 13:49:14 +00:00
Dave Corley
659874cb65
FEAT: Update land flag representation in ESMTool
2024-06-10 02:03:02 -05:00
Dave Corley
145f9c1154
CLEANUP(CS): Do heightData check in actual implementation, revert
...
accidental change to land condition order
2024-06-10 02:02:31 -05:00
Dave Corley
86316fa7ab
Fix(cell.cpp): Don't try to update land for interiors
2024-06-10 02:02:31 -05:00
Dave Corley
10eb807e72
Fix(Cell.hpp): Correct include path for document
2024-06-10 02:02:31 -05:00
Dave Corley
0a8fee59dd
Don't store member variables from document & use simpler and safer
...
inputs to cell constructor. Explicitly tell the constructor whether land
should be loaded or not
2024-06-10 02:02:31 -05:00
Dave Corley
47044e1dc0
Cleanup(CS): re-add const for land collection
2024-06-10 02:02:31 -05:00
Dave Corley
89bce6f678
Fix(CS): Enum name in accordance with current standards
2024-06-10 02:02:31 -05:00
Dave Corley
6f2ae4a33b
Cleanup(CS): Improve readability and clean up some implementations
2024-06-10 02:02:31 -05:00
Dave Corley
ad135e3b95
Fix(cell.cpp): Change commands.hpp to absolute include path
2024-06-10 02:02:31 -05:00
Dave Corley
d8187e40b2
Feat(CS): Create LAND record using the undo stack
2024-06-10 02:02:31 -05:00
Dave Corley
731302ecff
Feat(CS): Add undo stack as a member of CSVRender::Cell
2024-06-10 02:02:31 -05:00
Dave Corley
f565730a9a
Fix(cell.cpp): never try to update land for interiors
2024-06-10 01:58:34 -05:00
Dave Corley
dd7a2f22d1
Cleanup(CSVRender::Cell:updateLand): Early exit when landscape should
...
not be loaded
2024-06-10 01:58:34 -05:00
Dave Corley
78fd135764
Fix(CS): Remove unreachable code as land data will always be present
2024-06-10 01:58:34 -05:00
Dave Corley
3e7335ddc7
Fix(CS): Initialize landscape when opening an existing cell without VHGT
2024-06-10 01:58:34 -05:00
Dave Corley
2541b74fc6
Fix(CS): Apply land flags when appropriate edits are made
2024-06-10 01:58:34 -05:00
elsid
6ba42314df
Fix Ptr::toString
2024-06-09 04:08:18 +02:00
Andrei Kortunov
fb3687e62a
Set minimum width for Launch OpenMW button
2024-06-08 17:20:54 +04:00
Alexei Kotov
dd0ff13ba9
Reset attribute/skill arguments in IngredEffectRefIdAdapter if needed
2024-06-08 13:50:40 +03:00
Alexei Kotov
3051e0834a
Accept invalid effect IDs and ranges in EffectsListAdapter
2024-06-08 13:49:39 +03:00
psi29a
9087de1596
Merge branch 'esm3_land' into 'master'
...
Add unit tests for saving and loading ESM3 Land
See merge request OpenMW/openmw!4159
2024-06-08 10:47:58 +00:00
Alexei Kotov
252ee7f8c4
Deduplicate effect list verification
...
Drop Potion-specific range check, it's irrelevant
2024-06-08 06:31:18 +03:00
Alexei Kotov
ba20ba2c6c
Editor: Warn if a magic effect's max magnitude is zero
2024-06-08 06:31:18 +03:00
Alexei Kotov
2fdbd6287d
Editor: Verify magic effects for enchantments, ingredients and potions
...
Use constants for known magic effect/skill/attribute range
2024-06-08 06:31:17 +03:00
psi29a
176e6490c5
Merge branch 'stufftheminasack' into 'master'
...
Drop 360-degree screenshot support (#7720 )
Closes #7720
See merge request OpenMW/openmw!4158
2024-06-07 20:50:43 +00:00
psi29a
a80f5c109c
Merge branch 'ltexerasure' into 'master'
...
Fix LTEX overriding and allow deletion
See merge request OpenMW/openmw!4152
2024-06-07 08:05:56 +00:00
elsid
044748725c
Add unit tests for saving and loading ESM3 Land
2024-06-07 00:22:24 +02:00
psi29a
24d8accee7
Merge branch 'lua_base_disposition_fns' into 'master'
...
lua - Add [get,set,mod]BaseDisposition functions to npc type
See merge request OpenMW/openmw!4142
2024-06-06 21:44:55 +00:00
Mads Buvik Sandvei
e063fa5b23
rename template_ to templatePtr
2024-06-06 16:51:51 +02:00
Alexei Kotov
93d1c6d7e0
Drop 360-degree screenshot support ( #7720 )
2024-06-06 14:46:01 +03:00
Mads Buvik Sandvei
90b415a8dd
comments by elsid
2024-06-06 11:20:14 +02:00
Alexei Kotov
593d4ff714
Move per-pixel lighting to the in-game settings
2024-06-06 05:19:33 +03:00
psi29a
ee5ccaa760
Merge branch 'setangleaxis' into 'master'
...
Fix SetAngle alternative axis order
See merge request OpenMW/openmw!4155
2024-06-05 21:00:15 +00:00