index aaa91b793fe590d5e3bec09c6f432b148141b148..02fe5aad01a60530c126232a0679d05d4d87b173 100644 (file)
--- a/src/game/g_textures.pas
+++ b/src/game/g_textures.pas
type
TLevelTexture = record
- textureName: AnsiString;
- width, height: Word;
- case anim: Boolean of
- false: (textureID: LongWord);
- true: (framesID: LongWord; framesCount: Byte; speed: Byte);
+ TextureName: AnsiString; // as stored in wad
+ FullName: AnsiString; // full path to texture // !!! merge it with TextureName
+ framesCount, speed: Byte;
end;
TLevelTextureArray = array of TLevelTexture;