Petr Mikheev
96399b3d23
Add fallbacks to Store<ESM::GameSetting>
2023-06-12 17:59:40 +02:00
Petr Mikheev
be45b8199e
Whitelist and type validation for fallbacks
2023-06-12 17:59:40 +02:00
Petr Mikheev
e35bf97603
Merge branch 'awildmoonappeared' into 'master'
...
Expose levelled creatures to Lua
See merge request OpenMW/openmw!3127
2023-06-12 15:57:59 +00:00
Evil Eye
9772845f7b
Address feedback
2023-06-11 21:13:34 +02:00
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
2023-06-11 17:41:23 +00:00
Evil Eye
66d9d7e585
Expose levelled creatures to Lua
2023-06-11 15:13:46 +02:00
Evil Eye
24c1909d52
Don't unlock unlocked objects now that unlock is no longer idempotent
2023-06-11 09:43:42 +02:00
elsid
e6e6b65ab3
Remove redundant manipulators
2023-06-10 13:14:52 +02:00
psi29a
724d29aa63
Merge branch 'add_getBounty_to_types_Player' into 'master'
...
Lua: Add getCrimeLevel() to types.Player
See merge request OpenMW/openmw!3118
2023-06-10 08:48:33 +00:00
psi29a
3fcf9dc1d2
Merge branch 'set_scale' into 'master'
...
Allow Lua to set and get GameObject's in game scale
See merge request OpenMW/openmw!3114
2023-06-10 08:48:14 +00:00
psi29a
ec2f0e4645
Merge branch 'fragile' into 'master'
...
More closely replicate Morrowind.exe's locks
Closes #7415
See merge request OpenMW/openmw!3116
2023-06-10 08:47:27 +00:00
psi29a
2686e586e5
Merge branch 'dev-7019' into 'master'
...
Fix improper access of stereo manager by other shared components
See merge request OpenMW/openmw!2437
2023-06-09 21:25:21 +00:00
psi29a
766b829ce6
Merge branch 'fix_7385' into 'master'
...
Fix #7385
Closes #7385
See merge request OpenMW/openmw!3117
2023-06-09 21:23:54 +00:00
psi29a
ca57bbe644
Merge branch 'debug_tgm_tcl' into 'master'
...
Lua commands debug.toggleGodMode and debug.toggleCollision
See merge request OpenMW/openmw!3113
2023-06-09 07:26:44 +00:00
Tobias Tribble
0e6155c529
Added delayed action
2023-06-08 23:50:54 -05:00
Kindi
8962cb818c
Add getCrimeLevel() to types.Player
2023-06-09 07:01:12 +08:00
Petr Mikheev
801a5a3213
Fix #7385
2023-06-08 22:45:37 +02:00
Evil Eye
a5b147d44d
Add a clarifying comment
2023-06-08 21:56:54 +02:00
Evil Eye
da4e04522b
More closely replicate Morrowind.exe's locks
2023-06-08 20:10:32 +02:00
Tobias Tribble
41a2c82f93
Added scale property and setScale function
2023-06-07 19:23:36 -05:00
Petr Mikheev
e773b9d055
Lua commands debug.toggleGodMode and debug.toggleCollision
2023-06-07 23:41:29 +02:00
Petr Mikheev
3b5849add8
Move content files functions to core.contentFiles
and add obj.contentFile
2023-06-07 20:57:48 +02:00
Petr Mikheev
a778dff61d
Add Lua functions to get the current load order and search objects by RefNum/FormId
2023-06-07 20:57:48 +02:00
Petr Mikheev
773669e69b
Add Lua script to handler ESM4 doors with Flag_AutomaticDoor
2023-06-07 20:57:48 +02:00
psi29a
75c371de66
Merge branch 'classyimage' into 'master'
...
Handle non-string RefIds when displaying a class image
See merge request OpenMW/openmw!3111
2023-06-07 06:51:24 +00:00
Evil Eye
6e39c0336c
Handle non-string RefIds when displaying a class image
2023-06-06 17:41:13 +02:00
psi29a
54b0ab9e01
Merge branch 'addpropstartingposandrot' into 'master'
...
Add startingPosition and startingRotation property to GameObject
See merge request OpenMW/openmw!3106
2023-06-06 13:16:33 +00:00
Petr Mikheev
7cecf2844a
Fix #7411
2023-06-05 22:22:58 +02:00
psi29a
25c1e6abee
Merge branch 'clickbait' into 'master'
...
Use std::array in various ESM structs
See merge request OpenMW/openmw!3103
2023-06-05 07:19:38 +00:00
elsid
457fa16e37
Load existing exterior CellStore when required
2023-06-04 22:33:27 +02:00
elsid
01775dd6f0
Try create CellStore for interior cell when not found
2023-06-04 22:33:22 +02:00
psi29a
1843345510
Merge branch 'world_model_absent_cell' into 'master'
...
Do not rely on exceptions to handle absent cell
See merge request OpenMW/openmw!3098
2023-06-04 11:28:54 +00:00
psi29a
2f5bfb4df2
Merge branch 'fix-#7410' into 'master'
...
fix #7410
Closes #7410
See merge request OpenMW/openmw!3104
2023-06-04 11:28:26 +00:00
psi29a
d8463a34d3
Merge branch 'quotes' into 'master'
...
Remove redundant quotes
See merge request OpenMW/openmw!3091
2023-06-04 11:28:14 +00:00
Kindi
dfafac72e9
add startingPosition and startingRotation lua property to gameobject
2023-06-04 14:35:33 +08:00
florent.teppe
04e026c53f
getRecNameString now constexpr
...
getTypeDescription uses a static constexpr variable so we don't return ref to temp memory.
2023-06-03 20:28:25 +02:00
Evil Eye
6b7e7acd16
Replace a number of incorrect index types
2023-06-03 16:30:35 +02:00
Evil Eye
e01a3076dd
Use std::array in NpcStats
2023-06-03 14:26:37 +02:00
Evil Eye
a5bb6c7d8d
Use std::array in NPDTstruct52
2023-06-03 13:27:45 +02:00
Evil Eye
dd83da5eba
Use std::array in FADTstruct
2023-06-03 13:11:49 +02:00
Evil Eye
7be005c9a5
Use std::array in CLDTstruct
2023-06-03 11:58:09 +02:00
Evil Eye
8a474b9807
Use std::array in RADTstruct
2023-06-03 10:45:32 +02:00
psi29a
55cd30ea3b
Merge branch 'string_ref_id_utf8' into 'master'
...
Support UTF-8 by StringRefId::toDebugString (#7407 )
Closes #7407
See merge request OpenMW/openmw!3096
2023-06-03 08:17:19 +00:00
elsid
4a8471ce78
Use original RefId to remove info from InfoOrder
2023-06-03 01:12:21 +02:00
elsid
a91f376892
Do not rely on exceptions to handle absent cell
2023-06-02 13:18:09 +02:00
psi29a
25bbaa2343
Merge branch 'fix_remove_deleted_dialogue_info' into 'master'
...
Fix handling deleted DIAL records (#7397 )
Closes #7397
See merge request OpenMW/openmw!3097
2023-06-02 08:56:24 +00:00
psi29a
d41c7bcaf4
Merge branch 'fix_esmstore_double_initialization' into 'master'
...
Fix the bug "ESMStore::setUp() is called twice" that causes duplicated objects in ESM4 cells
See merge request OpenMW/openmw!3084
2023-06-02 07:31:02 +00:00
psi29a
0bb652d7ce
Merge branch 'clickbait' into 'master'
...
Resolve Attribute GMSTs
See merge request OpenMW/openmw!3090
2023-06-02 07:30:40 +00:00
elsid
b621bfcef0
Define SharedIterator as proper random access iterator
...
Drop Container template argument as it's always std::vector.
2023-06-01 23:48:49 +02:00
elsid
6a3b6c6e4f
Fix handling deleted DIAL records
...
* Use composite RefId to remove INFO record of deleted DIAL record. OrderedInfo
stores original RefId while InfoCollection stores composite one.
* Do not erase deleted topic from InfoOrderByTopic map. To keep all deleted
record ids for InfoCollection::sort call to make sure reorderRowsImp is called
with correct number of indices.
2023-06-01 23:35:40 +02:00