1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-19 19:53:53 +00:00
Commit graph

32092 commits

Author SHA1 Message Date
Petr Mikheev
ea8692a534 Add usehandlers.lua (same approach as activationhandlers.lua) 2023-08-30 22:48:51 +02:00
Alexei Kotov
b2bb19ae4d Support Starfield BA2s 2023-08-30 21:57:30 +03:00
Alexei Kotov
f8b2967dab Alphabetize NIF record type list 2023-08-30 19:20:26 +03:00
Alexei Kotov
4140f9da3c Reorganize the list of recognized NIF records 2023-08-30 19:20:26 +03:00
Alexei Kotov
4d717ade6c Allow BSA string tables to contain padding 2023-08-30 17:39:20 +03: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
8bbaa57a14
Add changelog record for #7557 2023-08-29 21:53:47 +02:00
Kindi
af58b531da change function names and add documentation in overview.rst 2023-08-30 02:33:27 +08:00
elsid
915a8df942
Use struct for GenericObjectCache items 2023-08-29 20:25:21 +02:00
elsid
5f4bd498cf
Move cached value into container to be removed 2023-08-29 20:25:21 +02:00
elsid
d3dca99a76
Preload terrain in single pass
Otherwise there is lodFlags mismatch because some of the neighbours are removed
during preloading. This makes rendering culling create land chunk nodes again
for the same position, lod because lodFlags are different.
2023-08-29 20:25:21 +02:00
elsid
52ab47771c
Initialize expiry delay for all GenericResourceManager instances 2023-08-29 20:25:21 +02:00
elsid
6d120f92e0
Lookup for terrain template using std::map::lower_bound instead of linear search 2023-08-29 20:25:20 +02:00
elsid
b6a3d3c906
Make BaseResourceManager abstract 2023-08-29 20:25:20 +02:00
elsid
3202900fd3
Make GenericResourceManager::setExpiryDelay final 2023-08-29 20:25:20 +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
4a46d772a1 Merge branch 'fix_createRecord' into 'master'
Add two missing record types to world.createRecord docs

See merge request OpenMW/openmw!3386
2023-08-29 09:19:11 +00: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
ecc89ed826 Add two missing record types 2023-08-28 21:20:12 -05: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
Kindi
532230254b add documentation 2023-08-28 02:37:52 +08:00
Petr Mikheev
1143efd46d Fix bug in CellStore::writeReferences (#7542) 2023-08-27 14:30:46 +02:00
psi29a
518aa5c6ae Merge branch 'remembertofeedyourgems' into 'master'
Don't pass obsolete slot parameter to cast

Closes #7556

See merge request OpenMW/openmw!3375
2023-08-27 11:34:12 +00:00
Kindi
92842cedf5 len,codepoint,offset 2023-08-27 16:12:52 +08: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
elsid
eba553821b
Use std::vector for LandCache implementation 2023-08-27 01:32:36 +02:00
Alexei Kotov
102826ddb6 Merge branch 'censusinfighting' into 'master'
Load the lowest faction reaction for every faction

Closes #7553

See merge request OpenMW/openmw!3376
2023-08-26 15:42:48 +00:00
Alexei Kotov
8eba9aa2e9 Merge branch 'fix_quests_example' into 'master'
Remove removed player quest name example

See merge request OpenMW/openmw!3377
2023-08-26 15:42:28 +00:00
Zackhasacat
b571d8d050 Remove player quest name example 2023-08-25 14:25:25 -05:00
Petr Mikheev
fea6f438ee Merge branch 'fix_levelled' into 'master'
Fix types.LevelledCreature in docs

See merge request OpenMW/openmw!3374
2023-08-25 17:44:34 +00:00
Zackhasacat
425076b8dd Fix types.LevelledCreature in docs 2023-08-25 17:44:34 +00:00
Evil Eye
10f1e9a4e0 Load the lowest faction reaction for every faction 2023-08-25 16:57:27 +02:00
Evil Eye
8f10c8f84a Don't pass obsolete slot parameter to cast 2023-08-25 16:48:38 +02:00
Petr Mikheev
773d78192c Merge branch 'stonehenge' into 'master'
Start the game on Friday

Closes #7546

See merge request OpenMW/openmw!3366
2023-08-21 21:31:51 +00:00
Evil Eye
ef6100f788 Start the game on Friday 2023-08-21 21:31:50 +00: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