Add canvastexture definition to animdefs.
Split canvas texture rendering from camera texture rendering.
This commit is contained in:
parent
aa083604e1
commit
bb503950df
15 changed files with 111 additions and 54 deletions
|
|
@ -325,6 +325,10 @@ void FTextureAnimator::InitAnimDefs ()
|
|||
{
|
||||
ParseWarp(sc);
|
||||
}
|
||||
else if (sc.Compare("canvastexture"))
|
||||
{
|
||||
ParseCanvasTexture(sc);
|
||||
}
|
||||
else if (sc.Compare ("cameratexture"))
|
||||
{
|
||||
ParseCameraTexture(sc);
|
||||
|
|
@ -683,6 +687,21 @@ void FTextureAnimator::ParseWarp(FScanner &sc)
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
// ParseCameraTexture
|
||||
//
|
||||
// Parses a canvas texture definition
|
||||
//
|
||||
//==========================================================================
|
||||
|
||||
void FTextureAnimator::ParseCanvasTexture(FScanner& sc)
|
||||
{
|
||||
// This is currently identical to camera textures.
|
||||
ParseCameraTexture(sc);
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
// ParseCameraTexture
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue