Home
last modified time | relevance | path

Searched refs:val (Results 1 – 25 of 39) sorted by relevance

12

/NW4C-1.2.23/include/nw/ut/
Dut_ResTypes.h49 static u64 BSwap( u64 val ) in BSwap() argument
53 val = ( (val & MASK) >> 8 ) | ( (val << 8) & MASK ); in BSwap()
54 val = ( (val & MASK2) >> 16 ) | ( (val << 16) & MASK2 ); in BSwap()
55 return (val >> 32) | (val << 32); in BSwap()
58 static s64 BSwap( s64 val ) in BSwap() argument
61 data.SInt64 = val; in BSwap()
67 static f64 BSwap( f64 val ) in BSwap() argument
70 data.Float64 = val; in BSwap()
76 static u32 BSwap( u32 val ) in BSwap() argument
79 val = ( (val & MASK) >> 8 ) | ( (val << 8) & MASK ); in BSwap()
[all …]
Dut_ResUtil.h32 #define NW_RES_SIGNATURE32(val) \ argument
33 ((((val) & 0x000000FF) << 24) | \
34 (((val) & 0x0000FF00) << 8) | \
35 (((val) & 0x00FF0000) >> 8) | \
36 (((val) & 0xFF000000) >> 24) )
38 #define NW_RES_SIGNATURE16(val) \ argument
39 ((((val) & 0x00FF) << 8) | \
40 (((val) & 0xFF00) >> 8))
42 #define NW_RES_TYPE_INFO(val) (val) argument
44 #define NW_RES_SIGNATURE32(val) (val) argument
[all …]
Dut_Color.h1116 void operator = (const FloatColor& val) { r = val.r; g = val.g; b = val.b; a = val.a; }
Dut_HeapBase.h106 u32 SetFillValue( FillType type, u32 val );
/NW4C-1.2.23/tools/DccPlugin/3dsMax/x86/2010/Scripts/Startup/
DNW4C_utils.ms.inc51 local val = toLower str
52 case val of
73 local str, key, val
83 val = substituteString elem[2] "\"" ""
84 --format "\"%\"=\"%\"\n" key val
88 nw4c.doesExportSelected = ((stricmp val "Selection") == 0)
90 "OutputFileName": nw4c.filename = val
91 "OutputFolder": nw4c.outFolder = val
92 "OutputMode": nw4c.UseCreativeStudio = ((stricmp val "CreativeStudio") == 0)
93 "MergeCmdl": nw4c.UseMerge = val as booleanclass
[all …]
DNW4C_menu.ms416 on rdoTimeRange changed val do redrawItems()
417 on chkMergeCmdl changed val do redrawItems()
418 on chkUseCS changed val do redrawItems()
440 local val = nw4cExportRollout.utils.enableSaveToScene
441 nw4cExportRollout.utils.enableSaveToScene = not val
/NW4C-1.2.23/tools/DccPlugin/3dsMax/x86/2009/Scripts/Startup/
DNW4C_utils.ms.inc51 local val = toLower str
52 case val of
73 local str, key, val
83 val = substituteString elem[2] "\"" ""
84 --format "\"%\"=\"%\"\n" key val
88 nw4c.doesExportSelected = ((stricmp val "Selection") == 0)
90 "OutputFileName": nw4c.filename = val
91 "OutputFolder": nw4c.outFolder = val
92 "OutputMode": nw4c.UseCreativeStudio = ((stricmp val "CreativeStudio") == 0)
93 "MergeCmdl": nw4c.UseMerge = val as booleanclass
[all …]
/NW4C-1.2.23/tools/DccPlugin/3dsMax/x64/2009/Scripts/Startup/
DNW4C_utils.ms.inc51 local val = toLower str
52 case val of
73 local str, key, val
83 val = substituteString elem[2] "\"" ""
84 --format "\"%\"=\"%\"\n" key val
88 nw4c.doesExportSelected = ((stricmp val "Selection") == 0)
90 "OutputFileName": nw4c.filename = val
91 "OutputFolder": nw4c.outFolder = val
92 "OutputMode": nw4c.UseCreativeStudio = ((stricmp val "CreativeStudio") == 0)
93 "MergeCmdl": nw4c.UseMerge = val as booleanclass
[all …]
/NW4C-1.2.23/tools/DccPlugin/3dsMax/x64/2010/Scripts/Startup/
DNW4C_utils.ms.inc51 local val = toLower str
52 case val of
73 local str, key, val
83 val = substituteString elem[2] "\"" ""
84 --format "\"%\"=\"%\"\n" key val
88 nw4c.doesExportSelected = ((stricmp val "Selection") == 0)
90 "OutputFileName": nw4c.filename = val
91 "OutputFolder": nw4c.outFolder = val
92 "OutputMode": nw4c.UseCreativeStudio = ((stricmp val "CreativeStudio") == 0)
93 "MergeCmdl": nw4c.UseMerge = val as booleanclass
[all …]
/NW4C-1.2.23/tools/DccPlugin/Maya/scripts/
DNW4C_SetFrameExtensionList.mel17 string $val = (`attributeQuery -n $node -ex "nw4cFeList"`) ?
19 return $val;
30 global proc nw4cSetFrameExtensionList_Set_FrameExtensionList(string $node, string $val)
33 setAttr ($node + ".nw4cFeList") -typ "string" $val;
49 string $val = `textFieldGrp -q -tx nw4cSetFrameExtensionList_List`;
50 $val = strip($val);
51 if (match("^-", $val) != "" ||
52 match("-$", $val) != "")
54 error ("Frame extension list is wrong: " + $val);
60 nw4cSetFrameExtensionList_Set_FrameExtensionList($mainNode, $val);
DNW4C_SetCombineGroup.mel67 global proc nw4cSetCombineGroup_Set_UseCombineGroup(string $node, int $val)
70 setAttr ($node + ".nw4cUseCombineGroup") $val;
91 int $val = `radioButtonGrp -q -sl nw4cSetCombineGroup_UseCombineGroup`;
92 control -e -en $val nw4cSetCombineGroup_CombineGroup;
93 control -e -en $val nw4cSetCombineGroup_SetSequentialBtn;
98 nw4cSetCombineGroup_Set_UseCombineGroup($node, $val);
120 global proc nw4cSetCombineGroup_Set_CombineGroup(string $node, int $val)
123 setAttr ($node + ".nw4cCombineGroup") $val;
142 int $val = `intField -q -v nw4cSetCombineGroup_CombineGroup`;
143 if ($val < 0)
[all …]
DNW4C_SetMaterialAttr.mel51 proc int ConvertFaceCulling_ToGUI(int $val)
60 return $faceExchangTable[$val];
63 proc int ConvertFaceCulling_ToAttr(int $val)
72 return $faceExchangTable[$val];
90 global proc nw4cSetMaterialAttr_Set_FaceCulling(string $node, int $val)
93 setAttr ($node + ".nw4cFaceCulling") $val;
112 int $val = `optionMenuGrp -q -sl nw4cSetMaterialAttr_FaceCulling` - 1;
115 nw4cSetMaterialAttr_Set_FaceCulling($node, ConvertFaceCulling_ToAttr($val));
138 global proc nw4cSetMaterialAttr_Set_FragLighting(string $node, int $val)
141 setAttr ($node + ".nw4cFragLighting") $val;
[all …]
DNW4C_SetBillboard.mel71 global proc nw4cSetBillboard_Set_Billboard(string $node, int $val)
74 setAttr ($node + ".nw4cBillboard") $val;
92 int $val = `optionMenuGrp -q -sl nw4cSetBillboard_Billboard` - 1;
95 nw4cSetBillboard_Set_Billboard($node, $val);
194 int $val = nw4cSetBillboard_Get_Billboard($node);
195 if ($val == $searchVal1 ||
196 $val == $searchVal2 ||
197 $val == $searchVal3 ||
198 $val == $searchVal4 ||
199 $val == $searchVal5 ||
[all …]
DNW4C_ExpDialog.mel59 string $val = `getenv "NW4C_MAYA_CUSTOM_UI"`;
60 if ($val == "")
62 $val = "0";
64 return int($val);
309 proc string GetFloatStringForSettingFile(float $val)
311 string $str = $val;
452 string $val = $words[1];
453 int $boolVal = ($val == "true" || $val == "On" || $val == "1");
459 $processMode = $val;
463 $exportTarget = $val;
[all …]
DNW4C_SetNoCompressNode.mel67 global proc nw4cSetNoCompressNode_Set_NoCompress(string $node, int $val)
70 setAttr ($node + ".nw4cNoCompressNode") $val;
89 int $val = `optionMenuGrp -q -sl nw4cSetNoCompressNode_NoCompress` - 1;
92 nw4cSetNoCompressNode_Set_NoCompress($node, $val);
179 int $val = nw4cSetNoCompressNode_Get_NoCompress($node);
180 if ($val == $searchVal1 || $val == $searchVal2)
DNW4C_SetRenderPriority.mel72 global proc nw4cSetRenderPriority_Set_UseRenderPriority(string $node, int $val)
75 setAttr ($node + ".nw4cUseRenderPriority") $val;
96 int $val = `radioButtonGrp -q -sl nw4cSetRenderPriority_UseRenderPriority`;
97 control -e -en $val nw4cSetRenderPriority_RenderPriority;
101 nw4cSetRenderPriority_Set_UseRenderPriority($node, $val);
124 global proc nw4cSetRenderPriority_Set_RenderPriority(string $node, int $val)
127 setAttr ($node + ".nw4cRenderPriority") $val;
146 int $val = `intField -q -v nw4cSetRenderPriority_RenderPriority`;
147 if ($val < 1)
149 $val = 1;
[all …]
DNW4C_SetCameraFovy.mel76 float $val = `floatSliderGrp -q -v nw4cSetCameraFovy_Fovy`;
79 camera -e -vfv $val $node;
DNW4C_SetUserData.mel32 global proc nw4cSetUserData_Set_UserDataSize(string $node, int $val)
35 setAttr ($node + ".nw4cUserDataSize") $val;
48 string $val = `getAttr ($node + ".nw4cUserData[" + $index + "]")`;
49 return $val;
60 global proc nw4cSetUserData_Set_UserDataValue(string $node, int $index, string $val)
63 setAttr -typ "string" ($node + ".nw4cUserData[" + $index + "]") $val;
64 //trace ("set: " + $node + ".data[" + $index + "] = " + $val);
/NW4C-1.2.23/include/nw/lyt/
Dlyt_TextBox.h480 void SetTextPositionH(HorizontalPosition val) in SetTextPositionH() argument
482 if (UpdatePTDirty(GetTextPositionH() != val)) in SetTextPositionH()
484 internal::SetHorizontalPosition(&m_TextPosition, u8(val)); in SetTextPositionH()
511 void SetTextPositionV(VerticalPosition val) in SetTextPositionV() argument
513 if (UpdatePTDirty(GetTextPositionV() != val)) in SetTextPositionV()
515 internal::SetVerticalPosition(&m_TextPosition, u8(val)); in SetTextPositionV()
540 void SetTextAlignment(TextAlignment val) in SetTextAlignment() argument
542 if (UpdatePTDirty(GetTextAlignment() != val)) in SetTextAlignment()
544 m_Bits.textAlignment = val; in SetTextAlignment()
Dlyt_Types.h68 bool val in SetBit() argument
74 bits |= (val ? 1: 0) << pos; in SetBit()
85 bool val in SetBit() argument
91 *pBits |= (val ? 1: 0) << pos; in SetBit()
103 T val in SetBits() argument
108 NW_ASSERT(val <= MaxValue); in SetBits()
113 bits |= val << pos; in SetBits()
125 T val in SetBits() argument
130 NW_ASSERT(val <= MaxValue); in SetBits()
135 *pBits |= val << pos; in SetBits()
[all …]
Dlyt_Pane.h372 void SetBasePositionH(u8 val) in SetBasePositionH() argument
374 internal::SetHorizontalPosition(&m_BasePosition, val); in SetBasePositionH()
405 void SetBasePositionV(u8 val) in SetBasePositionV() argument
407 internal::SetVerticalPosition(&m_BasePosition, val); in SetBasePositionV()
/NW4C-1.2.23/documents/CreativeStudio/html/common/
Dibox.js453 var val = unescape(keyval[1]);
454 val = val.replace(/\+/g, ' ');
455 if (val[0] == '"') var token = '"';
456 else if (val[0] == "'") var token = "'";
459 if (val[val.length-1] != token) {
462 val += '&'+pairs[i];
466 val = val.substr(1, val.length-2);
468 if (val == 'true') val = true;
469 else if (val == 'false') val = false;
470 else if (val == 'null') val = null;
[all …]
/NW4C-1.2.23/sources/libraries/ut/
Dut_HeapBase.cpp48 #define SetBitValue(data, st, bits, val) \ argument
52 u32 newVal = (val) & maskBits; /* 安全のためマスク */ \
236 u32 HeapBase::SetFillValue( FillType type, u32 val ) in SetFillValue() argument
241 sFillVals[ type ] = val; in SetFillValue()
/NW4C-1.2.23/sources/libraries/dev/
Ddev_DirectPrint.cpp704 u16 val = (color.r & 0xf0) << 8 | (color.g & 0xf0) << 4 | (color.b & 0xf0) | 0x0f; in MakePixel() local
705 pixel[0] = static_cast<u8>((val >> 8) & 0xff); in MakePixel()
706 pixel[1] = static_cast<u8>((val >> 0) & 0xff); in MakePixel()
734 u16 val = (color.r & 0xf8) << 8 | (color.g & 0xf8) << 3 | (color.b & 0xf8) >> 2 | 0x01; in MakePixel() local
735 pixel[0] = static_cast<u8>((val >> 8) & 0xff); in MakePixel()
736 pixel[1] = static_cast<u8>((val >> 0) & 0xff); in MakePixel()
762 u16 val = (color.r & 0xf8) << 8 | (color.g & 0xfc) << 3 | (color.b & 0xf8) >> 3; in MakePixel() local
763 pixel[0] = static_cast<u8>((val >> 8) & 0xff); in MakePixel()
764 pixel[1] = static_cast<u8>((val >> 0) & 0xff); in MakePixel()
/NW4C-1.2.23/sources/libraries/gfx/
Dgfx_MemoryUtil.cpp66 COPYNWORD $val in copy_asm_declarations()
70 count SETA $val in copy_asm_declarations()

12