mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-14 20:00:49 +00:00
- added RMAPINFO handler for Blood's message array.
This commit is contained in:
parent
c1b4fdff83
commit
575a38d835
1 changed files with 11 additions and 0 deletions
|
@ -508,6 +508,17 @@ DEFINE_MAP_OPTION(skyfog, false)
|
||||||
info->skyfog = parse.sc.Number;
|
info->skyfog = parse.sc.Number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DEFINE_MAP_OPTION(message, false)
|
||||||
|
{
|
||||||
|
parse.ParseAssign();
|
||||||
|
parse.sc.MustGetNumber();
|
||||||
|
if (parse.sc.Number < 1 || parse.sc.Number > MAX_MESSAGES) parse.sc.ScriptError("Invalid message ID %d - must be 1..32", parse.sc.Number);
|
||||||
|
int num = parse.sc.Number;
|
||||||
|
parse.ParseComma();
|
||||||
|
parse.sc.MustGetString();
|
||||||
|
info->messages[num] = parse.sc.String;
|
||||||
|
}
|
||||||
|
|
||||||
/* stuff for later when the new renderer is done.
|
/* stuff for later when the new renderer is done.
|
||||||
DEFINE_MAP_OPTION(lightmode, false)
|
DEFINE_MAP_OPTION(lightmode, false)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue