Commit Graph

78 Commits

Author SHA1 Message Date
elsid 0f36b7fc97
Fix and enforce parameter naming 2025-08-27 12:45:09 +02:00
Evil Eye cef59e8928 Replace fixed size writeHNT calls with decomposition 2024-03-03 19:39:19 +01:00
Dave Corley 24443e00bf Feat(CS): Implement selection groups into data model 2023-12-23 15:05:13 -06:00
Evil Eye a9e6e63c4e Remove fixed size reads 2023-12-17 13:00:14 +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 e660a9ca16 Assign StringRefIds to attributes 2023-08-20 10:28:46 +02:00
Evil Eye 79b3855c5b Move TimeStamp to ESM3 and remove sized reads 2023-07-30 11:37:32 +02:00
psi29a 2f5bfb4df2 Merge branch 'fix-#7410' into 'master'
fix #7410

Closes #7410

See merge request OpenMW/openmw!3104
2023-06-04 11:28:26 +00:00
elsid 67e32abd4f
Add default initialization to ESM::Position members 2023-06-04 01:50:04 +02:00
florent.teppe 04e026c53f getRecNameString now constexpr
getTypeDescription uses a static constexpr variable so we don't return ref to temp memory.
2023-06-03 20:28:25 +02:00
Evil Eye 877f6747be Deduplicate specialization code 2023-05-26 12:16:47 +02:00
florent.teppe 08b68fcd48 Cannot load a cell yet, but getting more necessary parts in 2023-01-26 22:36:11 +01:00
florent.teppe c721a6cafa Initial commit to load ESM4
Some data is actually loaded and store in ESM Store
Any new ESM4 will go through the same code path and be automatically sent to the right store
2023-01-01 16:22:57 +01:00
elsid baa39c06bb
Move fourCC to a separate file 2022-11-06 15:35:16 +01:00
clang-format-bot ddb0522bbf
Apply clang-format to code base 2022-09-22 21:35:26 +03:00
florent.teppe 445d91d85d adds missing include 2022-09-06 13:26:13 +02:00
florent.teppe 3cbd0e0762 Fixed naming convention 2022-09-05 17:35:36 +02:00
florent.teppe 9e40550a4a improved readability of esm3Recname and esm4Recname 2022-09-05 17:35:36 +02:00
florent.teppe 7bd7105345 code cleanup 2022-09-05 17:35:36 +02:00
florent.teppe 252550d86f Added records for ESM4s the throw std:: logic error ensures at compile time that there is no collision
static_assert doesn't work because the function can be called at run time
2022-09-05 17:35:35 +02:00
Petr Mikheev a70d5831c5 Lua scripts configuration in omwaddon 2022-06-05 01:36:39 +02:00
psi29a 6d55317d57 Merge branch 'refactor/prng-2' into 'master'
Save random state and refactor usage of generators

See merge request OpenMW/openmw!1715
2022-03-23 09:50:54 +00:00
ζeh Matt b502dc12f0
Add prng to World instance and serialize state in Save 2022-03-21 17:49:42 +02:00
Petr Mikheev d251c4e2a1 [Lua] Change behavior of `obj.type` 2022-03-15 23:35:36 +01:00
duncanspumpkin 3a117cac22 Switch to a constexpr for FourCC constant
Add static asssert on wrong size
2022-03-08 14:48:37 +00:00
Petr Mikheev 68ef96410c Make ESM::Position not packed (should fix #6566) 2022-01-29 02:32:58 +01:00
Evil Eye 5a7a3a0d2d Silence a signed/unsigned mismatch warning 2022-01-04 17:11:55 +01:00
elsid 5a6b39f8e0
Store mesh source data in recast mesh 2021-12-10 23:55:02 +01:00
Petr Mikheev 47c89567fb Load LuaScriptsCfg from both *.omwscripts and *.omwaddon files. 2021-10-26 21:52:42 +02:00
Petr Mikheev 8c6d303730 Saving/loading for Lua scripts (saves format is changed) 2021-07-09 20:24:56 +02:00
jvoisin 89f721fad3 Use a constexpr for esm cc 2021-05-12 22:35:00 +02:00
Andrei Kortunov 89f3f860ed Allow to get a rotation vector from ESM::Position 2021-01-13 14:25:25 +04:00
Andrei Kortunov d997842f8d Use FourCC to declare all ESM record names 2020-06-09 10:07:37 +04:00
Andrei Kortunov 75e7a3e8b1 Do not store object position, if it is the same as in CellRef 2020-06-07 09:25:46 +04:00
Andrei Kortunov 81805b7263 Introduce a separate class to control world date and time 2020-06-05 12:07:32 +04:00
MiroslavR 301dd77efb Save controls state (Fixes #3598) 2016-10-20 02:12:01 +02:00
scrawl fc8e40889d Move common subrecord definitions (NAME, DELE) to defs.hpp 2015-11-13 18:07:18 +01:00
scrawl a066b24303 Restore WeaponAnimation 2015-05-31 01:07:43 +02:00
scrawl 68f93294da Port EffectManager 2015-04-19 17:55:56 +02:00
scrawl 232e34bddd OpenCS: port lighting toolbar, fix multiple context GL objects issue 2015-03-28 20:15:17 +01:00
scrawl bea88c3643 Stolen item tracking overhaul part 2 (Fixes #2338) 2015-02-06 01:27:16 +01:00
scrawl 8b5effe3e0 Fix wrong magic number for JOUR in openmw savegames 2015-01-23 15:34:47 +01:00
scrawl 1e92cab3e7 ESSImport: read dialogue/journal records, not converted yet 2015-01-23 15:34:14 +01:00
scrawl e19ab77d00 Store camera first person state in savegame (Fixes #2255) 2015-01-07 02:34:24 +01:00
scrawl 45b4304237 Store levitation/teleport enabled state in savegames (Fixes #1923) 2014-09-24 12:21:19 +02:00
Marc Zinnschlag d1d861e1be Merge branch 'run'
Conflicts:
	apps/opencs/model/world/columns.cpp
	apps/opencs/model/world/columns.hpp
	apps/opencs/model/world/data.cpp
	components/CMakeLists.txt
2014-09-14 11:59:54 +02:00
scrawl 4f92044d71 Allow user-created markers on local map (Fixes #1571) 2014-08-26 17:45:23 +02:00
Marc Zinnschlag 30f114873d added debug profile record 2014-08-03 10:12:03 +02:00
scrawl e458cf1df2 Savegame: Store death counter (Fixes #1477) 2014-06-13 02:26:53 +02:00
scrawl e266aff561 Savegame: store projectiles 2014-05-17 05:24:32 +02:00