AnyOldName3
34fcfb63cf
Eliminate redundant version checks
1 year ago
Petr Mikheev
1bfe59e2fb
Load content files during playing logo video
1 year ago
elsid
fac1927f5e
Use settings values for HUD settings
1 year ago
Petr Mikheev
f2edf05a55
Move camera update after teleporting from worldimp to camera.lua
1 year ago
Petr Mikheev
4016e8b383
Lua engine handler onTeleported
1 year ago
Petr Mikheev
086fdb1f37
Run onNewGame handler in LuaManager::synchronizedUpdate
1 year ago
psi29a
baa67893b6
Merge branch 'settings_values_gui' into 'master'
...
Use settings values for GUI settings (#6876 )
See merge request OpenMW/openmw!3238
1 year ago
psi29a
5a31320d8d
Merge branch 'preserve-refnum-on-drop' into 'master'
...
Preserve refnum when dropping items from inventory to ground.
Closes #6148
See merge request OpenMW/openmw!3207
1 year ago
psi29a
85822eca45
Merge branch 'darkmagic' into 'master'
...
Implement the NegativeLight flag
Closes #7477
See merge request OpenMW/openmw!3240
1 year ago
Alexei Kotov
7e1e43f9c6
Allow GMSTs with empty EDID
1 year ago
Mads Buvik Sandvei
61f1f4a013
signed/unsigned comparison warning.
1 year ago
Evil Eye
7573004efc
Implement the NegativeLight flag
1 year ago
Mads Buvik Sandvei
fe0b640f85
Use copyItem() when not moving full stack.
1 year ago
Mads Buvik Sandvei
b8a9fcad68
fixes based on comments by ptmikheev
1 year ago
Mads Buvik Sandvei
e22eec0585
optimize moveItem() by unsetting refnum instead of calling unstackItem.
1 year ago
Petr Mikheev
b583aad14a
Fix bug in LuaManager::reloadAllScripts
1 year ago
elsid
d113f0fc44
Use settings values for GUI settings
1 year ago
psi29a
98bb9fc125
Merge branch 'deserializedeez' into 'master'
...
Make RefId::deserializeText return an empty RefId if no pre-existing StringRefId can be found
See merge request OpenMW/openmw!3226
1 year ago
psi29a
f4295cf67a
Merge branch 'fix_getall' into 'master'
...
Fix argument validation in Lua command `cell:getAll`
See merge request OpenMW/openmw!3195
1 year ago
psi29a
b383efabf5
Merge branch 'urinvalid' into 'master'
...
Don't allow saves with an invalid last generated RefNum to load
Closes #7134
See merge request OpenMW/openmw!3233
1 year ago
psi29a
abb71eeb53
Merge branch 'plannedobsolescence' into 'master'
...
Allow compilation with MYGUI_DONT_USE_OBSOLETE
See merge request OpenMW/openmw!3232
1 year ago
Alexei Kotov
80b7dec571
Prevent object paging from leaking Vvardenfell into other exteriors
1 year ago
Mads Buvik Sandvei
64e55b37ec
Clang'd
1 year ago
Mads Buvik Sandvei
6e03d710ba
Remove ItemModel::copyItem(), it is obsolete.
1 year ago
Evil Eye
44ab0ff8ef
Don't allow saves with an invalid last generated RefNum to load
1 year ago
Evil Eye
a0127dd7e4
Allow compilation with MYGUI_DONT_USE_OBSOLETE
1 year ago
Evil Eye
cd8f2355c0
Only allow StringRefId for Skill ids
1 year ago
Evil Eye
b082afd5b0
Fix price enchantment price calculation to use the correct item count
1 year ago
Evil Eye
f7be94aa21
Address feedback
1 year ago
Evil Eye
967b5d205b
Use StringRefId for skills
1 year ago
Evil Eye
ac9378fa08
Replace Skill::mIndex with Skill::refIdToIndex
1 year ago
Evil Eye
c59032fd66
Make RefId::deserializeText return an empty RefId if no pre-existing StringRefId can be found
1 year ago
Alexei Dobrohotov
39c84c84da
Cap global map cell size (bug #6222 )
1 year ago
Petr Mikheev
95bce836ee
Add non-carriable lights to nearby.items
1 year ago
Petr Mikheev
e96864a79c
Fix argument validation in Lua command `cell:getAll`
1 year ago
Evil Eye
974b4739fa
Add a test for three way merges
1 year ago
Alexei Kotov
89c18d85de
Merge branch 'settings_values_groundcover' into 'master'
...
Use settings values for Groundcover settings (#6876 )
See merge request OpenMW/openmw!3204
2 years ago
Alexei Kotov
4bbbfe74b3
Merge branch 'finishdrag' into 'master'
...
Finish draganddrop before startdrag
See merge request OpenMW/openmw!3186
2 years ago
Kindi
00e5f31242
Finish draganddrop before startdrag
2 years ago
psi29a
429e911da1
Merge branch 'lua_journal' into 'master'
...
Add Lua bindings for journal (second iteration of !3133 )
See merge request OpenMW/openmw!3189
2 years ago
Alexei Dobrohotov
411c71062c
Resist failed normal weapon hits (bug #7284 )
2 years ago
Alexei Dobrohotov
d589b46f96
Launcher, content selector: support ESM4 files
...
Cell name loader ignores ESM4 files
2 years ago
Alexei Dobrohotov
2de8c6b3c0
Don't discard collision for the entire tree if BSXFlags marker flag is set
2 years ago
unknown
09147934fb
Adjust unit tests
2 years ago
Mads Buvik Sandvei
0c37a64a84
Remove resolved TODO
2 years ago
psi29a
a755fa0f34
Merge branch 'cleanup_includes' into 'master'
...
Cleanup includes
See merge request OpenMW/openmw!3203
2 years ago
Alexei Dobrohotov
3b85f9f8cf
Autocomplete ESM4::Cell editor IDs
2 years ago
Mads Buvik Sandvei
8c3c5238d7
Preserve refnum when dropping items from inventory to ground.
2 years ago
psi29a
fbe6a398f8
Merge branch 'unstack-refnum' into 'master'
...
Generate new refnum for the new stack created when unstacking.
See merge request OpenMW/openmw!3206
2 years ago
Mads Buvik Sandvei
0f608f388e
Generate new refnum for the new stack created when unstacking.
2 years ago
psi29a
29ffc2840e
Merge branch 'fix_7448' into 'master'
...
Fix #7448 (onConsume don't work after loading a save if inventory wasn't accessed from Lua)
Closes #7448
See merge request OpenMW/openmw!3194
2 years ago
Petr Mikheev
a09fb8d8f8
Rework Lua bindings for journal
2 years ago
Tobias Tribble
c792582376
Add Lua bindings for journal
2 years ago
elsid
0851f0705d
Use settings values for Groundcover settings
2 years ago
elsid
f6fce5ee15
Cleanup includes
2 years ago
psi29a
63e9a63c67
Merge branch 'i-can-see-nearly-now-the-grass-is-gone' into 'master'
...
Maybe compute an accurate near and far plane using primitives for groundcover
See merge request OpenMW/openmw!2960
2 years ago
psi29a
cab47d0a2a
Merge branch 'settings_values_general' into 'master'
...
Use settings values for General settings (#6876 )
See merge request OpenMW/openmw!3198
2 years ago
psi29a
aa820be986
Merge branch 'cell_for_drafts' into 'master'
...
Add special cell for objects created via Lua scripts and not yet added into the world
Closes #7383
See merge request OpenMW/openmw!3193
2 years ago
Petr Mikheev
fb7ba40385
Merge branch 'lua-bb-once-and-for-all' into 'master'
...
Lua - Fix BB once and for all
See merge request OpenMW/openmw!3143
2 years ago
elsid
ebb8fdc698
Use settings values for General settings
2 years ago
glassmancody.info
a659d2eaeb
lua - fix bounding box once and for all
2 years ago
Petr Mikheev
d830ae37b1
Add special cell for objects created via Lua scripts and not yet added into the world
2 years ago
elsid
a6dbd819a1
Fix writing IndexRefId to ESM3
...
Use correct enum value.
2 years ago
psi29a
8a33edd64a
Merge branch 'cleanup_includes' into 'master'
...
Cleanup includes
See merge request OpenMW/openmw!3191
2 years ago
psi29a
050fc20379
Merge branch 'settings_values_game' into 'master'
...
Use settings values for Game settings (#6876 )
See merge request OpenMW/openmw!3188
2 years ago
Petr Mikheev
e3fa3a3712
Fix 7448 (onConsume don't work after loading a save if inventory wasn't accessed from Lua)
2 years ago
psi29a
6601b0cb15
Merge branch 'fastandloose' into 'master'
...
Drop support for --fs-strict
Closes #7394
See merge request OpenMW/openmw!3093
2 years ago
psi29a
b1e00b59f2
Merge branch 'lua_mwscript' into 'master'
...
Change MWScript Lua bindings (#7142 )
See merge request OpenMW/openmw!2881
2 years ago
elsid
05a42a1816
Cleanup includes
2 years ago
psi29a
023e8f72cd
Merge branch 'master' into 'master'
...
pass time on OnTrainingFinished callback instead of before the fadeScreenIn
See merge request OpenMW/openmw!3181
2 years ago
Dave Corley
dfa4f5da8a
pass time on OnTrainingFinished callback instead of before the fadeScreenIn
2 years ago
elsid
6e8dcc16c6
Use settings values for Game settings
2 years ago
elsid
fb5e5335aa
Initialize mTimerDisposeSummonsCorpses in class definition
2 years ago
elsid
86e5b94ef6
Convert setting value int to CollisionShapeType on initialization
2 years ago
elsid
47978dcb71
Remove unused getActorsProcessingRange function
2 years ago
Petr Mikheev
866f67ed19
Change MWScript Lua bindings ( #7142 )
2 years ago
psi29a
2a271cdecc
Merge branch 'fix_7439' into 'master'
...
Fix #7439 : world.players and nearby.players returns "0_-1" instead of "1_-1"
Closes #7439
See merge request OpenMW/openmw!3183
2 years ago
psi29a
2b11c2cf36
Merge branch 'fix-exterior-regression' into 'master'
...
Fixes #7437
Closes #7388 and #7437
See merge request OpenMW/openmw!3187
2 years ago
florent.teppe
950cc7be83
gets the right worldspace when calculating exterior positions.
2 years ago
Petr Mikheev
39fc832fde
Fix #7441 : Objects that are removed and disabled in the same frame via lua remain in the world but become uninteractable
2 years ago
psi29a
fc5d73648a
Merge branch 'schooled' into 'master'
...
Merge magic schools into skills
See merge request OpenMW/openmw!3148
2 years ago
Kindi
a176e0f9ea
Partial ammo equipping
2 years ago
Petr Mikheev
8ca7770d56
Fix #7439 : world.players and nearby.players returns "0_-1" instead of "1_-1"
2 years ago
Evil Eye
73c2387708
Merge schools into skills
2 years ago
Evil Eye
9947a41c37
Combine magic school properties into structs
2 years ago
psi29a
31efad1dd0
Merge branch 'fix_model_path' into 'master'
...
Fix #7403 : incorrect model path for records created by Lua scripts
Closes #7403
See merge request OpenMW/openmw!3151
2 years ago
psi29a
dd0d66513d
Merge branch 'clickbait' into 'master'
...
Mostly dehardcode attributes
See merge request OpenMW/openmw!3164
2 years ago
psi29a
0ce98ccc0a
Merge branch 'idontwannatalkaboutit' into 'master'
...
Return the actual topic the info came from
See merge request OpenMW/openmw!3176
2 years ago
Evil Eye
c5344b7069
Return the actual topic the info came from
2 years ago
Andrei Kortunov
aad7c5066d
Do not lose existing callbacks for sky node
2 years ago
Evil Eye
9663f4f473
Address jvoisin's remarks
2 years ago
psi29a
47b1247fa2
Merge branch 'l10n' into 'master'
...
Make configurable whether GMST strings have priority over built-in interface messages
See merge request OpenMW/openmw!3134
2 years ago
psi29a
bb7eb0f527
Merge branch 'chargingup' into 'master'
...
Autocalculate enchantment costs and charges
Closes #7428
See merge request OpenMW/openmw!3152
2 years ago
psi29a
c4b62c8380
Merge branch 'objlist_serialize' into 'master'
...
Support LObjectList, GObjectList in Lua serialization
See merge request OpenMW/openmw!3153
2 years ago
Evil Eye
6e5b423d04
Fix saving skill increases
2 years ago
psi29a
a59f22fd30
Merge branch 'esm4_fix' into 'master'
...
Add a safeguard to load only supported records
Closes #7406
See merge request OpenMW/openmw!3158
2 years ago
psi29a
abdd4f5207
Merge branch 'lua_potion_magic' into 'master'
...
Lua: Add effects to potionRecord, ingredientRecord
See merge request OpenMW/openmw!3160
2 years ago
Zackhasacat
611a6429a9
Lua: Add effects to potionRecord, ingredientRecord
2 years ago
psi29a
68415a952e
Merge branch 'lua_quat' into 'master'
...
Breaking change in Lua API: change obj.rotation from Euler angles to Quaternion
See merge request OpenMW/openmw!3123
2 years ago
Evil Eye
abcebd49d2
Allow for more than 8 attributes
2 years ago
Petr Mikheev
57e028fcc9
Merge branch 'container_resolve_lua' into 'master'
...
Lua: Add functions to resolve inventories
See merge request OpenMW/openmw!3157
2 years ago
Zackhasacat
f4980c178d
Lua: Add functions to resolve inventories
2 years ago
psi29a
bbfd906f08
Merge branch 'lua_effect_icon' into 'master'
...
Add icon path to core.MagicEffect
See merge request OpenMW/openmw!3154
2 years ago
Zackhasacat
835a67d876
Add icon path to core.MagicEffect
2 years ago
Mads Buvik Sandvei
5c32b32c58
Lua: ESM::Enchantment bindings
2 years ago
Evil Eye
8edbb9f005
Add attributes to the level up dialog dynamically
2 years ago
Evil Eye
9a4bfed852
Dynamically build the attribute list in the review dialog
2 years ago
Evil Eye
75f0ad4e95
Dynamically build the attribute selection dialog
2 years ago
Evil Eye
ea2cedb5ea
Build the attribute list in the stats window dynamically
2 years ago
Andrei Kortunov
04be1526b2
Add a safeguard to load only supported records
2 years ago
Evil Eye
bac6777fae
Reduce the number of magic numbers
2 years ago
Petr Mikheev
2f16a8d27c
Fix incorrect model part for records created by Lua scripts
2 years ago
Petr Mikheev
8e59c6b67b
Support LObjectList, GObjectList in Lua serialization
2 years ago
Evil Eye
e9bcad4e05
Autocalculate enchantment costs and charges
2 years ago
Petr Mikheev
9d15629ae2
[Lua] Add `nearby.players` and `world.players`
2 years ago
Petr Mikheev
0b9bcf58e2
Merge branch 'active-effect-modifiers' into 'master'
...
Lua bindings for modifying active effects/spells
See merge request OpenMW/openmw!3128
2 years ago
Mads Buvik Sandvei
698316fd2e
Lua bindings for modifying active effects/spells
2 years ago
psi29a
0755954b78
Merge branch 'openmwcs-pref-size' into 'master'
...
Add white space and larger default opening size of OpenMW-CS preferences
See merge request OpenMW/openmw!3145
2 years ago
Matjaž Lamut
d12426f1b0
Add white space and larger default opening size of OpenMW-CS preferences window. Improves first-impression and overall readability.
2 years ago
Bret Curtis
73c5909387
small revert, "It is copying a texture, it is not a default initialized one. The source texture may or may not want GL_CLAMP_TO_EDGE."
2 years ago
Bret Curtis
ff6944701f
Be more explicit about use of CLAMP_TO_EDGE instead of defaulting to GL CLAMP
2 years ago
psi29a
44c3c40058
Merge branch 'lua-world-to-viewport' into 'master'
...
[Lua] Add world to viewport function to camera
See merge request OpenMW/openmw!3139
2 years ago
elsid
04215ca9ec
Use settings values for Fog settings
2 years ago
psi29a
1630e04d1b
Merge branch 'fix_7423' into 'master'
...
Fix #7422 , #7423 , #7424
Closes #7424 , #7423 , and #7422
See merge request OpenMW/openmw!3136
2 years ago
Petr Mikheev
8da6fd1095
Fix #7424
2 years ago
psi29a
3a707d8b98
Merge branch 'herebedreugh' into 'master'
...
Spawn creatures in newly generated exteriors
Closes #7413
See merge request OpenMW/openmw!3126
2 years ago
psi29a
d5f0f44afb
Merge branch 'raise_lower_rank_refactor' into 'master'
...
Refactor raiserank and lowerrank
See merge request OpenMW/openmw!3135
2 years ago
psi29a
807893eb45
Merge branch 'clickbait' into 'master'
...
Mostly dehardcode skills
See merge request OpenMW/openmw!3112
2 years ago
Zackhasacat
3e52971a13
Add duration to core.MagicEffectWithParams
2 years ago
glassmancody.info
c27904aa92
lua - add world to viewport function to camera
2 years ago
Petr Mikheev
ab7eebb356
Fix #7423 (too strict fallback validation)
2 years ago
Kindi
dccf6a2b8c
Refactor raiserank and lowerrank
2 years ago
psi29a
428642d2cf
Merge branch 'fix_7420' into 'master'
...
Fix #7420 (Local scripts on items cause the game to crash when activated)
Closes #7420
See merge request OpenMW/openmw!3131
2 years ago
Evil Eye
f02dd0ef03
Implement onNewExterior to spawn fish in generated exteriors
2 years ago
Petr Mikheev
718d5e4a71
Add setting "gmst overrides l10n"
2 years ago
psi29a
825d862f52
Merge branch 'lua_lock_trap' into 'master'
...
Allow Lua to access lock and trap data for doors and containers
See merge request OpenMW/openmw!2985
2 years ago
Zackhasacat
c108989b26
Allow Lua to access lock and trap data for doors and containers
2 years ago
psi29a
d4e1f9c5de
Merge branch 'fallbacks2' into 'master'
...
Validate fallbacks in openmw.cfg with a whitelist and add them to GMST store
See merge request OpenMW/openmw!3129
2 years ago
Kindi
43e92fa1c9
Add type prop for types.Creature
2 years ago
Petr Mikheev
790ddcf32e
Fix #7420 (Local scripts on items cause the game to crash when activated)
2 years ago
Petr Mikheev
256db78c6c
[Lua] core.getGMST returns `nil` if there is no such game setting
2 years ago
Petr Mikheev
96399b3d23
Add fallbacks to Store<ESM::GameSetting>
2 years ago
Petr Mikheev
be45b8199e
Whitelist and type validation for fallbacks
2 years ago
Petr Mikheev
e35bf97603
Merge branch 'awildmoonappeared' into 'master'
...
Expose levelled creatures to Lua
See merge request OpenMW/openmw!3127
2 years ago
Petr Mikheev
3b43cc2aea
Lua: change obj.rotation from Euler angles to Quaternion
2 years ago
Evil Eye
9772845f7b
Address feedback
2 years ago
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
2 years ago
Evil Eye
66d9d7e585
Expose levelled creatures to Lua
2 years ago
Evil Eye
24c1909d52
Don't unlock unlocked objects now that unlock is no longer idempotent
2 years ago
Evil Eye
3c588900dd
Apply elsid's suggestion and revert 3a888ef543
2 years ago
elsid
e6e6b65ab3
Remove redundant manipulators
2 years ago
psi29a
724d29aa63
Merge branch 'add_getBounty_to_types_Player' into 'master'
...
Lua: Add getCrimeLevel() to types.Player
See merge request OpenMW/openmw!3118
2 years ago
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
2 years ago
psi29a
ec2f0e4645
Merge branch 'fragile' into 'master'
...
More closely replicate Morrowind.exe's locks
Closes #7415
See merge request OpenMW/openmw!3116
2 years ago
psi29a
2686e586e5
Merge branch 'dev-7019' into 'master'
...
Fix improper access of stereo manager by other shared components
See merge request OpenMW/openmw!2437
2 years ago
psi29a
766b829ce6
Merge branch 'fix_7385' into 'master'
...
Fix #7385
Closes #7385
See merge request OpenMW/openmw!3117
2 years ago
psi29a
ca57bbe644
Merge branch 'debug_tgm_tcl' into 'master'
...
Lua commands debug.toggleGodMode and debug.toggleCollision
See merge request OpenMW/openmw!3113
2 years ago
Tobias Tribble
0e6155c529
Added delayed action
2 years ago
Kindi
8962cb818c
Add getCrimeLevel() to types.Player
2 years ago
Petr Mikheev
801a5a3213
Fix #7385
2 years ago
Evil Eye
a5b147d44d
Add a clarifying comment
2 years ago
Evil Eye
e791d2b498
Fix unit tests
2 years ago
Evil Eye
eeda48ec50
Drop support for --fs-strict
2 years ago
Evil Eye
da4e04522b
More closely replicate Morrowind.exe's locks
2 years ago
jvoisin
583a0b4d04
Apply jvoisin's suggestions
2 years ago
Evil Eye
3a888ef543
Prevent a static initialization order fiasco
2 years ago
Evil Eye
627bfa1155
Silence a clang warning
2 years ago
Evil Eye
f62ba346e1
Appease the formatting gods
2 years ago
Evil Eye
2cb77ed48f
Dehardcode skill selection
2 years ago
Evil Eye
9a93dcc39e
Dehardcode the list of skills in the stats window
2 years ago
Evil Eye
15a5fa84f6
Use std::variant in CachedStat
2 years ago
Evil Eye
65b22975c9
Remove SkillEnum
2 years ago
Evil Eye
72f8f9d1ad
Replace remaining skill indices in NpcStats
2 years ago
Evil Eye
1e0ed42294
Use RefId for skills in StatsListener
2 years ago
Evil Eye
28025e84f7
Replace more instances of ESM::Skill::Length
2 years ago
Evil Eye
47c1569961
Use RefId key for NPC skills
2 years ago
Evil Eye
1b956521fc
Reduce skill lookups by index
2 years ago
Evil Eye
16c0f0d5cc
Use a regular TypedDynamicStore for ESM:Skill
2 years ago
Tobias Tribble
41a2c82f93
Added scale property and setScale function
2 years ago
Petr Mikheev
e773b9d055
Lua commands debug.toggleGodMode and debug.toggleCollision
2 years ago
Petr Mikheev
3b5849add8
Move content files functions to `core.contentFiles` and add `obj.contentFile`
2 years ago
Petr Mikheev
a778dff61d
Add Lua functions to get the current load order and search objects by RefNum/FormId
2 years ago
Petr Mikheev
773669e69b
Add Lua script to handler ESM4 doors with Flag_AutomaticDoor
2 years ago
psi29a
75c371de66
Merge branch 'classyimage' into 'master'
...
Handle non-string RefIds when displaying a class image
See merge request OpenMW/openmw!3111
2 years ago
Evil Eye
6e39c0336c
Handle non-string RefIds when displaying a class image
2 years ago
psi29a
54b0ab9e01
Merge branch 'addpropstartingposandrot' into 'master'
...
Add startingPosition and startingRotation property to GameObject
See merge request OpenMW/openmw!3106
2 years ago
Petr Mikheev
7cecf2844a
Fix #7411
2 years ago
psi29a
25c1e6abee
Merge branch 'clickbait' into 'master'
...
Use std::array in various ESM structs
See merge request OpenMW/openmw!3103
2 years ago
elsid
457fa16e37
Load existing exterior CellStore when required
2 years ago
elsid
01775dd6f0
Try create CellStore for interior cell when not found
2 years ago
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
2 years ago
psi29a
2f5bfb4df2
Merge branch 'fix-#7410' into 'master'
...
fix #7410
Closes #7410
See merge request OpenMW/openmw!3104
2 years ago
psi29a
d8463a34d3
Merge branch 'quotes' into 'master'
...
Remove redundant quotes
See merge request OpenMW/openmw!3091
2 years ago
Kindi
dfafac72e9
add startingPosition and startingRotation lua property to gameobject
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
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
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
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
elsid
78b3f7288a
Support UTF-8 by StringRefId::toDebugString
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
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
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
bf49855d9f
Test handling of BSXFlags in bulletnifloader
2 years ago
Petr Mikheev
788a4d32aa
Handle DoubleSided and TreeAnim flags in BSLightingShaderProperty.
2 years ago
Petr Mikheev
1b669db017
Load ESM4::Tree and ESM4::Furniture
2 years ago
Evil Eye
9c60a6fa4d
Replace sSkillNameIds with ESM::Skill::mName
2 years ago
elsid
731ff90c37
Remove unused include
2 years ago
elsid
947e8f0e94
Use CellStore::mStore instead of MWBase::Environment::get()
2 years ago
psi29a
df57f8004b
Merge branch 'default' into 'master'
...
Replace some empty constructors and destructors with default
See merge request OpenMW/openmw!3078
2 years ago
Evil Eye
9214ffb50b
Replace some empty constructors and destructors with default
2 years ago
florent.teppe
ff9e04062d
Applies changes from previous commit
...
from commit bb1d040ac8
Was lost during rebase.
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
florent.teppe
4c4ed77bd7
Fixes Quad tree terrain missing in some places
...
the function that queried if data existed or not didn't take the worlspace into account.
2 years ago
florent.teppe
b29be74491
ground cover manager and object paging exists per worldspace.
...
They don't work though. But at least it doesn't crash. You get a morrowind world on top of the skyrim world.
But it fixes the crashes.
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
7d88a240d3
no default terrain for esm4 exterior.
2 years ago
florent.teppe
2bb17279df
linux build
...
clang format 14.0
Arm64 build
2 years ago
florent.teppe
a9e0489867
fixes stutters => bugs in the way cells were updated.
2 years ago
florent.teppe
0e4d21a40c
takes the right terrain bounds.
2 years ago
florent.teppe
7bc4fc6bf9
Fix issues on terrain change
...
terrain Preloader now preloads the right terrain
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
c35c7b3640
ESM4::Land loaded, added to store and to land objects
...
it does not work yet. Some things are displayed, but it looks all wrong.
2 years ago
florent.teppe
fffcf52316
land manager cache's key is an ExteriorCellLocation
...
ESM4::Land is now a ESM::LandData
2 years ago