mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-06 19:01:21 +03:00
Fixes #1252: Add item/magic keybindings to savegame
This commit is contained in:
parent
fc7e79027a
commit
17bb8d7f9a
7 changed files with 144 additions and 8 deletions
|
@ -34,6 +34,12 @@ struct Position
|
|||
};
|
||||
#pragma pack(pop)
|
||||
|
||||
template <int a, int b, int c, int d>
|
||||
struct FourCC
|
||||
{
|
||||
static const unsigned int value = (((((d << 8) | c) << 8) | b) << 8) | a;
|
||||
};
|
||||
|
||||
enum RecNameInts
|
||||
{
|
||||
// format 0 / legacy
|
||||
|
@ -93,6 +99,7 @@ enum RecNameInts
|
|||
REC_GMAP = 0x50414d47,
|
||||
REC_DIAS = 0x53414944,
|
||||
REC_WTHR = 0x52485457,
|
||||
REC_KEYS = FourCC<'K','E','Y','S'>::value,
|
||||
|
||||
// format 1
|
||||
REC_FILT = 0x544C4946
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue