removed cpostit, unused files, small fix warning

This commit is contained in:
heroesf
2025-09-25 12:45:14 +02:00
parent 7f42fc2c3f
commit 133ac6fc41
32 changed files with 15 additions and 19404 deletions

View File

@@ -966,7 +966,7 @@ void CInstanceBase::DismountHorse()
void CInstanceBase::GetInfo(std::string* pstInfo)
{
char szInfo[256];
sprintf(szInfo, "Inst - UC %d, RC %d Pool - %d ",
sprintf(szInfo, "Inst - UC %d, RC %d Pool - %zd ",
ms_dwUpdateCounter,
ms_dwRenderCounter,
ms_kPool.GetCapacity()

View File

@@ -317,7 +317,7 @@ LRESULT CALLBACK SelectDlgProc( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lPar
char szLocalePath[256], szDisplayName[256];
for(int i=0; gs_stLocaleData[i].szServiceName; i++ ) {
sprintf(szLocalePath, "locale/%s/item_proto", gs_stLocaleData[i].szLocaleName);
if( CEterPackManager::Instance().isExist(szLocalePath)) {
if(CPackManager::Instance().IsExist(szLocalePath)) {
sprintf(szDisplayName, "%s (%s, %d)", gs_stLocaleData[i].szLocaleName, gs_stLocaleData[i].szServiceName, gs_stLocaleData[i].wCodePage);
int iIndex = ListBox_AddString(GetDlgItem(hDlg, IDC_LOCALE_LIST), szDisplayName);
ListBox_SetItemData(GetDlgItem(hDlg, IDC_LOCALE_LIST), iIndex, i);
@@ -362,7 +362,7 @@ bool LocaleService_LoadGlobal(HINSTANCE hInstance)
for(int i=0; gs_stLocaleData[i].szServiceName; i++ ) {
sprintf(szLocalePath, "locale/%s/item_proto", gs_stLocaleData[i].szLocaleName);
if( CEterPackManager::Instance().isExist(szLocalePath)) {
if(CPackManager::Instance().IsExist(szLocalePath)) {
nFoundLocales++;
if(gs_iLocale == -1)
gs_iLocale = i;

View File

@@ -1,4 +1,6 @@
#define LOCALE_SERVICE_SINGAPORE // 싱가폴
#define _IMPROVED_PACKET_ENCRYPTION_
#define LOCALE_SERVICE_GLOBAL
#define ENABLE_COSTUME_SYSTEM
#define ENABLE_ENERGY_SYSTEM
#define ENABLE_DRAGON_SOUL_SYSTEM

View File

@@ -1,5 +0,0 @@
#define LOCALE_SERVICE_BRAZIL // 브라질
#define ENABLE_COSTUME_SYSTEM
#define ENABLE_ENERGY_SYSTEM
#define ENABLE_DRAGON_SOUL_SYSTEM

View File

@@ -1,4 +0,0 @@
#define LOCALE_SERVICE_CANADA // 캐나다
#define ENABLE_COSTUME_SYSTEM
#define ENABLE_ENERGY_SYSTEM

View File

@@ -1,2 +0,0 @@
#define LOCALE_SERVICE_EUROPE // 유럽
#define LSS_SECURITY_KEY "1234abcd5678efgh"

View File

@@ -1,7 +0,0 @@
#define LOCALE_SERVICE_EUROPE // 유럽
#define LSS_SECURITY_KEY "1234abcd5678efgh"
#define ENABLE_COSTUME_SYSTEM
#define ENABLE_ENERGY_SYSTEM
#define ENABLE_DRAGON_SOUL_SYSTEM
#define ENABLE_NEW_EQUIPMENT_SYSTEM

View File

@@ -1,3 +0,0 @@
#define LOCALE_SERVICE_GLOBAL // GLOBAL version
#define USE_RELATIVE_PATH

View File

@@ -1,2 +0,0 @@
#define LOCALE_SERVICE_HONGKONG // 홍콩

View File

@@ -1,5 +0,0 @@
#define LOCALE_SERVICE_WE_JAPAN // World Edition(유럽 버젼) 버젼의 일본
#define LOCALE_SERVICE_EUROPE // 유럽
#define LSS_SECURITY_KEY "1234abcd5678efgh"
#define ENABLE_COSTUME_SYSTEM
#define ENABLE_ENERGY_SYSTEM

View File

@@ -1,6 +0,0 @@
#include "Locale_inc_EU.h"
#define ENABLE_COSTUME_SYSTEM
#define ENABLE_ENERGY_SYSTEM
#define ENABLE_DRAGON_SOUL_SYSTEM
#define ENABLE_NEW_EQUIPMENT_SYSTEM

View File

@@ -1,5 +0,0 @@
#define LOCALE_SERVICE_YMIR // Korean
#define LOCALE_SERVICE_STAGE_DEVELOPMENT
#define USE_RELATIVE_PATH

View File

@@ -1,6 +0,0 @@
#define LOCALE_SERVICE_NEWCIBN // 중국 자유세계
#define ENABLE_COSTUME_SYSTEM
#define ENABLE_ENERGY_SYSTEM
#define ENABLE_DRAGON_SOUL_SYSTEM
#define ENABLE_NEW_EQUIPMENT_SYSTEM

View File

@@ -1,3 +0,0 @@
#define LOCALE_SERVICE_SINGAPORE // 싱가폴
#define ENABLE_COSTUME_SYSTEM
#define ENABLE_ENERGY_SYSTEM

View File

@@ -1 +0,0 @@
#define LOCALE_SERVICE_VIETNAM // 베트남

View File

@@ -1,6 +0,0 @@
#include "Locale_inc_EU.h"
#define ENABLE_COSTUME_SYSTEM
#define ENABLE_ENERGY_SYSTEM
#define ENABLE_DRAGON_SOUL_SYSTEM
#define ENABLE_NEW_EQUIPMENT_SYSTEM

View File

@@ -123,7 +123,7 @@ void CPythonCharacterManager::GetInfo(std::string* pstInfo)
CInstanceBase::GetInfo(pstInfo);
char szInfo[256];
sprintf(szInfo, "Container - Live %d, Dead %d", m_kAliveInstMap.size(), m_kDeadInstList.size());
sprintf(szInfo, "Container - Live %zd, Dead %zd", m_kAliveInstMap.size(), m_kDeadInstList.size());
pstInfo->append(szInfo);
}

View File

@@ -15,7 +15,7 @@ std::string CPythonItem::TGroundItemInstance::ms_astDropSoundFileName[DROPSOUND_
void CPythonItem::GetInfo(std::string* pstInfo)
{
char szInfo[256];
sprintf(szInfo, "Item: Inst %d, Pool %d", m_GroundItemInstanceMap.size(), m_GroundItemInstancePool.GetCapacity());
sprintf(szInfo, "Item: Inst %zd, Pool %zd", m_GroundItemInstanceMap.size(), m_GroundItemInstancePool.GetCapacity());
pstInfo->append(szInfo);
}

View File

@@ -42,7 +42,7 @@ CGraphicText * ms_pFont = NULL;
void CPythonTextTail::GetInfo(std::string* pstInfo)
{
char szInfo[256];
sprintf(szInfo, "TextTail: ChatTail %d, ChrTail (Map %d, List %d), ItemTail (Map %d, List %d), Pool %d",
sprintf(szInfo, "TextTail: ChatTail %zd, ChrTail (Map %zd, List %zd), ItemTail (Map %zd, List %zd), Pool %zd",
m_ChatTailMap.size(),
m_CharacterTextTailMap.size(), m_CharacterTextTailList.size(),
m_ItemTextTailMap.size(), m_ItemTextTailList.size(),

View File

@@ -10,7 +10,6 @@
#endif
#include "eterLib/Util.h"
#include "eterBase/CPostIt.h"
#include "EterBase/lzo.h"
#include "PackLib/PackManager.h"