file encoding to utf-8

This commit is contained in:
d1str4ught
2025-08-19 00:30:50 +02:00
parent be56f3f31a
commit ea712bec83
241 changed files with 1753 additions and 1753 deletions

View File

@@ -6,8 +6,8 @@
void CPythonSystem::SetInterfaceHandler(PyObject * poHandler)
{
// NOTE : 레퍼런스 카운트는 바꾸지 않는다. 레퍼런스가 남아 있어 Python에서 완전히 지워지지 않기 때문.
// 대신에 __del__때 Destroy를 호출해 Handler를 NULL로 셋팅한다. - [levites]
// NOTE : 레퍼런스 카운트는 바꾸지 않는다. 레퍼런스가 남아 있어 Python에서 완전히 지워지지 않기 때문.
// 대신에 __del__때 Destroy를 호출해 Handler를 NULL로 셋팅한다. - [levites]
// if (m_poInterfaceHandler)
// Py_DECREF(m_poInterfaceHandler);
@@ -44,7 +44,7 @@ void CPythonSystem::GetDisplaySettings()
lpD3D->GetAdapterIdentifier(0, D3DENUM_NO_WHQL_LEVEL, &d3dAdapterIdentifier);
lpD3D->GetAdapterDisplayMode(0, &d3ddmDesktop);
// 이 어뎁터가 가지고 있는 디스플래이 모드갯수를 나열한다..
// 이 어뎁터가 가지고 있는 디스플래이 모드갯수를 나열한다..
DWORD dwNumAdapterModes = lpD3D->GetAdapterModeCount(0);
for (UINT iMode = 0; iMode < dwNumAdapterModes; iMode++)
@@ -53,12 +53,12 @@ void CPythonSystem::GetDisplaySettings()
lpD3D->EnumAdapterModes(0, iMode, &DisplayMode);
DWORD bpp = 0;
// 800 600 이상만 걸러낸다.
// 800 600 이상만 걸러낸다.
if (DisplayMode.Width < 800 || DisplayMode.Height < 600)
continue;
// 일단 16bbp 와 32bbp만 취급하자.
// 16bbp만 처리하게끔 했음 - [levites]
// 일단 16bbp 와 32bbp만 취급하자.
// 16bbp만 처리하게끔 했음 - [levites]
if (DisplayMode.Format == D3DFMT_R5G6B5)
bpp = 16;
else if (DisplayMode.Format == D3DFMT_X8R8G8B8)
@@ -77,7 +77,7 @@ void CPythonSystem::GetDisplaySettings()
int check_fre = false;
// 프리퀀시만 다르므로 프리퀀시만 셋팅해준다.
// 프리퀀시만 다르므로 프리퀀시만 셋팅해준다.
for (int j = 0; j < m_ResolutionList[i].frequency_count; ++j)
{
if (m_ResolutionList[i].frequency[j] == DisplayMode.RefreshRate)
@@ -96,7 +96,7 @@ void CPythonSystem::GetDisplaySettings()
if (!check_res)
{
// 새로운 거니까 추가해주자.
// 새로운 거니까 추가해주자.
if (m_ResolutionCount < RESOLUTION_MAX_NUM)
{
m_ResolutionList[m_ResolutionCount].width = DisplayMode.Width;
@@ -592,7 +592,7 @@ const CPythonSystem::TWindowStatus & CPythonSystem::GetWindowStatusReference(int
return m_WindowStatus[iIndex];
}
void CPythonSystem::ApplyConfig() // 이전 설정과 현재 설정을 비교해서 바뀐 설정을 적용 한다.
void CPythonSystem::ApplyConfig() // 이전 설정과 현재 설정을 비교해서 바뀐 설정을 적용 한다.
{
if (m_OldConfig.gamma != m_Config.gamma)
{