mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 15:02:39 +00:00
- turned the texture pointers in wbstartstruct_t into scripting compatible texture IDs.
This commit is contained in:
parent
17f04c5043
commit
4bae6e81db
3 changed files with 7 additions and 7 deletions
|
@ -776,7 +776,7 @@ void G_DoCompleted (void)
|
|||
AM_Stop ();
|
||||
|
||||
wminfo.finished_ep = level.cluster - 1;
|
||||
wminfo.LName0 = TexMan[TexMan.CheckForTexture(level.info->PName, FTexture::TEX_MiscPatch)];
|
||||
wminfo.LName0 = TexMan.CheckForTexture(level.info->PName, FTexture::TEX_MiscPatch);
|
||||
wminfo.current = level.MapName;
|
||||
|
||||
if (deathmatch &&
|
||||
|
@ -792,12 +792,12 @@ void G_DoCompleted (void)
|
|||
if (nextinfo == NULL || strncmp (nextlevel, "enDSeQ", 6) == 0)
|
||||
{
|
||||
wminfo.next = nextlevel;
|
||||
wminfo.LName1 = NULL;
|
||||
wminfo.LName1.SetInvalid();
|
||||
}
|
||||
else
|
||||
{
|
||||
wminfo.next = nextinfo->MapName;
|
||||
wminfo.LName1 = TexMan[TexMan.CheckForTexture(nextinfo->PName, FTexture::TEX_MiscPatch)];
|
||||
wminfo.LName1 = TexMan.CheckForTexture(nextinfo->PName, FTexture::TEX_MiscPatch);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -836,7 +836,7 @@ public:
|
|||
{
|
||||
int y = WI_TITLEY * CleanYfac;
|
||||
|
||||
y = WI_DrawName(y, wbs->LName0, lnametexts[0]);
|
||||
y = WI_DrawName(y, TexMan(wbs->LName0), lnametexts[0]);
|
||||
|
||||
// Adjustment for different font sizes for map name and 'finished'.
|
||||
y -= ((mapname.mFont->GetHeight() - finished.mFont->GetHeight()) * CleanYfac) / 4;
|
||||
|
@ -866,7 +866,7 @@ public:
|
|||
|
||||
y = WI_DrawPatchText(y, &entering, "WI_ENTERING");
|
||||
y += entering.mFont->GetHeight() * CleanYfac / 4;
|
||||
WI_DrawName(y, wbs->LName1, lnametexts[1]);
|
||||
WI_DrawName(y, TexMan(wbs->LName1), lnametexts[1]);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -51,8 +51,8 @@ struct wbstartstruct_t
|
|||
FString current; // [RH] Name of map just finished
|
||||
FString next; // next level, [RH] actual map name
|
||||
|
||||
FTexture *LName0;
|
||||
FTexture *LName1;
|
||||
FTextureID LName0;
|
||||
FTextureID LName1;
|
||||
|
||||
int maxkills;
|
||||
int maxitems;
|
||||
|
|
Loading…
Reference in a new issue