Commit Graph

57 Commits

Author SHA1 Message Date
RadWolfie 9ded390a87 Enforce rc files as UTF-8 encode 2018-05-29 13:41:03 -05:00
jackchentwkh 6edf293699 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 034039d723.
2018-05-29 13:33:01 +01:00
RadWolfie c37492b27e Fix rc file to UTF-8 encode format 2018-05-29 01:01:26 -05:00
RadWolfie 0a4c3bf6bf Force remove ignored file from source control system 2018-05-29 00:25:10 -05:00
Voxel9 18a48546fe Remove "LED" text and replace with LLE flags text 2018-05-28 11:24:57 +01:00
ergo720 bc2a551ee5 Align serial number text in eeprom menu 2018-05-27 14:54:00 +02:00
RadWolfie ccff183600 Editorconfig second revision
* Apply only for src and resource directories.

With this setup, it should work as intended only for Cxbx-Reloaded's source code without affecting third-party projects.
2018-05-16 10:20:48 -05:00
Luke Usher e54e7fbfcf Make new RDTSC patch the default, the old method is optional 2018-05-03 21:23:09 +01:00
patrickvl ccd82a8e0f HLE : Configurable viewport scaling (as a hack) 2018-05-02 19:10:03 +02:00
ergo720 55d0d36d3e Merge remote-tracking branch 'upstream/master' into eeprom_viewer 2018-04-26 11:06:09 +02:00
ergo720 88739baba9 Finished eeprom menu 2018-04-25 23:54:59 +02:00
ergo720 baabd55dc3 More eeprom menu work 2018-04-21 19:18:35 +02:00
Margen67 7552e92060 Remove legacy audio hack 2018-04-20 03:29:12 -07:00
ergo720 4ecfc4d5d4 Started to write eeprom menu 2018-04-19 19:56:20 +02:00
Luke Usher 95ad62c409 Oops, forgot to add resource files 2018-04-14 18:22:55 +01:00
RadWolfie d8ccff36f6 Disable LLE Placeholder Action
LLE APU is not implemented yet.
LLE JIT does nothing.

This will help users not to report problems with LLE placeholder
actions.
2018-04-05 10:52:02 -05:00
Luke Usher c0be3b47da Add optional speedhack to use all available cores 2018-04-03 10:57:45 +01:00
RadWolfie 1d993d2cba Replace main logo
stb image library does not work correctly for green/yellow outline on
main logo even with png and jpeg formats. Using bitmap format instead.
2018-04-02 01:13:44 -05:00
RadWolfie bdfbefa157 Icon replacment for 2nd gen of Cxbx
Icon is licenced as Creative Common 4.
Design & ideas was done by RadWolfie & Driveclub from discord.
SVG is include in this commit.
2018-04-02 00:13:53 -05:00
ergo720 54aeffd949 Load dashboard option 2018-04-01 18:16:56 +02:00
Luke Usher 65dfda6e2e Prevent frame-rate dependant games from running too fast 2018-03-06 09:15:04 +00:00
Voxel 7a8446b542 Move FPS Counter next to LED 2018-03-05 17:52:31 +00:00
x1nixmzeng facda08de8 Fixed corrupt resource files after merge 2018-02-07 22:30:25 +00:00
x1nixmzeng 5f3ddf6ee1 Merge https://github.com/Cxbx-Reloaded/Cxbx-Reloaded into cxbx-debugger 2018-02-07 22:05:11 +00:00
Voxel d09ebb106b Implement 'Reset to Defaults' menu feature. 2018-02-06 21:22:56 +00:00
x1nixmzeng f0a409a1b0 Treat resource file as binary to keep unicode 2018-02-04 22:16:23 +00:00
x1nixmzeng 9a1ae72145 Support for launching the debugger with a F9
Mimics the 'start' functionality by opening the last recently used XBE
if it isn't already
2018-02-01 23:38:19 +00:00
x1nixmzeng e28a02a4b5 Fixed corrupted resource files after merge 2018-02-01 21:07:47 +00:00
x1nixmzeng f57a74334f Merge https://github.com/Cxbx-Reloaded/Cxbx-Reloaded into cxbx-debugger 2018-02-01 20:58:01 +00:00
ergo720 753d9d89c2 Dashboard fatal error + fix issue #878 2018-01-28 10:06:11 +01:00
x1nixmzeng 547d6b04b9 Merge https://github.com/Cxbx-Reloaded/Cxbx-Reloaded into cxbx-debugger 2018-01-21 13:57:55 +00:00
ergo720 9084661b0e LED 2018-01-21 11:02:25 +01:00
x1nixmzeng 4dfcec09b3 Fixed bad merge of menu ids 2018-01-13 01:09:02 +00:00
x1nixmzeng 321236c907 Merge https://github.com/Cxbx-Reloaded/Cxbx-Reloaded into cxbx-debugger 2018-01-13 01:00:32 +00:00
Luke Usher d2edfb10b9 Prep for Pixel Shaders Disable Hack
- Implements error checking/default value enforcement on registry reads
- Adds a new option (currently does nothing) for enabling the hack.
2018-01-10 11:34:05 +00:00
x1nixmzeng 2d8b832f71 Added menu option to launch with CxbxDebugger 2018-01-02 23:29:10 +00:00
Ben 83638801a4 Removed "About.jpg" (#592)
Remove "About.jpg", this image is no longer used.
2017-08-04 06:49:00 +01:00
RadWolfie 85ff52e502 Disable Legacy Audio Hack Option
Currently legacy audio hack option is not implemented, so it's disabled
before merge into master repo. Plus force all unimplemented functions to
output once, not repeatly.
2017-07-22 21:43:02 -05:00
RadWolfie 4dad779758 Audio Settings Stub
First initialization audio settings support.
2017-07-22 21:43:02 -05:00
Luke Usher f879c407fd Fix and enable XInput controller support.
This is configurable in the Input menu: If Use XInput is selected, XInput controllers will be used, otherwise the default controller mapping system will be used.

On an Xbox 36- controller, buttons are mapped 1:1 with Xbox buttons

As the Xbox 360 lacks BLACK and WHITE, but gains LB/RB, white is mapped to LB and right is mapped to RB.
2017-06-04 11:50:14 +01:00
PatrickvL 755cdd60c1 Added "Reset title HLE cache" menu item 2017-05-18 11:15:35 +02:00
Luke Usher e160e8ea8a Fix the resource file 2017-04-21 10:03:09 +01:00
Luke Usher 9fc55e631e Add a menu option to clear the cache. 2017-04-21 09:57:57 +01:00
Luke Usher e48658779d Update Cxbx.rc
Visual Studio inserted a hardcoded path -_-
2017-04-07 16:26:47 +01:00
Luke Usher d6731620e0 Rebuild the About Box.
It's not the prettiest but will serve it's purpose for now.

This pulls in data from CONTRIBUTORS and COPYING to show the relevent
license and developer information.
This was required to meet a Patroen reward (support names in the
emulator)

Note: WinApi is awful. For the new GUI I definitely want to use
WxWidgets or something similar.
2017-04-07 13:29:42 +01:00
PatrickvL 531b139277 Added experimental LLE JIT setting 2017-01-10 13:49:15 +01:00
PatrickvL c02009ab67 Added submenu for LLE flags 2016-12-29 16:51:10 +01:00
x1nixmzeng 5bbc31029f Removed all EXE support
Very aggressive cull of old Exe support:

Removed GUI for importing/exporting Exe files
Removed GUI for storing Exe history
Removed GUI for Executable Generation
Removed unused EmuExe class
Removed unused Exe registry settings
Removed unused Exe file history
Removed unused standalone Cxbe console app which would no longer compile
2016-12-21 23:58:11 +00:00
Echelon9 0ad1cf1d88 Update gitattributes (with line ending fixes) 2012-10-07 23:58:52 +11:00
blueshogun96 2f9b24859f Updating (the hard way) because I can't get TSVN to do it automatically!
Happy now?

Happy now?

Happy now?

Happy now?

Cleanup time.
2010-04-17 03:21:41 +00:00