Cxbx-Reloaded/resource/Cxbx.rc

704 lines
39 KiB
Plaintext
Raw Normal View History

2018-05-29 06:01:26 +00:00
// Microsoft Visual C++ generated resource script.
//
#include "..\src\Cxbx\ResCxbx.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "WinResrc.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// English (United States) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
Add controller port configuration GUI and support virtual SB controller with feedback status (#1196) * Add XB_ prefix for xbox XInput related structures and variables to prevent mis-use host equivalent. Add newly findings for device table related info. * Revert g_Controller ZeroMemory() calls. now the XINPUT_STATE is correctly refering to host type, no need to specify the name space. * Add X_CONTROLLER_HOST_BRIDGE structure type. Prepare for configurabale host input, and virtual xbox controller. * Fix DeviceInfo initialization when device table is not found. always set state to enable rumble. * experimenting virtual SteelBatalion controller. using console as controller output. using XInput and direct input combined keys * first attem to emulat SteelBatalion controller works. * add dialog file to solution * Restore missing dialog files and functions * Minor fix * fix dialog control grouping now registry works. * refine some controller related constants * Using Dialog for showing SBC controller feedback add possibility of using same dialog for virtual controller input. * using EmuUpdateTickCount() as modeless dialog message handler. sort of working. revert the dlg message handling from wnd.cpp * Finally the dialog for virtual SB controller feedback status works! modeless dialog got issues. modal dialog will occupy focus. only way is to use a DLL, load the DLL when cxbx-r emulation child process started, and create a dummy window from DLL then create a modal dialog. lots of code change and clean up. * fix debug build, use same character set setting for all configurations. * restore C++ optimiztion setting in master * remove unitended included ribbon resources * removed necessary official document mentioning * Add src/CxbxVSBC/Release and src/CxbxVSBC/Debug to .gitignore * Move Host Port assignment related code to src/common/win32 * fix merge confliction * oops, fix merge conflictions again. * Add OLD_XINPUT mark for those marked out old XInput code. need to be reviewed in the future. * remove unintended binary files * fix debug build, again. revert unindteded changes to submodule * rever unintended submodule change * Relocate project to build/Win32 folder Co-Authored-By: anita999 <anita999@ms12.hinet.net> * Restore sln file base on master * Include project dependency to build * Final fixup for sln file * Restore original new line code * Update Wnd.cpp * Remove old include * Include CxbxVSBC.dll into AppVeyor This should be the last fixup for pull request. * Fix merge-conflict * Fix files encode format to UTF-8 * treat .rc file as text instead of binary * Revert "treat .rc file as text instead of binary" This reverts commit 034039d72353a72017b04908133f68df77a26672.
2018-05-29 12:33:01 +00:00
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO
BEGIN
IDD_CONTROLLER_HOST_MAPPING, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 394
TOPMARGIN, 7
BOTTOMMARGIN, 112
END
IDD_VIRTUAL_SBC_FEEDBACK, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 1032
TOPMARGIN, 7
BOTTOMMARGIN, 207
END
2018-08-12 12:58:06 +00:00
IDD_CONTROLLER_CFG, DIALOG
BEGIN
END
IDD_VIDEO_CFG, DIALOG
BEGIN
END
IDD_AUDIO_CFG, DIALOG
BEGIN
END
IDD_EEPROM_CFG, DIALOG
BEGIN
END
2018-08-12 12:58:06 +00:00
IDD_LOGGING_CFG, DIALOG
BEGIN
BOTTOMMARGIN, 322
END
Add controller port configuration GUI and support virtual SB controller with feedback status (#1196) * Add XB_ prefix for xbox XInput related structures and variables to prevent mis-use host equivalent. Add newly findings for device table related info. * Revert g_Controller ZeroMemory() calls. now the XINPUT_STATE is correctly refering to host type, no need to specify the name space. * Add X_CONTROLLER_HOST_BRIDGE structure type. Prepare for configurabale host input, and virtual xbox controller. * Fix DeviceInfo initialization when device table is not found. always set state to enable rumble. * experimenting virtual SteelBatalion controller. using console as controller output. using XInput and direct input combined keys * first attem to emulat SteelBatalion controller works. * add dialog file to solution * Restore missing dialog files and functions * Minor fix * fix dialog control grouping now registry works. * refine some controller related constants * Using Dialog for showing SBC controller feedback add possibility of using same dialog for virtual controller input. * using EmuUpdateTickCount() as modeless dialog message handler. sort of working. revert the dlg message handling from wnd.cpp * Finally the dialog for virtual SB controller feedback status works! modeless dialog got issues. modal dialog will occupy focus. only way is to use a DLL, load the DLL when cxbx-r emulation child process started, and create a dummy window from DLL then create a modal dialog. lots of code change and clean up. * fix debug build, use same character set setting for all configurations. * restore C++ optimiztion setting in master * remove unitended included ribbon resources * removed necessary official document mentioning * Add src/CxbxVSBC/Release and src/CxbxVSBC/Debug to .gitignore * Move Host Port assignment related code to src/common/win32 * fix merge confliction * oops, fix merge conflictions again. * Add OLD_XINPUT mark for those marked out old XInput code. need to be reviewed in the future. * remove unintended binary files * fix debug build, again. revert unindteded changes to submodule * rever unintended submodule change * Relocate project to build/Win32 folder Co-Authored-By: anita999 <anita999@ms12.hinet.net> * Restore sln file base on master * Include project dependency to build * Final fixup for sln file * Restore original new line code * Update Wnd.cpp * Remove old include * Include CxbxVSBC.dll into AppVeyor This should be the last fixup for pull request. * Fix merge-conflict * Fix files encode format to UTF-8 * treat .rc file as text instead of binary * Revert "treat .rc file as text instead of binary" This reverts commit 034039d72353a72017b04908133f68df77a26672.
2018-05-29 12:33:01 +00:00
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_CONTROLLER_HOST_MAPPING DIALOGEX 0, 0, 401, 119
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Config Xbox Controller to Host Mapping"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
DEFPUSHBUTTON "Apply",IDC_HOST_APPLY,288,98,50,14
PUSHBUTTON "Cancel",IDC_HOST_CANCEL,344,98,50,14
GROUPBOX "Xbox Port 0",IDC_XBOX_PORT_0,7,7,93,83,WS_GROUP,WS_EX_CLIENTEDGE
CONTROL "Not Connected",IDC_HOST_NOTCONNECT_0_0,"Button",BS_AUTORADIOBUTTON,17,19,64,10
CONTROL "XInput Port 0",IDC_HOST_XINPUT_0_0,"Button",BS_AUTORADIOBUTTON,17,28,59,10
CONTROL "XInput Port 1",IDC_HOST_XINPUT_0_1,"Button",BS_AUTORADIOBUTTON,17,37,59,10
CONTROL "XInput Port 2",IDC_HOST_XINPUT_0_2,"Button",BS_AUTORADIOBUTTON,17,46,59,10
CONTROL "XInput Port 3",IDC_HOST_XINPUT_0_3,"Button",BS_AUTORADIOBUTTON,17,55,59,10
CONTROL "DirectInput Port 0",IDC_HOST_DINPUT_0_0,"Button",BS_AUTORADIOBUTTON,17,64,73,10
CONTROL "Virtual SteelBattalion",IDC_HOST_VIRTUAL_SBC_0_0,"Button",BS_AUTORADIOBUTTON,17,74,79,10
Add controller port configuration GUI and support virtual SB controller with feedback status (#1196) * Add XB_ prefix for xbox XInput related structures and variables to prevent mis-use host equivalent. Add newly findings for device table related info. * Revert g_Controller ZeroMemory() calls. now the XINPUT_STATE is correctly refering to host type, no need to specify the name space. * Add X_CONTROLLER_HOST_BRIDGE structure type. Prepare for configurabale host input, and virtual xbox controller. * Fix DeviceInfo initialization when device table is not found. always set state to enable rumble. * experimenting virtual SteelBatalion controller. using console as controller output. using XInput and direct input combined keys * first attem to emulat SteelBatalion controller works. * add dialog file to solution * Restore missing dialog files and functions * Minor fix * fix dialog control grouping now registry works. * refine some controller related constants * Using Dialog for showing SBC controller feedback add possibility of using same dialog for virtual controller input. * using EmuUpdateTickCount() as modeless dialog message handler. sort of working. revert the dlg message handling from wnd.cpp * Finally the dialog for virtual SB controller feedback status works! modeless dialog got issues. modal dialog will occupy focus. only way is to use a DLL, load the DLL when cxbx-r emulation child process started, and create a dummy window from DLL then create a modal dialog. lots of code change and clean up. * fix debug build, use same character set setting for all configurations. * restore C++ optimiztion setting in master * remove unitended included ribbon resources * removed necessary official document mentioning * Add src/CxbxVSBC/Release and src/CxbxVSBC/Debug to .gitignore * Move Host Port assignment related code to src/common/win32 * fix merge confliction * oops, fix merge conflictions again. * Add OLD_XINPUT mark for those marked out old XInput code. need to be reviewed in the future. * remove unintended binary files * fix debug build, again. revert unindteded changes to submodule * rever unintended submodule change * Relocate project to build/Win32 folder Co-Authored-By: anita999 <anita999@ms12.hinet.net> * Restore sln file base on master * Include project dependency to build * Final fixup for sln file * Restore original new line code * Update Wnd.cpp * Remove old include * Include CxbxVSBC.dll into AppVeyor This should be the last fixup for pull request. * Fix merge-conflict * Fix files encode format to UTF-8 * treat .rc file as text instead of binary * Revert "treat .rc file as text instead of binary" This reverts commit 034039d72353a72017b04908133f68df77a26672.
2018-05-29 12:33:01 +00:00
GROUPBOX "Xbox Port 1",IDC_XBOX_PORT_1,104,7,93,83,WS_GROUP,WS_EX_CLIENTEDGE
CONTROL "Not Connected",IDC_HOST_NOTCONNECT_1_0,"Button",BS_AUTORADIOBUTTON,114,20,64,10
CONTROL "XInput Port 0",IDC_HOST_XINPUT_1_0,"Button",BS_AUTORADIOBUTTON,114,29,59,10
CONTROL "XInput Port 1",IDC_HOST_XINPUT_1_1,"Button",BS_AUTORADIOBUTTON,114,38,59,10
CONTROL "XInput Port 2",IDC_HOST_XINPUT_1_2,"Button",BS_AUTORADIOBUTTON,114,47,59,10
CONTROL "XInput Port 3",IDC_HOST_XINPUT_1_3,"Button",BS_AUTORADIOBUTTON,114,56,59,10
CONTROL "DirectInput Port 0",IDC_HOST_DINPUT_1_0,"Button",BS_AUTORADIOBUTTON,114,65,73,10
CONTROL "Virtual SteelBattalion",IDC_HOST_VIRTUAL_SBC_1_0,"Button",BS_AUTORADIOBUTTON,114,75,79,10
Add controller port configuration GUI and support virtual SB controller with feedback status (#1196) * Add XB_ prefix for xbox XInput related structures and variables to prevent mis-use host equivalent. Add newly findings for device table related info. * Revert g_Controller ZeroMemory() calls. now the XINPUT_STATE is correctly refering to host type, no need to specify the name space. * Add X_CONTROLLER_HOST_BRIDGE structure type. Prepare for configurabale host input, and virtual xbox controller. * Fix DeviceInfo initialization when device table is not found. always set state to enable rumble. * experimenting virtual SteelBatalion controller. using console as controller output. using XInput and direct input combined keys * first attem to emulat SteelBatalion controller works. * add dialog file to solution * Restore missing dialog files and functions * Minor fix * fix dialog control grouping now registry works. * refine some controller related constants * Using Dialog for showing SBC controller feedback add possibility of using same dialog for virtual controller input. * using EmuUpdateTickCount() as modeless dialog message handler. sort of working. revert the dlg message handling from wnd.cpp * Finally the dialog for virtual SB controller feedback status works! modeless dialog got issues. modal dialog will occupy focus. only way is to use a DLL, load the DLL when cxbx-r emulation child process started, and create a dummy window from DLL then create a modal dialog. lots of code change and clean up. * fix debug build, use same character set setting for all configurations. * restore C++ optimiztion setting in master * remove unitended included ribbon resources * removed necessary official document mentioning * Add src/CxbxVSBC/Release and src/CxbxVSBC/Debug to .gitignore * Move Host Port assignment related code to src/common/win32 * fix merge confliction * oops, fix merge conflictions again. * Add OLD_XINPUT mark for those marked out old XInput code. need to be reviewed in the future. * remove unintended binary files * fix debug build, again. revert unindteded changes to submodule * rever unintended submodule change * Relocate project to build/Win32 folder Co-Authored-By: anita999 <anita999@ms12.hinet.net> * Restore sln file base on master * Include project dependency to build * Final fixup for sln file * Restore original new line code * Update Wnd.cpp * Remove old include * Include CxbxVSBC.dll into AppVeyor This should be the last fixup for pull request. * Fix merge-conflict * Fix files encode format to UTF-8 * treat .rc file as text instead of binary * Revert "treat .rc file as text instead of binary" This reverts commit 034039d72353a72017b04908133f68df77a26672.
2018-05-29 12:33:01 +00:00
GROUPBOX "Xbox Port 2",IDC_XBOX_PORT_2,201,7,93,83,WS_GROUP,WS_EX_CLIENTEDGE
CONTROL "Not Connected",IDC_HOST_NOTCONNECT_2_0,"Button",BS_AUTORADIOBUTTON,211,21,64,10
CONTROL "XInput Port 0",IDC_HOST_XINPUT_2_0,"Button",BS_AUTORADIOBUTTON,211,30,59,10
CONTROL "XInput Port 1",IDC_HOST_XINPUT_2_1,"Button",BS_AUTORADIOBUTTON,211,39,59,10
CONTROL "XInput Port 2",IDC_HOST_XINPUT_2_2,"Button",BS_AUTORADIOBUTTON,211,48,59,10
CONTROL "XInput Port 3",IDC_HOST_XINPUT_2_3,"Button",BS_AUTORADIOBUTTON,211,57,59,10
CONTROL "DirectInput Port 0",IDC_HOST_DINPUT_2_0,"Button",BS_AUTORADIOBUTTON,211,66,73,10
CONTROL "Virtual SteelBattalion",IDC_HOST_VIRTUAL_SBC_2_0,"Button",BS_AUTORADIOBUTTON,211,75,79,10
Add controller port configuration GUI and support virtual SB controller with feedback status (#1196) * Add XB_ prefix for xbox XInput related structures and variables to prevent mis-use host equivalent. Add newly findings for device table related info. * Revert g_Controller ZeroMemory() calls. now the XINPUT_STATE is correctly refering to host type, no need to specify the name space. * Add X_CONTROLLER_HOST_BRIDGE structure type. Prepare for configurabale host input, and virtual xbox controller. * Fix DeviceInfo initialization when device table is not found. always set state to enable rumble. * experimenting virtual SteelBatalion controller. using console as controller output. using XInput and direct input combined keys * first attem to emulat SteelBatalion controller works. * add dialog file to solution * Restore missing dialog files and functions * Minor fix * fix dialog control grouping now registry works. * refine some controller related constants * Using Dialog for showing SBC controller feedback add possibility of using same dialog for virtual controller input. * using EmuUpdateTickCount() as modeless dialog message handler. sort of working. revert the dlg message handling from wnd.cpp * Finally the dialog for virtual SB controller feedback status works! modeless dialog got issues. modal dialog will occupy focus. only way is to use a DLL, load the DLL when cxbx-r emulation child process started, and create a dummy window from DLL then create a modal dialog. lots of code change and clean up. * fix debug build, use same character set setting for all configurations. * restore C++ optimiztion setting in master * remove unitended included ribbon resources * removed necessary official document mentioning * Add src/CxbxVSBC/Release and src/CxbxVSBC/Debug to .gitignore * Move Host Port assignment related code to src/common/win32 * fix merge confliction * oops, fix merge conflictions again. * Add OLD_XINPUT mark for those marked out old XInput code. need to be reviewed in the future. * remove unintended binary files * fix debug build, again. revert unindteded changes to submodule * rever unintended submodule change * Relocate project to build/Win32 folder Co-Authored-By: anita999 <anita999@ms12.hinet.net> * Restore sln file base on master * Include project dependency to build * Final fixup for sln file * Restore original new line code * Update Wnd.cpp * Remove old include * Include CxbxVSBC.dll into AppVeyor This should be the last fixup for pull request. * Fix merge-conflict * Fix files encode format to UTF-8 * treat .rc file as text instead of binary * Revert "treat .rc file as text instead of binary" This reverts commit 034039d72353a72017b04908133f68df77a26672.
2018-05-29 12:33:01 +00:00
GROUPBOX "Xbox Port 3",IDC_XBOX_PORT_3,298,7,93,83,WS_GROUP,WS_EX_CLIENTEDGE
CONTROL "Not Connected",IDC_HOST_NOTCONNECT_3_0,"Button",BS_AUTORADIOBUTTON,308,21,64,10
CONTROL "XInput Port 0",IDC_HOST_XINPUT_3_0,"Button",BS_AUTORADIOBUTTON,308,30,59,10
CONTROL "XInput Port 1",IDC_HOST_XINPUT_3_1,"Button",BS_AUTORADIOBUTTON,308,39,59,10
CONTROL "XInput Port 2",IDC_HOST_XINPUT_3_2,"Button",BS_AUTORADIOBUTTON,308,48,59,10
CONTROL "XInput Port 3",IDC_HOST_XINPUT_3_3,"Button",BS_AUTORADIOBUTTON,308,57,59,10
CONTROL "DirectInput Port 0",IDC_HOST_DINPUT_3_0,"Button",BS_AUTORADIOBUTTON,308,66,73,10
CONTROL "Virtual SteelBattalion",IDC_HOST_VIRTUAL_SBC_3_0,"Button",BS_AUTORADIOBUTTON,308,75,79,10
Add controller port configuration GUI and support virtual SB controller with feedback status (#1196) * Add XB_ prefix for xbox XInput related structures and variables to prevent mis-use host equivalent. Add newly findings for device table related info. * Revert g_Controller ZeroMemory() calls. now the XINPUT_STATE is correctly refering to host type, no need to specify the name space. * Add X_CONTROLLER_HOST_BRIDGE structure type. Prepare for configurabale host input, and virtual xbox controller. * Fix DeviceInfo initialization when device table is not found. always set state to enable rumble. * experimenting virtual SteelBatalion controller. using console as controller output. using XInput and direct input combined keys * first attem to emulat SteelBatalion controller works. * add dialog file to solution * Restore missing dialog files and functions * Minor fix * fix dialog control grouping now registry works. * refine some controller related constants * Using Dialog for showing SBC controller feedback add possibility of using same dialog for virtual controller input. * using EmuUpdateTickCount() as modeless dialog message handler. sort of working. revert the dlg message handling from wnd.cpp * Finally the dialog for virtual SB controller feedback status works! modeless dialog got issues. modal dialog will occupy focus. only way is to use a DLL, load the DLL when cxbx-r emulation child process started, and create a dummy window from DLL then create a modal dialog. lots of code change and clean up. * fix debug build, use same character set setting for all configurations. * restore C++ optimiztion setting in master * remove unitended included ribbon resources * removed necessary official document mentioning * Add src/CxbxVSBC/Release and src/CxbxVSBC/Debug to .gitignore * Move Host Port assignment related code to src/common/win32 * fix merge confliction * oops, fix merge conflictions again. * Add OLD_XINPUT mark for those marked out old XInput code. need to be reviewed in the future. * remove unintended binary files * fix debug build, again. revert unindteded changes to submodule * rever unintended submodule change * Relocate project to build/Win32 folder Co-Authored-By: anita999 <anita999@ms12.hinet.net> * Restore sln file base on master * Include project dependency to build * Final fixup for sln file * Restore original new line code * Update Wnd.cpp * Remove old include * Include CxbxVSBC.dll into AppVeyor This should be the last fixup for pull request. * Fix merge-conflict * Fix files encode format to UTF-8 * treat .rc file as text instead of binary * Revert "treat .rc file as text instead of binary" This reverts commit 034039d72353a72017b04908133f68df77a26672.
2018-05-29 12:33:01 +00:00
END
IDD_VIRTUAL_SBC_FEEDBACK DIALOGEX 0, 0, 1039, 214
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Virtual SteelBattalion Controller"
Add controller port configuration GUI and support virtual SB controller with feedback status (#1196) * Add XB_ prefix for xbox XInput related structures and variables to prevent mis-use host equivalent. Add newly findings for device table related info. * Revert g_Controller ZeroMemory() calls. now the XINPUT_STATE is correctly refering to host type, no need to specify the name space. * Add X_CONTROLLER_HOST_BRIDGE structure type. Prepare for configurabale host input, and virtual xbox controller. * Fix DeviceInfo initialization when device table is not found. always set state to enable rumble. * experimenting virtual SteelBatalion controller. using console as controller output. using XInput and direct input combined keys * first attem to emulat SteelBatalion controller works. * add dialog file to solution * Restore missing dialog files and functions * Minor fix * fix dialog control grouping now registry works. * refine some controller related constants * Using Dialog for showing SBC controller feedback add possibility of using same dialog for virtual controller input. * using EmuUpdateTickCount() as modeless dialog message handler. sort of working. revert the dlg message handling from wnd.cpp * Finally the dialog for virtual SB controller feedback status works! modeless dialog got issues. modal dialog will occupy focus. only way is to use a DLL, load the DLL when cxbx-r emulation child process started, and create a dummy window from DLL then create a modal dialog. lots of code change and clean up. * fix debug build, use same character set setting for all configurations. * restore C++ optimiztion setting in master * remove unitended included ribbon resources * removed necessary official document mentioning * Add src/CxbxVSBC/Release and src/CxbxVSBC/Debug to .gitignore * Move Host Port assignment related code to src/common/win32 * fix merge confliction * oops, fix merge conflictions again. * Add OLD_XINPUT mark for those marked out old XInput code. need to be reviewed in the future. * remove unintended binary files * fix debug build, again. revert unindteded changes to submodule * rever unintended submodule change * Relocate project to build/Win32 folder Co-Authored-By: anita999 <anita999@ms12.hinet.net> * Restore sln file base on master * Include project dependency to build * Final fixup for sln file * Restore original new line code * Update Wnd.cpp * Remove old include * Include CxbxVSBC.dll into AppVeyor This should be the last fixup for pull request. * Fix merge-conflict * Fix files encode format to UTF-8 * treat .rc file as text instead of binary * Revert "treat .rc file as text instead of binary" This reverts commit 034039d72353a72017b04908133f68df77a26672.
2018-05-29 12:33:01 +00:00
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
GROUPBOX "Left Block",IDC_LEFTBLOCK,7,7,329,200,0,WS_EX_CLIENTEDGE | WS_EX_RIGHT
GROUPBOX "Left Block",IDC_LEFTBLOCK2,7,7,329,200,0,WS_EX_RIGHT
GROUPBOX "Right Block",IDC_RIGHTBLOCK,703,7,329,200,0,WS_EX_CLIENTEDGE
GROUPBOX "Gear Lever",IDC_GEAR_LEVER,24,25,92,174,WS_GROUP,WS_EX_CLIENTEDGE
GROUPBOX "Toggle Switches",IDC_STATIC,131,102,191,95,0,WS_EX_CLIENTEDGE
CONTROL "N",IDC_GEAR_0,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,37,131,21,10
CONTROL "1",IDC_GEAR_1,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,38,113,20,10
CONTROL "2",IDC_GEAR_2,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,38,95,20,10
CONTROL "3",IDC_GEAR_3,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,38,77,20,10
CONTROL "4",IDC_GEAR_4,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,38,59,20,10
CONTROL "5",IDC_GEAR_5,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,38,41,20,10
CONTROL "R",IDC_GEAR_R,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,37,149,21,10
CONTROL "",IDC_ROTATION_LEVER,"msctls_trackbar32",TBS_BOTH | TBS_NOTICKS | WS_TABSTOP,129,38,188,15
CTEXT "Rotation Lever",IDC_TXT_ROTATION_LEVER,199,27,48,8
CONTROL "VT-LOCATION MEASUREMENT",IDC_VT_LOCATION_MEASUREMENT,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,208,120,113,10
CONTROL "BUFFER MATERIAL",IDC_BUFFER_MATERIAL,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,208,150,77,10
CONTROL "FUEL FLOW RATE",IDC_FUEL_FLOW_RATE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,208,180,73,10
CONTROL "OXYGEN SUPPLY SYSTEM",IDC_OXYGEN_SUPPLY_SYSTEM,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,188,135,96,10
CONTROL "FILT CONTROL SYSTEM",IDC_FILT_CONTROL_SYSTEM,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,188,165,91,10
PUSHBUTTON "Eject",IDC_BTN_EJECT,958,42,60,11
PUSHBUTTON "COCKPIT HATCH",IDC_BTN_COCKPIT_HATCH,958,93,60,12,BS_BOTTOM
PUSHBUTTON "IGNITION",IDC_BTN_IGNITION,958,144,60,11,BS_BOTTOM
Add controller port configuration GUI and support virtual SB controller with feedback status (#1196) * Add XB_ prefix for xbox XInput related structures and variables to prevent mis-use host equivalent. Add newly findings for device table related info. * Revert g_Controller ZeroMemory() calls. now the XINPUT_STATE is correctly refering to host type, no need to specify the name space. * Add X_CONTROLLER_HOST_BRIDGE structure type. Prepare for configurabale host input, and virtual xbox controller. * Fix DeviceInfo initialization when device table is not found. always set state to enable rumble. * experimenting virtual SteelBatalion controller. using console as controller output. using XInput and direct input combined keys * first attem to emulat SteelBatalion controller works. * add dialog file to solution * Restore missing dialog files and functions * Minor fix * fix dialog control grouping now registry works. * refine some controller related constants * Using Dialog for showing SBC controller feedback add possibility of using same dialog for virtual controller input. * using EmuUpdateTickCount() as modeless dialog message handler. sort of working. revert the dlg message handling from wnd.cpp * Finally the dialog for virtual SB controller feedback status works! modeless dialog got issues. modal dialog will occupy focus. only way is to use a DLL, load the DLL when cxbx-r emulation child process started, and create a dummy window from DLL then create a modal dialog. lots of code change and clean up. * fix debug build, use same character set setting for all configurations. * restore C++ optimiztion setting in master * remove unitended included ribbon resources * removed necessary official document mentioning * Add src/CxbxVSBC/Release and src/CxbxVSBC/Debug to .gitignore * Move Host Port assignment related code to src/common/win32 * fix merge confliction * oops, fix merge conflictions again. * Add OLD_XINPUT mark for those marked out old XInput code. need to be reviewed in the future. * remove unintended binary files * fix debug build, again. revert unindteded changes to submodule * rever unintended submodule change * Relocate project to build/Win32 folder Co-Authored-By: anita999 <anita999@ms12.hinet.net> * Restore sln file base on master * Include project dependency to build * Final fixup for sln file * Restore original new line code * Update Wnd.cpp * Remove old include * Include CxbxVSBC.dll into AppVeyor This should be the last fixup for pull request. * Fix merge-conflict * Fix files encode format to UTF-8 * treat .rc file as text instead of binary * Revert "treat .rc file as text instead of binary" This reverts commit 034039d72353a72017b04908133f68df77a26672.
2018-05-29 12:33:01 +00:00
PUSHBUTTON "START",IDC_BTN_START,958,192,60,10,BS_BOTTOM
CONTROL "",IDC_PB_EJECT,"msctls_progress32",WS_BORDER,958,15,60,26
CONTROL "",IDC_PB_COCKPIT_HATCH,"msctls_progress32",WS_BORDER,958,67,60,26
CONTROL "",IDC_PB_IGNITION,"msctls_progress32",WS_BORDER,958,117,60,26
Add controller port configuration GUI and support virtual SB controller with feedback status (#1196) * Add XB_ prefix for xbox XInput related structures and variables to prevent mis-use host equivalent. Add newly findings for device table related info. * Revert g_Controller ZeroMemory() calls. now the XINPUT_STATE is correctly refering to host type, no need to specify the name space. * Add X_CONTROLLER_HOST_BRIDGE structure type. Prepare for configurabale host input, and virtual xbox controller. * Fix DeviceInfo initialization when device table is not found. always set state to enable rumble. * experimenting virtual SteelBatalion controller. using console as controller output. using XInput and direct input combined keys * first attem to emulat SteelBatalion controller works. * add dialog file to solution * Restore missing dialog files and functions * Minor fix * fix dialog control grouping now registry works. * refine some controller related constants * Using Dialog for showing SBC controller feedback add possibility of using same dialog for virtual controller input. * using EmuUpdateTickCount() as modeless dialog message handler. sort of working. revert the dlg message handling from wnd.cpp * Finally the dialog for virtual SB controller feedback status works! modeless dialog got issues. modal dialog will occupy focus. only way is to use a DLL, load the DLL when cxbx-r emulation child process started, and create a dummy window from DLL then create a modal dialog. lots of code change and clean up. * fix debug build, use same character set setting for all configurations. * restore C++ optimiztion setting in master * remove unitended included ribbon resources * removed necessary official document mentioning * Add src/CxbxVSBC/Release and src/CxbxVSBC/Debug to .gitignore * Move Host Port assignment related code to src/common/win32 * fix merge confliction * oops, fix merge conflictions again. * Add OLD_XINPUT mark for those marked out old XInput code. need to be reviewed in the future. * remove unintended binary files * fix debug build, again. revert unindteded changes to submodule * rever unintended submodule change * Relocate project to build/Win32 folder Co-Authored-By: anita999 <anita999@ms12.hinet.net> * Restore sln file base on master * Include project dependency to build * Final fixup for sln file * Restore original new line code * Update Wnd.cpp * Remove old include * Include CxbxVSBC.dll into AppVeyor This should be the last fixup for pull request. * Fix merge-conflict * Fix files encode format to UTF-8 * treat .rc file as text instead of binary * Revert "treat .rc file as text instead of binary" This reverts commit 034039d72353a72017b04908133f68df77a26672.
2018-05-29 12:33:01 +00:00
CONTROL "",IDC_PB_START,"msctls_progress32",WS_BORDER,958,165,60,26
CONTROL "",IDC_PB_GEARLEVER_5,"msctls_progress32",WS_BORDER,62,41,29,10
CONTROL "",IDC_PB_GEARLEVER_1,"msctls_progress32",WS_BORDER,62,113,29,10
CONTROL "",IDC_PB_GEARLEVER_2,"msctls_progress32",WS_BORDER,62,95,29,10
CONTROL "",IDC_PB_GEARLEVER_3,"msctls_progress32",WS_BORDER,62,77,29,10
CONTROL "",IDC_PB_GEARLEVER_4,"msctls_progress32",WS_BORDER,62,59,29,10
CONTROL "",IDC_PB_GEARLEVER_N,"msctls_progress32",WS_BORDER,62,131,29,10
CONTROL "",IDC_PB_GEARLEVER_R,"msctls_progress32",WS_BORDER,62,149,29,10
CONTROL "",IDC_PB_COM5,"msctls_progress32",WS_BORDER,455,12,14,27
CONTROL "",IDC_PB_COM1,"msctls_progress32",WS_BORDER,343,12,14,27
CONTROL "",IDC_PB_COM2,"msctls_progress32",WS_BORDER,371,12,14,27
CONTROL "",IDC_PB_COM3,"msctls_progress32",WS_BORDER,399,12,14,27
CONTROL "",IDC_PB_COM4,"msctls_progress32",WS_BORDER,427,12,14,27
CONTROL "",IDC_PB_WASHING,"msctls_progress32",WS_BORDER,359,151,86,13
CONTROL "",IDC_PB_MAIN_WEAPON_CONTROL,"msctls_progress32",WS_BORDER,359,179,86,13
Add controller port configuration GUI and support virtual SB controller with feedback status (#1196) * Add XB_ prefix for xbox XInput related structures and variables to prevent mis-use host equivalent. Add newly findings for device table related info. * Revert g_Controller ZeroMemory() calls. now the XINPUT_STATE is correctly refering to host type, no need to specify the name space. * Add X_CONTROLLER_HOST_BRIDGE structure type. Prepare for configurabale host input, and virtual xbox controller. * Fix DeviceInfo initialization when device table is not found. always set state to enable rumble. * experimenting virtual SteelBatalion controller. using console as controller output. using XInput and direct input combined keys * first attem to emulat SteelBatalion controller works. * add dialog file to solution * Restore missing dialog files and functions * Minor fix * fix dialog control grouping now registry works. * refine some controller related constants * Using Dialog for showing SBC controller feedback add possibility of using same dialog for virtual controller input. * using EmuUpdateTickCount() as modeless dialog message handler. sort of working. revert the dlg message handling from wnd.cpp * Finally the dialog for virtual SB controller feedback status works! modeless dialog got issues. modal dialog will occupy focus. only way is to use a DLL, load the DLL when cxbx-r emulation child process started, and create a dummy window from DLL then create a modal dialog. lots of code change and clean up. * fix debug build, use same character set setting for all configurations. * restore C++ optimiztion setting in master * remove unitended included ribbon resources * removed necessary official document mentioning * Add src/CxbxVSBC/Release and src/CxbxVSBC/Debug to .gitignore * Move Host Port assignment related code to src/common/win32 * fix merge confliction * oops, fix merge conflictions again. * Add OLD_XINPUT mark for those marked out old XInput code. need to be reviewed in the future. * remove unintended binary files * fix debug build, again. revert unindteded changes to submodule * rever unintended submodule change * Relocate project to build/Win32 folder Co-Authored-By: anita999 <anita999@ms12.hinet.net> * Restore sln file base on master * Include project dependency to build * Final fixup for sln file * Restore original new line code * Update Wnd.cpp * Remove old include * Include CxbxVSBC.dll into AppVeyor This should be the last fixup for pull request. * Fix merge-conflict * Fix files encode format to UTF-8 * treat .rc file as text instead of binary * Revert "treat .rc file as text instead of binary" This reverts commit 034039d72353a72017b04908133f68df77a26672.
2018-05-29 12:33:01 +00:00
CONTROL "",IDC_PB_EXTINGUISHER,"msctls_progress32",WS_BORDER,481,151,86,13
CONTROL "",IDC_PB_SUB_WEAPON_CONTROL,"msctls_progress32",WS_BORDER,481,179,86,13
Add controller port configuration GUI and support virtual SB controller with feedback status (#1196) * Add XB_ prefix for xbox XInput related structures and variables to prevent mis-use host equivalent. Add newly findings for device table related info. * Revert g_Controller ZeroMemory() calls. now the XINPUT_STATE is correctly refering to host type, no need to specify the name space. * Add X_CONTROLLER_HOST_BRIDGE structure type. Prepare for configurabale host input, and virtual xbox controller. * Fix DeviceInfo initialization when device table is not found. always set state to enable rumble. * experimenting virtual SteelBatalion controller. using console as controller output. using XInput and direct input combined keys * first attem to emulat SteelBatalion controller works. * add dialog file to solution * Restore missing dialog files and functions * Minor fix * fix dialog control grouping now registry works. * refine some controller related constants * Using Dialog for showing SBC controller feedback add possibility of using same dialog for virtual controller input. * using EmuUpdateTickCount() as modeless dialog message handler. sort of working. revert the dlg message handling from wnd.cpp * Finally the dialog for virtual SB controller feedback status works! modeless dialog got issues. modal dialog will occupy focus. only way is to use a DLL, load the DLL when cxbx-r emulation child process started, and create a dummy window from DLL then create a modal dialog. lots of code change and clean up. * fix debug build, use same character set setting for all configurations. * restore C++ optimiztion setting in master * remove unitended included ribbon resources * removed necessary official document mentioning * Add src/CxbxVSBC/Release and src/CxbxVSBC/Debug to .gitignore * Move Host Port assignment related code to src/common/win32 * fix merge confliction * oops, fix merge conflictions again. * Add OLD_XINPUT mark for those marked out old XInput code. need to be reviewed in the future. * remove unintended binary files * fix debug build, again. revert unindteded changes to submodule * rever unintended submodule change * Relocate project to build/Win32 folder Co-Authored-By: anita999 <anita999@ms12.hinet.net> * Restore sln file base on master * Include project dependency to build * Final fixup for sln file * Restore original new line code * Update Wnd.cpp * Remove old include * Include CxbxVSBC.dll into AppVeyor This should be the last fixup for pull request. * Fix merge-conflict * Fix files encode format to UTF-8 * treat .rc file as text instead of binary * Revert "treat .rc file as text instead of binary" This reverts commit 034039d72353a72017b04908133f68df77a26672.
2018-05-29 12:33:01 +00:00
CONTROL "",IDC_PB_CHAFF,"msctls_progress32",WS_BORDER,603,151,86,13
CONTROL "",IDC_PB_MAGAZINE_CHANGE,"msctls_progress32",WS_BORDER,603,179,86,13
CONTROL "",IDC_PB_FUNC1,"msctls_progress32",WS_BORDER,507,20,14,27
CONTROL "",IDC_PB_FUNC2,"msctls_progress32",WS_BORDER,507,64,14,27
CONTROL "",IDC_PB_FUNC3,"msctls_progress32",WS_BORDER,507,106,14,27
CONTROL "",IDC_PB_TANK_DETACH,"msctls_progress32",WS_BORDER,583,20,14,27
CONTROL "",IDC_PB_OVERRIDE,"msctls_progress32",WS_BORDER,583,64,14,27
CONTROL "",IDC_PB_NIGHT_SCOPE,"msctls_progress32",WS_BORDER,583,106,14,27
CONTROL "",IDC_PB_FSS,"msctls_progress32",WS_BORDER,658,20,14,27
CONTROL "",IDC_PB_MANIPULATOR,"msctls_progress32",WS_BORDER,658,64,14,27
CONTROL "",IDC_PB_LINE_COLOR_CHANGE,"msctls_progress32",WS_BORDER,658,106,14,27
CONTROL "",IDC_PB_OPEN_CLOSE,"msctls_progress32",WS_BORDER,788,98,56,13
CONTROL "",IDC_PB_MAP_ZOOM_IN_OUT,"msctls_progress32",WS_BORDER,861,98,56,13
CONTROL "",IDC_PB_ZOOM_IN,"msctls_progress32",WS_BORDER,788,154,56,13
CONTROL "",IDC_PB_ZOOM_OUT,"msctls_progress32",WS_BORDER,861,154,56,13
CONTROL "",IDC_PB_MODE_SELECT,"msctls_progress32",WS_BORDER,788,135,56,13
CONTROL "",IDC_PB_SUB_MONITOR_MODE_SELECT,"msctls_progress32",WS_BORDER,861,135,56,13
PUSHBUTTON "ZOOM IN",IDC_BTN_ZOOM_IN,788,167,56,21
PUSHBUTTON "ZOOM OUT",IDC_BTN_ZOOM_OUT,861,167,56,21
PUSHBUTTON "MODE SELECT",IDC_BTN_MODE_SELECT,788,114,56,21
PUSHBUTTON "SUB MONITOR MODE SELECT",IDC_BTN_SUB_MONITOR_MODE_SELECT,861,113,56,21,BS_MULTILINE
PUSHBUTTON "OPEN/CLOSE",IDC_BTN_OPEN_CLOSE,788,77,56,21
PUSHBUTTON "MAP ZOOM IN/OUT",IDC_BTN_MAP_ZOON_IN_OUT,860,77,56,21,BS_MULTILINE
LTEXT "MULTI MONITOR",IDC_STATIC,716,99,55,8
LTEXT "MAIN MONITOR ZOOM",IDC_STATIC,718,163,61,8
Add controller port configuration GUI and support virtual SB controller with feedback status (#1196) * Add XB_ prefix for xbox XInput related structures and variables to prevent mis-use host equivalent. Add newly findings for device table related info. * Revert g_Controller ZeroMemory() calls. now the XINPUT_STATE is correctly refering to host type, no need to specify the name space. * Add X_CONTROLLER_HOST_BRIDGE structure type. Prepare for configurabale host input, and virtual xbox controller. * Fix DeviceInfo initialization when device table is not found. always set state to enable rumble. * experimenting virtual SteelBatalion controller. using console as controller output. using XInput and direct input combined keys * first attem to emulat SteelBatalion controller works. * add dialog file to solution * Restore missing dialog files and functions * Minor fix * fix dialog control grouping now registry works. * refine some controller related constants * Using Dialog for showing SBC controller feedback add possibility of using same dialog for virtual controller input. * using EmuUpdateTickCount() as modeless dialog message handler. sort of working. revert the dlg message handling from wnd.cpp * Finally the dialog for virtual SB controller feedback status works! modeless dialog got issues. modal dialog will occupy focus. only way is to use a DLL, load the DLL when cxbx-r emulation child process started, and create a dummy window from DLL then create a modal dialog. lots of code change and clean up. * fix debug build, use same character set setting for all configurations. * restore C++ optimiztion setting in master * remove unitended included ribbon resources * removed necessary official document mentioning * Add src/CxbxVSBC/Release and src/CxbxVSBC/Debug to .gitignore * Move Host Port assignment related code to src/common/win32 * fix merge confliction * oops, fix merge conflictions again. * Add OLD_XINPUT mark for those marked out old XInput code. need to be reviewed in the future. * remove unintended binary files * fix debug build, again. revert unindteded changes to submodule * rever unintended submodule change * Relocate project to build/Win32 folder Co-Authored-By: anita999 <anita999@ms12.hinet.net> * Restore sln file base on master * Include project dependency to build * Final fixup for sln file * Restore original new line code * Update Wnd.cpp * Remove old include * Include CxbxVSBC.dll into AppVeyor This should be the last fixup for pull request. * Fix merge-conflict * Fix files encode format to UTF-8 * treat .rc file as text instead of binary * Revert "treat .rc file as text instead of binary" This reverts commit 034039d72353a72017b04908133f68df77a26672.
2018-05-29 12:33:01 +00:00
GROUPBOX "",IDC_STATIC,949,59,83,148,0,WS_EX_CLIENTEDGE
PUSHBUTTON "MAIN WAPON CONTROL",IDC_BTN_MAIN_WEAPON_CONTROL,359,193,86,13
PUSHBUTTON "SUB WAPON CTONTROL",IDC_BTN_SUB_WEAPON_CONTROL,481,192,86,13
Add controller port configuration GUI and support virtual SB controller with feedback status (#1196) * Add XB_ prefix for xbox XInput related structures and variables to prevent mis-use host equivalent. Add newly findings for device table related info. * Revert g_Controller ZeroMemory() calls. now the XINPUT_STATE is correctly refering to host type, no need to specify the name space. * Add X_CONTROLLER_HOST_BRIDGE structure type. Prepare for configurabale host input, and virtual xbox controller. * Fix DeviceInfo initialization when device table is not found. always set state to enable rumble. * experimenting virtual SteelBatalion controller. using console as controller output. using XInput and direct input combined keys * first attem to emulat SteelBatalion controller works. * add dialog file to solution * Restore missing dialog files and functions * Minor fix * fix dialog control grouping now registry works. * refine some controller related constants * Using Dialog for showing SBC controller feedback add possibility of using same dialog for virtual controller input. * using EmuUpdateTickCount() as modeless dialog message handler. sort of working. revert the dlg message handling from wnd.cpp * Finally the dialog for virtual SB controller feedback status works! modeless dialog got issues. modal dialog will occupy focus. only way is to use a DLL, load the DLL when cxbx-r emulation child process started, and create a dummy window from DLL then create a modal dialog. lots of code change and clean up. * fix debug build, use same character set setting for all configurations. * restore C++ optimiztion setting in master * remove unitended included ribbon resources * removed necessary official document mentioning * Add src/CxbxVSBC/Release and src/CxbxVSBC/Debug to .gitignore * Move Host Port assignment related code to src/common/win32 * fix merge confliction * oops, fix merge conflictions again. * Add OLD_XINPUT mark for those marked out old XInput code. need to be reviewed in the future. * remove unintended binary files * fix debug build, again. revert unindteded changes to submodule * rever unintended submodule change * Relocate project to build/Win32 folder Co-Authored-By: anita999 <anita999@ms12.hinet.net> * Restore sln file base on master * Include project dependency to build * Final fixup for sln file * Restore original new line code * Update Wnd.cpp * Remove old include * Include CxbxVSBC.dll into AppVeyor This should be the last fixup for pull request. * Fix merge-conflict * Fix files encode format to UTF-8 * treat .rc file as text instead of binary * Revert "treat .rc file as text instead of binary" This reverts commit 034039d72353a72017b04908133f68df77a26672.
2018-05-29 12:33:01 +00:00
PUSHBUTTON "EXTINGUISHER",IDC_BTN_EXTINGUISHER,481,162,86,13
PUSHBUTTON "MAGAZINE CHANGE",IDC_BTN_MAGAZINE_CHANGE,603,192,86,13
PUSHBUTTON "CHAFF",IDC_BTN_CHAFF,603,162,86,13
PUSHBUTTON "WASHING",IDC_BTN_WASHING,359,163,86,13
PUSHBUTTON "COM1",IDC_BTN_COM1,338,42,24,13
PUSHBUTTON "COM2",IDC_BTN_COM2,366,42,24,13
PUSHBUTTON "COM3",IDC_BTN_COM3,394,42,24,13
PUSHBUTTON "COM4",IDC_BTN_COM4,422,42,24,13
PUSHBUTTON "COM5",IDC_BTN_COM5,450,42,24,13
PUSHBUTTON "FUNC1",IDC_BTN_FUNC1,476,7,76,13
PUSHBUTTON "FUNC2",IDC_BTN_FUNC2,476,51,76,13
PUSHBUTTON "FUNC2",IDC_BTN_FUNC3,476,93,76,13
PUSHBUTTON "TANK DETACH",IDC_BTN_TANK_DETACH,552,7,76,13
PUSHBUTTON "F.S.S.",IDC_BTN_FSS,627,7,76,13
PUSHBUTTON "OVERRIDE",IDC_BTN_OVERRIDE,552,51,76,13
PUSHBUTTON "NIGHT SCOPE",IDC_BTN_NIGHT_SCOPE,552,93,76,13
PUSHBUTTON "MANIPULATOR",IDC_BTN_MANIPULATOR,627,51,76,13
PUSHBUTTON "LINE COLOR CHANGE",IDC_BTN_LINE_COLOR_CHANGE,627,93,76,13
LTEXT "TUNER DIAL",IDC_STATIC,389,105,40,8
GROUPBOX "Tuner Dial",IDC_STATIC,344,58,129,90,WS_GROUP,WS_EX_CLIENTEDGE
CONTROL "0",IDC_RADIO_TD0,"Button",BS_AUTORADIOBUTTON,360,100,20,10
CONTROL "1",IDC_RADIO_TD1,"Button",BS_AUTORADIOBUTTON,369,91,20,10
CONTROL "2",IDC_RADIO_TD2,"Button",BS_AUTORADIOBUTTON,380,82,20,10
CONTROL "3",IDC_RADIO_TD3,"Button",BS_AUTORADIOBUTTON,390,73,20,10
CONTROL "4",IDC_RADIO_TD4,"Button",BS_AUTORADIOBUTTON,403,64,20,10
CONTROL "5",IDC_RADIO_TD5,"Button",BS_AUTORADIOBUTTON,419,73,20,10
CONTROL "6",IDC_RADIO_TD6,"Button",BS_AUTORADIOBUTTON,430,82,20,10
CONTROL "7",IDC_RADIO_TD7,"Button",BS_AUTORADIOBUTTON,439,91,20,10
CONTROL "8",IDC_RADIO_TD8,"Button",BS_AUTORADIOBUTTON,447,100,20,10
CONTROL "9",IDC_RADIO_TD9,"Button",BS_AUTORADIOBUTTON,439,109,20,10
CONTROL "10",IDC_RADIO_TD10,"Button",BS_AUTORADIOBUTTON,431,118,24,10
CONTROL "11",IDC_RADIO_TD11,"Button",BS_AUTORADIOBUTTON,417,127,24,10
CONTROL "12",IDC_RADIO_TD12,"Button",BS_AUTORADIOBUTTON,405,136,24,10
CONTROL "",IDC_PB_VT_LOCATION_MEASUREMENT,"msctls_progress32",WS_BORDER,188,120,14,10
CONTROL "",IDC_PB_OXYGEN_SUPPLY_SYSTEM,"msctls_progress32",WS_BORDER,169,135,14,10
CONTROL "",IDC_PB_BUFFER_MATERIAL,"msctls_progress32",WS_BORDER,188,150,14,10
CONTROL "",IDC_PB_VT_LOCATION_MEASUREMENT4,"msctls_progress32",WS_BORDER,188,180,14,10
CONTROL "",IDC_PB_FILT_CONTROL_SYSTEM,"msctls_progress32",WS_BORDER,169,165,14,10
END
IDD_CONTROLLER_CFG DIALOGEX 0, 0, 343, 137
STYLE DS_SETFONT | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Cxbx-Reloaded : Controller Configuration"
FONT 8, "Verdana", 0, 0, 0x1
BEGIN
PUSHBUTTON "X",IDC_SET_X,7,11,50,14,BS_FLAT
PUSHBUTTON "Y",IDC_SET_Y,60,11,50,14,BS_FLAT
PUSHBUTTON "A",IDC_SET_A,113,11,50,14,BS_FLAT
PUSHBUTTON "B",IDC_SET_B,167,11,50,14,BS_FLAT
PUSHBUTTON "White",IDC_SET_WHITE,7,29,50,14,BS_FLAT
PUSHBUTTON "Black",IDC_SET_BLACK,60,29,50,14,BS_FLAT
PUSHBUTTON "Left Trigger",IDC_SET_LTRIGGER,113,29,50,14,BS_FLAT
PUSHBUTTON "Right Trigger",IDC_SET_RTRIGGER,167,29,50,14,BS_FLAT
PUSHBUTTON "DPad Up",IDC_SET_DPAD_UP,6,61,50,14,BS_FLAT
PUSHBUTTON "DPad Down",IDC_SET_DPAD_DOWN,60,61,50,14,BS_FLAT
PUSHBUTTON "DPad Left",IDC_SET_DPAD_LEFT,113,61,50,14,BS_FLAT
PUSHBUTTON "DPad Right",IDC_SET_DPAD_RIGHT,167,61,50,14,BS_FLAT
PUSHBUTTON "Back",IDC_SET_BACK,6,79,50,14,BS_FLAT
PUSHBUTTON "Start",IDC_SET_START,60,79,50,14,BS_FLAT
PUSHBUTTON "Left Thumb",IDC_SET_LTHUMB,113,79,50,14,BS_FLAT
PUSHBUTTON "Right Thumb",IDC_SET_RTHUMB,167,79,50,14,BS_FLAT
PUSHBUTTON "Up",IDC_SET_LEFT_POSY,231,11,50,14,BS_FLAT
PUSHBUTTON "Down",IDC_SET_LEFT_NEGY,284,11,50,14,BS_FLAT
PUSHBUTTON "Left",IDC_SET_LEFT_NEGX,231,29,50,14,BS_FLAT
PUSHBUTTON "Right",IDC_SET_LEFT_POSX,284,29,50,14,BS_FLAT
PUSHBUTTON "Up",IDC_SET_RIGHT_POSY,231,61,50,14,BS_FLAT
PUSHBUTTON "Down",IDC_SET_RIGHT_NEGY,284,61,50,14,BS_FLAT
PUSHBUTTON "Left",IDC_SET_RIGHT_NEGX,231,79,50,14,BS_FLAT
PUSHBUTTON "Right",IDC_SET_RIGHT_POSX,284,79,50,14,BS_FLAT
PUSHBUTTON "&Cancel",IDC_INPUT_CONFIG_CANCEL,231,102,50,14,BS_FLAT
PUSHBUTTON "&Accept",IDC_INPUT_CONFIG_ACCEPT,284,102,51,14,BS_FLAT
GROUPBOX "Analog Buttons",IDC_STATIC,2,1,220,47
GROUPBOX "Digital Buttons",IDC_STATIC,2,51,220,46
GROUPBOX "Analog Thumbstick (Left)",IDC_STATIC,226,1,113,47
GROUPBOX "Analog Thumbstick (Right)",IDC_STATIC,227,51,112,46
CTEXT "Please choose one of the controller components from above...",IDC_CONFIG_STATUS,2,121,336,12,SS_CENTERIMAGE,WS_EX_STATICEDGE
PUSHBUTTON "Click to configure all input...",IDC_CONFIGURE_ALL,6,102,210,14,BS_FLAT
END
IDD_VIDEO_CFG DIALOGEX 0, 0, 259, 121
STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Cxbx-Reloaded : Video Configuration"
FONT 8, "Verdana", 0, 0, 0x1
BEGIN
COMBOBOX IDC_VC_DISPLAY_ADAPTER,76,12,173,100,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
COMBOBOX IDC_VC_D3D_DEVICE,76,31,173,100,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
COMBOBOX IDC_VC_VIDEO_RESOLUTION,76,49,173,100,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
CONTROL "Use Hardware Video Mode",IDC_CV_FULLSCREEN,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,76,71,98,10
CONTROL "Force VSync",IDC_CV_VSYNC,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,182,71,65,10
PUSHBUTTON "Cancel",IDC_VC_CANCEL,146,102,50,14,BS_FLAT
PUSHBUTTON "Accept",IDC_VC_ACCEPT,206,102,50,14,BS_FLAT
GROUPBOX "Direct3D Configuration",IDC_STATIC,4,1,250,98,BS_CENTER
LTEXT "Display Adapter:",IDC_STATIC,13,14,57,8,0,WS_EX_RIGHT
LTEXT "Direct3D Device:",IDC_STATIC,13,33,57,8,0,WS_EX_RIGHT
LTEXT "Video Resolution:",IDC_STATIC,12,52,58,8,0,WS_EX_RIGHT
LTEXT "Other Options:",IDC_STATIC,21,71,49,8,0,WS_EX_RIGHT
CONTROL "Enable Hardware YUV Overlays",IDC_CV_HARDWAREYUV,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,76,84,123,11
END
IDD_AUDIO_CFG DIALOGEX 0, 0, 259, 121
STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Cxbx-Reloaded : Audio Configuration"
FONT 8, "Verdana", 0, 0, 0x1
BEGIN
COMBOBOX IDC_AC_AUDIO_ADAPTER,76,12,173,100,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
CONTROL "Enable PCM",IDC_AC_PCM,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,78,36,54,10
CONTROL "Enable XADPCM",IDC_AC_XADPCM,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,78,48,69,10
CONTROL "Enable Unknown Codec",IDC_AC_UNKNOWN_CODEC,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,78,60,93,10
PUSHBUTTON "Cancel",IDC_AC_CANCEL,146,102,50,14,BS_FLAT
PUSHBUTTON "Accept",IDC_AC_ACCEPT,206,102,50,14,BS_FLAT
GROUPBOX "DirectSound Configuration",IDC_STATIC,4,1,250,98,BS_CENTER
LTEXT "Audio Adapter:",IDC_STATIC,13,14,57,8,0,WS_EX_RIGHT
LTEXT "Other Options:",IDC_STATIC,13,33,57,8,0,WS_EX_RIGHT
END
IDD_EEPROM_CFG DIALOGEX 0, 0, 259, 279
STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Cxbx-Reloaded : Eeprom Configuration"
FONT 8, "Verdana", 0, 0, 0x1
BEGIN
EDITTEXT IDC_EE_CONFOUNDER,100,10,140,12
EDITTEXT IDC_EE_HDDKEY,100,25,140,12
COMBOBOX IDC_EE_XBOX_REGION,100,40,140,10,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
EDITTEXT IDC_EE_SERIAL_NUMBER,100,56,140,12
EDITTEXT IDC_EE_MAC_ADDRESS,100,72,140,12
EDITTEXT IDC_EE_ONLINE_KEY,100,88,140,12
COMBOBOX IDC_EE_AVREGION,100,103,140,10,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
COMBOBOX IDC_EE_LANGUAGE,100,119,140,10,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
COMBOBOX IDC_EE_AVSETTINGS,100,135,140,10,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
COMBOBOX IDC_EE_AUDIOSETTINGS,100,150,140,10,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
COMBOBOX IDC_EE_GAME_PRTL_CRTL,100,166,140,10,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
EDITTEXT IDC_EE_PRTL_PASS,100,183,140,12
COMBOBOX IDC_EE_MOVIE_PRTL_CRTL,100,198,140,10,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
COMBOBOX IDC_EE_DVDREGION,100,214,140,10,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
CONTROL "PAL 60Hz",IDC_EE_PAL60HZ,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_DISABLED | WS_TABSTOP,13,235,50,10
CONTROL "NTSC 480p",IDC_EE_480P,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,73,235,50,10
CONTROL "NTSC 720p",IDC_EE_720P,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,133,235,50,10
CONTROL "NTSC 1080i",IDC_EE_1080I,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,193,235,50,10
LTEXT "Confounder",IDC_STATIC,13,11,80,10,0,WS_EX_RIGHT
LTEXT "HDD Key",IDC_STATIC,13,26,80,10,0,WS_EX_RIGHT
LTEXT "Xbox Region",IDC_STATIC,13,42,80,10,0,WS_EX_RIGHT
LTEXT "Serial Number",IDC_STATIC,13,58,80,10,0,WS_EX_RIGHT
LTEXT "MAC Address",IDC_STATIC,13,74,80,10,0,WS_EX_RIGHT
LTEXT "Online Key",IDC_STATIC,13,89,80,10,0,WS_EX_RIGHT
LTEXT "AV Region",IDC_STATIC,13,105,80,10,0,WS_EX_RIGHT
LTEXT "Language",IDC_STATIC,13,121,80,10,0,WS_EX_RIGHT
LTEXT "Video Settings",IDC_STATIC,13,137,80,10,0,WS_EX_RIGHT
LTEXT "Audio Settings",IDC_STATIC,13,152,80,10,0,WS_EX_RIGHT
LTEXT "Game Parental Control",IDC_STATIC,13,168,80,10,0,WS_EX_RIGHT
LTEXT "Parental Password",IDC_STATIC,13,184,80,10,0,WS_EX_RIGHT
LTEXT "Movie Parental Control",IDC_STATIC,13,200,80,10,0,WS_EX_RIGHT
LTEXT "DVD Region",IDC_STATIC,13,216,80,10,0,WS_EX_RIGHT
PUSHBUTTON "Cancel",IDC_EE_CANCEL,146,251,40,14,BS_FLAT
PUSHBUTTON "Accept",IDC_EE_ACCEPT,206,251,40,14,BS_FLAT
PUSHBUTTON "Reset",IDC_EE_RESET,13,251,40,14,BS_FLAT
END
IDD_LOGGING_CFG DIALOGEX 0, 0, 259, 350
2018-08-12 12:58:06 +00:00
STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Cxbx-Reloaded : Logging Configuration"
FONT 8, "Verdana", 0, 0, 0x1
BEGIN
COMBOBOX IDC_EVENT_LV,57,9,50,10,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
CTEXT "Event Level",IDC_STATIC,10,11,40,10,0,WS_EX_RIGHT
GROUPBOX "Emulator Event",IDC_CXBXR_EVENTS,13,25,235,182,WS_GROUP,WS_EX_CLIENTEDGE
CONTROL "Enable all",IDC_LOG_ENABLE_GENERAL,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,19,39,47,10
CONTROL "Disable all",IDC_LOG_DISABLE_GENERAL,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,71,39,50,10
CONTROL "Custom",IDC_LOG_CUSTOM_GENERAL,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,134,39,41,10
CONTROL "CXBXR",IDC_LOG_CXBXR,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,27,54,39,10
CONTROL "XBE",IDC_LOG_XBE,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,92,54,29,10
CONTROL "INIT",IDC_LOG_INIT,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,145,54,30,10
CONTROL "VMEM",IDC_LOG_VMEM,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,199,54,35,10
CONTROL "PMEM",IDC_LOG_PMEM,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,32,69,34,10
CONTROL "GUI",IDC_LOG_GUI,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,92,69,29,10
CONTROL "EEPR",IDC_LOG_EEPR,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,142,69,33,10
CONTROL "RSA",IDC_LOG_RSA,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,204,69,30,10
CONTROL "POOLMEM",IDC_LOG_POOLMEM,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,18,84,48,10
CONTROL "D3D8",IDC_LOG_D3D8,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,87,84,34,10
CONTROL "D3DST",IDC_LOG_D3DST,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,136,84,39,10
CONTROL "D3DCVT",IDC_LOG_D3DCVT,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,190,84,44,10
CONTROL "DSOUND",IDC_LOG_DSOUND,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,21,99,45,10
CONTROL "XAPI",IDC_LOG_XAPI,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,89,99,32,10
CONTROL "XACT",IDC_LOG_XACT,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,141,99,34,10
CONTROL "XGRP",IDC_LOG_XGRP,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,200,99,34,10
CONTROL "XONLINE",IDC_LOG_XONLINE,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,21,114,45,10
CONTROL "FS",IDC_LOG_FS,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,97,114,24,10
CONTROL "PSHB",IDC_LOG_PSHB,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,141,114,34,10
CONTROL "PXSH",IDC_LOG_PXSH,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,200,114,34,10
CONTROL "VTXSH",IDC_LOG_VTXSH,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,28,129,38,10
CONTROL "VTXB",IDC_LOG_VTXB,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,87,129,34,10
CONTROL "DINP",IDC_LOG_DINP,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,142,129,33,10
CONTROL "XINP",IDC_LOG_XINP,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,202,129,32,10
CONTROL "SDL2",IDC_LOG_SDL2,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,33,144,33,10
CONTROL "FILE",IDC_LOG_FILE,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,91,144,30,10
CONTROL "X86",IDC_LOG_X86,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,146,144,29,10
CONTROL "HLE",IDC_LOG_HLE,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,206,144,28,10
CONTROL "NET",IDC_LOG_NET,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,37,159,29,10
CONTROL "MCPX",IDC_LOG_MCPX,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,86,159,35,10
CONTROL "NV2A",IDC_LOG_NV2A,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,141,159,34,10
CONTROL "SMC",IDC_LOG_SMC,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,203,159,31,10
CONTROL "OHCI",IDC_LOG_OHCI,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,32,174,34,10
CONTROL "USB",IDC_LOG_USB,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,91,174,30,10
CONTROL "HUB",IDC_LOG_HUB,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,145,174,30,10
CONTROL "XIDCTRL",IDC_LOG_XIDCTRL,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,188,174,46,10
CONTROL "ADM",IDC_LOG_ADM,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,35,189,31,10
GROUPBOX "Kernel Event",IDC_KERNEL_EVENTS,13,212,235,110,WS_GROUP,WS_EX_CLIENTEDGE
CONTROL "Enable all",IDC_LOG_ENABLE_KERNEL,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,19,226,47,10
CONTROL "Disable all",IDC_LOG_DISABLE_KERNEL,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,71,226,50,10
CONTROL "Custom",IDC_LOG_CUSTOM_KERNEL,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,134,226,41,10
CONTROL "KRNL",IDC_LOG_KRNL,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,33,241,33,10
CONTROL "LOG",IDC_LOG_LOG,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,91,241,30,10
CONTROL "XBOX",IDC_LOG_XBOX,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,140,241,35,10
CONTROL "XBDM",IDC_LOG_XBDM,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,199,241,35,10
CONTROL "AV",IDC_LOG_AV,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,41,256,25,10
CONTROL "DBG",IDC_LOG_DBG,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,90,256,31,10
CONTROL "EX",IDC_LOG_EX,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,150,256,25,10
CONTROL "FSC",IDC_LOG_FSC,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,205,256,29,10
CONTROL "HAL",IDC_LOG_HAL,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,37,271,29,10
CONTROL "IO",IDC_LOG_IO,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,97,271,24,10
CONTROL "KD",IDC_LOG_KD,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,149,271,26,10
CONTROL "KE",IDC_LOG_KE,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,209,271,25,10
CONTROL "KI",IDC_LOG_KI,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,43,286,23,10
CONTROL "MM",IDC_LOG_MM,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,95,286,26,10
CONTROL "NT",IDC_LOG_NT,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,150,286,25,10
CONTROL "OB",IDC_LOG_OB,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,208,286,26,10
CONTROL "PS",IDC_LOG_PS,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,41,302,25,10
CONTROL "RTL",IDC_LOG_RTL,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,93,302,28,10
CONTROL "XC",IDC_LOG_XC,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,149,302,26,10
CONTROL "XE",IDC_LOG_XE,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP,209,302,25,10
PUSHBUTTON "Cancel",IDC_LOG_CANCEL,161,327,40,14,BS_FLAT
PUSHBUTTON "Accept",IDC_LOG_ACCEPT,208,327,40,14,BS_FLAT
2018-08-12 12:58:06 +00:00
END
Add controller port configuration GUI and support virtual SB controller with feedback status (#1196) * Add XB_ prefix for xbox XInput related structures and variables to prevent mis-use host equivalent. Add newly findings for device table related info. * Revert g_Controller ZeroMemory() calls. now the XINPUT_STATE is correctly refering to host type, no need to specify the name space. * Add X_CONTROLLER_HOST_BRIDGE structure type. Prepare for configurabale host input, and virtual xbox controller. * Fix DeviceInfo initialization when device table is not found. always set state to enable rumble. * experimenting virtual SteelBatalion controller. using console as controller output. using XInput and direct input combined keys * first attem to emulat SteelBatalion controller works. * add dialog file to solution * Restore missing dialog files and functions * Minor fix * fix dialog control grouping now registry works. * refine some controller related constants * Using Dialog for showing SBC controller feedback add possibility of using same dialog for virtual controller input. * using EmuUpdateTickCount() as modeless dialog message handler. sort of working. revert the dlg message handling from wnd.cpp * Finally the dialog for virtual SB controller feedback status works! modeless dialog got issues. modal dialog will occupy focus. only way is to use a DLL, load the DLL when cxbx-r emulation child process started, and create a dummy window from DLL then create a modal dialog. lots of code change and clean up. * fix debug build, use same character set setting for all configurations. * restore C++ optimiztion setting in master * remove unitended included ribbon resources * removed necessary official document mentioning * Add src/CxbxVSBC/Release and src/CxbxVSBC/Debug to .gitignore * Move Host Port assignment related code to src/common/win32 * fix merge confliction * oops, fix merge conflictions again. * Add OLD_XINPUT mark for those marked out old XInput code. need to be reviewed in the future. * remove unintended binary files * fix debug build, again. revert unindteded changes to submodule * rever unintended submodule change * Relocate project to build/Win32 folder Co-Authored-By: anita999 <anita999@ms12.hinet.net> * Restore sln file base on master * Include project dependency to build * Final fixup for sln file * Restore original new line code * Update Wnd.cpp * Remove old include * Include CxbxVSBC.dll into AppVeyor This should be the last fixup for pull request. * Fix merge-conflict * Fix files encode format to UTF-8 * treat .rc file as text instead of binary * Revert "treat .rc file as text instead of binary" This reverts commit 034039d72353a72017b04908133f68df77a26672.
2018-05-29 12:33:01 +00:00
/////////////////////////////////////////////////////////////////////////////
//
// AFX_DIALOG_LAYOUT
//
IDD_CONTROLLER_HOST_MAPPING AFX_DIALOG_LAYOUT
BEGIN
0
END
IDD_VIRTUAL_SBC_FEEDBACK AFX_DIALOG_LAYOUT
BEGIN
0
END
2018-05-29 06:01:26 +00:00
IDD_AUDIO_CFG AFX_DIALOG_LAYOUT
BEGIN
0
END
IDD_EEPROM_CFG AFX_DIALOG_LAYOUT
BEGIN
0
END
2018-08-12 12:58:06 +00:00
IDD_LOGGING_CFG AFX_DIALOG_LAYOUT
BEGIN
0
END
2018-05-29 06:01:26 +00:00
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_CXBX ICON "Cxbx-R.ico"
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE
BEGIN
"..\\src\\Cxbx\\ResCxbx.h\0"
END
2 TEXTINCLUDE
BEGIN
"#include ""WinResrc.h""\r\n"
"\0"
END
3 TEXTINCLUDE
BEGIN
"\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Bitmap
//
IDB_LOGO BITMAP "Logo.bmp"
IDR_JPEG_SPLASH BITMAP "Logo-License-CC4.bmp"
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
IDR_MAINMENU MENUEX
BEGIN
POPUP "&File", 65535,MFT_STRING,MFS_ENABLED
BEGIN
MENUITEM "&Open Xbe...", ID_FILE_OPEN_XBE,MFT_STRING,MFS_ENABLED
MENUITEM "Open D&ashboard...\tF7", ID_FILE_OPEN_DASHBOARD,MFT_STRING,MFS_ENABLED
MENUITEM "&Close Xbe", ID_FILE_CLOSE_XBE,MFT_STRING,MFS_ENABLED
MENUITEM MFT_SEPARATOR
MENUITEM "&Save Xbe", ID_FILE_SAVEXBEFILE,MFT_STRING,MFS_ENABLED
MENUITEM "Save Xbe &As...", ID_FILE_SAVEXBEFILEAS,MFT_STRING,MFS_ENABLED
MENUITEM MFT_SEPARATOR
POPUP "&Recent Xbe Files", 65535,MFT_STRING,MFS_ENABLED
BEGIN
MENUITEM "&0 : Recent Placeholder", ID_FILE_RXBE_0,MFT_STRING,MFS_ENABLED
MENUITEM "&1 : Recent Placeholder", ID_FILE_RXBE_1,MFT_STRING,MFS_ENABLED
MENUITEM "&2 : Recent Placeholder", ID_FILE_RXBE_2,MFT_STRING,MFS_ENABLED
MENUITEM "&3 : Recent Placeholder", ID_FILE_RXBE_3,MFT_STRING,MFS_ENABLED
MENUITEM "&4 : Recent Placeholder", ID_FILE_RXBE_4,MFT_STRING,MFS_ENABLED
MENUITEM "&5 : Recent Placeholder", ID_FILE_RXBE_5,MFT_STRING,MFS_ENABLED
MENUITEM "&6 : Recent Placeholder", ID_FILE_RXBE_6,MFT_STRING,MFS_ENABLED
MENUITEM "&7 : Recent Placeholder", ID_FILE_RXBE_7,MFT_STRING,MFS_ENABLED
MENUITEM "&8 : Recent Placeholder", ID_FILE_RXBE_8,MFT_STRING,MFS_ENABLED
MENUITEM "&9 : Recent Placeholder", ID_FILE_RXBE_9,MFT_STRING,MFS_ENABLED
END
MENUITEM MFT_SEPARATOR
MENUITEM "E&xit", ID_FILE_EXIT,MFT_STRING,MFS_ENABLED
END
POPUP "&Edit", 65535,MFT_STRING,MFS_ENABLED
BEGIN
POPUP "Logo &Bitmap", 65535,MFT_STRING,MFS_ENABLED
BEGIN
MENUITEM "&Import...", ID_EDIT_LOGOBITMAP_IMPORT,MFT_STRING,MFS_ENABLED
MENUITEM "&Export...", ID_EDIT_LOGOBITMAP_EXPORT,MFT_STRING,MFS_ENABLED
END
POPUP "&Patch", 65535,MFT_STRING,MFS_ENABLED
BEGIN
MENUITEM "&Allow >64 MB", ID_EDIT_PATCH_ALLOW64MB,MFT_STRING,MFS_ENABLED
MENUITEM "&Debug Mode", ID_EDIT_PATCH_DEBUGMODE,MFT_STRING,MFS_ENABLED
END
MENUITEM MFT_SEPARATOR
POPUP "Dump &Xbe Info To...", 65535,MFT_STRING,MFS_ENABLED
BEGIN
MENUITEM "&File...", ID_EDIT_DUMPXBEINFOTO_FILE,MFT_STRING,MFS_ENABLED
MENUITEM "&Debug Console", ID_EDIT_DUMPXBEINFOTO_DEBUGCONSOLE,MFT_STRING,MFS_ENABLED
END
END
POPUP "&View", 65535,MFT_STRING,MFS_ENABLED
BEGIN
POPUP "&Debug Output (GUI)", 65535,MFT_STRING,MFS_ENABLED
BEGIN
MENUITEM "&Console", ID_EMULATION_DEBUGOUTPUTGUI_CONSOLE,MFT_STRING,MFS_ENABLED
MENUITEM "&File...", ID_EMULATION_DEBUGOUTPUTGUI_FILE,MFT_STRING,MFS_ENABLED
END
POPUP "Debug Output (&Kernel)", 65535,MFT_STRING,MFS_ENABLED
BEGIN
MENUITEM "&Console", ID_EMULATION_DEBUGOUTPUTKERNEL_CONSOLE,MFT_STRING,MFS_ENABLED
MENUITEM "&File...", ID_EMULATION_DEBUGOUTPUTKERNEL_FILE,MFT_STRING,MFS_ENABLED
END
END
POPUP "&Settings", 65535,MFT_STRING,MFS_ENABLED
BEGIN
Add controller port configuration GUI and support virtual SB controller with feedback status (#1196) * Add XB_ prefix for xbox XInput related structures and variables to prevent mis-use host equivalent. Add newly findings for device table related info. * Revert g_Controller ZeroMemory() calls. now the XINPUT_STATE is correctly refering to host type, no need to specify the name space. * Add X_CONTROLLER_HOST_BRIDGE structure type. Prepare for configurabale host input, and virtual xbox controller. * Fix DeviceInfo initialization when device table is not found. always set state to enable rumble. * experimenting virtual SteelBatalion controller. using console as controller output. using XInput and direct input combined keys * first attem to emulat SteelBatalion controller works. * add dialog file to solution * Restore missing dialog files and functions * Minor fix * fix dialog control grouping now registry works. * refine some controller related constants * Using Dialog for showing SBC controller feedback add possibility of using same dialog for virtual controller input. * using EmuUpdateTickCount() as modeless dialog message handler. sort of working. revert the dlg message handling from wnd.cpp * Finally the dialog for virtual SB controller feedback status works! modeless dialog got issues. modal dialog will occupy focus. only way is to use a DLL, load the DLL when cxbx-r emulation child process started, and create a dummy window from DLL then create a modal dialog. lots of code change and clean up. * fix debug build, use same character set setting for all configurations. * restore C++ optimiztion setting in master * remove unitended included ribbon resources * removed necessary official document mentioning * Add src/CxbxVSBC/Release and src/CxbxVSBC/Debug to .gitignore * Move Host Port assignment related code to src/common/win32 * fix merge confliction * oops, fix merge conflictions again. * Add OLD_XINPUT mark for those marked out old XInput code. need to be reviewed in the future. * remove unintended binary files * fix debug build, again. revert unindteded changes to submodule * rever unintended submodule change * Relocate project to build/Win32 folder Co-Authored-By: anita999 <anita999@ms12.hinet.net> * Restore sln file base on master * Include project dependency to build * Final fixup for sln file * Restore original new line code * Update Wnd.cpp * Remove old include * Include CxbxVSBC.dll into AppVeyor This should be the last fixup for pull request. * Fix merge-conflict * Fix files encode format to UTF-8 * treat .rc file as text instead of binary * Revert "treat .rc file as text instead of binary" This reverts commit 034039d72353a72017b04908133f68df77a26672.
2018-05-29 12:33:01 +00:00
MENUITEM "Config Xbox Controller &Mapping", ID_SETTINGS_CONFIG_XBOX_CONTROLLER_MAPPING,MFT_STRING,MFS_ENABLED
MENUITEM "Config DirectInput &Controller...", ID_SETTINGS_CONFIG_CONTROLLER,MFT_STRING,MFS_ENABLED
MENUITEM MFT_SEPARATOR
2018-05-29 06:01:26 +00:00
MENUITEM "Config &Video...", ID_SETTINGS_CONFIG_VIDEO,MFT_STRING,MFS_ENABLED
MENUITEM "Config &Audio...", ID_SETTINGS_CONFIG_AUDIO,MFT_STRING,MFS_ENABLED
MENUITEM "Config &Eeprom...", ID_SETTINGS_CONFIG_EEPROM,MFT_STRING,MFS_ENABLED
2018-08-13 18:48:48 +00:00
MENUITEM "Config &Logging...", ID_SETTINGS_CONFIG_LOGGING,MFT_STRING,MFS_ENABLED
POPUP "Config &Data Location...", 65535,MFT_STRING,MFS_ENABLED
BEGIN
MENUITEM "Store in AppData", ID_SETTINGS_CONFIG_DLOCAPPDATA,MFT_STRING,MFS_ENABLED
MENUITEM "Store with Executable", ID_SETTINGS_CONFIG_DLOCCURDIR,MFT_STRING,MFS_ENABLED
MENUITEM "Custom", ID_SETTINGS_CONFIG_DLOCCUSTOM,MFT_STRING,MFS_ENABLED
END
2018-05-29 06:01:26 +00:00
POPUP "&HLE Cache", 65535,MFT_STRING,MFS_ENABLED
BEGIN
MENUITEM "&Clear entire HLE Cache", ID_CACHE_CLEARHLECACHE_ALL,MFT_STRING,MFS_ENABLED
MENUITEM "&Rescan title HLE Cache", ID_CACHE_CLEARHLECACHE_CURRENT,MFT_STRING,MFS_ENABLED
END
MENUITEM MFT_SEPARATOR
POPUP "&LLE (Experimental)", 65535,MFT_STRING,MFS_ENABLED
BEGIN
MENUITEM "LLE &GPU", ID_EMULATION_LLE_GPU,MFT_STRING,MFS_ENABLED
END
POPUP "Hacks", 65535,MFT_STRING,MFS_ENABLED
BEGIN
2018-06-11 17:33:00 +00:00
POPUP "Speed Hacks", 65535,MFT_STRING,MFS_ENABLED
BEGIN
MENUITEM "Run Xbox threads on all cores", ID_HACKS_RUNXBOXTHREADSONALLCORES,MFT_STRING,MFS_ENABLED
MENUITEM "Render directly to Host Backbuffer", ID_HACKS_RENDERDIRECTLYTOHOSTBACKBUFFER,MFT_STRING,MFS_ENABLED
MENUITEM "Uncap Framerate", ID_HACKS_UNCAPFRAMERATE,MFT_STRING,MFS_ENABLED
END
2018-05-29 06:01:26 +00:00
MENUITEM "Disable Pixel Shaders", ID_HACKS_DISABLEPIXELSHADERS,MFT_STRING,MFS_ENABLED
MENUITEM "Skip rdtsc patching", ID_HACKS_SKIPRDTSCPATCHING,MFT_STRING,MFS_ENABLED
MENUITEM "Scale Xbox viewport to host (and back)", ID_HACKS_SCALEVIEWPORT,MFT_STRING,MFS_ENABLED
END
Use settings ini file method (#1370) * Import SimpleIni module * Rename XBController to DInputController Since it's only about configure DirectInput support. * Append to previous 2 commits * Initialize Settings class * Append to previous commit * Properly use EmuXTL header instead of EmuShared * Move audio variables into setting class * Move video variables into Settings class * Append to previous commit * Move hack variables into Settings class * Append previous commit * Append to third previous commit * Move xbox controller port map to Settings class * Append to second previous commit * Move DirectInput Controller map to Settings class * Remove old XInput member variable * Append to second previous commit * Tiny Fixup * Remove Load/Save from EmuShared class * Move both GUI and emulate/core to Settings class * Oops, append to DirectInput controller's commit(s) * Fix spaces to tab plus remove useless extra spaces * Code format fixes * Fix EmuShared's Set____ function to include const type. Then "set" functions are supportive for both const and non-const variables. * Add Sync and GetDataLocation functions to Settings class * Move include filesystem into root header file. * Introduce Verify function in Settings class * Fix old bug for console remains open * Making some adjustments... * Append * Another fix for any output prints crash. * Add Delete function to Settings class Plus keep save's file path if has given one. * Fix LLE_USB to set into Settings class' member variable. * No longer rely on GUI's end to reset LLE flags for multi-xbe titles. * Simulate what GUI will do except in standalone kernel mode support. * Move m_StorageLocation into Settings class as central. Plus optimization for GetDataLocation function. * Update sentence... * Remove m_XbePath from EmuShared class. Since kernel process is launching by on its own without rely on GUI process. * Update copyright * Fix DirectInput config not responding message * Implement new feature: Bypass running as admin warning message * Rename Emulate Settings to Core Settings Plus move AllowAdminPrivilage option to core. * Add reserve space for Settings' structure to integrate into EmuShared * Ensure all reserves are set to 0 by default. * Append to "Rename Emulate Settings to Core Settings" commit * Fix rebase loss. * Fix kernel mode process's window screen * Correction: use bool for allowAdminPrivilege and add a save data * Few fixes for allowAdminPrivilege * Implement support to prevent tamper shared memory between GUI processes. NOTE: Kernel process will be using same shared memory since guiProcessID will remain as 0. * Various improvement * Use std library functions * Use single column spaces for align support on different tab size * Include failsafe if custom and file path string values are bad format Apparently ARRAYSIZE isn't define on other compilers. * Last ARRAYSIZE replacement plus buffer overflow protection * Replace WinAPI to std library's filesystem * Revert support for 2+ emulation process at same time. Emulation's graphic screen has corruption between both windows. Not even a wrapper to D3D9 will fix it.
2018-08-07 07:30:07 +00:00
MENUITEM "Allow Admin Privilege", ID_SETTINGS_ALLOWADMINPRIVILEGE,MFT_STRING,MFS_ENABLED
2018-05-29 06:01:26 +00:00
MENUITEM MFT_SEPARATOR
MENUITEM "Reset To Defaults", ID_SETTINGS_INITIALIZE,MFT_STRING,MFS_ENABLED
END
POPUP "E&mulation", 65535,MFT_STRING,MFS_ENABLED
BEGIN
MENUITEM "&Start\tF5", ID_EMULATION_START,MFT_STRING,MFS_ENABLED
MENUITEM "Start &Debugger...\tF9", ID_EMULATION_STARTDEBUGGER,MFT_STRING,MFS_ENABLED
MENUITEM MFT_SEPARATOR
MENUITEM "S&top\tF6", ID_EMULATION_STOP,MFT_STRING,MFS_ENABLED
END
POPUP "&Help", 65535,MFT_STRING,MFS_ENABLED
BEGIN
MENUITEM "&Go To The Official Cxbx Web Site...", ID_HELP_HOMEPAGE,MFT_STRING,MFS_ENABLED
MENUITEM MFT_SEPARATOR
MENUITEM "&About", ID_HELP_ABOUT,MFT_STRING,MFS_ENABLED
END
MENUITEM " ", ID_FPS,MFT_STRING | MFT_RIGHTJUSTIFY,MFS_ENABLED
MENUITEM " ", ID_LED,MFT_STRING,MFS_ENABLED
END
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE
BEGIN
IDS_UEM "Your Xbox requires service.\n\nPlease call Xbox Customer Support.\n\n\nIhre Xbox muss gewartet werden.\n\nBitte den Xbox-Kundendienst anrufen.\n\n\nLa consola Xbox requiere asistencia técnica.\n\nLlame al servicio de soporte al cliente de la Xbox.\n\n\nXbox ha bisogno di manutenzione.\n\nChiamare l'Assistenza Clienti di Xbox.\n\n\nVotre Xbox ne fonctionne pas correctement.\n\nVeuillez contacter le Support à la clientèle Xbox.\n\n\n不具合が生じました。お手数ですが、\n\nXboxカスタマー サポートにお問い合わせください。"
END
#endif // English (United States) resources
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
// English (United Kingdom) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENG)
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_UK
#pragma code_page(1252)
2018-05-29 06:01:26 +00:00
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO
BEGIN
IDD_ABOUT, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 303
TOPMARGIN, 7
BOTTOMMARGIN, 170
END
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_ABOUT DIALOGEX 0, 0, 310, 177
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "About Cxbx-Reloaded"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
CONTROL "",IDC_TAB1,"SysTabControl32",0x0,7,7,296,163
END
/////////////////////////////////////////////////////////////////////////////
//
// AFX_DIALOG_LAYOUT
//
IDD_ABOUT AFX_DIALOG_LAYOUT
BEGIN
0
END
/////////////////////////////////////////////////////////////////////////////
//
// TXT
//
IDR_CONTRIBUTORS TXT "..\\CONTRIBUTORS"
IDR_COPYING TXT "..\\COPYING"
#endif // English (United Kingdom) resources
/////////////////////////////////////////////////////////////////////////////