index cdd06218b5338bd8c18fc4713f31b29986f30f8f..927017e6de9d6cfba12566faae8c9b5e51eb9d87 100644 (file)
Inherited;
lStats.Caption := '';
- cbWADList.Items.Add(_lc[I_WAD_SPECIAL_TEXS]);
+ cbWADList.Items.Add(MsgWadSpecialTexs);
eTextureName.Text := '';
iPreview.Canvas.FillRect(iPreview.Canvas.ClipRect);
Exit;
if FResourceName = '' then
Exit;
- if cbWADList.Text = _lc[I_WAD_SPECIAL_TEXS] then
+ if cbWADList.Text = MsgWadSpecialTexs then
Exit;
g_ProcessResourceStr(FFullResourceName, @wad, nil, nil);
- if wad = _lc[I_WAD_SPECIAL_TEXS] then
+ if wad = MsgWadSpecialTexs then
Exit;
Anim := IsAnim(FFullResourceName);
Exit;
if Anim then
- lStats.Caption := Format(_lc[I_CAP_ANIMATION], [Texture.Width, Texture.Height, NumFrames])
+ lStats.Caption := Format(MsgCapAnimation, [Texture.Width, Texture.Height, NumFrames])
else
- lStats.Caption := Format(_lc[I_CAP_TEXTURE], [Texture.Width, Texture.Height]);
+ lStats.Caption := Format(MsgCapTexture, [Texture.Width, Texture.Height]);
iPreview.Canvas.FillRect(iPreview.Canvas.ClipRect);
iPreview.Canvas.CopyRect(Texture.Canvas.ClipRect, Texture.Canvas, Texture.Canvas.ClipRect);
procedure TAddTextureForm.cbWADListChange(Sender: TObject);
begin
- if cbWADList.Text = _lc[I_WAD_SPECIAL_TEXS] then
+ if cbWADList.Text = MsgWadSpecialTexs then
begin
cbSectionsList.Clear();
cbSectionsList.Items.Add('..');
procedure TAddTextureForm.cbSectionsListChange(Sender: TObject);
begin
- if cbWADList.Text = _lc[I_WAD_SPECIAL_TEXS] then
+ if cbWADList.Text = MsgWadSpecialTexs then
begin
lbResourcesList.Clear();
lbResourcesList.Items.Add(TEXTURE_NAME_WATER);