diff --git a/Client/Client/RYLClient/RYLClient.vcxproj.user b/Client/Client/RYLClient/RYLClient.vcxproj.user index fdaea8c..8ce6741 100644 --- a/Client/Client/RYLClient/RYLClient.vcxproj.user +++ b/Client/Client/RYLClient/RYLClient.vcxproj.user @@ -7,5 +7,6 @@ F:\YouxiLand\ROW\Client.exe WindowsLocalDebugger + 192.168.219.226 \ No newline at end of file diff --git a/Client/Client/RYLClient/RYLUI/GMImage.cpp b/Client/Client/RYLClient/RYLUI/GMImage.cpp index e0d39dd..bb93322 100644 --- a/Client/Client/RYLClient/RYLUI/GMImage.cpp +++ b/Client/Client/RYLClient/RYLUI/GMImage.cpp @@ -120,7 +120,7 @@ INT CGMImage::GetIamgePixelSize( EGMIMAGEBITFORMAT ImageFormat) case EAIF_NONE: n = 0; break ; case EAIF_8Bit: n = sizeof( BYTE ) ; break ; case EAIF_16Bit: n = sizeof( WORD ) ; break ; - case EAIF_24Bit: n = 0; break ;//߿ + case EAIF_24Bit: n = 0; break ;//���߿� case EAIF_32Bit: n = sizeof( DWORD ) ; break ; } return n ; @@ -150,7 +150,7 @@ VOID CGMImage::DrawEX( HDC DC, INT x, INT y, VOID* pBits ) EGMIMAGEFILEFORMATTYPE GetGMImageFileFormatType( LPSTR pFileName) { - LPCTSTR IMAGEFILEFORMATTYPETABLE[] = { "", ".dib", ".bmp", ".gmi"}; + LPCTSTR IMAGEFILEFORMATTYPETABLE[] = { "", ".dib", ".bmp", ".gmi", ".tga"}; TCHAR strtmp[ 5 ] ; LPSTR ptmp; @@ -162,6 +162,9 @@ EGMIMAGEFILEFORMATTYPE GetGMImageFileFormatType( LPSTR pFileName) { if ( strcmp( IMAGEFILEFORMATTYPETABLE[i], strtmp ) == 0 ) { + // .gmi와 .tga는 모두 EAIFFT_TGA로 처리 + if ( i == 3 || i == 4 ) + return EAIFFT_TGA; return ( EGMIMAGEFILEFORMATTYPE )i ; } } diff --git a/Client/Client/RYLClient/RYLUI/GMImage.h b/Client/Client/RYLClient/RYLUI/GMImage.h index daeec36..f73db74 100644 --- a/Client/Client/RYLClient/RYLUI/GMImage.h +++ b/Client/Client/RYLClient/RYLUI/GMImage.h @@ -10,7 +10,7 @@ #include "GMObject.h" -#define GMIMAGE_EXT_FILE_FORMAT_TYPE_TABLE_COUNT 4 +#define GMIMAGE_EXT_FILE_FORMAT_TYPE_TABLE_COUNT 5 enum EGMIMAGEFILEFORMATTYPE