| /NW4C-2.0.3/include/nw/snd/ |
| D | snd_FxReverb.h | 249 s32 sampleLength, 374 s32* m_EarlyReflection[4]; // 初期反射用 375 s32* m_PreDelay[4]; // プリディレイ用 376 s32* m_CombFilter[4][2]; // くし型フィルタ用(2段) 377 s32* m_AllPassFilter[4]; // 全域通過フィルタ用(1段) 378 s32 m_Lpf[4]; // LPF用 394 s32 m_EarlyLength; 395 s32 m_EarlyPos; 397 s32 m_PreDelayLength; 398 s32 m_PreDelayPos; [all …]
|
| D | snd_FxDelay.h | 145 s32 sampleLength, 266 s32* m_Delay[4]; ///< ディレイ 267 s32 m_Lpf[4]; ///< one-pole LPF の履歴 284 s32 m_FeedbackGain; ///< フィードバックゲイン 285 s32 m_LpfCoef1; ///< LPF係数1 286 s32 m_LpfCoef2; ///< LPF係数2 301 static s32 s_SampleLength;
|
| D | snd_AnimSoundImpl.h | 57 s32 frame, 95 void UpdateOneFrame( s32 current, PlayDirection direction ); 99 s32 current, 103 s32 current, 106 void UpdateForwardRange( const AnimSoundFile::AnimEvent& event, s32 current ); 107 void UpdateBackwardRange( const AnimSoundFile::AnimEvent& event, s32 current ); 129 s32 m_LoopCounter; 132 s32 m_FrameSize; // 何度も参照するのでキャッシュしておく
|
| /NW4C-2.0.3/include/nw/demo/ |
| D | demo_DebugUtility.h | 46 static const s32 NW_PROFILE_OUTPUT_INTERVAL = 600; 47 static const s32 NW_LOAD_METER_INTERVAL = 60; 49 static const s32 POS_COMMAND_SIZE_X = 15; 50 static const s32 POS_COMMAND_SIZE_Y = 115; 51 static const s32 POS_LOAD_METER_X = 16; 52 static const s32 POS_LOAD_METER_Y = 140; 53 static const s32 HEIGHT_LOAD_METER = 18; 54 static const s32 POS_BAR_CHART_X = 15; 55 static const s32 POS_BAR_CHART_Y = 188; 56 static const s32 WIDTH_LOAD_METER_BAR_CHART = 256; [all …]
|
| D | demo_GraphicsDrawing.h | 60 void SetScreenSize( s32 width, s32 height ) in SetScreenSize() 121 void SetMaxShapeVertexCount( s32 maxShapeVertexCount ) in SetMaxShapeVertexCount() 154 void DrawLine( s32 x1, s32 y1, s32 x2, s32 y2, ut::Color8 color ) in DrawLine() 181 void DrawRectangle( s32 posh, s32 posv, s32 sizeh, s32 sizev, ut::Color8 color ) in DrawRectangle() 208 void FillRectangle( s32 posh, s32 posv, s32 sizeh, s32 sizev, ut::Color8 color ) in FillRectangle() 243 void FillTriangles( const math::VEC2* pPointArray, s32 pointCount, ut::Color8 color ); 256 void SetMaxTextCount( s32 maxTextCount ) in SetMaxTextCount() 318 f32 DrawString( s32 posh, s32 posv, const char* format, ... ); 330 f32 DrawStringArgs( s32 posh, s32 posv, const char* format, std::va_list args ); 365 …s32 BuildTriangle( const math::VEC2& pt1, const math::VEC2& pt2, const math::VEC2& pt3, math::VEC2… [all …]
|
| D | demo_GraphicsSystem.h | 105 s32 width; //!< スクリーンの横幅を表します。 106 s32 height; //!< スクリーンの縦幅を表します。 108 ScreenSize(s32 w, s32 h) : width(w), height(h) {} in ScreenSize() 114 s32 x; //!< オフセットのX座標を表します。 115 s32 y; //!< オフセットのY座標を表します。 117 ScreenOffset(s32 x, s32 y) : x(x), y(y) {} in ScreenOffset() 192 s32 callCount; //!< 呼び出し回数です。 349 s32 screenKind, 381 void TransferBuffer(s32 screenKind); 396 void WaitVSync(s32 screenKind); [all …]
|
| D | demo_DisplayBufferSwapper.h | 79 s32 width; //!< バッファの横幅です。 80 s32 height; //!< バッファの縦幅です。 85 s32 transferOffsetX; //!< 転送を行う始点X座標です。 86 s32 transferOffsetY; //!< 転送を行う始点Y座標です。 87 s32 displayOffsetX; //!< 表示を行う始点X座標です。 88 s32 displayOffsetY; //!< 表示を行う始点Y座標です。 127 Builder& BufferSize(s32 width, s32 height) in BufferSize() 135 Builder& Width(s32 width) { m_Description.width = width; return *this; } in Width() 138 Builder& Height(s32 height) { m_Description.height = height; return *this; } in Height() 169 Builder& TransferOffset(s32 x, s32 y) in TransferOffset() [all …]
|
| /NW4C-2.0.3/include/nw/gfx/ |
| D | gfx_ShaderBinaryInfo.h | 86 s32 GetCommonCommandSize() const; 96 s32 BuildCommonCommand( u32* bufferAddress, u32 bufferSize ) const; 104 s32 BuildCommonCommand() const in BuildCommonCommand() 110 s32 result = this->BuildCommonCommand( currentBuffer, bufferSize ); in BuildCommonCommand() 128 s32 GetShaderProgramCommandSize( s32 vertexIndex, s32 geometryIndex ) const; 140 …s32 BuildShaderProgramCommand( s32 vertexIndex, s32 geometryIndex, u32* bufferAddress, u32 bufferS… 150 s32 BuildShaderProgramCommand( s32 vertexIndex, s32 geometryIndex ) const in BuildShaderProgramCommand() 156 …s32 result = this->BuildShaderProgramCommand( vertexIndex, geometryIndex, currentBuffer, bufferSiz… in BuildShaderProgramCommand() 177 bool IsGeometryShader(s32 shaderIndex) const in IsGeometryShader() 193 __declspec(noinline) ::std::pair<s32, SymbolType> [all …]
|
| D | gfx_ParticleTime.h | 62 ParticleTime(s32 value) 81 s32 GetS32Value() const { return m_ParticleTime / 0x100; } 86 s32 GetParticleTimeValue() const { return m_ParticleTime; } 118 s32 GetIntegralParts() const 132 s32 Floor() const 139 s32 Ceil() const 147 ParticleTime& FMod(s32 value) 154 …ParticleTime& operator =(s32 value) { this->m_ParticleTime = S32ToParticleTime(value); return *thi… 157 …ParticleTime& operator +=(s32 value) { this->m_ParticleTime += S32ToParticleTime(value); return *t… 160 …ParticleTime& operator -=(s32 value) { this->m_ParticleTime -= S32ToParticleTime(value); return *t… [all …]
|
| D | gfx_ShaderProgram.h | 245 …void SetUniformInt(ShaderUniform location, s32 value) const { glUniform1i(m_UniformLocation->GetUn… in SetUniformInt() 253 …void SetUniformInt(ShaderUniform location, s32 x, s32 y) const { glUniform2i(m_UniformLocation->Ge… in SetUniformInt() 262 …void SetUniformInt(ShaderUniform location, s32 x, s32 y, s32 z) const { glUniform3i(m_UniformLocat… in SetUniformInt() 272 …void SetUniformInt(ShaderUniform location, s32 x, s32 y, s32 z, s32 w) const { glUniform4i(m_Unifo… in SetUniformInt() 389 void SetUniforms(ShaderUniform location, const ut::MoveArray<TValue>* array, s32 size) const in SetUniforms() 434 void SetUserVertexUniform(s32 index, ResShaderParameterValue parameter) const in SetUserVertexUniform() 463 void SetUserGeometryUniform(s32 index, ResShaderParameterValue parameter) const in SetUserGeometryUniform() 528 void SetVertexUniformInt(int index, s32 value) const in SetVertexUniformInt() 539 void SetGeometryUniformInt(int index, s32 value) const in SetGeometryUniformInt() 551 void SetVertexUniformInt(int index, s32 x, s32 y) const in SetVertexUniformInt() [all …]
|
| D | gfx_SceneContext.h | 189 Builder& MaxSceneNodes(s32 max) { m_MaxSceneNodes = max; return *this; } in MaxSceneNodes() 192 Builder& MaxUserRenderNodes(s32 max) { m_MaxUserRenderNodes = max; return *this; } in MaxUserRenderNodes() 195 Builder& MaxModels(s32 max) { m_MaxModels = max; return *this; } in MaxModels() 198 Builder& MaxSkeletalModels(s32 max) { m_MaxSkeletalModels = max; return *this; } in MaxSkeletalModels() 201 Builder& MaxCameras(s32 max) { m_MaxCameras = max; return *this; } in MaxCameras() 204 Builder& MaxLights(s32 max) { m_MaxLights = max; return *this; } in MaxLights() 207 Builder& MaxFragmentLights(s32 max) { m_MaxFragmentLights = max; return *this; } in MaxFragmentLights() 210 Builder& MaxVertexLights(s32 max) { m_MaxVertexLights = max; return *this; } in MaxVertexLights() 213 Builder& MaxHemiSphereLights(s32 max) { m_MaxHemiSphereLights = max; return *this; } in MaxHemiSphereLights() 216 Builder& MaxAmbientLights(s32 max) { m_MaxAmbientLights = max; return *this; } in MaxAmbientLights() [all …]
|
| D | gfx_ActivateCommand.h | 93 static NW_INLINE u32 GetVertexFormat(s32 dimension, GLuint format) in GetVertexFormat() 117 static NW_INLINE u32 GetVertexSize(s32 dimension, GLuint format) in GetVertexSize() 142 ActivateFragmentLightCount(s32 count) in ActivateFragmentLightCount() 184 ActivateFragmentLight(s32 index, ResMaterialColor materialColor, const FragmentLight* light, bool u… in ActivateFragmentLight() 273 ActivateFragmentLightParameters(s32 index, bool isDirectional, bool twoSided, bool geomFactor0, boo… in ActivateFragmentLightParameters() 405 s32 SetupVertexAttributeCommand( 410 s32 SetupVertexAttributeCommand( 423 s32 SetupDeactivateVertexAttributeCommand( 428 s32 SetupDeactivateVertexAttributeCommand( 441 s32 SetupShaderProgramMode(bool useGeometry); [all …]
|
| /NW4C-2.0.3/sources/libraries/snd/ |
| D | snd_FxReverb.cpp | 247 const size_t bufSizeForEarlyReflection = sizeof(s32) in GetRequiredMemSize() 249 const size_t bufSizeForPreDelay = sizeof(s32) in GetRequiredMemSize() 251 const size_t bufSizeForFilterComp0 = sizeof(s32) * m_FilterSize.m_Comb0; in GetRequiredMemSize() 252 const size_t bufSizeForFilterComp1 = sizeof(s32) * m_FilterSize.m_Comb1; in GetRequiredMemSize() 253 const size_t bufSizeForFilterAllPass = sizeof(s32) * m_FilterSize.m_AllPass; in GetRequiredMemSize() 271 const size_t bufSizeForEarlyReflection = sizeof(s32) in AllocBuffer() 273 const size_t bufSizeForPreDelay = sizeof(s32) in AllocBuffer() 275 const size_t bufSizeForFilterComp0 = sizeof(s32) * m_FilterSize.m_Comb0; in AllocBuffer() 276 const size_t bufSizeForFilterComp1 = sizeof(s32) * m_FilterSize.m_Comb1; in AllocBuffer() 277 const size_t bufSizeForFilterAllPass = sizeof(s32) * m_FilterSize.m_AllPass; in AllocBuffer() [all …]
|
| D | snd_FxDelay.cpp | 32 s32 FxDelay::s_SampleLength = 0; 125 m_FeedbackGain = static_cast<s32>( static_cast<s32>(0x80L) * param.m_FeedbackGain ); in SetParam() 136 m_LpfCoef1 = static_cast<s32>( static_cast<s32>(0x80L) * lpf_coef_1 ); in SetParam() 137 m_LpfCoef2 = static_cast<s32>( static_cast<s32>(0x80L) * lpf_coef_2 ); in SetParam() 150 ( sizeof(s32) * SAMPLE_PER_FRAME * m_DelayFrames ) * m_ProcessChannelCount; in GetRequiredMemSize() 220 s32 sampleLength, in UpdateBuffer() 247 s32* input[ nn::snd::CHANNEL_INDEX_NUM ]; in UpdateBuffer() 259 s32* in_ptr = &input[ch][0]; in UpdateBuffer() 260 s32* delay_ptr = &m_WorkBuffer.m_Delay[ch][0]; in UpdateBuffer() 261 s32* lpf_ptr = &m_WorkBuffer.m_Lpf[ch]; in UpdateBuffer() [all …]
|
| /NW4C-2.0.3/sources/libraries/gfx/ |
| D | gfx_ActivateCommand.cpp | 157 s32 163 s32 commandSize = 12; in CalcSetupActivateVertexAttributeCommandSize_() 165 s32 vtxAttrNum = shape.GetVertexAttributesCount(); in CalcSetupActivateVertexAttributeCommandSize_() 168 for ( s32 i = 0; i < vtxAttrNum; ++ i ) in CalcSetupActivateVertexAttributeCommandSize_() 192 s32 201 s32 vtxAttrNum = shape.GetVertexAttributesCount(); in CalcSetupDeactivateVertexAttributeCommandSize_() 202 s32 commandIndex = 0; in CalcSetupDeactivateVertexAttributeCommandSize_() 205 for ( s32 i = 0; i < vtxAttrNum; ++ i ) in CalcSetupDeactivateVertexAttributeCommandSize_() 219 s32 streamCount = interleave.GetVertexStreamsCount(); in CalcSetupDeactivateVertexAttributeCommandSize_() 249 NW_INLINE s32 [all …]
|
| D | gfx_ShaderBinaryInfo.cpp | 80 s32 83 s32 size = 0; in GetCommonCommandSize() 96 s32 97 ShaderBinaryInfo::GetShaderProgramCommandSize( s32 vertexIndex, s32 geometryIndex ) const in GetShaderProgramCommandSize() 99 s32 size = 0; in GetShaderProgramCommandSize() 116 s32 123 s32 size = 0; in GetProgramCommandSize() 140 s32 143 s32 size = 0; in GetSwizzleCommandSize() 158 s32 [all …]
|
| /NW4C-2.0.3/demos/Nw4cDemo/include/ |
| D | SmSliderBar.h | 72 s32 m_BaseX; 73 s32 m_BaseY; 74 s32 m_GrabX; 75 s32 m_GrabY; 76 s32 m_OffsetX; 77 s32 m_OffsetY; 78 s32 m_PreOffsetX; 79 s32 m_PreOffsetY;
|
| D | SmRenderSystem.h | 56 s32 width; //!< スクリーンの横幅を表します。 57 s32 height; //!< スクリーンの縦幅を表します。 59 ScreenSize(s32 w, s32 h) : width(w), height(h) {} in ScreenSize() 65 s32 x; //!< オフセットのX座標を表します。 66 s32 y; //!< オフセットのY座標を表します。 68 ScreenOffset(s32 x, s32 y) : x(x), y(y) {} in ScreenOffset() 116 void TransferBuffer(s32 screenKind); 124 void WaitVSync(s32 screenKind); 128 void SwapBuffer( s32 screenKind );
|
| /NW4C-2.0.3/include/nw/lyt/ |
| D | lyt_Arc.h | 43 s32 fstStart; //!< エントリテーブル部の開始位置 44 s32 fstSize; //!< エントリテーブル部のサイズ 45 s32 fileStart; //!< ファイルデータ部の開始位置 183 bool ARCFastOpen(ARCHandle* handle, s32 entrynum, ARCFileInfo* af); 214 return ARCFastOpen(handle, static_cast<s32>(dirent->entryNum), af); in ARCOpen() 241 s32 ARCConvertPathToEntrynum(ARCHandle* handle, const wchar_t* pathPtr); 258 bool ARCEntrynumIsDir(const ARCHandle * handle, s32 entrynum); 363 bool ARCChangeDir(ARCHandle* handle, s32 entrynum); 390 return ARCChangeDir(handle, static_cast<s32>(dir->entryNum)); in ARCChangeDir() 420 return ARCChangeDir(handle, static_cast<s32>(dirent->entryNum)); in ARCChangeDir() [all …]
|
| /NW4C-2.0.3/sources/libraries/gfx/res/ |
| D | gfx_ResGraphicsFile.cpp | 43 s32 lutSetsNum = this->GetLutSetsCount(); in Setup() 49 s32 lightNum = this->GetLightsCount(); in Setup() 55 s32 fogNum = this->GetFogsCount(); in Setup() 61 s32 shaderNum = this->GetShadersCount(); in Setup() 67 s32 textureNum = this->GetTexturesCount(); in Setup() 73 s32 skeletalAnimNum = this->GetSkeletalAnimsCount(); in Setup() 79 s32 materialAnimNum = this->GetMaterialAnimsCount(); in Setup() 85 s32 visibilityAnimNum = this->GetVisibilityAnimsCount(); in Setup() 91 s32 cameraAnimNum = this->GetCameraAnimsCount(); in Setup() 97 s32 lightAnimNum = this->GetLightAnimsCount(); in Setup() [all …]
|
| /NW4C-2.0.3/include/nw/ut/ |
| D | ut_ResDictionary.h | 38 virtual s32 GetCount() const = 0; 49 virtual s32 GetIndex(const char* key) const = 0; 50 virtual s32 GetIndex(const ResName n ) const = 0; 68 s32 GetCount() const { return m_Dic.GetCount(); } 76 s32 GetIndex(const char* key) const { return m_Dic.GetIndex( key ); } 77 s32 GetIndex(const ResName n ) const { return m_Dic.GetIndex( n ); } 111 s32 GetCount() const { return ref().numData; } in NW_RES_CTOR() 118 if ( idx < 0 || s32(ref().numData) <= idx ) { return NULL; } 124 s32 idx = this->GetIndex(key); 131 s32 idx = this->GetIndex(key); [all …]
|
| D | ut_ResMetaData.h | 77 NW_RES_FIELD_PRIMITIVE_DECL( s32, DataType ) // GetDataType(), SetDataType() in NW_RES_FIELD_STRING_DECL() 90 s32 GetValuesCount() const { return ref().m_ValuesCount; } in NW_RES_CTOR_INHERIT() 91 const s32* GetValues() const { return &(ref().m_Values[0]); } in GetValues() 92 s32* GetValues() { return &(ref().m_Values[0]); } in GetValues() 94 s32 GetValues(int idx) const { return ref().m_Values[idx]; } in GetValues() 95 void SetValues(int idx, s32 value) { ref().m_Values[idx] = value; } in SetValues() 108 s32 GetValuesCount() const { return ref().m_ValuesCount; } in NW_RES_CTOR_INHERIT() 135 NW_RES_FIELD_PRIMITIVE_DECL( s32, Encoding ) // GetEncoding() in NW_RES_CTOR_INHERIT() 137 s32 GetValuesCount() const { return ref().m_ValuesCount; } in NW_RES_CTOR_INHERIT()
|
| /NW4C-2.0.3/sources/libraries/demo/ |
| D | demo_DebugUtility.cpp | 35 s32 DebugUtility::s_ProfileCallCount = 0; 36 s32 DebugUtility::s_DebugFrameCount = 0; 105 static const s32 POS_LOAD_METER_TEXT_X = POS_LOAD_METER_X + 15; in DrawLoadMeterText() 106 static const s32 POS_BAR_CHART_TEXT_X = POS_BAR_CHART_X + 14; in DrawLoadMeterText() 148 static const s32 POS_BAR_CHART_BACKGROUND_X = POS_BAR_CHART_X + 8; in DrawLoadMeter() 149 static const s32 WIDTH_BAR_CHART_BACKGROUND = WIDTH_LOAD_METER_BAR_CHART + 2; in DrawLoadMeter() 150 static const s32 HEIGHT_BAR_CHART_BACKGROUND = 15; in DrawLoadMeter() 151 static const s32 WIDTH_BAR_CHART_LEFTBOX = 8; in DrawLoadMeter() 152 static const s32 HEIGHT_BAR_CHART_LEFTBOX = 16; in DrawLoadMeter() 153 static const s32 POS_BAR_CHART_LINE_Y = POS_BAR_CHART_Y + HEIGHT_BAR_CHART_LEFTBOX; in DrawLoadMeter() [all …]
|
| /NW4C-2.0.3/sources/libraries/lyt/ |
| D | lyt_Arc.cpp | 131 s32 entry; in ARCOpen() 173 bool ARCFastOpen(ARCHandle* handle, s32 entrynum, ARCFileInfo* af) in ARCFastOpen() 180 NN_ASSERTMSG((0 <= entrynum) && (entrynum < static_cast<s32>(handle->entryNum)), in ARCFastOpen() 190 if ( (entrynum < 0) || (entrynum >= static_cast<s32>(handle->entryNum)) || in ARCFastOpen() 232 s32 ARCConvertPathToEntrynum(ARCHandle* handle, const wchar_t* pathPtr) in ARCConvertPathToEntrynum() 237 s32 length; // must be signed in ARCConvertPathToEntrynum() 257 return (s32)dirLookAt; in ARCConvertPathToEntrynum() 276 return (s32)parentDir(FSTEntries, dirLookAt); in ARCConvertPathToEntrynum() 286 return (s32)dirLookAt; in ARCConvertPathToEntrynum() 297 length = (s32)(ptr - pathPtr); in ARCConvertPathToEntrynum() [all …]
|
| /NW4C-2.0.3/include/nw/gfx/res/ |
| D | gfx_ResShader.h | 119 s32 m_CommandCacheSize; 187 const s32* GetValueS32() const { return reinterpret_cast<const s32*>( &ref().m_Value[0] ); } in GetValueS32() 197 s32* GetValueS32() { return reinterpret_cast<s32*>( &ref().m_Value[0] ); } in GetValueS32() 204 … bool GetValueBool() const { return *reinterpret_cast<const s32*>( &ref().m_Value[0]) != 0; } in GetValueBool() 214 s32* pValue = this->GetValueS32(); in SetValue() 356 NW_RES_FIELD_PRIMITIVE_DECL( s32, SymbolIndex ) // GetSymbolIndex(), SetSymbolIndex() in NW_RES_CTOR() 362 s32 GetParameterLength() in NW_RES_CTOR() 440 NW_RES_FIELD_PRIMITIVE_DECL( s32, Location) // GetLocation(), SetLocation() 510 …NW_RES_FIELD_PRIMITIVE_DECL( s32, VertexShaderIndex ) // GetVertexShaderIndex(), SetVert… in NW_RES_FIELD_FLAGS_DECL() 520 …NW_RES_FIELD_PRIMITIVE_DECL( s32, GeometryShaderIndex ) // GetGeometryShaderIndex(), SetGe… in NW_RES_FIELD_FLAGS_DECL() [all …]
|