| /NW4C-1.2.23/sources/libraries/io/ |
| D | io_FileStream.cpp | 100 FileStream::FilePosition::Skip( s32 offset ) in Skip() argument 102 if ( offset != 0 ) in Skip() 104 s64 position = mPosition + offset; in Skip() 125 FileStream::FilePosition::Append( s32 offset ) in Append() argument 127 s64 position = mPosition + offset; in Append() 156 FileStream::FilePosition::Seek( s32 offset, u32 origin ) in Seek() argument 169 (void)Skip( offset ); in Seek()
|
| D | io_RomFileStream.cpp | 182 void RomFileStream::Seek( s32 offset, u32 origin ) in Seek() argument 184 NW_ALIGN4_ASSERT( offset ); in Seek() 186 m_FilePosition.Seek( offset, origin ); in Seek()
|
| /NW4C-1.2.23/sources/libraries/anim/ |
| D | anim_AnimFrameController.cpp | 55 f32 offset = inputFrame - startFrame; in PlayPolicy_Loop() local 56 if (offset < 0.0f) in PlayPolicy_Loop() 58 offset += (FFloor(-offset / length) + 1) * length; in PlayPolicy_Loop() 60 return FMod(offset, length) + startFrame; in PlayPolicy_Loop()
|
| /NW4C-1.2.23/sources/libraries/snd/ |
| D | snd_StreamSoundFile.cpp | 57 return GetReferenceBy( ElementType_StreamSoundFile_InfoBlock )->offset; in GetInfoBlockOffset() 61 return GetReferenceBy( ElementType_StreamSoundFile_SeekBlock )->offset; in GetSeekBlockOffset() 65 return GetReferenceBy( ElementType_StreamSoundFile_DataBlock )->offset; in GetDataBlockOffset() 81 ut::AddOffsetToPtr( this, toStreamSoundInfo.offset ) ); in GetStreamSoundInfo() 91 ut::AddOffsetToPtr( this, toTrackInfoTable.offset ) ); in GetTrackInfoTable() 101 ut::AddOffsetToPtr( this, toChannelInfoTable.offset ) ); in GetChannelInfoTable() 140 ut::AddOffsetToPtr( this, toDetailChannelInfo.offset ) ); in GetDspAdpcmChannelInfo()
|
| D | snd_SequenceSoundFile.cpp | 57 const char* SequenceSoundFile::LabelBlockBody::GetLabelByOffset( u32 offset ) const in GetLabelByOffset() 63 if ( labelInfo->referToSequenceData.offset == offset ) in GetLabelByOffset() 74 *offsetPtr = labelInfo->referToSequenceData.offset; in GetOffset() 88 *offsetPtr = labelInfo->referToSequenceData.offset; in GetOffsetByLabel()
|
| D | snd_SoundArchiveFile.cpp | 164 return GetReferenceBy( ElementType_SoundArchiveFile_StringBlock )->offset; in GetStringBlockOffset() 168 return GetReferenceBy( ElementType_SoundArchiveFile_InfoBlock )->offset; in GetInfoBlockOffset() 172 return GetReferenceBy( ElementType_SoundArchiveFile_FileBlock )->offset; in GetFileBlockOffset() 182 return ut::AddOffsetToPtr( this, toSection[section].offset ); in GetSection() 507 ut::AddOffsetToPtr( this, toSoundArchivePlayerInfo.offset ) ); in GetSoundArchivePlayerInfo() 515 ut::AddOffsetToPtr( this, toSoundInfoReferenceTable.offset ) ); in GetSoundInfoReferenceTable() 522 ut::AddOffsetToPtr( this, toBankInfoReferenceTable.offset ) ); in GetBankInfoReferenceTable() 529 ut::AddOffsetToPtr( this, toPlayerInfoReferenceTable.offset ) ); in GetPlayerInfoReferenceTable() 536 ut::AddOffsetToPtr( this, toSoundGroupInfoReferenceTable.offset ) ); in GetSoundGroupInfoReferenceTable() 543 ut::AddOffsetToPtr( this, toGroupInfoReferenceTable.offset ) ); in GetGroupInfoReferenceTable() [all …]
|
| D | snd_MemorySoundArchive.cpp | 138 const u32 itemOffset = groupInfo.offset + itemInfo.offset; in detail_GetFileAddress() 210 void MemorySoundArchive::MemoryFileStream::Seek( s32 offset, u32 origin ) in Seek() argument 214 m_Position = static_cast<u32>(offset); in Seek() 218 m_Position += offset; in Seek() 222 m_Position = m_Size - offset; in Seek()
|
| D | snd_BankFile.cpp | 75 return ut::AddOffsetToPtr( this, toRegion.offset ); in GetRegion() 115 return ut::AddOffsetToPtr( this, ref.offset ); in GetRegion() 140 return ut::AddOffsetToPtr( this, toRegion[index-min].offset ); in GetRegion() 188 const void* GetRegion( const void* startPtr, u16 typeId, u32 offset, u32 index ) in GetRegion() argument 192 const void* regionChunk = ut::AddOffsetToPtr( startPtr, offset ); in GetRegion() 232 ut::AddOffsetToPtr( this, toWaveIdTable.offset ) ); in GetWaveIdTable() 239 ut::AddOffsetToPtr( this, toInstrumentReferenceTable.offset ) ); in GetInstrumentReferenceTable() 274 toKeyRegionChunk.offset, in GetKeyRegion() 287 toVelocityRegionChunk.offset, in GetVelocityRegion() 370 ut::AddOffsetToPtr( &ref, ref.offset ) ); in GetAdshrCurve()
|
| D | snd_HioSoundArchive.cpp | 376 HioSoundArchive::HioFileStream::HioFileStream( const char* path, u32 offset, u32 size ) in HioFileStream() argument 379 m_Offset( static_cast<s32>( offset ) ), in HioFileStream() 391 nn::hio::HostFile* openedFile, u32 offset, u32 size ) in HioFileStream() argument 393 m_Offset( static_cast<s32>( offset ) ), in HioFileStream() 416 void HioSoundArchive::HioFileStream::Seek( s32 offset, u32 origin ) in Seek() argument 420 offset += m_Offset; in Seek() 423 offset += io::HioFileStream::Tell(); in Seek() 426 offset = m_Offset + static_cast<s32>( m_Size ) - offset; in Seek() 433 if ( offset < m_Offset ) in Seek() 435 offset = m_Offset; in Seek() [all …]
|
| D | snd_RomSoundArchive.cpp | 591 RomSoundArchive::RomFileStream::RomFileStream( s32 entryNum, u32 offset, u32 size ) 593 m_Offset( static_cast<s32>( offset ) ), 602 RomSoundArchive::RomFileStream::RomFileStream( const char* path, u32 offset, u32 size ) in RomFileStream() argument 605 m_Offset( static_cast<s32>( offset ) ), in RomFileStream() 619 const nn::fs::File* fileInfo, u32 offset, u32 size ) in RomFileStream() argument 621 m_Offset( static_cast<s32>( offset ) ), in RomFileStream() 634 nn::fs::FileReader* fileReader, u32 offset, u32 size ) in RomFileStream() argument 636 m_Offset( static_cast<s32>( offset ) ), in RomFileStream() 660 void RomSoundArchive::RomFileStream::Seek( s32 offset, u32 origin ) in Seek() argument 664 offset += m_Offset; in Seek() [all …]
|
| D | snd_WaveSoundFile.cpp | 101 ut::AddOffsetToPtr( this, toWaveSoundDataReferenceTable.offset ) ); in GetWaveSoundDataReferenceTable() 107 ut::AddOffsetToPtr( this, toWaveIdTable.offset ) ); in GetWaveIdTable() 121 ut::AddOffsetToPtr( this, toWaveSoundInfo.offset ) ); in GetWaveSoundInfo() 128 ut::AddOffsetToPtr( this, toTrackInfoReferenceTable.offset ) ); in GetTrackInfoReferenceTable() 135 ut::AddOffsetToPtr( this, toNoteInfoReferenceTable.offset ) ); in GetNoteInfoReferenceTable() 229 ut::AddOffsetToPtr( &ref, ref.offset ) ); in GetAdshrCurve() 240 ut::AddOffsetToPtr( this, toNoteEventReferenceTable.offset ) ); in GetNoteEventReferenceTable() 335 ut::AddOffsetToPtr( &ref, ref.offset ) ); in GetAdshrCurve()
|
| D | snd_PlayerHeap.cpp | 151 size_t offset = ut::GetOffsetFromPtr( m_pAllocAddress, m_pEndAddress ); in GetFreeSize() local 152 NW_ASSERT( offset >= 0 ); in GetFreeSize() 154 return offset; in GetFreeSize()
|
| D | snd_WaveFile.cpp | 59 ut::AddOffsetToPtr( dataBlockBodyAddress, referToSamples.offset ) ); in GetSamplesAddress() 66 ut::AddOffsetToPtr( this, referToAdpcmInfo.offset ) ); in GetDspAdpcmInfo()
|
| D | snd_WaveSound.cpp | 95 s32 offset, in Prepare() argument 111 command->offset = offset; in Prepare()
|
| D | snd_WaveArchiveFile.cpp | 52 return GetReferenceBy( ElementType_WaveArchiveFile_InfoBlock )->offset; in GetInfoBlockOffset() 56 return GetReferenceBy( ElementType_WaveArchiveFile_FileBlock )->offset; in GetFileBlockOffset()
|
| /NW4C-1.2.23/include/nw/ut/ |
| D | ut_ResTypes.h | 155 ResS32 offset; member 160 if ( offset != 0 ) { return reinterpret_cast<const char*>(p + offset); } in to_ptr() 166 if (ptr == NULL) { offset = 0; } in set_ptr() 167 else { offset = GetOffsetFromPtr(this, ptr); } in set_ptr() 178 ResS32 offset; member 185 Offset operator=(s32 ofs) { offset = ofs; return *this; } 186 operator s32() const { return offset; } in s32() 187 Offset operator+(s32 ofs) const { return s32_to_ofs(this->offset + ofs); } 188 Offset operator-(s32 ofs) const { return s32_to_ofs(this->offset - ofs); } 189 Offset operator+=(s32 ofs) { this->offset += ofs; return *this; } [all …]
|
| /NW4C-1.2.23/include/nw/io/ |
| D | io_FileStream.h | 45 virtual void Seek( s32 offset, u32 origin ); 72 u32 Skip( s32 offset ); 73 u32 Append( s32 offset ); 74 void Seek( s32 offset, u32 origin );
|
| /NW4C-1.2.23/sources/libraries/demo/ |
| D | demo_Memory.cpp | 49 size_t offset = nw::ut::GetOffsetFromPtr( memory, top ); in AlignMemory_() local 50 NW_U8_RANGE_ASSERT( offset ); in AlignMemory_() 52 *head = static_cast<u8>( offset ); in AlignMemory_() 105 u8 offset = *head; in UnAlignMemory() local 107 return nw::ut::AddOffsetToPtr( memory, -offset ); in UnAlignMemory()
|
| /NW4C-1.2.23/include/nw/snd/ |
| D | snd_RomSoundArchive.h | 236 RomFileStream( const char* path, u32 offset, u32 size ); 239 RomFileStream( const nn::fs::File* fileInfo, u32 offset, u32 size ); 241 RomFileStream( nn::fs::FileReader* fileReader, u32 offset, u32 size ); 245 virtual void Seek( s32 offset, u32 origin );
|
| D | snd_Util.h | 122 nw::ut::ResS32 offset; // INVALID_OFFSET が入っていたら 無効値 member 136 if ( offset != INVALID_OFFSET ) in IsValidOffset() 154 return ut::AddOffsetToPtr( this, item[ index ].offset ); in GetReferedItem() 160 return ut::AddOffsetToPtr( this, item[ index ].offset ); in GetReferedItem() 168 return ut::AddOffsetToPtr( this, item[i].offset ); in FindReferedItemBy() 180 return ut::AddOffsetToPtr( this, item[ index ].offset ); in GetReferedItem() 188 return ut::AddOffsetToPtr( this, item[i].offset ); in GetReferedItemBy() 214 return ut::AddOffsetToPtr( origin, item[ index ].offset ); in GetReferedItemByIndex() 232 if ( ref->offset == 0 ) return NULL; in GetReferedItem() 233 return ut::AddOffsetToPtr( origin, ref->offset ); in GetReferedItem() [all …]
|
| D | snd_GroupFile.h | 60 this, referenceTableOfGroupItemInfo.item[ index ].offset ) ); in GetGroupItemInfo() 101 if ( embeddedItemInfo.offset == OFFSET_FOR_LINK ) in GetFileLocation() 106 embeddedItemInfo.offset ); in GetFileLocation()
|
| D | snd_WaveArchiveFileReader.h | 66 u32 offset = m_pInfoBlockBody->GetOffsetFromFileBlockBody( waveIndex ); in GetWaveFileForWhole() local 67 return ut::AddOffsetToPtr( &m_pHeader->GetFileBlock()->body, offset ); in GetWaveFileForWhole()
|
| /NW4C-1.2.23/demos/Nw4cDemo/sources/ |
| D | SmPrimitive.cpp | 276 nw::math::VEC4 offset; in Render() local 277 offset.x = posX; in Render() 278 offset.y = posY; in Render() 279 offset.z = 0.f; in Render() 280 offset.w = 0.f; in Render() 281 glVertexAttrib4fv( SmOgl::SMP_ATTR_OFFSET, offset ); in Render()
|
| /NW4C-1.2.23/sources/libraries/gfx/ |
| D | gfx_ParticleAnimationOption.cpp | 168 int offset = (int)(random % (int)(this->GetAnimationDuration() + 1)); in EvaluateAnimationFrame() local 171 return (f32)offset; in EvaluateAnimationFrame() 173 return offset; in EvaluateAnimationFrame()
|
| /NW4C-1.2.23/include/nw/gfx/ |
| D | gfx_ParticleSet.h | 302 void SetScaleOffset(const nw::math::VEC3& offset) in SetScaleOffset() argument 304 this->m_ScaleOffset = offset; in SetScaleOffset() 317 void SetRotateOffset(const nw::math::VEC3& offset) in SetRotateOffset() argument 319 this->m_RotateOffset = offset; in SetRotateOffset()
|