From 869720f9e68fba05640929c276feaeb9d65440da Mon Sep 17 00:00:00 2001 From: sdgmt2 Date: Mon, 1 Apr 2024 12:46:52 +0200 Subject: [PATCH] fix libgame header encoding --- src/libgame/include/attribute.h | 6 +++--- src/libgame/include/targa.h | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/libgame/include/attribute.h b/src/libgame/include/attribute.h index 33d22fd..907c7c4 100644 --- a/src/libgame/include/attribute.h +++ b/src/libgame/include/attribute.h @@ -9,13 +9,13 @@ enum EDataType }; // -// Ӽ ó +// 맵 속성들을 처리할 때 사용 // class CAttribute { public: - CAttribute(DWORD width, DWORD height); // dword Ÿ 0 ä. - CAttribute(DWORD * attr, DWORD width, DWORD height); // attr о smartϰ Ӽ о´. + CAttribute(DWORD width, DWORD height); // dword 타잎으로 모두 0을 채운다. + CAttribute(DWORD * attr, DWORD width, DWORD height); // attr을 읽어서 smart하게 속성을 읽어온다. ~CAttribute(); void Alloc(); int GetDataType(); diff --git a/src/libgame/include/targa.h b/src/libgame/include/targa.h index bf0a18f..8c99263 100644 --- a/src/libgame/include/targa.h +++ b/src/libgame/include/targa.h @@ -6,11 +6,11 @@ struct TGA_HEADER { char idLen; // 0 - char palType; // ķƮ 1, 0 - char imgType; // ķƮ 1, 2 + char palType; // 파레트있으면 1, 없음 0 + char imgType; // 파레트있으면 1, 없음 2 WORD colorBegin; // 0 - WORD colorCount; // ķƮ 256, 0 - char palEntrySize; // ķƮ 24, 0 + WORD colorCount; // 파레트 있으면 256, 없음 0 + char palEntrySize; // 파레트 있으면 24, 없음 0 WORD left; WORD top; WORD width;