psi29a
af4adf41d0
Merge branch 'saveyourvanityforsomeonewhocares' into 'master'
...
Toggle the vanity camera off before toggling to the saved camera mode
Closes #7960
See merge request OpenMW/openmw!4135
2024-05-28 07:37:44 +00:00
Evil Eye
9027af426b
Toggle the vanity camera off before toggling to the saved camera mode
2024-05-26 11:35:13 +02:00
elsid
71369be796
Log caught exceptions
2024-05-26 02:52:11 +02:00
Zackhasacat
c63c1e69cf
Lua: Add missing light flags, allow creating light record via world.createRecord
2024-05-13 14:14:44 +00:00
elsid
01166b1f26
Split ESM headers
2024-05-03 01:55:20 +02:00
AnyOldName3
da8150e2e4
Even more MSVC-specific warnings that evaded detection in CI
2024-03-21 15:51:29 +00:00
Alexei Kotov
a5d88d489b
Merge branch 'menu_fixes' into 'master'
...
Follow up fixes for Lua Menu MR !3464
See merge request OpenMW/openmw!3834
2024-02-05 00:41:11 +00:00
uramer
02accd7a49
Fix statemanager cleanup setting game state to ended by accident
2024-02-04 11:12:12 +01:00
uramer
a1970857fd
Queue quick loads
2024-02-03 15:18:34 +01:00
Zackhasacat
1338e884a9
Merge branch 'menuscripts' into 'master'
...
Add new Lua context: menu scripts
Closes #7805 and #7648
See merge request OpenMW/openmw!3464
2024-02-02 21:46:22 +00:00
uramer
784459a652
Clean up the cleanup code
2024-02-02 22:07:58 +01:00
Andrei Kortunov
66d1e036d2
Pass some arguments by references
2024-02-01 10:02:15 +04:00
uramer
ad8a05e2a1
Trigger a game ended state handler before loading to allow menu scripts to do cleanup
2024-01-30 18:58:15 +01:00
uramer
9cce2e39ba
Merge branch 'master' into menuscripts
2024-01-27 15:45:31 +01:00
uramer
ad5d594c28
Let menu scripts clean up before loading a game
2024-01-27 14:47:22 +01:00
Andrei Kortunov
a6ca726c3a
Fix error message about savegame format
2024-01-21 21:02:59 +04:00
Evil Eye
1880894f4a
Use ciEqual to detect missing content files
2024-01-11 19:05:37 +01:00
uramer
4ed2af7666
Merge branch 'master' into menuscripts
2024-01-10 23:21:42 +01:00
uramer
962ecc4329
Allow menu scripts to read global sections while a game is loaded
2024-01-10 22:28:57 +01:00
Alexei Kotov
5043e67e06
Replicate recent save loading prompt behavior (bug #7617 )
2024-01-08 19:53:52 +03:00
uramer
d1268acf95
Merge branch 'master' into menuscripts
2024-01-07 23:15:21 +01:00
Evil Eye
194bcb0187
Drop support for save game format 0 (pre 0.37)
2023-12-01 16:37:29 +01:00
Evil Eye
23aacbd914
Introduce a minimum supported save game format
2023-12-01 16:37:29 +01:00
Andrei Kortunov
9bbb89e268
Allow to set default focus for interactive messagebox
2023-11-18 18:00:40 +04:00
Andrei Kortunov
ff418f16f2
Do not wait one frame for blocking messageboxes
2023-11-18 16:47:06 +04:00
Andrei Kortunov
f88b99201a
Display missing plugins upon savegame loading (feature 7608)
2023-11-18 14:12:18 +04:00
Petr Mikheev
1dd7a15255
Draft: add new type of Lua scripts - menu scripts
2023-10-31 10:29:24 +01:00
psi29a
febfa353e0
Merge branch 'save_metadata' into 'master'
...
Add additional fields to save metadata
See merge request OpenMW/openmw!3493
2023-10-15 11:42:02 +00:00
Andrei Kortunov
fc74cc49dd
Add additional fields to save metadata (feature 7618)
2023-10-14 09:53:44 +04:00
elsid
1038a68fbf
Use settings values for Saves settings
2023-10-10 20:39:52 +02:00
Petr Mikheev
91c7585c8b
Move some time-related function from World and WorldView to DateTimeManager
2023-08-08 22:57:28 +02:00
psi29a
7b4f7b7f07
Merge branch 'adjust_refnum' into 'master'
...
Adjust FormId in FormIdRefId and for items in containers when loading saves
See merge request OpenMW/openmw!3293
2023-08-08 08:54:00 +00:00
Petr Mikheev
f344c26465
Apply delayed Lua actions before making a save
2023-07-30 02:50:22 +02:00
Petr Mikheev
9a9f9d7081
Adjust FormId in FormIdRefId and for items in containers when loading saves
2023-07-30 02:01:09 +02:00
Christian Bouwense
7d0caf9eec
refactor saveGame to use string_view instead of a const standard string reference
2023-07-23 14:45:01 -04:00
elsid
a91f376892
Do not rely on exceptions to handle absent cell
2023-06-02 13:18:09 +02:00
Zackhasacat
ef004e5eba
Allow creating Activator, Armor, Clothing, Misc, Weapon records via lua
2023-05-25 08:00:12 +00:00
florent.teppe
a3bd6e7e47
ESM::ExteriorCellIndex => ESM::ExteriorCellLocation
2023-05-12 22:05:55 +02:00
florent.teppe
3d06cabf6a
indexToPosition moved from world -> esm/util.hpp
2023-05-12 22:05:55 +02:00
florent.teppe
f261f59809
World::indexToPosition is modified to be less error prone.
2023-05-12 22:05:54 +02:00
florent.teppe
141878f30d
int x, int y , ESM::RefId worldspace => ESM::ExteriorCellIndex
...
also removed the changeToExteriorCell that only took a position as input, didn't work with esm4.
2023-05-12 22:05:53 +02:00
florent.teppe
a62e75fd19
Initial attempt at loading esm4 exteriors
2023-05-12 22:05:52 +02:00
florent.teppe
53cc9f3614
functions return reference instead of ptr
...
because the function can never return an nullptr, we return a reference.
2023-04-20 15:55:40 +02:00
florent.teppe
21bd28542a
Applies review advice
...
2d coord hash moved to hash.hpp file
format version adds suffix to be more coherent
don't use ESM::RefId::sEmpty
RefId equality with string_view, conversion to refId unecessary
action teleport remove test that mCellId is empty
removes some const references, when copy is enough
invalid refid => empty refid
removes useless change
2023-04-03 14:17:35 +02:00
florent.teppe
f99e65843a
Removes most cellId.hpp include, simplifies id generation for cells.
2023-04-03 14:16:32 +02:00
florent.teppe
9f597ecfea
No more Cellid used by ESM4 cells
...
and that also means it is no longer used by MWWorld::Cell
fixes tests
2023-04-03 14:16:04 +02:00
Petr Mikheev
618b912a20
Dehardcode non-game-specific localization GMSTs; Update l10n files.
2023-03-26 13:43:44 +02:00
Evil Eye
54d6fb29c2
Don't store a save's cell name as a RefID
2023-03-22 22:57:52 +01:00
elsid
080700f8fe
Name all custom ESM format versions and add tests
2023-02-10 19:54:15 +01:00
elsid
f09789002a
Define hardcoded global variable names as constants
2023-02-07 00:47:34 +01:00