Commit Graph

4819 Commits

Author SHA1 Message Date
patrickvl b2f5ee9c0b Log masks with their actual value 2018-06-02 16:49:52 +02:00
jackchentwkh c529f51672 fix Otogi non-responsive input issue, again :Q
ChangeConnected flag must be set together with CurrentConnect.
2018-06-02 13:12:47 +08:00
jackchentwkh 925f993944 correct the note the XInput subtype #define 2018-06-02 13:11:59 +08:00
Luke Usher 55b6b31811
Merge pull request #1241 from Voxel9/SetRenderState-Fix
D3D: Fix SetRenderState_FillMode wrongly rendering as points
2018-06-01 23:27:06 +01:00
Voxel9 0249c7daab God damn CR LF line endings... 2018-06-01 23:03:16 +01:00
Voxel9 b2529c8013 SetRenderState_FillMode fix for 5849 titles (and maybe others) 2018-06-01 22:56:06 +01:00
Luke Usher a5623ea13b
Merge pull request #1240 from LukeUsher/add-setrendertarget-trampoline
Call Xbox SetRenderTarget to update internal state
2018-06-01 15:57:05 +01:00
Luke Usher 8052795154 Call Xbox SetRenderTarget to update internal state 2018-06-01 15:52:53 +01:00
Luke Usher e2db7a67d2
Merge pull request #1236 from LukeUsher/update-xbsymboldatabase
Update XbSymbolDatabase
2018-06-01 10:41:18 +01:00
Luke Usher 4c59f39d86 Update XbSymbolDatabase 2018-06-01 10:40:40 +01:00
PatrickvL c7c87414cd
Merge pull request #1235 from LukeUsher/xinput-tweaks
Fix an issue where the ucSubType was derived incorrectly
2018-06-01 11:35:42 +02:00
Luke Usher 9682a3f01d ooops 2018-06-01 09:41:33 +01:00
Luke Usher 15c234031a Fix an issue where the ucSubType was derived incorrectly 2018-06-01 09:39:42 +01:00
Luke Usher 2b52b6f918
Merge pull request #1233 from LukeUsher/various-things
Not-Required patch cleanup + Fix D3DDevice_SetIndices signature
2018-05-31 22:40:40 +01:00
Luke Usher 16e976636b Not-Required patch cleanup + Fix D3DDevice_SetIndices signature 2018-05-31 22:10:07 +01:00
Luke Usher 54fc0e1224
Merge pull request #1232 from x1nixmzeng/remove-legacy-files
Removed unused files
2018-05-31 21:40:33 +01:00
x1nixmzeng 70b76bb2d8 Removed unused resource file 2018-05-31 21:02:44 +01:00
x1nixmzeng 34dda2cfc9 Removed legacy EXE packer tool 2018-05-31 21:00:55 +01:00
Luke Usher 09021d29c0
Merge pull request #1230 from LukeUsher/merge-registered-and-host-resource-maps
Merge g_RegisteredResources and g_HostResources into a combined g_XboxDirect3DResources.
2018-05-31 18:08:52 +01:00
Luke Usher b928d0da23 Don't use an additional variable 2018-05-31 18:07:39 +01:00
Luke Usher 29dbe8b019
Merge pull request #1231 from jackchentwkh/vsbc_typo_fix
fix typos of controller mapping dialog and virtual SB dialog.
2018-05-31 16:59:25 +01:00
Luke Usher d05967370b We don't need this extra variable 2018-05-31 16:57:51 +01:00
Luke Usher d3403e2e8c Reduce speed impact of BackBuffer copy: Huge performance boost for some titles 2018-05-31 16:53:31 +01:00
Luke Usher e692b6e433 Revert accidental change 2018-05-31 16:29:56 +01:00
Luke Usher 928d416161 Merge g_RegisteredResources and g_HostResources into a combined
g_XboxDirect3DResources.

This cleans up the code, prevents issues caused by inconsistenies
between the two structures and also pretty much halves the number of lookups that happen per call to GetHostResource, bringing a (slight) performance boost
2018-05-31 16:24:38 +01:00
Luke Usher a2bd0bbaa3
Merge pull request #1228 from LukeUsher/dont-force-depth=1
Don't force Depth = 1
2018-05-31 13:33:35 +01:00
Luke Usher b866b45cab
Merge pull request #1229 from LukeUsher/disable-unused-lle
Remove Unused LLE options to prevent user-confusion
2018-05-31 13:32:03 +01:00
Luke Usher e6bc88ffe4 Remove Unused LLE options to prevent user-confusion 2018-05-31 13:31:27 +01:00
Luke Usher c1db127c3b Don't force Depth = 1 2018-05-31 13:23:14 +01:00
Luke Usher 5e2fe4406d
Merge pull request #1227 from LukeUsher/log-test-case
Update LOG_TEST_CASE to add a log entry instead of a dialog.
2018-05-31 11:16:37 +01:00
Luke Usher 04b618cf1d LOG_TEST_CASE now shows an identifable log entry rather than a popup message 2018-05-31 11:04:53 +01:00
Luke Usher f5c3cb5e1c Update cx_x86 submodule 2018-05-31 11:02:07 +01:00
Luke Usher 282d8ac043
Merge pull request #1226 from RadWolfie/fix-rc-encode-issue
Fix rc encode issue
2018-05-31 08:17:28 +01:00
jackchentwkh 2ad3f2bad6 fix typos of controller mapping dialog and virtual SB dialog.
correct control names accordingly.
2018-05-30 16:52:53 +08:00
RadWolfie fef067833e Preview change from Visual Studio directly
First update cause it relocate for some reason. (Might be cause of manual edit.)
2018-05-29 13:51:34 -05:00
RadWolfie 9ded390a87 Enforce rc files as UTF-8 encode 2018-05-29 13:41:03 -05:00
PatrickvL 2d81b79587
Merge pull request #1216 from PatrickvL/FixPushbufferResources
D3D : Fix pushbuffer based drawing
2018-05-29 19:37:05 +02:00
Luke Usher cc0ebf1cb4
Merge pull request #1221 from LukeUsher/master
Update Submodules
2018-05-29 18:10:32 +01:00
Luke Usher c1bc34eb80 Update Submodules 2018-05-29 18:03:19 +01:00
RadWolfie 00c90319ad
Merge pull request #1220 from Cxbx-Reloaded/revert-1218-master
Revert "Revert rc files to binary (changed in 02141bd1c6)"
2018-05-29 11:37:52 -05:00
RadWolfie 986760cb4c
Revert "Revert rc files to binary (changed in 02141bd1c6)" 2018-05-29 11:37:06 -05:00
PatrickvL e8353f565f D3D : Fix detection of unused registers in vertex shader recompiler - `declaredRegisters` wasn't zero-initialized, it's random contents lead to random vertex-shader conversion errors. 2018-05-29 17:13:40 +02:00
Luke Usher 601ba35c8b
Merge pull request #1218 from jagotu/master
Revert rc files to binary (changed in 02141bd1c6)
2018-05-29 16:04:07 +01:00
Jan Gocník 859d329c72 Revert rc files to binary (changed in 02141bd1c6)
The reason it was added in f0a409a1 is probably still valid.
2018-05-29 16:59:04 +02:00
Luke Usher 1684bf4565
Oops: Fix typo 2018-05-29 14:56:02 +01:00
PatrickvL a38da81d7f D3D : Fix pushbuffer based drawing by calling CxbxUpdateNativeD3DResources from there too. 2018-05-29 15:55:41 +02: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
Luke Usher 86a3f88cf6
Merge pull request #1200 from PatrickvL/d3d9_vertex_shader
More porting work towards Direct3D 9
2018-05-29 13:33:22 +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
RadWolfie 1e61144bb6
Merge pull request #1214 from RadWolfie/fix-rc-files
Fix rc files
2018-05-29 01:14:10 -05:00