mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-13 05:11:01 +00:00
Merge branch 'public-musicplus-feature-interfadeout' into public-musicplus-feature-endoflevel
This commit is contained in:
commit
ba77dfd546
1 changed files with 2 additions and 2 deletions
|
@ -1198,6 +1198,8 @@ static void readlevelheader(MYFILE *f, INT32 num)
|
||||||
mapheaderinfo[num-1]->mustrack = ((UINT16)i - 1);
|
mapheaderinfo[num-1]->mustrack = ((UINT16)i - 1);
|
||||||
else if (fastcmp(word, "MUSICPOS"))
|
else if (fastcmp(word, "MUSICPOS"))
|
||||||
mapheaderinfo[num-1]->muspos = (UINT32)get_number(word2);
|
mapheaderinfo[num-1]->muspos = (UINT32)get_number(word2);
|
||||||
|
else if (fastcmp(word, "MUSICINTERFADEOUT"))
|
||||||
|
mapheaderinfo[num-1]->musicinterfadeout = (UINT32)get_number(word2);
|
||||||
else if (fastcmp(word, "MUSICINTER"))
|
else if (fastcmp(word, "MUSICINTER"))
|
||||||
deh_strlcpy(mapheaderinfo[num-1]->musintername, word2,
|
deh_strlcpy(mapheaderinfo[num-1]->musintername, word2,
|
||||||
sizeof(mapheaderinfo[num-1]->musintername), va("Level header %d: intermission music", num));
|
sizeof(mapheaderinfo[num-1]->musintername), va("Level header %d: intermission music", num));
|
||||||
|
@ -1212,8 +1214,6 @@ static void readlevelheader(MYFILE *f, INT32 num)
|
||||||
mapheaderinfo[num-1]->skynum = (INT16)i;
|
mapheaderinfo[num-1]->skynum = (INT16)i;
|
||||||
else if (fastcmp(word, "INTERSCREEN"))
|
else if (fastcmp(word, "INTERSCREEN"))
|
||||||
strncpy(mapheaderinfo[num-1]->interscreen, word2, 8);
|
strncpy(mapheaderinfo[num-1]->interscreen, word2, 8);
|
||||||
else if (fastcmp(word, "MUSICINTERFADEOUT"))
|
|
||||||
mapheaderinfo[num-1]->musicinterfadeout = (UINT32)get_number(word2);
|
|
||||||
else if (fastcmp(word, "PRECUTSCENENUM"))
|
else if (fastcmp(word, "PRECUTSCENENUM"))
|
||||||
mapheaderinfo[num-1]->precutscenenum = (UINT8)i;
|
mapheaderinfo[num-1]->precutscenenum = (UINT8)i;
|
||||||
else if (fastcmp(word, "CUTSCENENUM"))
|
else if (fastcmp(word, "CUTSCENENUM"))
|
||||||
|
|
Loading…
Reference in a new issue