Commit Graph

3916 Commits (69c4a68187d15719cb4e0277e35b2b30ba5b0f3f)

Author SHA1 Message Date
AnyOldName3 36a75cdb29 Get the GLExtensions instance when a context is created 10 months ago
Dave Corley ce2787e15e Cleanup(loadcell): Rename setHasWater to setHasWaterHeightSub 10 months ago
Dave Corley bb35f0366a Fix(loadcell): Save water height regardless of value, if the user actually adjusted it 10 months ago
Dave Corley 090a389feb Cleanup(idvalidator): Just don't use isValid function and instead
directly check if input is a printable char
10 months ago
Dave Corley 9fc66d5de6 Fix(idvalidator): Allow any printable character in refIds 10 months ago
elsid e9c672b297
Fix build with cmake flag BUILD_SHARED_LIBS=ON
Always build opencs-lib as static library instead of BUILD_SHARED_LIBS deciding
whether it's static or shared library.
11 months ago
Dave Corley 54f4c69d37 Cleanup(columnimp): Use std::clamp to limit race scaling 11 months ago
Dave Corley 54e90b4ac2 Legacy(columnimp): Add TESCS limits for race weight/height scaling 11 months ago
Dave Corley 1b1f0c4971 Switch height/weight in names and make the stats a simple struct instead 11 months ago
Dave Corley 98ad059806 Cleanup(actoradapter): Use more explicit names & vec2 for racial height/weight 11 months ago
Dave Corley 049550d73e Cleanup(Actoradapter.cpp): Create new struct for race stats, use
std::pair instead
11 months ago
Dave Corley b31664a78f Fix(CS): Scale actors according to their race's stats 11 months ago
Andrei Kortunov 7e345436f4 Localize Launcher and Wizard 11 months ago
psi29a 6136e3d8fc Merge branch 'csspellarg' into 'master'
Editor: Reset effect arguments when the effect ID changes (#7785)

Closes #7785

See merge request OpenMW/openmw!3802
11 months ago
psi29a f656d2e380 Merge branch 'shutupverifier' into 'master'
Editor: Silence some verifier warnings

See merge request OpenMW/openmw!3814
11 months ago
psi29a 7450b11402 Merge branch 'vfs_normalized_path_1' into 'master'
Use normalized path for VFS manager and RecursiveDirectoryIterator

See merge request OpenMW/openmw!3806
11 months ago
Alexei Kotov b83b30f0dc Editor: Reset effect arguments when the effect ID changes (#7785) 11 months ago
Evil Eye aa9a99bde5 Merge branch 'magic_effects_fix' into 'master'
Fix magic effects in the editor

Closes #7481

See merge request OpenMW/openmw!3798
11 months ago
Alexei Kotov 70a0b7ea9c Editor: Drop zero attribute warnings 11 months ago
Alexei Kotov 48bbf0b637 Editor: Don't complain about body part references in Verify 11 months ago
elsid 70061329a1
Return Path::Normalized from RecursiveDirectoryIterator 11 months ago
jvoisin ec6ac8058b Merge branch 'vfs_normalized_path' into 'master'
Add type for normalized VFS path and use for VFS::Manager file map key

See merge request OpenMW/openmw!3781
11 months ago
psi29a 76ad680549 Merge branch 'tools' into 'master'
Use move semantics for tools

See merge request OpenMW/openmw!3795
11 months ago
Andrei Kortunov 737d3b499b Use move semantics for tools 12 months ago
Andrei Kortunov e01e2f1ae0 Fix magic effects in the editor 12 months ago
Andrei Kortunov 251d01304f Use move semantics for osg::ref_ptr 12 months ago
psi29a c23cd8e544 Merge branch 'umlautontherocks' into 'master'
Convert strings in nif files to utf8

Closes #7780

See merge request OpenMW/openmw!3783
12 months ago
psi29a 6ead5f9321 Merge branch 'touch_record' into 'master'
Fix Touch command

See merge request OpenMW/openmw!3778
12 months ago
Evil Eye 0f6133b040 Merge branch 'move_editor' into 'master'
Move local variables in the editor

See merge request OpenMW/openmw!3771
12 months ago
Evil Eye 48db113149 Address feedback 12 months ago
Evil Eye 27fa411f4f Convert strings in nif files to utf8 12 months ago
elsid a2147d70cc
Use forward declaration for some VFS types
This will allow to save on preprocessed code size in the future changes.
12 months ago
Andrei Kortunov a91e557c68 Fix Touch command (bug 7765) 12 months ago
psi29a 2836ca2d91 Merge branch 'dynamic_casts' into 'master'
Check dynamic cast results

See merge request OpenMW/openmw!3761
12 months ago
Andrei Kortunov f8c1d48c0b Get rid of redundant casts 12 months ago
Andrei Kortunov 074ab682ab Move local variables in the editor 12 months ago
Yury Stepovikov 52623ddd7d Set MacOS current_path before reading configuration files [#7706] 12 months ago
elsid 66f5d70550
Use settings values to declare shortcut settings 12 months ago
Evil Eye 64673ea21f Merge branch 'editor_colour_settings' into 'master'
Use settings values to declare colour settings (#6876)

See merge request OpenMW/openmw!3747
12 months ago
psi29a 1bccd8483f Merge branch 'cs-icon-fix' into 'master'
Add OpenMW-CS RC file to app rather than static lib

See merge request OpenMW/openmw!3740
12 months ago
elsid cc0b00a0d2
Use settings values to declare colour settings 12 months ago
psi29a eedb96863e Merge branch 'editor_enum_settings' into 'master'
Use settings values to declare enum settings (#6876)

See merge request OpenMW/openmw!3724
1 year ago
AnyOldName3 6d37618301 Add OpenMW-CS RC file to app rather than static lib
Static libraries on Windows can't have embedded resources, so this mean the icon for the CS wasn't used.
This could have also been resolved by explicitly requesting the library type as OBJECT rather than letting it default to STATIC (as object libraries aren't a thing on-disk and are just an abstraction in CMake so you can use the same object files in different targets), but this seemed less invasive.

I also made it Win32-only as a Windows .rc file is meaningless on Unix, but it shouldn't be MSVC-only as MinGW can consume them.
1 year ago
Dave Corley c563219b61 Cleanup(CS): Pass const ref when applicable for selection groups 1 year ago
Dave Corley 3ff1bae372 Cleanup(CS): More consistent names for selection group configs 1 year ago
Dave Corley c93b6dca0a Fix(CS): Add record type to selection groups to fix #7759 1 year ago
elsid 72fa4924dc
Use settings values to declare enum settings 1 year ago
jvoisin 29c20cdb41 Merge branch 'fix_universal_id' into 'master'
Add missing UniversalId::mClass initialization

See merge request OpenMW/openmw!3707
1 year ago
elsid 94409ce172
Add missing UniversalId::mClass initialization 1 year ago
Evil Eye e63933efa6 Use NAM9 for stack count 1 year ago
Alexei Kotov 0f9eb3d85a Merge branch 'editor_double_settings' into 'master'
Use settings values to declare double settings (#6876)

See merge request OpenMW/openmw!3701
1 year ago
Alexei Kotov 8a91e7057f Merge branch 'ref_id_universal_id' into 'master'
Fix RefId based UniversalId (#7747)

Closes #7747

See merge request OpenMW/openmw!3702
1 year ago
psi29a cb24475662 Merge branch 'what-a-selection-you-have' into 'master'
Feat(CS): Add More Selection Controls

See merge request OpenMW/openmw!3674
1 year ago
elsid 39dd73263d
Avoid converting UniversalId to a different type via string 1 year ago
elsid 7b5310b569
Write StringRefId as is when converting UniversalId to string
To avoid adding quotes which on conversion ESM::StringRefId -> UniversalId ->
std::string -> UniversalId changes the string value adding quotes.
1 year ago
elsid 0fc78aa173
Make ESM::StringRefId compatible with std::string UniversalId 1 year ago
elsid 088d4ee5ce
Use settings values to declare double settings 1 year ago
elsid 6a16686107
Use settings values to declare string settings 1 year ago
psi29a a2c6009352 Merge branch 'editor_bool_settings' into 'master'
Use settings values to declare bool settings (#6876)

See merge request OpenMW/openmw!3679
1 year ago
jvoisin f80ba4e28c Apply 1 suggestion(s) to 1 file(s) 1 year ago
psi29a f80bbd4e39 Merge branch 'these-are-the-datas-youre-looking-for' into 'master'
Add game-independent VFS directory to CS' VFS

See merge request OpenMW/openmw!3683
1 year ago
AnyOldName3 01e2e56f97 Add game-independent VFS directory to CS' VFS
This should have been like this all along - all the other applications that use the game's VFS do this.
1 year ago
Andrei Kortunov 1ca2a0ef66 Store generated UI by pointer to avoid redundant processing 1 year ago
Alexei Kotov 51b05647e2 Merge branch 'move_files' into 'master'
Move *.ui files for different applications to different folders

See merge request OpenMW/openmw!3659
1 year ago
elsid edaac852d1
Use settings values to declare bool settings 1 year ago
Dave Corley 25f3e09da9 Fix(CS): Correct build issues on some compilers 1 year ago
Dave Corley 33ce7782e9 Feat(worldspacewidget.cpp): Add shortcut to clear selection 1 year ago
Dave Corley a7f8ee1106 Feat(instancemode.cpp): Implement save/load selection group functions 1 year ago
Dave Corley 23e75bed8f Feat(object.cpp): Make object outline an optional argument when selecting it 1 year ago
Dave Corley f287914f1e Feat(cell.cpp): Add select/unhide functions in cell.cpp 1 year ago
Dave Corley 8edc148418 Feat(CS): Implement select/unhide functions into interior & exterior
worldspace widgets
1 year ago
Dave Corley 94eadd436d Feat(worldspacewidget.cpp): Implement shortcut for visibility switching
& unhiding all instances
1 year ago
Dave Corley 9d155afc15 Feat(worldspacewidget.hpp): Add virtual decs for selection functions 1 year ago
Dave Corley cf098033b9 Feat(Mask.hpp): Add mask for hidden objects 1 year ago
Dave Corley 0ec6dcbf1f Feat(Settings): Implement shortcuts for hiding refs & selection groups 1 year ago
Dave Corley 24443e00bf Feat(CS): Implement selection groups into data model 1 year ago
Alexei Kotov c6a1196ec7 Merge branch 'editor_int_settings' into 'master'
Use settings values to declare int settings (#6876)

See merge request OpenMW/openmw!3668
1 year ago
jvoisin 2873f971a6 Merge branch 'downsized' into 'master'
Remove explicitly sized reads

See merge request OpenMW/openmw!3663
1 year ago
elsid 66b1745520
Use settings values to declare int settings 1 year ago
Andrei Kortunov e6690bbcc7 Use CMAKE_CURRENT_SOURCE_DIR instead of CMAKE_SOURCE_DIR 1 year ago
Evil Eye 36b61d7074 Merge branch 'copy-that' into 'master'
Feat(CS): Implement Instance Cloning

See merge request OpenMW/openmw!3654
1 year ago
Andrei Kortunov 2e041073fc Move *.ui files for different applications to different folders 1 year ago
Alexei Kotov 7922f0e7f8 Merge branch 'editor_modifier_settings' into 'master'
Use settings values to declare modifier settings (#6876)

See merge request OpenMW/openmw!3656
1 year ago
Evil Eye 37415b0382 Don't use getExact to read structs 1 year ago
Evil Eye a9e6e63c4e Remove fixed size reads 1 year ago
elsid a29ae07957
Fix CS Key Binding settings page
This got broken by e07d8f3066. Creating QGridLayout with parent and setting it
later has not the same effect.
1 year ago
elsid 11db9eec1d
Use settings values to declare modifier settings 1 year ago
Dave Corley bc662aeb63 Fix(CS): Fix minor issue in deleteSelectedInstances impl which caused it
to run twice
1 year ago
Dave Corley 7069a970ae Feat(CS): Implement instance cloning 1 year ago
Dave Corley 2bb8ceef56 Fix(CS): Correct invalid refNum for cloned objects so they actually
appear ingame
1 year ago
Dave Corley 2a747529bb Feat(CS): Add new shortcut for duplicating instances 1 year ago
Evil Eye 78da1eb41f Merge branch 'settings_values_editor_2' into 'master'
Use settings values for editor (#6876)

See merge request OpenMW/openmw!3633
1 year ago
Andrei Kortunov 6f68df9ac2 Avoid redundant copies 1 year ago
elsid e1a68d8cf5
Ignore absent default setting value 1 year ago
elsid 4c13ecea23
Use settings values for editor 1 year ago
elsid 88a6ecabae
Add lookup index to editor settings category
Prevent adding duplicate settings there.
1 year ago
Alexei Kotov 7c63522870 Merge branch 'settings_values_editor_1' into 'master'
Define editor settings as typed struct members (#6876)

See merge request OpenMW/openmw!3597
1 year ago
elsid fb0b95a2dd
Define editor settings as typed struct members 1 year ago
elsid 755fef62f7
Mark State copy constructor and assignment operators as delete 1 year ago
elsid e07d8f3066
Add separate setting type for subcategory 1 year ago
elsid fb6e429dad
Remove "separators" from cs settings
Those are just empty widgets which do not make significant visible difference in
the UI.
1 year ago
elsid 335dbffe6e
Avoid std::string to QString conversion for label 1 year ago
Andrei Kortunov ba71eefbae Fix GCC warnings 1 year ago
psi29a 9259f5c056 Merge branch 'merryweather' into 'master'
Replace more sized reads and change weather loading

See merge request OpenMW/openmw!3496
1 year ago
AnyOldName3 2ed584428c Add missing headers to components/CMakeLists.txt
Otherwise, they won't show up as part of the project in IDEs.
1 year ago
Evil Eye fbafa13b3d Appease the compiler 1 year ago
Evil Eye 514723a4e6 Use fixed size ints for Region and use an array for weather odds 1 year ago
elsid 08902371b4
Use settings values for Shaders settings 1 year ago
Evil Eye b99f58613e Remove signed/unsigned conversions in pathgrid loading code and use meaningful member names 1 year ago
elsid 1d94527a19
Avoid using settings in components to get actor model
Settings::Values are initialized only for engine. Accessing them from other
binaries leads to a crash.
1 year ago
Evil Eye b59739a529 Replace more sized reads 1 year ago
elsid 053a3caf7b
Pass cache expiry delay to GenericResourceManager constructor 1 year ago
psi29a 5a0a04684a
Merge branch 'nocliffracerschooling' into 'master'
Editor: Remove Training service for creatures

See merge request OpenMW/openmw!3396
1 year ago
Alexei Kotov 16cc1ad59f Editor: Disable Training service for creatures 1 year ago
Petr Mikheev d39552962f Validate version of resources 1 year ago
Petr Mikheev f260fa006e Show OpenMW version and Lua API revision in documentation. 1 year ago
Petr Mikheev 32f3a16db3 Change FormId::toString to be consistent with RefId. Remove FormIdRefId. 1 year ago
elsid 28614730da
Pass land reference to LandObject constructor 1 year ago
elsid 2a49919b53
Move esm3terrain to esmterrain 1 year ago
psi29a 4aaffa72e5 Merge branch 'more_coverity_fixes' into 'master'
More coverity fixes

See merge request OpenMW/openmw!3304
1 year ago
Andrei Kortunov 0723b44a65 Do not copy QVectors twice 1 year ago
Andrei Kortunov 35561450f1 Do not copy osg::ref_ptr when possible 1 year ago
Andrei Kortunov d3d7a663c6 Move some objects instead of copying 1 year ago
Andrei Kortunov b1c8a968ae Do not use invalid iterators 1 year ago
Andrei Kortunov d8ec78d732 Fix some Coverity warnings 1 year ago
psi29a 9410eed9e5 Merge branch 'bump-cmake-version' into 'master'
Bump required CMake version to 3.16

See merge request OpenMW/openmw!3242
1 year ago
AnyOldName3 34fcfb63cf Eliminate redundant version checks 1 year ago
Evil Eye cd8f2355c0 Only allow StringRefId for Skill ids 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
psi29a 6601b0cb15 Merge branch 'fastandloose' into 'master'
Drop support for --fs-strict

Closes #7394

See merge request OpenMW/openmw!3093
2 years ago
Evil Eye 73c2387708 Merge schools into skills 2 years ago
Evil Eye bac6777fae Reduce the number of magic numbers 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
Evil Eye eeda48ec50 Drop support for --fs-strict 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
Evil Eye 6b7e7acd16 Replace a number of incorrect index types 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
elsid 4a8471ce78
Use original RefId to remove info from InfoOrder 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
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 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 e0fa15b727 Abstracted Land data that can be used by esm3 and esm4. 2 years ago
florent.teppe 1b718f09c5 adding worldspace info to terrain data structures
Rendering manager can have multiple terrain, one for each queried worldspace
Terrain::World has a worldspace member
storage functions require a worldspace parameter.
2 years ago
florent.teppe 93e7b0d946 Terrain has a mandatory worldspace in constructor
getTerrainHeightAt takes a worldspace.

Doesn't change anything for now => Therrain is created with the default ESM3 worldspace, and is never changed.
2 years ago
elsid dc8dfe81ce
Add more details to exceptions 2 years ago
elsid d852ac20f5
Log loading content file 2 years ago
psi29a 01705485b8 Merge branch 'grow_limit' into 'master'
[Needs testing] Migrate Grow Limit editor feature to a more modern code

See merge request OpenMW/openmw!2637
2 years ago
elsid 8f47da46ec
Show magic effect name instead of IndexRefId 2 years ago
elsid 63e01d86a3
Use string based UniversalId to check script for blacklist
Blacklist is a vector of strings and isBlacklisted internally calls getId which
throws exception for RefId based UniversalId.
2 years ago
elsid 0aa569d4fe
Add UniversalId argument type to exception message on invalid access 2 years ago
elsid 292983d57a
Show UniversalId value for all argument types in reports 2 years ago
elsid 7ba397da7d
Use std::span and std::string to define UniversalId related TypeData 2 years ago
elsid ceab7557f3
Add rudimentary support for ESM::RefId in UniversalId
Ideally std::string support should be removed but this may affect too much code.
2 years ago
elsid 4cd5efc6ee
Implement UniversalId with std::variant 2 years ago
elsid f2a3462e59
Fix UniversalId constructor from ESM::RefId 2 years ago
elsid 6541ac43f5
Add UniversalId unit tests 2 years ago
florent.teppe 56cb2a83ec removed sDefaultWorldspace, only sDefaultWorldspaceId now.
sDefaultWorldspaceId is a StringRefId to be able to getvalue easily.
2 years ago
psi29a 83203ae4d9 Merge branch 'minor_header_cleanup_clion' into 'master'
Minor header cleanup

See merge request OpenMW/openmw!2991
2 years ago
psi29a 67c0138aee Merge branch 'fix-7335-bis' into 'master'
OpenCS fixes the issues with the addon's saving

See merge request OpenMW/openmw!2952
2 years ago
jvoisin c7a3f43915 Minor header cleanup
This has been done via CLion's "unused include directive",
set to "detect completely unused".
2 years ago
jvoisin 222365b5e3 Fix a qt deprecation warning in cmake 2 years ago
Bret Curtis 0db31207dc remove remaining boost::filesystem cruft 2 years ago
Bret Curtis 249986b6e0 pathToQString makes things shorter 2 years ago
Bret Curtis afc4e064cb make use of pathToUnicodeString 2 years ago
Bret Curtis 3581f1b724 fix msvc build 2 years ago
psi29a 2e1820fefd make use of QLockFile 2 years ago
florent.teppe b5f774ae64 fixes the issues with the addons
the OpenCS reference's cellId uses a string to be sure it is coherent with the cell's Id type in the editor.
2 years ago
florent.teppe 6b5d9f3344 fixes reference saving stage 2 years ago
florent.teppe cb4a97e50b Displays references in exterior cells. A bit hackish. 2 years ago
florent.teppe 3bbf60373a Keep things coherent between references and and cell table 2 years ago
florent.teppe 69f2285a95 fix issue #7335 2 years ago
psi29a 4fd8ed8f13 Merge branch 'qt_scene' into 'master'
Migrate from GraphicsWindowQt to QOpenGLWidget

See merge request OpenMW/openmw!2895
2 years ago
Petr Mikheev f09a689a4f Merge ESM::RefNum and ESM4::FormId 2 years ago
psi29a ebb5820dd1 Merge branch 'pathgridgraph' into 'master'
Refactor pathgrid indices to use size_t instead of int

See merge request OpenMW/openmw!2900
2 years ago
Evil Eye 8d8207b734 Refactor pathgrid indices to use size_t instead of int 2 years ago
psi29a c8f41f1c34 Merge branch 'slowfilter' into 'master'
Speedup filter in the CS

See merge request OpenMW/openmw!2901
2 years ago
fredzio 8717e8e487 Create the QRegularExpression in the TextNode constructor instead of for
each row in the filtered table.
On a table of more than 1M entries it speeds up filtering almost tenfold (from 35s to 4s).
2 years ago
Andrei Kortunov 3e9cedf3b5 Use a compile-time check 2 years ago
Andrei Kortunov 8df7ce545e Migrate from GraphicsWindowQt to QOpenGLWidget 2 years ago
florent.teppe d782d37ee2 Make sure Vec2iRefId is trivially copyable on GCC 11.3
std::pair<int, int> isn't trivially copyable on some compilers
so a specific struct is defined, it's an int pair, but it should be recognised by GCC 11.3 as trivially copyable

Vec2iRefId => ESM3ExteriorCellRefId

more explcit name and use mX,mY instead of pair
renamed files and enum
2 years ago
florent.teppe 53b14c8b42 fix tests
hopefully also fixes clang tidy
2 years ago
florent.teppe f99e65843a Removes most cellId.hpp include, simplifies id generation for cells. 2 years ago
florent.teppe c2182c2fcc Get Rid of ESM::CellId almost everywhere
it was a competing concept from using RefIds for cell.
There is almost no point to it now, except to load older data.
2 years ago
elsid e08d1e2c87
Show skill name in CS
Instead of RefId converted to string.

Show non StringRefId in deserializable format.
2 years ago
elsid 452d1e7e49
Store original string id for Dialogue records 2 years ago
elsid 06f42ba69c
Use fixed size enum type for ESM::Dialogue::mType 2 years ago
elsid e1f580e7a0
Use static constexpr string_view for hardcoded ids 2 years ago
Andrei Kortunov 11484205f5 Use constexpr to do not generate an invalid code in templates 2 years ago
Evil Eye 6e33da6cfe Don't capture temporaries by reference 2 years ago
elsid 04d7781424
Support not only StringRefId for checking first person body part 2 years ago
elsid e6cf516e12
Support index RefId as pair of record type and std::uint32_t 2 years ago
elsid 0992624c8b
Support reading and writing typed ESM::RefId to ESM 2 years ago
elsid 069d4255b9
Make ESM::RefId to be fixed size cheap to copy
Use std::variant. Store refId strings in unordered_set and use pointer to an
item there. Inserts to unordered_set do not invalidate pointers to values so the
pointer is always valid. Elements are not removed. Assume there is finite number
of string refIds.
2 years ago
elsid 99069b02e4
Remove unused variable 2 years ago
psi29a d64eea2fc6 Merge branch '7113-move-from-std-atoi-to-std-from_char' into 'master'
Move from std::atoi to std::from_char

Closes #7113

See merge request OpenMW/openmw!2760
2 years ago