Home
last modified time | relevance | path

Searched refs:key (Results 1 – 25 of 36) sorted by relevance

12

/NW4C-2.0.3/include/nw/ut/
Dut_ResDictionary.h44 virtual void* operator[](const char* key) const = 0;
45 virtual void* operator[](const ResName key) const = 0;
49 virtual s32 GetIndex(const char* key) const = 0;
71 void* operator[](const char* key) const { return m_Dic[ key ]; }
72 void* operator[](const ResName key) const { return m_Dic[ key ]; }
76 s32 GetIndex(const char* key) const { return m_Dic.GetIndex( key ); }
122 void* operator[](const char* key) const
124 s32 idx = this->GetIndex(key);
129 void* operator[](const ResName key) const
131 s32 idx = this->GetIndex(key);
[all …]
/NW4C-2.0.3/sources/libraries/gfx/
Dgfx_SortingMaterialIdGenerator.cpp74 return lhs.key < rhs.key; in operator ()()
107 materialKeyValue.key = reinterpret_cast<u32>(material->GetOriginal().ptr()); in Accept()
130 if (lastPtrKey != (*iter).key) in Generate()
138 u32 key = reinterpret_cast<u32>(resDescription.GetOwnerShaderData()); in Generate() local
142 materialKeyValue.key = key; in Generate()
146 lastPtrKey = (*iter).key; in Generate()
162 if (lastShaderKey != m_MaterialsWorkSpace[index].key || in Generate()
177 lastShaderKey = m_MaterialsWorkSpace[index].key; in Generate()
/NW4C-2.0.3/sources/libraries/lyt/
Dlyt_TextureContainer.cpp82 TextureContainer::FindTextureByKey(TextureKey key) in FindTextureByKey() argument
84 NW_NULL_ASSERT(key); in FindTextureByKey()
85 TextureRefLink* pLink = (TextureRefLink*)(key); in FindTextureByKey()
117 TextureContainer::UnregistTexture(TextureKey key) in UnregistTexture() argument
119 NW_NULL_ASSERT(key); in UnregistTexture()
121 TextureRefLink* pLink = (TextureRefLink*)(key); in UnregistTexture()
Dlyt_FontContainer.cpp104 FontContainer::FindFontByKey(FontKey key) in FindFontByKey() argument
106 NW_NULL_ASSERT(key); in FindFontByKey()
107 FontRefLink* pLink = (FontRefLink*)(key); in FindFontByKey()
138 FontContainer::UnregistFont(FontKey key) in UnregistFont() argument
140 NW_NULL_ASSERT(key); in UnregistFont()
142 FontRefLink* pLink = (FontRefLink*)(key); in UnregistFont()
Dlyt_ArcResourceAccessor.cpp317 ArcResourceAccessor::UnregistFont(FontKey key) in UnregistFont() argument
319 m_FontList.UnregistFont(key); in UnregistFont()
350 ArcResourceAccessor::UnregistTexture(TextureKey key) in UnregistTexture() argument
352 m_TextureList.UnregistTexture(key); in UnregistTexture()
451 MultiArcResourceAccessor::UnregistFont(FontKey key) in UnregistFont() argument
453 m_FontList.UnregistFont(key); in UnregistFont()
484 MultiArcResourceAccessor::UnregistTexture(TextureKey key) in UnregistTexture() argument
486 m_TextureList.UnregistTexture(key); in UnregistTexture()
/NW4C-2.0.3/sources/libraries/snd/
Dsnd_MidiSequencePlayer.cpp131 void MidiSequencePlayer::NoteOn( u8 channelIndex, u8 key, u8 velocity ) in NoteOn() argument
138 key = static_cast<u8>( ut::Clamp( key + trackParam.transpose, 0, 127 ) ); in NoteOn()
148 channel->SetKey( key ); in NoteOn()
151 noteInfo->key = key; in NoteOn()
159 Channel* channel = track->NoteOn( key, velocity, -1, false ); in NoteOn()
167 noteInfo->key = key; in NoteOn()
170 void MidiSequencePlayer::NoteOff( u8 channelIndex, u8 key, u8 velocity ) in NoteOff() argument
178 key = static_cast<u8>( ut::Clamp( key + param.transpose, 0, 127 ) ); in NoteOff()
182 NoteInfo* noteInfo = FindNoteInfo( channelIndex, key ); in NoteOff()
520 MidiSequencePlayer::NoteInfo* MidiSequencePlayer::FindNoteInfo( int channelIndex, int key ) in FindNoteInfo() argument
[all …]
Dsnd_BankFileReader.cpp86 int key, in ReadVelocityRegionInfo() argument
103 const BankFile::KeyRegion* keyRegion = instrument->GetKeyRegion( key ); in ReadVelocityRegionInfo()
130 programNo, key, velocity ); in ReadVelocityRegionInfo()
Dsnd_SequenceTrack.cpp680 int key, in NoteOn() argument
686 NW_MINMAX_ASSERT( key, 0, 127 ); in NoteOn()
702 channel->SetKey( static_cast<u8>( key ) ); in NoteOn()
722 channel->SetKey( static_cast<u8>( key ) ); in NoteOn()
734 key, in NoteOn()
799 sweepPitch += m_ParserTrackParam.portaKey - key; in NoteOn()
819 m_ParserTrackParam.portaKey = static_cast<u8>( key ); in NoteOn()
Dsnd_Bank.cpp81 noteOnInfo.key, in NoteOn()
130 pChannel->SetKey( noteOnInfo.key, regionInfo.originalKey ); in NoteOn()
Dsnd_MmlParser.cpp111 int key = static_cast<int>( cmd ) + trackParam.transpose; in Parse() local
114 key = ut::Clamp( key, 0, 127 ); in Parse()
120 key, in Parse()
893 int key, in NoteOnCommandProc() argument
899 track->NoteOn( key, velocity, length, tieFlag ); in NoteOnCommandProc()
/NW4C-2.0.3/include/nw/snd/
Dsnd_MidiSequencePlayer.h127 int key; member
167 void NoteOn( u8 channelIndex, u8 key, u8 velocity );
168 void NoteOff( u8 channelIndex, u8 key, u8 velocity );
182 NoteInfo* FindNoteInfo( int channelIndex, int key );
Dsnd_Channel.h134 void SetKey( u8 key ) { m_Key = key; } in SetKey() argument
135 void SetKey( u8 key, u8 originalKey ) { m_Key = key; m_OriginalKey = originalKey; } in SetKey() argument
Dsnd_NoteOnCallback.h33 int key; member
Dsnd_BankFileReader.h57 int key,
/NW4C-2.0.3/include/nw/lyt/
Dlyt_ArcResourceAccessor.h141 void UnregistFont(FontKey key);
168 void UnregistTexture(TextureKey key);
485 void UnregistFont(FontKey key);
512 void UnregistTexture(TextureKey key);
Dlyt_TextureContainer.h176 void UnregistTexture(TextureKey key);
204 const TextureInfo FindTextureByKey(TextureKey key);
Dlyt_FontContainer.h190 void UnregistFont(FontKey key);
219 FontKey key
/NW4C-2.0.3/sources/libraries/ut/
Dut_ResDictionary.cpp27 ResDicLinear::GetIndex(const char* key) const in GetIndex()
29 if ( (! this->IsValid()) || (! key) ) { return -1; } in GetIndex()
35 if ( x->toName.offset != 0 && std::strcmp(key, x->toName.to_ptr()) == 0 ) in GetIndex()
/NW4C-2.0.3/include/nw/gfx/
Dgfx_AnimGroup.h158 …nimGroupMember GetResAnimGroupMember(const char* key) const { return m_ResAnimGroup.GetMemberInfoS… in GetResAnimGroupMember() argument
161 …int GetResAnimGroupMemberIndex(const char* key) const { return m_ResAnimGroup.GetMemberInfoSetInde… in GetResAnimGroupMemberIndex() argument
/NW4C-2.0.3/tools/DccPlugin/3dsMax/x64/2010/Scripts/Startup/
DNW4C_utils.ms.inc174 fn outValue fs key v =
176 format "%=\"%\"\n" key (v as string) to:fs
179 fn outVersion fs key v =
189 outValue fs key str
192 fn outQuantValue fs key v =
201 outValue fs key str
233 local str, key, val, ver = 0
242 key = elem[1]
244 --format "\"%\"=\"%\"\n" key val
245 case key of
[all …]
/NW4C-2.0.3/tools/DccPlugin/3dsMax/x64/2011/Scripts/Startup/
DNW4C_utils.ms.inc174 fn outValue fs key v =
176 format "%=\"%\"\n" key (v as string) to:fs
179 fn outVersion fs key v =
189 outValue fs key str
192 fn outQuantValue fs key v =
201 outValue fs key str
233 local str, key, val, ver = 0
242 key = elem[1]
244 --format "\"%\"=\"%\"\n" key val
245 case key of
[all …]
/NW4C-2.0.3/tools/DccPlugin/3dsMax/x86/2010/Scripts/Startup/
DNW4C_utils.ms.inc174 fn outValue fs key v =
176 format "%=\"%\"\n" key (v as string) to:fs
179 fn outVersion fs key v =
189 outValue fs key str
192 fn outQuantValue fs key v =
201 outValue fs key str
233 local str, key, val, ver = 0
242 key = elem[1]
244 --format "\"%\"=\"%\"\n" key val
245 case key of
[all …]
/NW4C-2.0.3/tools/DccPlugin/3dsMax/x64/2009/Scripts/Startup/
DNW4C_utils.ms.inc174 fn outValue fs key v =
176 format "%=\"%\"\n" key (v as string) to:fs
179 fn outVersion fs key v =
189 outValue fs key str
192 fn outQuantValue fs key v =
201 outValue fs key str
233 local str, key, val, ver = 0
242 key = elem[1]
244 --format "\"%\"=\"%\"\n" key val
245 case key of
[all …]
/NW4C-2.0.3/tools/DccPlugin/3dsMax/x86/2009/Scripts/Startup/
DNW4C_utils.ms.inc174 fn outValue fs key v =
176 format "%=\"%\"\n" key (v as string) to:fs
179 fn outVersion fs key v =
189 outValue fs key str
192 fn outQuantValue fs key v =
201 outValue fs key str
233 local str, key, val, ver = 0
242 key = elem[1]
244 --format "\"%\"=\"%\"\n" key val
245 case key of
[all …]
/NW4C-2.0.3/tools/DccPlugin/3dsMax/x86/2011/Scripts/Startup/
DNW4C_utils.ms.inc174 fn outValue fs key v =
176 format "%=\"%\"\n" key (v as string) to:fs
179 fn outVersion fs key v =
189 outValue fs key str
192 fn outQuantValue fs key v =
201 outValue fs key str
233 local str, key, val, ver = 0
242 key = elem[1]
244 --format "\"%\"=\"%\"\n" key val
245 case key of
[all …]

12