mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Add 'contentidunsafe' property to MUSICDEF
This allows marking music in MUSICDEF as unsafe for Content ID and other similar content surveillance mechanisms.
This commit is contained in:
parent
200b817f9d
commit
6a9fd1bf5f
2 changed files with 6 additions and 0 deletions
|
|
@ -2041,6 +2041,11 @@ ReadMusicDefFields
|
||||||
textline[0] = toupper(textline[0]);
|
textline[0] = toupper(textline[0]);
|
||||||
def->important = (textline[0] == 'Y' || textline[0] == 'T' || textline[0] == '1');
|
def->important = (textline[0] == 'Y' || textline[0] == 'T' || textline[0] == '1');
|
||||||
}
|
}
|
||||||
|
else if (!stricmp(stoken, "contentidunsafe"))
|
||||||
|
{
|
||||||
|
textline[0] = toupper(textline[0]);
|
||||||
|
def->contentidunsafe = (textline[0] == 'Y' || textline[0] == 'T' || textline[0] == '1');
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
MusicDefError(CONS_WARNING,
|
MusicDefError(CONS_WARNING,
|
||||||
|
|
|
||||||
|
|
@ -171,6 +171,7 @@ struct musicdef_t
|
||||||
int volume;
|
int volume;
|
||||||
int debug_volume;
|
int debug_volume;
|
||||||
boolean important;
|
boolean important;
|
||||||
|
boolean contentidunsafe;
|
||||||
musicdef_t *next;
|
musicdef_t *next;
|
||||||
soundtestsequence_t sequence;
|
soundtestsequence_t sequence;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue