Skip to content

Commit

Permalink
Update all resource files (*.rc) via latest resource editor.
Browse files Browse the repository at this point in the history
Note that newer versions of resource editors bundled in Visual Studio
formats these files differently and also deprecates some old usages.
Therefore I made this round so that if someone edit them in the future,
the diff won't be bloated as much and it will be easier to review the
changes.
  • Loading branch information
stevewgr committed Aug 5, 2024
1 parent 24d320f commit 2aabbb4
Show file tree
Hide file tree
Showing 57 changed files with 2,117 additions and 2,825 deletions.
584 changes: 273 additions & 311 deletions src/game/res/KnightOnLine.rc

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/game/res/Resource.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Microsoft Visual C++ generated include file.
// Used by KnightOnLine.rc
//
#define IDC_CURSOR_ATTACK 1
Expand Down
55 changes: 23 additions & 32 deletions src/server/AIServer/res/AIServer.rc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//Microsoft Developer Studio generated resource script.
// Microsoft Visual C++ generated resource script.
//
#include "resource.h"

Expand All @@ -13,32 +13,29 @@
#undef APSTUDIO_READONLY_SYMBOLS

/////////////////////////////////////////////////////////////////////////////
// Korean resources
// Korean (Korea) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_KOR)
#ifdef _WIN32
LANGUAGE LANG_KOREAN, SUBLANG_DEFAULT
#pragma code_page(949)
#endif //_WIN32

#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//

1 TEXTINCLUDE DISCARDABLE
1 TEXTINCLUDE
BEGIN
"resource.h\0"
END

2 TEXTINCLUDE DISCARDABLE
2 TEXTINCLUDE
BEGIN
"#include ""afxres.h""\r\n"
"\0"
END

3 TEXTINCLUDE DISCARDABLE
3 TEXTINCLUDE
BEGIN
"#define _AFX_NO_SPLITTER_RESOURCES\r\n"
"#define _AFX_NO_OLE_RESOURCES\r\n"
Expand Down Expand Up @@ -66,15 +63,16 @@ END

// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDR_MAINFRAME ICON DISCARDABLE "AIServer.ico"
IDR_MAINFRAME ICON "AIServer.ico"


/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//

IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 235, 55
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
IDD_ABOUTBOX DIALOG 0, 0, 235, 55
STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "AIServer 정보"
FONT 9, "굴림"
BEGIN
Expand All @@ -85,20 +83,17 @@ BEGIN
END

IDD_SERVER_DIALOG DIALOGEX 0, 0, 170, 189
STYLE DS_MODALFRAME | WS_MINIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CAPTION |
WS_SYSMENU
STYLE DS_SETFONT | DS_MODALFRAME | WS_MINIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_APPWINDOW
CAPTION "AIServer Ver 1.0"
FONT 9, "굴림"
FONT 9, "굴림", 0, 0, 0x1
BEGIN
PUSHBUTTON "서버 종료",IDCANCEL,14,161,143,14
CTEXT "",IDC_STATUS,14,11,141,10,0,WS_EX_STATICEDGE
LISTBOX IDC_LIST1,14,27,141,123,LBS_NOINTEGRALHEIGHT |
WS_VSCROLL | WS_TABSTOP
LISTBOX IDC_LIST1,14,27,141,123,LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
END


#ifndef _MAC
/////////////////////////////////////////////////////////////////////////////
//
// Version
Expand All @@ -119,17 +114,15 @@ VS_VERSION_INFO VERSIONINFO
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "041204B0"
BLOCK "041204b0"
BEGIN
VALUE "CompanyName", "\0"
VALUE "FileDescription", "AIServer MFC 응용 프로그램\0"
VALUE "FileVersion", "1, 0, 0, 1\0"
VALUE "InternalName", "AIServer\0"
VALUE "LegalCopyright", "Copyright (C) 2001\0"
VALUE "LegalTrademarks", "\0"
VALUE "OriginalFilename", "AIServer.EXE\0"
VALUE "ProductName", "AIServer 응용 프로그램\0"
VALUE "ProductVersion", "1, 0, 0, 1\0"
VALUE "FileDescription", "AIServer MFC 응용 프로그램"
VALUE "FileVersion", "1.0.0.1"
VALUE "InternalName", "AIServer"
VALUE "LegalCopyright", "Copyright (C) 2001"
VALUE "OriginalFilename", "AIServer.EXE"
VALUE "ProductName", "AIServer 응용 프로그램"
VALUE "ProductVersion", "1, 0, 0, 1"
END
END
BLOCK "VarFileInfo"
Expand All @@ -138,16 +131,14 @@ BEGIN
END
END

#endif // !_MAC


/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//

#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE
GUIDELINES DESIGNINFO
BEGIN
IDD_ABOUTBOX, DIALOG
BEGIN
Expand All @@ -165,7 +156,7 @@ END
// String Table
//

STRINGTABLE DISCARDABLE
STRINGTABLE
BEGIN
IDS_ABOUTBOX "AIServer 정보(&A)..."
IDS_KARUS_CATCH_1 "카루스 제 1 요새가 점령되었습니다"
Expand All @@ -176,7 +167,7 @@ BEGIN
IDS_ELMORAD_PATHWAY "*** 엘모라드로 가는 통로가 열렸습니다 ***"
END

#endif // Korean resources
#endif // Korean (Korea) resources
/////////////////////////////////////////////////////////////////////////////


Expand Down
2 changes: 1 addition & 1 deletion src/server/AIServer/res/AIServer.rc2
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
//

#ifdef APSTUDIO_INVOKED
#error this file is not editable by Microsoft Visual C++
#error this file is not editable by Microsoft Visual C++
#endif //APSTUDIO_INVOKED


Expand Down
2 changes: 1 addition & 1 deletion src/server/AIServer/res/Resource.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Microsoft Visual C++ generated include file.
// Used by AIServer.rc
//
#define IDM_ABOUTBOX 0x0010
Expand Down
47 changes: 19 additions & 28 deletions src/server/Aujard/res/Aujard.rc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//Microsoft Developer Studio generated resource script.
// Microsoft Visual C++ generated resource script.
//
#include "resource.h"

Expand All @@ -13,32 +13,29 @@
#undef APSTUDIO_READONLY_SYMBOLS

/////////////////////////////////////////////////////////////////////////////
// Korean resources
// Korean (Korea) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_KOR)
#ifdef _WIN32
LANGUAGE LANG_KOREAN, SUBLANG_DEFAULT
#pragma code_page(949)
#endif //_WIN32

#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//

1 TEXTINCLUDE DISCARDABLE
1 TEXTINCLUDE
BEGIN
"resource.h\0"
END

2 TEXTINCLUDE DISCARDABLE
2 TEXTINCLUDE
BEGIN
"#include ""afxres.h""\r\n"
"\0"
END

3 TEXTINCLUDE DISCARDABLE
3 TEXTINCLUDE
BEGIN
"#define _AFX_NO_SPLITTER_RESOURCES\r\n"
"#define _AFX_NO_OLE_RESOURCES\r\n"
Expand Down Expand Up @@ -66,29 +63,27 @@ END

// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDR_MAINFRAME ICON DISCARDABLE "Aujard.ico"
IDR_MAINFRAME ICON "Aujard.ico"


/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//

IDD_AUJARD_DIALOG DIALOGEX 0, 0, 211, 197
STYLE DS_MODALFRAME | WS_MINIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CAPTION |
WS_SYSMENU
STYLE DS_SETFONT | DS_MODALFRAME | WS_MINIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_APPWINDOW
CAPTION "Aujard"
FONT 9, "굴림"
FONT 9, "굴림", 0, 0, 0x1
BEGIN
DEFPUSHBUTTON "종료",IDOK,7,168,197,18
LISTBOX IDC_OUT_LIST,7,7,197,138,LBS_NOINTEGRALHEIGHT |
WS_VSCROLL | WS_TABSTOP
LISTBOX IDC_OUT_LIST,7,7,197,138,LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
LTEXT "디비처리부 :",IDC_STATIC,9,154,49,15
CTEXT "0000",IDC_DB_PROCESS,67,154,130,13
END


#ifndef _MAC
/////////////////////////////////////////////////////////////////////////////
//
// Version
Expand All @@ -111,15 +106,13 @@ BEGIN
BEGIN
BLOCK "041204B0"
BEGIN
VALUE "CompanyName", "\0"
VALUE "FileDescription", "Aujard MFC 응용 프로그램\0"
VALUE "FileVersion", "1, 0, 0, 1\0"
VALUE "InternalName", "Aujard\0"
VALUE "LegalCopyright", "Copyright (C) 2001\0"
VALUE "LegalTrademarks", "\0"
VALUE "OriginalFilename", "Aujard.EXE\0"
VALUE "ProductName", "Aujard 응용 프로그램\0"
VALUE "ProductVersion", "1, 0, 0, 1\0"
VALUE "FileDescription", "Aujard MFC 응용 프로그램"
VALUE "FileVersion", "1, 0, 0, 1"
VALUE "InternalName", "Aujard"
VALUE "LegalCopyright", "Copyright (C) 2001"
VALUE "OriginalFilename", "Aujard.EXE"
VALUE "ProductName", "Aujard 응용 프로그램"
VALUE "ProductVersion", "1, 0, 0, 1"
END
END
BLOCK "VarFileInfo"
Expand All @@ -128,16 +121,14 @@ BEGIN
END
END

#endif // !_MAC


/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//

#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE
GUIDELINES DESIGNINFO
BEGIN
IDD_AUJARD_DIALOG, DIALOG
BEGIN
Expand All @@ -149,7 +140,7 @@ BEGIN
END
#endif // APSTUDIO_INVOKED

#endif // Korean resources
#endif // Korean (Korea) resources
/////////////////////////////////////////////////////////////////////////////


Expand Down
2 changes: 1 addition & 1 deletion src/server/Aujard/res/Aujard.rc2
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
//

#ifdef APSTUDIO_INVOKED
#error this file is not editable by Microsoft Visual C++
#error this file is not editable by Microsoft Visual C++
#endif //APSTUDIO_INVOKED


Expand Down
2 changes: 1 addition & 1 deletion src/server/Aujard/res/Resource.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Microsoft Visual C++ generated include file.
// Used by Aujard.rc
//
#define IDD_AUJARD_DIALOG 102
Expand Down
Loading

0 comments on commit 2aabbb4

Please sign in to comment.