Commit Graph

31233 Commits (3b43cc2aea719ab599e664e24358ca0441be108c)
 

Author SHA1 Message Date
Kindi dfafac72e9 add startingPosition and startingRotation lua property to gameobject 2 years ago
elsid e8ef1a2a0c
Add default initialization for ESM4::TeleportDest::flags 2 years ago
elsid 67e32abd4f
Add default initialization to ESM::Position members 2 years ago
florent.teppe 04e026c53f getRecNameString now constexpr
getTypeDescription uses a static constexpr variable so we don't return ref to temp memory.
2 years ago
Evil Eye 6b7e7acd16 Replace a number of incorrect index types 2 years ago
Evil Eye e01a3076dd Use std::array in NpcStats 2 years ago
Evil Eye a5bb6c7d8d Use std::array in NPDTstruct52 2 years ago
Evil Eye dd83da5eba Use std::array in FADTstruct 2 years ago
Evil Eye 7be005c9a5 Use std::array in CLDTstruct 2 years ago
Evil Eye 8a474b9807 Use std::array in RADTstruct 2 years ago
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
2 years ago
psi29a 7910f5baed Merge branch 'fix_remove_deleted_info' into 'master'
Use original RefId to remove info from InfoOrder (#7397)

Closes #7397

See merge request OpenMW/openmw!3102
2 years ago
elsid 4a8471ce78
Use original RefId to remove info from InfoOrder 2 years ago
elsid a91f376892
Do not rely on exceptions to handle absent cell 2 years ago
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
2 years ago
psi29a cc213fb437 Merge branch 'loadBsInvMarker' into 'master'
Load BSInvMarker NIF nodes

See merge request OpenMW/openmw!3092
2 years ago
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
2 years ago
psi29a 4335667d32 Merge branch 'esm4_cleanup' into 'master'
Clean up components/esm4

See merge request OpenMW/openmw!3086
2 years ago
psi29a 0bb652d7ce Merge branch 'clickbait' into 'master'
Resolve Attribute GMSTs

See merge request OpenMW/openmw!3090
2 years ago
elsid b621bfcef0
Define SharedIterator as proper random access iterator
Drop Container template argument as it's always std::vector.
2 years ago
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.
2 years ago
alekulyn dc860ca302 Load BSInvMarker NIF nodes 2 years ago
elsid 78b3f7288a
Support UTF-8 by StringRefId::toDebugString 2 years ago
jvoisin 3152078c7e Restore missing std::endl removed by an overeager regex 2 years ago
jvoisin 0e33730f5d Remove useless logging
As suggested in https://gitlab.com/OpenMW/openmw/-/merge_requests/3086#note_1413234840
2 years ago
jvoisin a58dc6fd30 Use the logging system instead of std::cout in components/esm4
- Remove debug-related includes
- Add some trivial missing includes
- Remove useless {}
- Move the known-but-skipped-records are the end of the switch-cases
- Always throw on unknown records
2 years ago
Petr Mikheev 420916327d Fix the bug "ESMStore::setUp() is called twice" that causes duplicated objects in ESM4 cells 2 years ago
psi29a 8e3e351015 Merge branch 'hide_ptr_registry' into 'master'
Make WorldModel a front-end for PtrRegistry

See merge request OpenMW/openmw!3087
2 years ago
psi29a 27a879de9a Merge branch 'tree_and_furniture' into 'master'
Load ESM4::Tree and ESM4::Furniture

See merge request OpenMW/openmw!3040
2 years ago
psi29a 83c8312060 Merge branch 'esm4_cell_fixes' into 'master'
A few fixes related to ESM4::Cell

See merge request OpenMW/openmw!3083
2 years ago
psi29a 9306cb2cfd Merge branch 'rm_cell_store_equality' into 'master'
Replace operator== for CellStore with pointer equality

See merge request OpenMW/openmw!3081
2 years ago
Andrei Kortunov 9001dc8f88 Remove redundant single quotes 2 years ago
elsid 9012207e32
Make WorldModel a front-end for PtrRegistry 2 years ago
Alexei Kotov 5517c99ff9 Merge branch 'formatustring' into 'master'
Disallow formatting of UString

See merge request OpenMW/openmw!3085
2 years ago
Evil Eye 08f35fe839 Add ESM::Skill::mWerewolfValue 2 years ago
Evil Eye 7b0680de5f Resolve attribute GMST members 2 years ago
Evil Eye eea730768b Replace sIconNames with ESM::Skill::mIcon 2 years ago
Evil Eye 9c819b5705 Disallow formatting of UString 2 years ago
psi29a ac49356bab Merge branch 'fix_read_config' into 'master'
Properly support portable configuration for bulletobjectool and navmeshtool

See merge request OpenMW/openmw!3082
2 years ago
elsid cfab425fb2
Replace operator== for CellStore with pointer quality
Equality operator is confusing and redundant in this case.

It should not be possible to have 2 CellStores for the same cell. There is no
copy constructor defined so it's not possible to get a copy. It's possible to
independently create second store when another one already exist but it would
mean a bug.

Explicitly delete CellStore copy and move constructors and assignment operators
to enforce this.
2 years ago
Petr Mikheev 84d7da1f2c Ignore per-cell water height in exterior ESM4::Cell 2 years ago
Petr Mikheev 5cb4c66266 Avoid using ESM4::Cell with uninitialized fields 2 years ago
elsid 97fed756c8
Properly support portable configuration for bulletobjectool and navmeshtool 2 years ago
Petr Mikheev 01c410d6b1 Remove `mPersistentExteriors` index; fix incorrect Rec_Persistent flag check. 2 years ago
psi29a 8976a1594f Merge branch 'clickbait' into 'master'
Replace sSkillNameIds with ESM::Skill::mName

See merge request OpenMW/openmw!3080
2 years ago
elsid 4cbaa722dd Merge branch 'wazabear/lambdascope' into 'master'
Fix lambda scope for postprocess bindings

See merge request OpenMW/openmw!3070
2 years ago
Cody Glassman 6747619cb1 Fix lambda scope for postprocess bindings 2 years ago
Petr Mikheev 115f1e9800 Fix tree shadows when TreeAnim flag is used 2 years ago
Petr Mikheev bf49855d9f Test handling of BSXFlags in bulletnifloader 2 years ago
Petr Mikheev 19fb9f8e14 Handle editor marker bit in BSXFlags 2 years ago