Commit Graph

242 Commits

Author SHA1 Message Date
RadWolfie 8afea9fe77 Fixed MSB8004: Intermediate Directory does not end with a trailing slash. 2018-06-19 00:46:43 -05:00
RadWolfie 1623068193 Compile builds are using msvcrt, not libcmt.
See `C/C++ > Code Generation >Runtime Library` for all builds.
2018-06-19 00:11:50 -05:00
RadWolfie 7327793b28 Remove minimal rebuild option
Enabling minimal rebuild does not work with multi-processor compilation (/MP).
2018-06-18 14:21:04 -05:00
RadWolfie 4182e7aea0 Remove old code 2018-06-16 20:42:39 -05:00
RadWolfie 05be1dd4bd Create inline function file for Windows
Plus linux filter folder for future linux support.
2018-06-16 20:18:22 -05:00
Luke Usher 95c2a5ec74 Fix an issue where AppVeyor build script would not take tags into account 2018-06-14 14:08:20 +01:00
Luke Usher 39289ad143 Temporarily remove D3D8to9: Fixes missing graphics in some titles (Lego Star Wars) 2018-06-06 19:47:15 +01:00
Luke Usher c1bc34eb80 Update Submodules 2018-05-29 18:03:19 +01:00
Luke Usher 1684bf4565
Oops: Fix typo 2018-05-29 14:56:02 +01:00
Luke Usher 9eb7df406f
Retarget CxbxVSBC to $(DefaultPlatformToolset) and SDK 8.1
This keeps it consistent with the rest of Cxbx-Reloaded
2018-05-29 14:26:25 +01: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
blueshogun96 a81db113ee Cleanup duplicated handles for APCs 2018-05-26 12:14:03 -07:00
Luke Usher e864f301a7 Oops 2018-05-25 23:08:11 +01:00
Luke Usher f86d3d9509 Even more aggressive optimization (Use LTCG) 2018-05-25 22:59:57 +01:00
Luke Usher e6013ba225 Tweak optimization settings: This should give a (slight) speed boost for some users 2018-05-25 22:39:39 +01:00
PatrickvL 0682970e42 Project fixups 2018-05-24 10:36:24 +02:00
PatrickvL 356b7c5a27 xbdm : Initial commit; Thunk table + importing (2 functions already imported by debugchannel.xbe XDK sample) 2018-05-22 15:09:58 +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
RadWolfie eec4e065bb Another fix for sln file 2018-05-12 07:24:10 -05:00
RadWolfie 8b0d1f3893 Fix sln file 2018-05-12 07:24:10 -05:00
RadWolfie 5e4aedd764 Fix build attempt to access invalid files 2018-05-12 07:24:10 -05:00
RadWolfie ed263d7dbc Start using XbSymbolDatabase library
It does not fully transfer everything yet and D3D8 depending on OOVPA signature directly are currently disabled for time being.
2018-05-12 07:24:10 -05:00
RadWolfie 4344f5db58 Remove HLEDatabase files
Moving into new project.
2018-05-12 07:24:10 -05:00
Luke Usher 317b9dfe00
Revert "Replace EmuX86's interpreter with Unicorn" 2018-04-29 20:16:03 +01:00
ergo720 125bc23d4f Pool manager initialization 2018-04-28 22:05:06 +02:00
ergo720 55d0d36d3e Merge remote-tracking branch 'upstream/master' into eeprom_viewer 2018-04-26 11:06:09 +02:00
Luke Usher bb65ee7ae4 Fix build dependancy order 2018-04-23 19:51:44 +01:00
Luke Usher 640d5570f1 Rebase on latest master 2018-04-23 10:57:55 +01:00
Luke Usher a24cb08566 Replace EmuX86/Distorm interpreter with Unicorn 2018-04-23 09:51:04 +01:00
ergo720 4ecfc4d5d4 Started to write eeprom menu 2018-04-19 19:56:20 +02:00
PatrickvL ffceb1600a
Merge pull request #1076 from ergo720/signature
Xbe signature validation
2018-04-19 09:25:40 +02:00
PatrickvL 4ca78e947d Add Debug_Direct3D9 build configuration, specifically to be able to build for Direct3D9 while keeping the Direct3D8 code paths intact. 2018-04-16 13:18:47 +02:00
ergo720 ac8b798c66 Finished RSA decryption 2018-04-13 16:40:11 +02:00
jarupxx 3d7ddaa340 Initialize commits of HLEDB D3D8LTCG 2018-04-03 05:52:01 +09:00
RadWolfie 3bb83b0d3e Removed unused library (stb image) 2018-04-02 01:18:39 -05: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
Luke Usher e1a65a3bde Introduce functional NV2A LLE 2018-04-01 20:18:22 +01:00
ergo720 2608a2767c Implemented termal sensor device 2018-03-28 14:48:24 +02:00
Luke Usher d30aadda4c Oops, forgot to commit updated project files.. 2018-03-15 10:39:27 +00:00
Luke Usher 1f4f32414a Use D3D8to9 as a wrapper for D3D9 support 2018-03-07 14:22:53 +00:00
Luke Usher dd5aa368bf Enable function inlining for all functions, not just those marked inline 2018-03-02 20:48:25 +00:00
Luke Usher b887054e16 Tweak Visual Studio settings to optimize code a little better 2018-02-28 17:49:06 +00:00
PatrickvL 52f936611b NV2A : Copy over more nv2a code from OpenXbox/Xqemu 2018-02-19 10:58:26 +01:00
Luke Usher a2f727f0a1 Update xxHash to use Hardware CRC32C if available 2018-02-17 12:03:59 +00:00
PatrickvL 451dae5987 Kernel : Move Ki* symbols to own files 2018-02-17 11:56:31 +00:00
PatrickvL 4fb8326384 NV2A : Hide less code behind COMPILE_OPENGL 2018-02-16 11:37:19 +01:00
PatrickvL c3d8cc2e0e NV2A : Moved a few functions inside our device class 2018-02-16 11:36:54 +01:00
patrickvl 21db823596 NV2A : Split up in the same way as OpenXbox. This makes differences between the two easier to spot. 2018-02-16 11:36:22 +01:00
x1nixmzeng f2ead8d7f6 Force Capstone dependency on Cxbx to resolve cross-arch issues 2018-02-14 20:12:09 +00:00