| /NW4C-1.2.23/include/nw/lyt/ |
| D | lyt_Window.h | 66 u8 textureFlip; 90 u8 contentTexNum, 91 u8 frameTexNum); 108 u8 contentTexNum, 109 u8 frameLTTexNum, 110 u8 frameRTTexNum, 111 u8 frameRBTexNum, 112 u8 frameLBTexNum); 133 u8 contentTexNum, 134 u8 cornerLTTexNum, [all …]
|
| D | lyt_Material.h | 136 u8 texMapNum, 137 u8 texSRTNum, 138 u8 texCoordGenNum, 139 u8 tevStageNum = 0, 151 u8 GetTexMapCap() const in GetTexMapCap() 153 return u8(m_MemCap.texMap); in GetTexMapCap() 164 u8 GetTexSRTCap() const in GetTexSRTCap() 166 return u8(m_MemCap.texSRT); in GetTexSRTCap() 177 u8 GetTexCoordGenCap() const in GetTexCoordGenCap() 179 return u8(m_MemCap.texCoordGen); in GetTexCoordGenCap() [all …]
|
| D | lyt_Common.h | 118 void Reserve(u8 num); 121 u8 GetSize() const in GetSize() 127 void SetSize(u8 num); 148 u8 texCoordNum); 151 u8 m_Cap; 152 u8 m_Num; 159 u8 alpha); 165 u8 texCoordNum = 0, 183 u8 191 return reinterpret_cast<const u8*>(&cols[idx / sizeof(ut::Color8)])[idx % sizeof(ut::Color8)]; in GetVtxColorElement() [all …]
|
| D | lyt_Picture.h | 61 explicit Picture(u8 texNum); 156 virtual u8 GetVtxColorElement(u32 idx) const; 171 virtual void SetVtxColorElement(u32 idx, u8 value); 184 void ReserveTexCoord(u8 num); 194 u8 GetTexCoordNum() const; 210 void SetTexCoordNum(u8 num); 242 virtual u8 GetMaterialNum() const; 298 void Init(u8 texNum);
|
| /NW4C-1.2.23/include/nw/snd/ |
| D | snd_MidiSequencePlayer.h | 133 u8 rpnLsb; 134 u8 rpnMsb; 135 u8 nrpnLsb; 136 u8 nrpnMsb; 156 void SendMessage( u8 status, u8 data1, u8 data2 ); 165 void NoteOn( u8 channelIndex, u8 key, u8 velocity ); 166 void NoteOff( u8 channelIndex, u8 key, u8 velocity ); 168 void HandleControlChangeMessage( u8 channelIndex, u8 control, u8 value ); 169 void HandleRpnMessage( u8 channelIndex, u8 value ); 170 void HandleNrpnMessage( u8 channelIndex, u8 value ); [all …]
|
| D | snd_MidiStreamParser.h | 30 typedef void (*MidiCallback)( u8 status, u8 data1, u8 data2, void* arg ); 40 const u8* ptr; 46 bool ReadByte( u8* data ); 47 bool PeakByte( u8* data ); 48 void BackByte( u8 byte ); 55 static bool IsDataByte( u8 b ) { return ( b & 0x80 ) ? false : true; } in IsDataByte() 56 static bool IsStatusByte( u8 b ) { return ( b & 0x80 ) ? true : false; } in IsStatusByte() 57 static bool IsRealtimeMesg( u8 b ) { return ( b >= 0xf8 ) ? true : false; } in IsRealtimeMesg() 58 static bool IsSystemResetMesg( u8 b ) { return ( b == 0xff ) ? true : false; } in IsSystemResetMesg() 66 u8 m_RestBuf[256]; [all …]
|
| D | snd_SequenceTrack.h | 49 const u8* baseAddr; 50 const u8* currentAddr; 59 u8 loopFlag; 60 u8 loopCount; 61 const u8* address; 64 u8 callStackDepth; 76 u8 bankIndex; // 0-3 のシーケンス内バンクインデックスと見る 80 u8 lfoTarget; // enum Channel::LfoTarget; 83 MoveValue<u8,s16> volume; 87 u8 volume2; [all …]
|
| D | snd_BankFile.h | 166 u8 GetOriginalKey() const; 167 u8 GetVolume() const; 168 u8 GetPan() const; 170 u8 GetSurroundPan() const; 174 u8 GetKeyGroup() const; 175 u8 GetInterpolationType() const; 186 u8 originalKey; 187 u8 padding1[3]; // ignore 190 u8 volume; 191 u8 padding2[3]; // ignore [all …]
|
| D | snd_Channel.h | 79 static const u8 SILENCE_VOLUME_MAX = 255; 80 static const u8 SILENCE_VOLUME_MIN = 0; 132 void SetKey( u8 key ) { m_Key = key; } in SetKey() 133 void SetKey( u8 key, u8 originalKey ) { m_Key = key; m_OriginalKey = originalKey; } in SetKey() 192 void SetKeyGroupId( u8 id ) { m_KeyGroupId = id; } in SetKeyGroupId() 193 u8 GetKeyGroupId() const { return m_KeyGroupId; } in GetKeyGroupId() 195 void SetInterpolationType( u8 type ) { m_InterpolationType = type; } in SetInterpolationType() 196 u8 GetInterpolationType() const { return m_InterpolationType; } in GetInterpolationType() 216 u8 m_LfoTarget; // enum LfoTarget 218 u8 m_PauseFlag; [all …]
|
| D | snd_WaveSoundFileReader.h | 53 u8 pan; 54 u8 surroundPan; 55 u8 mainSend; 56 u8 fxSend[ AUX_BUS_NUM ]; 64 u8 originalKey; 65 u8 pan; 66 u8 surroundPan; 67 u8 volume;
|
| D | snd_WaveSoundFile.h | 207 u8 GetPan() const; 210 void GetSendValue( u8* mainSend, u8* fxSend, u8 fxSendCount ) const; 250 u8 GetOriginalKey() const; 251 u8 GetVolume() const; 252 u8 GetPan() const; 253 u8 GetSurroundPan() const; 255 void GetSendValue( u8* mainSend, u8* fxSend[], u8 fxSendCount ) const;
|
| D | snd_Global.h | 267 u8 attack; 268 u8 decay; 269 u8 sustain; 270 u8 hold; 271 u8 release; 275 AdshrCurve( u8 a = 0, u8 d = 0, u8 s = 0, u8 h = 0, u8 r = 0 )
|
| D | snd_BankFileReader.h | 34 u8 originalKey; 35 u8 volume; 36 u8 pan; 38 u8 surroundPan; 41 u8 keyGroup; 42 u8 interpolationType;
|
| D | snd_MmlParser.h | 83 u8 ReadByte( const u8** ptr ) const { return *(*ptr)++; } in ReadByte() 84 void UnreadByte( const u8** ptr ) const { --(*ptr); } in UnreadByte() 85 u16 Read16( const u8** ptr ) const; 86 u32 Read24( const u8** ptr ) const; 87 s32 ReadVar( const u8** ptr ) const; 88 …s32 ReadArg( const u8** ptr, SequenceSoundPlayer* player, SequenceTrack* track, SeqArgType argTyp…
|
| /NW4C-1.2.23/sources/libraries/font/ |
| D | font_CharStrmReader.cpp | 55 IsSJISLeadByte(u8 c) in IsSJISLeadByte() 70 NN_ASSERT( (GetChar<u8>() & 0xC0) != 0x80 ); in ReadNextCharUTF8() 73 if( (GetChar<u8>() & 0x80) == 0x00 ) in ReadNextCharUTF8() 76 code = GetChar<u8>(); in ReadNextCharUTF8() 77 StepStrm<u8>(); in ReadNextCharUTF8() 79 else if( (GetChar<u8>() & 0xE0) == 0xC0 ) in ReadNextCharUTF8() 83 ((GetChar<u8>(0) & 0x1F) << 6) in ReadNextCharUTF8() 84 | ((GetChar<u8>(1) & 0x3F) << 0) in ReadNextCharUTF8() 86 StepStrm<u8>(2); in ReadNextCharUTF8() 91 NN_ASSERT( (GetChar<u8>() & 0xF0) == 0xE0 ); in ReadNextCharUTF8() [all …]
|
| D | font_ResFont.cpp | 38 reinterpret_cast<u8*>(base) + reinterpret_cast<u32>(ptr) in ResolveOffset() 97 reinterpret_cast<const u8*>(fileHeader) + fileHeader->headerSize in GetDrawBufferSize() 107 reinterpret_cast<const u8*>(blockHeader) + sizeof(*blockHeader) in GetDrawBufferSize() 113 reinterpret_cast<const u8*>(blockHeader) + blockHeader->size in GetDrawBufferSize() 175 reinterpret_cast<u8*>(fileHeader) + fileHeader->headerSize in SetResource() 184 reinterpret_cast<u8*>(blockHeader) + sizeof(*blockHeader) in SetResource() 190 reinterpret_cast<u8*>(blockHeader) + blockHeader->size in SetResource() 244 reinterpret_cast<u8*>(fileHeader) + fileHeader->headerSize in Rebuild() 259 reinterpret_cast<u8*>(blockHeader) + sizeof(*blockHeader) in Rebuild() 290 reinterpret_cast<u8*>(blockHeader) + sizeof(*blockHeader) in Rebuild() [all …]
|
| /NW4C-1.2.23/sources/libraries/gfx/ |
| D | gfx_FrameBuffer.cpp | 39 u8 red = static_cast<u8>( 0.5f + nw::ut::Clamp(color.r, 0.0f, 1.0f) * 255.f ); in ColorToRGBA8() 40 u8 green = static_cast<u8>( 0.5f + nw::ut::Clamp(color.g, 0.0f, 1.0f) * 255.f ); in ColorToRGBA8() 41 u8 blue = static_cast<u8>( 0.5f + nw::ut::Clamp(color.b, 0.0f, 1.0f) * 255.f ); in ColorToRGBA8() 42 u8 alpha = static_cast<u8>( 0.5f + nw::ut::Clamp(color.a, 0.0f, 1.0f) * 255.f ); in ColorToRGBA8() 58 u8 red = static_cast<u8>( 0.5f + nw::ut::Clamp(color.r, 0.0f, 1.0f) * 31.f ); in ColorToRGB5A1() 59 u8 green = static_cast<u8>( 0.5f + nw::ut::Clamp(color.g, 0.0f, 1.0f) * 31.f ); in ColorToRGB5A1() 60 u8 blue = static_cast<u8>( 0.5f + nw::ut::Clamp(color.b, 0.0f, 1.0f) * 31.f ); in ColorToRGB5A1() 61 u8 alpha = static_cast<u8>( 0.5f + nw::ut::Clamp(color.a, 0.0f, 1.0f) * 1.f ); in ColorToRGB5A1() 77 u8 red = static_cast<u8>( 0.5f + nw::ut::Clamp(color.r, 0.0f, 1.0f) * 31.f ); in ColorToRGB565() 78 u8 green = static_cast<u8>( 0.5f + nw::ut::Clamp(color.g, 0.0f, 1.0f) * 63.f ); in ColorToRGB565() [all …]
|
| /NW4C-1.2.23/include/nw/ut/ |
| D | ut_BinaryFileFormat.h | 34 (static_cast<u8>(a) << 0) \ 35 | (static_cast<u8>(b) << 8) \ 36 | (static_cast<u8>(c) << 16) \ 37 | (static_cast<u8>(d) << 24) \ 45 (static_cast<u8>(a) << 24) \ 46 | (static_cast<u8>(b) << 16) \ 47 | (static_cast<u8>(c) << 8) \ 48 | (static_cast<u8>(d) << 0) \ 54 (static_cast<u8>(major) << 24) | (static_cast<u8>(minor) << 16) \ 59 (static_cast<u8>(major) << 24) | (static_cast<u8>(minor) << 16) \ [all …]
|
| /NW4C-1.2.23/sources/libraries/dev/ |
| D | dev_DirectPrint.cpp | 148 const u8 sAsciiTable[128] = 214 u8* m_BufferBase; 232 u8 m_PixelColor[4]; 345 u8* GetPixelAddress(const PixelWriterContext& context, int x, int y) in GetPixelAddress() 398 u8* pixel = this->GetPixelAddress(context, x + cntx, y + cnty); in Erase() 569 u8* pixel = this->GetPixelAddress(context, x + cntx, y + cnty); in DrawChar() 617 virtual void ErasePixel(u8* pixel) const = 0; 618 virtual void MakePixel(u8 pixel[4], ut::Color color) const = 0; 619 virtual void WritePixel(u8* dest, const u8 pixel[4]) const = 0; 629 virtual void ErasePixel(u8* pixel) const in ErasePixel() [all …]
|
| /NW4C-1.2.23/sources/libraries/snd/ |
| D | snd_WaveSoundFile.cpp | 28 const u8 DEFAULT_PAN = 64; // 中央 31 const u8 DEFAULT_MAIN_SEND = 127; // 最大 32 const u8 DEFAULT_FX_SEND = 0; // 最小 40 const u8 DEFAULT_KEY = 64; // TODO: おそらく中央 41 const u8 DEFAULT_VOLUME = 96; 66 u8 mainSend; 67 Util::Table<u8,u8> fxSend; 170 u8 WaveSoundFile::WaveSoundInfo::GetPan() const in GetPan() 193 u8* mainSend, u8* fxSend, u8 fxSendCount ) const in GetSendValue() 261 u8 WaveSoundFile::NoteInfo::GetOriginalKey() const in GetOriginalKey() [all …]
|
| D | snd_MidiSequencePlayer.cpp | 64 void MidiSequencePlayer::SendMessage( u8 status, u8 data1, u8 data2 ) in SendMessage() 66 u8 channel = static_cast<u8>(status & 0x0f); in SendMessage() 129 void MidiSequencePlayer::NoteOn( u8 channelIndex, u8 key, u8 velocity ) in NoteOn() 136 key = static_cast<u8>( ut::Clamp( key + trackParam.transpose, 0, 127 ) ); in NoteOn() 168 void MidiSequencePlayer::NoteOff( u8 channelIndex, u8 key, u8 velocity ) in NoteOff() 176 key = static_cast<u8>( ut::Clamp( key + param.transpose, 0, 127 ) ); in NoteOff() 189 void MidiSequencePlayer::HandleControlChangeMessage( u8 channelIndex, u8 control, u8 value ) in HandleControlChangeMessage() 301 param.portaKey = static_cast<u8>(value + param.transpose); in HandleControlChangeMessage() 355 void MidiSequencePlayer::HandleRpnMessage( u8 channelIndex, u8 value ) in HandleRpnMessage() 380 void MidiSequencePlayer::HandleNrpnMessage( u8 channelIndex, u8 value ) in HandleNrpnMessage() [all …]
|
| D | snd_MmlParser.cpp | 102 const u8 velocity = ReadByte( &trackParam.currentAddr ); in Parse() 179 u8 trackNo = ReadByte( &trackParam.currentAddr ); in Parse() 230 u8 arg = static_cast<u8>( ReadArg( in Parse() 438 playerParam.timebase = static_cast<u8>( commandArg1 ); in CommandProc() 458 static_cast<u8>( commandArg1 ), in CommandProc() 464 trackParam.volume2 = static_cast<u8>( commandArg1 ); in CommandProc() 468 trackParam.velocityRange = static_cast<u8>( commandArg1 ); in CommandProc() 472 playerParam.volume = static_cast<u8>( commandArg1 ); in CommandProc() 487 trackParam.bendRange = static_cast<u8>( commandArg1 ); in CommandProc() 509 trackParam.priority = static_cast<u8>( commandArg1 ); in CommandProc() [all …]
|
| D | snd_MidiStreamParser.cpp | 64 u8 status; in ParseBuffer() 65 u8 data1; in ParseBuffer() 66 u8 data2; in ParseBuffer() 83 u8 b; in ParseBuffer() 144 u8 ch = (u8)( status & 0x0f ); in ParseBuffer() 182 m_MsgBuffer.ptr = (const u8* )buffer; in SetMsgBuffer() 190 const u8* p = (const u8*)buffer; in SetMsgBuffer() 199 bool MidiStreamParser::ReadByte( u8* data ) in ReadByte() 239 u8 byte; in SeekStatusByte() 269 void MidiStreamParser::BackByte( u8 byte ) in BackByte() [all …]
|
| /NW4C-1.2.23/include/nw/font/ |
| D | font_ResourceFormat.h | 167 u8 glyphWidth; //!< 文字のグリフ幅 244 u8 cellWidth; // セル幅=最大グリフ幅 245 u8 cellHeight; // セル高さ 247 u8 maxCharWidth; // 最大文字幅 255 u8* sheetImage; // テクスチャデータへのポインタ 306 u8 fontType; // グリフデータタイプ (FontType型) 310 u8 characterCode; // 対応する文字コード (CharacterCode型) 314 u8 height; // フォントの高さ 315 u8 width; // フォントの幅 316 u8 ascent; // アセント [all …]
|
| /NW4C-1.2.23/include/nw/os/ |
| D | os_Memory.h | 51 virtual void* Alloc(size_t size, u8 alignment) = 0; 70 void* AllocAndClear(size_t size, u8 data, u8 alignment = DEFAULT_ALIGNMENT) 72 u8* memory = static_cast<u8*>(this->Alloc(size, alignment)); 83 TObject* Alloc(size_t size, u8 alignment = DEFAULT_ALIGNMENT) 90 TObject* AllocAndClear(size_t size, u8 data, u8 alignment = DEFAULT_ALIGNMENT) 92 u8* memory = static_cast<u8*>(this->Alloc(sizeof(TObject) * size, alignment)); 104 TObject* AllocAndConstruct(size_t size, u8 alignment = DEFAULT_ALIGNMENT) 121 TObject* AllocAndFill(size_t size, const TObject& object, u8 alignment = DEFAULT_ALIGNMENT) 180 AllocateAndFill(os::IAllocator* allocator, u8 value) in AllocateAndFill() 184 u8* memory = static_cast<u8*>(allocator->Alloc(memorySize)); in AllocateAndFill() [all …]
|