Commit Graph

1139 Commits (7cea0344b28125c5afbff74c234d4c942597f552)

Author SHA1 Message Date
Alexei Kotov 8c27dca1df ESM4: add a way to get the current form version
Differentiate between Fallout 4 and TES4 version 1.0 plugins
1 year ago
Alexei Kotov 7e360df6c0 Place ESM4::Flora instances to the scene 1 year ago
Petr Mikheev 32f3a16db3 Change FormId::toString to be consistent with RefId. Remove FormIdRefId. 1 year ago
Evil Eye e660a9ca16 Assign StringRefIds to attributes 1 year ago
elsid bda29819cf
Reduce include dependency for land records 1 year ago
elsid 53c3f95ac8
Avoid redundant copy for LandData underlying data 1 year ago
elsid 955790dc31
Split ESM::Land::loadData 1 year ago
elsid e6f35373b5
Remove ESM::LandObject dependency on ESM::Land 1 year ago
elsid 8a88a2d61f
Make ESM::LandData::mLoadFlags private 1 year ago
elsid 9aa9ce48c9
Use proper naming style for ESM4::Land static variables 1 year ago
elsid 95a39b3281
Use sized types for land records members 1 year ago
Alexei Kotov 4b38db4a69 Only use loaded data for ESM4::Land
Prevents broken vertex colors in cells that lack vertex colors
1 year ago
psi29a e21e3a0d46 Merge branch 'time' into 'master'
Pause/resume the game in Lua scripts

See merge request OpenMW/openmw!3317
1 year ago
Zackhasacat 3e8a1cce7c Load ESM4 Terminal objects, add lua bindings for them 1 year ago
Petr Mikheev 87912065fd Rename MWLua::WorldView -> MWLua::ObjectLists 1 year ago
Petr Mikheev 957880d515 Add to ESMStore the records that are needed to render ESM4 actors; cleanup usage of `records.hpp` 1 year ago
Petr Mikheev 5d54ca6fdb Refactor components/esm4 1 year ago
psi29a 5160fbc2a0 Merge branch 'fixedtimestamp' into 'master'
Move TimeStamp to ESM3 and remove sized reads

See merge request OpenMW/openmw!3295
1 year ago
Evil Eye 79b3855c5b Move TimeStamp to ESM3 and remove sized reads 1 year ago
Andrei Kortunov d8ec78d732 Fix some Coverity warnings 1 year ago
Petr Mikheev 9b511fdf7a Load ESM4 actors 1 year ago
Alexei Kotov 25f5c5651d Sort ESM3ExteriorCellRefIds earlier than StringRefIds
Causes inconsistency with the serialized type enumeration, but necessary for COC to work correctly
1 year ago
Evil Eye 7b909c8d24 Create getRefIds 1 year ago
Evil Eye c59032fd66 Make RefId::deserializeText return an empty RefId if no pre-existing StringRefId can be found 1 year ago
psi29a 2f5bfb4df2 Merge branch 'fix-#7410' into 'master'
fix #7410

Closes #7410

See merge request OpenMW/openmw!3104
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
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 0bb652d7ce Merge branch 'clickbait' into 'master'
Resolve Attribute GMSTs

See merge request OpenMW/openmw!3090
2 years ago
elsid 78b3f7288a
Support UTF-8 by StringRefId::toDebugString 2 years ago
Evil Eye 7b0680de5f Resolve attribute GMST members 2 years ago
Petr Mikheev 1b669db017 Load ESM4::Tree and ESM4::Furniture 2 years ago
florent.teppe ad8cfde4e0 ESM::LandData no longer a virtual interface
instead it is constructed from ESM::Land or ESM4::Land
2 years ago
fteppe 22dc383f63 fixes errors and warnings
Applies review comments

getWorldspaceTerrain => returns a reference because never null
crashfix in navigator
updateLandPositions fixes naming of it
const ESM4::Land* MWWorld::Store<ESM4::Land>::search(ESM::ExteriorCellLocation cellLocation) const removes useless else
ExteriorCellLocation uses default initializers
get terrain height returns -MAX_FLOAT when there is no esm4 terrain.

applied review comments

use default initlializer when possible
factorise code
uses pattern matching in for loop.
2 years ago
florent.teppe d0211acf9e Fixes bug in terrain loading + collision heightmap works
although terrain rendering is 100% broken right now
2 years ago
florent.teppe fffcf52316 land manager cache's key is an ExteriorCellLocation
ESM4::Land is now a ESM::LandData
2 years ago
florent.teppe e0fa15b727 Abstracted Land data that can be used by esm3 and esm4. 2 years ago
Evil Eye 90a3a7b62f Add mWerewolfGMST 2 years ago
Evil Eye a5e1c87fb8 Remove sGmstAttributeIds, sGmstAttributeDescIds, sAttributeIcons 2 years ago
unknown 14600de185 Remove sAttributeIds and sSkillIds 2 years ago
elsid 235eb65c97
Rename positionToCellIndex to match return type 2 years ago
Evil Eye 877f6747be Deduplicate specialization code 2 years ago
Pierre Mossler e6838cddc7 missing include in attr.cpp 2 years ago
Mads Buvik Sandvei b791ce9132 Remove redundant qualifiers 2 years ago
Mads Buvik Sandvei 7ba43c9426 actor.ActiveEffects and actor.ActiveSpells 2 years ago
florent.teppe a3bd6e7e47 ESM::ExteriorCellIndex => ESM::ExteriorCellLocation 2 years ago
florent.teppe 393357abc0 ESM::Cell::positionToCellIndex returns a ESM::ExteriorCellIndex
and takes a worldspace id as input
ESM::getCellSize takes a wordspace as input.
removed useless static in static inline funcs
2 years ago
florent.teppe 559830f59a applies review comments
Removes ToLowercase after .serializeText
removed unused variable
!ptr => ptr == nullptr
better indentation + error message on throw
friend struct std::hash<...> useless on struct with all public fields.
2 years ago
florent.teppe 3d06cabf6a indexToPosition moved from world -> esm/util.hpp 2 years ago
florent.teppe 1cf0cd5628 moved mwworld/cellutils.hpp -> esm/util.hpp 2 years ago