1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-18 11:19:10 +00:00
Partially reverts b9b72e0
This commit is contained in:
2013-12-05 18:41:10 -05:00
parent 55d3f10310
commit f6a62c0004
2 changed files with 11 additions and 5 deletions

View File

@ -186,7 +186,7 @@ BOOL plLayerTex::SetDlgThing(ParamDlg* dlg)
int plLayerTex::NumRefs()
{
return 2;
return 3;
}
//From ReferenceMaker
@ -223,15 +223,19 @@ void plLayerTex::SetReference(int i, RefTargetHandle rtarg)
int plLayerTex::NumParamBlocks()
{
return 1;
return 2;
}
IParamBlock2* plLayerTex::GetParamBlock(int i)
{
switch (i)
{
case 0: return fBitmapPB;
default: return NULL;
case kRefBasic:
// So this was something... a long time ago. It probably doesn't exist anymore.
// We'll pretend it's a bitmap to keep everyone happy.
case kRefBitmap:
return fBitmapPB;
default: return nullptr;
}
}
@ -256,7 +260,7 @@ RefTargetHandle plLayerTex::Clone(RemapDir &remap)
int plLayerTex::NumSubs()
{
return 2;
return 3;
}
Animatable* plLayerTex::SubAnim(int i)

View File

@ -76,12 +76,14 @@ public:
enum
{
kRefUVGen,
kRefBasic, // DEAD, but left in so we don't die.
kRefBitmap,
};
// Block ID's
enum
{
kBlkBasic,
kBlkBitmap,
};