| /NW4C-2.0.3/sources/libraries/io/ |
| D | io_FileStream.cpp | 102 FileStream::FilePosition::Skip( s32 offset ) in Skip() argument 104 if ( offset != 0 ) in Skip() 106 s64 position = mPosition + offset; in Skip() 127 FileStream::FilePosition::Append( s32 offset ) in Append() argument 129 s64 position = mPosition + offset; in Append() 158 FileStream::FilePosition::Seek( s32 offset, u32 origin ) in Seek() argument 171 (void)Skip( offset ); in Seek()
|
| /NW4C-2.0.3/sources/libraries/anim/ |
| D | anim_AnimFrameController.cpp | 57 f32 offset = inputFrame - startFrame; in PlayPolicy_Loop() local 58 if (offset < 0.0f) in PlayPolicy_Loop() 60 offset += (FFloor(-offset / length) + 1) * length; in PlayPolicy_Loop() 62 return FMod(offset, length) + startFrame; in PlayPolicy_Loop()
|
| /NW4C-2.0.3/sources/libraries/snd/ |
| D | snd_StreamSoundFile.cpp | 59 return GetReferenceBy( ElementType_StreamSoundFile_InfoBlock )->offset; in GetInfoBlockOffset() 63 return GetReferenceBy( ElementType_StreamSoundFile_SeekBlock )->offset; in GetSeekBlockOffset() 67 return GetReferenceBy( ElementType_StreamSoundFile_DataBlock )->offset; in GetDataBlockOffset() 83 ut::AddOffsetToPtr( this, toStreamSoundInfo.offset ) ); in GetStreamSoundInfo() 93 ut::AddOffsetToPtr( this, toTrackInfoTable.offset ) ); in GetTrackInfoTable() 103 ut::AddOffsetToPtr( this, toChannelInfoTable.offset ) ); in GetChannelInfoTable() 142 ut::AddOffsetToPtr( this, toDetailChannelInfo.offset ) ); in GetDspAdpcmChannelInfo()
|
| D | snd_SequenceSoundFile.cpp | 59 const char* SequenceSoundFile::LabelBlockBody::GetLabelByOffset( u32 offset ) const in GetLabelByOffset() 65 if ( labelInfo->referToSequenceData.offset == offset ) in GetLabelByOffset() 76 *offsetPtr = labelInfo->referToSequenceData.offset; in GetOffset() 90 *offsetPtr = labelInfo->referToSequenceData.offset; in GetOffsetByLabel()
|
| D | snd_SoundArchiveFile.cpp | 166 return GetReferenceBy( ElementType_SoundArchiveFile_StringBlock )->offset; in GetStringBlockOffset() 170 return GetReferenceBy( ElementType_SoundArchiveFile_InfoBlock )->offset; in GetInfoBlockOffset() 174 return GetReferenceBy( ElementType_SoundArchiveFile_FileBlock )->offset; in GetFileBlockOffset() 184 return ut::AddOffsetToPtr( this, toSection[section].offset ); in GetSection() 521 ut::AddOffsetToPtr( this, toSoundArchivePlayerInfo.offset ) ); in GetSoundArchivePlayerInfo() 529 ut::AddOffsetToPtr( this, toSoundInfoReferenceTable.offset ) ); in GetSoundInfoReferenceTable() 536 ut::AddOffsetToPtr( this, toBankInfoReferenceTable.offset ) ); in GetBankInfoReferenceTable() 543 ut::AddOffsetToPtr( this, toPlayerInfoReferenceTable.offset ) ); in GetPlayerInfoReferenceTable() 550 ut::AddOffsetToPtr( this, toSoundGroupInfoReferenceTable.offset ) ); in GetSoundGroupInfoReferenceTable() 557 ut::AddOffsetToPtr( this, toGroupInfoReferenceTable.offset ) ); in GetGroupInfoReferenceTable() [all …]
|
| D | snd_MemorySoundArchive.cpp | 140 const u32 itemOffset = groupInfo.offset + itemInfo.offset; in detail_GetFileAddress() 212 void MemorySoundArchive::MemoryFileStream::Seek( s32 offset, u32 origin ) in Seek() argument 216 m_Position = static_cast<u32>(offset); in Seek() 220 m_Position += offset; in Seek() 224 m_Position = m_Size - offset; in Seek()
|
| D | snd_BankFile.cpp | 77 return ut::AddOffsetToPtr( this, toRegion.offset ); in GetRegion() 117 return ut::AddOffsetToPtr( this, ref.offset ); in GetRegion() 142 return ut::AddOffsetToPtr( this, toRegion[index-min].offset ); in GetRegion() 190 const void* GetRegion( const void* startPtr, u16 typeId, u32 offset, u32 index ) in GetRegion() argument 194 const void* regionChunk = ut::AddOffsetToPtr( startPtr, offset ); in GetRegion() 234 ut::AddOffsetToPtr( this, toWaveIdTable.offset ) ); in GetWaveIdTable() 241 ut::AddOffsetToPtr( this, toInstrumentReferenceTable.offset ) ); in GetInstrumentReferenceTable() 276 toKeyRegionChunk.offset, in GetKeyRegion() 289 toVelocityRegionChunk.offset, in GetVelocityRegion() 372 ut::AddOffsetToPtr( &ref, ref.offset ) ); in GetAdshrCurve()
|
| D | snd_HioSoundArchive.cpp | 378 HioSoundArchive::HioFileStream::HioFileStream( const char* path, u32 offset, u32 size ) in HioFileStream() argument 381 m_Offset( static_cast<s32>( offset ) ), in HioFileStream() 393 nn::hio::HostFile* openedFile, u32 offset, u32 size ) in HioFileStream() argument 395 m_Offset( static_cast<s32>( offset ) ), in HioFileStream() 418 void HioSoundArchive::HioFileStream::Seek( s32 offset, u32 origin ) in Seek() argument 422 offset += m_Offset; in Seek() 425 offset += io::HioFileStream::Tell(); in Seek() 428 offset = m_Offset + static_cast<s32>( m_Size ) - offset; in Seek() 435 if ( offset < m_Offset ) in Seek() 437 offset = m_Offset; in Seek() [all …]
|
| D | snd_RomSoundArchive.cpp | 593 RomSoundArchive::RomFileStream::RomFileStream( s32 entryNum, u32 offset, u32 size ) 595 m_Offset( static_cast<s32>( offset ) ), 604 RomSoundArchive::RomFileStream::RomFileStream( const char* path, u32 offset, u32 size ) in RomFileStream() argument 607 m_Offset( static_cast<s32>( offset ) ), in RomFileStream() 621 const nn::fs::File* fileInfo, u32 offset, u32 size ) in RomFileStream() argument 623 m_Offset( static_cast<s32>( offset ) ), in RomFileStream() 636 nn::fs::FileReader* fileReader, u32 offset, u32 size ) in RomFileStream() argument 638 m_Offset( static_cast<s32>( offset ) ), in RomFileStream() 662 void RomSoundArchive::RomFileStream::Seek( s32 offset, u32 origin ) in Seek() argument 666 offset += m_Offset; in Seek() [all …]
|
| D | snd_WaveSoundFile.cpp | 103 ut::AddOffsetToPtr( this, toWaveSoundDataReferenceTable.offset ) ); in GetWaveSoundDataReferenceTable() 109 ut::AddOffsetToPtr( this, toWaveIdTable.offset ) ); in GetWaveIdTable() 123 ut::AddOffsetToPtr( this, toWaveSoundInfo.offset ) ); in GetWaveSoundInfo() 130 ut::AddOffsetToPtr( this, toTrackInfoReferenceTable.offset ) ); in GetTrackInfoReferenceTable() 137 ut::AddOffsetToPtr( this, toNoteInfoReferenceTable.offset ) ); in GetNoteInfoReferenceTable() 231 ut::AddOffsetToPtr( &ref, ref.offset ) ); in GetAdshrCurve() 242 ut::AddOffsetToPtr( this, toNoteEventReferenceTable.offset ) ); in GetNoteEventReferenceTable() 337 ut::AddOffsetToPtr( &ref, ref.offset ) ); in GetAdshrCurve()
|
| D | snd_PlayerHeap.cpp | 159 size_t offset = ut::GetOffsetFromPtr( m_pAllocAddress, m_pEndAddress ); in GetFreeSize() local 160 NW_ASSERT( offset >= 0 ); in GetFreeSize() 162 return offset; in GetFreeSize()
|
| /NW4C-2.0.3/include/nw/ut/ |
| D | ut_ResTypes.h | 157 ResS32 offset; member 162 if ( offset != 0 ) { return reinterpret_cast<const char*>(p + offset); } in to_ptr() 168 if (ptr == NULL) { offset = 0; } in set_ptr() 169 else { offset = GetOffsetFromPtr(this, ptr); } in set_ptr() 180 ResS32 offset; member 187 Offset operator=(s32 ofs) { offset = ofs; return *this; } 188 operator s32() const { return offset; } in s32() 189 Offset operator+(s32 ofs) const { return s32_to_ofs(this->offset + ofs); } 190 Offset operator-(s32 ofs) const { return s32_to_ofs(this->offset - ofs); } 191 Offset operator+=(s32 ofs) { this->offset += ofs; return *this; } [all …]
|
| /NW4C-2.0.3/include/nw/io/ |
| D | io_FileStream.h | 47 virtual void Seek( s32 offset, u32 origin ); 74 u32 Skip( s32 offset ); 75 u32 Append( s32 offset ); 76 void Seek( s32 offset, u32 origin );
|
| /NW4C-2.0.3/sources/libraries/demo/ |
| D | demo_Memory.cpp | 51 size_t offset = nw::ut::GetOffsetFromPtr( memory, top ); in AlignMemory_() local 52 NW_U8_RANGE_ASSERT( offset ); in AlignMemory_() 54 *head = static_cast<u8>( offset ); in AlignMemory_() 107 u8 offset = *head; in UnAlignMemory() local 109 return nw::ut::AddOffsetToPtr( memory, -offset ); in UnAlignMemory()
|
| /NW4C-2.0.3/include/nw/snd/ |
| D | snd_RomSoundArchive.h | 238 RomFileStream( const char* path, u32 offset, u32 size ); 241 RomFileStream( const nn::fs::File* fileInfo, u32 offset, u32 size ); 243 RomFileStream( nn::fs::FileReader* fileReader, u32 offset, u32 size ); 247 virtual void Seek( s32 offset, u32 origin );
|
| D | snd_GroupFile.h | 66 this, referenceTableOfGroupItemInfo.item[ index ].offset ) ); in GetGroupItemInfo() 107 if ( embeddedItemInfo.offset == OFFSET_FOR_LINK ) in GetFileLocation() 112 embeddedItemInfo.offset ); in GetFileLocation() 145 this, referenceTableOfGroupItemInfoEx.item[ index ].offset ) ); in GetGroupItemInfoEx()
|
| D | snd_Util.h | 128 nw::ut::ResS32 offset; // INVALID_OFFSET が入っていたら 無効値 member 142 if ( offset != INVALID_OFFSET ) in IsValidOffset() 160 return ut::AddOffsetToPtr( this, item[ index ].offset ); in GetReferedItem() 166 return ut::AddOffsetToPtr( this, item[ index ].offset ); in GetReferedItem() 174 return ut::AddOffsetToPtr( this, item[i].offset ); in FindReferedItemBy() 186 return ut::AddOffsetToPtr( this, item[ index ].offset ); in GetReferedItem() 194 return ut::AddOffsetToPtr( this, item[i].offset ); in GetReferedItemBy() 220 return ut::AddOffsetToPtr( origin, item[ index ].offset ); in GetReferedItemByIndex() 238 if ( ref->offset == 0 ) return NULL; in GetReferedItem() 239 return ut::AddOffsetToPtr( origin, ref->offset ); in GetReferedItem() [all …]
|
| /NW4C-2.0.3/tools/DccPlugin/3dsMax/x64/2009/Scripts/Startup/ |
| D | NW4C_menu.ms | 12 …ection "" /*width:80*/ height:16 labels:#("All", "Selection") columns:2 align:#left offset:[-30,0] 15 label lbl2 "File name:" /*width:72*/ height:20 align:#left across: 4 --offset:[0,-10] 16 editText editFilename "" width:256 align:#left offset:[-30,0] 17 button btnNameNode "Node" width:45 height:16 align:#right offset:[60,0] 22 editText editFilepath "" width:332 offset:[-30,0] 25 radiobuttons rdoUseCS "" labels:#("Use Creative Studio") align:#left offset:[0,-5] 26 radiobuttons rdoUse3DEditor "" labels:#("Use 3DEditor") align:#left --offset:[0,-5] 31 editText editMergeFile "" width:332 offset:[-30,0] 107 …meEnd "" width:64 height:16 range:[0,100000,100] type:#integer scale:1 align:#left offset:[-40,0] 114 label lblExportModel "Model Data " align:#right offset:[20,0] across:4 [all …]
|
| /NW4C-2.0.3/tools/DccPlugin/3dsMax/x86/2011/Scripts/Startup/ |
| D | NW4C_menu.ms | 12 …ection "" /*width:80*/ height:16 labels:#("All", "Selection") columns:2 align:#left offset:[-30,0] 15 label lbl2 "File name:" /*width:72*/ height:20 align:#left across: 4 --offset:[0,-10] 16 editText editFilename "" width:256 align:#left offset:[-30,0] 17 button btnNameNode "Node" width:45 height:16 align:#right offset:[60,0] 22 editText editFilepath "" width:332 offset:[-30,0] 25 radiobuttons rdoUseCS "" labels:#("Use Creative Studio") align:#left offset:[0,-5] 26 radiobuttons rdoUse3DEditor "" labels:#("Use 3DEditor") align:#left --offset:[0,-5] 31 editText editMergeFile "" width:332 offset:[-30,0] 107 …meEnd "" width:64 height:16 range:[0,100000,100] type:#integer scale:1 align:#left offset:[-40,0] 114 label lblExportModel "Model Data " align:#right offset:[20,0] across:4 [all …]
|
| /NW4C-2.0.3/tools/DccPlugin/3dsMax/x64/2011/Scripts/Startup/ |
| D | NW4C_menu.ms | 12 …ection "" /*width:80*/ height:16 labels:#("All", "Selection") columns:2 align:#left offset:[-30,0] 15 label lbl2 "File name:" /*width:72*/ height:20 align:#left across: 4 --offset:[0,-10] 16 editText editFilename "" width:256 align:#left offset:[-30,0] 17 button btnNameNode "Node" width:45 height:16 align:#right offset:[60,0] 22 editText editFilepath "" width:332 offset:[-30,0] 25 radiobuttons rdoUseCS "" labels:#("Use Creative Studio") align:#left offset:[0,-5] 26 radiobuttons rdoUse3DEditor "" labels:#("Use 3DEditor") align:#left --offset:[0,-5] 31 editText editMergeFile "" width:332 offset:[-30,0] 107 …meEnd "" width:64 height:16 range:[0,100000,100] type:#integer scale:1 align:#left offset:[-40,0] 114 label lblExportModel "Model Data " align:#right offset:[20,0] across:4 [all …]
|
| /NW4C-2.0.3/tools/DccPlugin/3dsMax/x86/2010/Scripts/Startup/ |
| D | NW4C_menu.ms | 12 …ection "" /*width:80*/ height:16 labels:#("All", "Selection") columns:2 align:#left offset:[-30,0] 15 label lbl2 "File name:" /*width:72*/ height:20 align:#left across: 4 --offset:[0,-10] 16 editText editFilename "" width:256 align:#left offset:[-30,0] 17 button btnNameNode "Node" width:45 height:16 align:#right offset:[60,0] 22 editText editFilepath "" width:332 offset:[-30,0] 25 radiobuttons rdoUseCS "" labels:#("Use Creative Studio") align:#left offset:[0,-5] 26 radiobuttons rdoUse3DEditor "" labels:#("Use 3DEditor") align:#left --offset:[0,-5] 31 editText editMergeFile "" width:332 offset:[-30,0] 107 …meEnd "" width:64 height:16 range:[0,100000,100] type:#integer scale:1 align:#left offset:[-40,0] 114 label lblExportModel "Model Data " align:#right offset:[20,0] across:4 [all …]
|
| /NW4C-2.0.3/tools/DccPlugin/3dsMax/x64/2010/Scripts/Startup/ |
| D | NW4C_menu.ms | 12 …ection "" /*width:80*/ height:16 labels:#("All", "Selection") columns:2 align:#left offset:[-30,0] 15 label lbl2 "File name:" /*width:72*/ height:20 align:#left across: 4 --offset:[0,-10] 16 editText editFilename "" width:256 align:#left offset:[-30,0] 17 button btnNameNode "Node" width:45 height:16 align:#right offset:[60,0] 22 editText editFilepath "" width:332 offset:[-30,0] 25 radiobuttons rdoUseCS "" labels:#("Use Creative Studio") align:#left offset:[0,-5] 26 radiobuttons rdoUse3DEditor "" labels:#("Use 3DEditor") align:#left --offset:[0,-5] 31 editText editMergeFile "" width:332 offset:[-30,0] 107 …meEnd "" width:64 height:16 range:[0,100000,100] type:#integer scale:1 align:#left offset:[-40,0] 114 label lblExportModel "Model Data " align:#right offset:[20,0] across:4 [all …]
|
| /NW4C-2.0.3/tools/DccPlugin/3dsMax/x86/2009/Scripts/Startup/ |
| D | NW4C_menu.ms | 12 …ection "" /*width:80*/ height:16 labels:#("All", "Selection") columns:2 align:#left offset:[-30,0] 15 label lbl2 "File name:" /*width:72*/ height:20 align:#left across: 4 --offset:[0,-10] 16 editText editFilename "" width:256 align:#left offset:[-30,0] 17 button btnNameNode "Node" width:45 height:16 align:#right offset:[60,0] 22 editText editFilepath "" width:332 offset:[-30,0] 25 radiobuttons rdoUseCS "" labels:#("Use Creative Studio") align:#left offset:[0,-5] 26 radiobuttons rdoUse3DEditor "" labels:#("Use 3DEditor") align:#left --offset:[0,-5] 31 editText editMergeFile "" width:332 offset:[-30,0] 107 …meEnd "" width:64 height:16 range:[0,100000,100] type:#integer scale:1 align:#left offset:[-40,0] 114 label lblExportModel "Model Data " align:#right offset:[20,0] across:4 [all …]
|
| /NW4C-2.0.3/demos/Nw4cDemo/sources/ |
| D | SmPrimitive.cpp | 278 nw::math::VEC4 offset; in Render() local 279 offset.x = posX; in Render() 280 offset.y = posY; in Render() 281 offset.z = 0.f; in Render() 282 offset.w = 0.f; in Render() 283 glVertexAttrib4fv( SmOgl::SMP_ATTR_OFFSET, offset ); in Render()
|
| /NW4C-2.0.3/sources/libraries/gfx/ |
| D | gfx_ParticleAnimationOption.cpp | 170 int offset = (int)(random % (int)(this->GetAnimationDuration() + 1)); in EvaluateAnimationFrame() local 173 return (f32)offset; in EvaluateAnimationFrame() 175 return offset; in EvaluateAnimationFrame()
|