111
This commit is contained in:
parent
b727d126ae
commit
9e120025de
13
test/STL.cpp
13
test/STL.cpp
|
|
@ -15,7 +15,9 @@ void STL::DrawDargonBox_STL(char* Buffer)
|
|||
//뭐芚질분 친駕
|
||||
//DrawDargonModel_STL(Dom["op"].GetInt());
|
||||
DargonModel_STL["op"] = Dom["op"].GetInt();
|
||||
DargonModel_STL["err"] = Dom["err"].GetInt();
|
||||
|
||||
if (DargonModel_STL["err"] != 0)return;//如果不是
|
||||
//뭐芚res관 써뭐竟
|
||||
Dargonresult Res_Buffer[10];
|
||||
if (DargonModel_STL["op"] == 4)
|
||||
|
|
@ -79,9 +81,18 @@ void STL::DrawDargonModel_STL(int Value)
|
|||
DargonModel_STL["op"] = Value;
|
||||
}
|
||||
|
||||
int STL::SelectDargonModel_STL()
|
||||
int STL::SelectDargonModel_STL(int Type)
|
||||
{
|
||||
switch (Type)
|
||||
{
|
||||
case 0:
|
||||
return DargonModel_STL["op"];
|
||||
break;
|
||||
case 1:
|
||||
return DargonModel_STL["err"];
|
||||
break;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
int STL::Check_STL(std::string name,int Type,int idx)
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@ public:
|
|||
static int SelectDargonBox_STL(int Type,int Index = 0);//삿혤질분관
|
||||
|
||||
static void DrawDargonModel_STL(int Value);//<2F>零질분친駕
|
||||
static int SelectDargonModel_STL();//삿혤질분친駕
|
||||
static int SelectDargonModel_STL(int Type);//삿혤질분친駕
|
||||
|
||||
|
||||
};
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -816,10 +816,12 @@ static int Redom_Dragon(uint32_t v)
|
|||
//삿혤 질분 친駕
|
||||
static int Get_DragonModel(uint32_t v)
|
||||
{
|
||||
int Model = STL::SelectDargonModel_STL();//질분친駕
|
||||
int Type;
|
||||
int ParameterNum = SQGetTop(v);
|
||||
if (ParameterNum == 1)
|
||||
if (ParameterNum == 2)
|
||||
{
|
||||
SQGetInt(v, 2, &Type);
|
||||
int Model = STL::SelectDargonModel_STL(Type);//질분친駕
|
||||
SQPushInt(v, Model);
|
||||
}
|
||||
else
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@
|
|||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<PlatformToolset>v141_xp</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
|
|
|
|||
Loading…
Reference in New Issue