* 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.
* 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.
XDK 5558/5659 with Integrated Hotfixes use 5788 database.
Standard XDK 5659 still uses 5558 database.
Verified with
- [5558] NHL HITZ Pro 2004
- [5558 with Intergrated Hotfixes] XIII
- [5659] NFL Blitz Pro
- [5659 with Intergrated Hotfixes] Midway Arcade Treasures Paperboy
- [5788] Digimon Battle Chronicle
Like the NVNet device, it's implementation is currently just a forward to the existing code.
Still, this removes a dependency from EmuX86 on the NV2A device - from now on it's reached via the generic device framework.
Note that these intentionally make use of standard types rather than Windows/Cxbx specifics like xbaddr...
These classes are designed to be platform and device independent
Fixed
* CDirectSoundVoice_SetMixBins to use XREF_CMcpxVoiceClient_SetMixBins
Add CDirectSoundVoice_SetDistanceFactor 4361
Add CMcpxVoiceClient_SetMixBins 4039
Add IDirectSoundStream_SetRolloffCurve 4361
Add XFileCreateMediaObject 3911
Add XWaveFileCreateMediaObject 3911
Moved CMcpxAPU_SynchPlayback 5233 to 4831
Moved CMcpxStream_Pause_Ex 4721 to 4361
Moved CMcpxVoiceClient_GetVoiceProperties 5344 to 5028
Moved CMcpxVoiceClient_SetMixBins 5344 to 4134
Moved CDirectSoundVoice_GetVoiceProperties 5344 to 5028
Moved CDirectSoundVoice_Set3DVoiceData 5558 to 5455
Moved CDirectSoundVoice_SetRolloffCurve 4627 to 4361
Moved CDirectSoundBuffer_GetVoiceProperties 5344 to 5028
Moved CDirectSoundBuffer_Set3DVoiceData 5558 to 5455
Moved CDirectSoundBuffer_SetRolloffCurve 4627 to 4361
Moved CDirectSoundStream_GetVoiceProperties 5344 to 5028
Moved CDirectSoundStream_PauseEx 4721 to 4361
Moved CDirectSoundStream_Set3DVoiceData 5558 to 5455
Moved CDirectSoundStream_SetRolloffCurve 4627 to 4361
Moved CDirectSound_GetOutputLevels 4627 to 4361
Moved CDirectSound_SynchPlayback 5233 to 4831
Moved IDirectSoundBuffer_GetVoiceProperties 5344 to 5028
Moved IDirectSoundBuffer_Set3DVoiceData 5558 to 5455
Moved IDirectSoundBuffer_SetRolloffCurve 4627 to 4361
Moved IDirectSoundStream_GetVoiceProperties 5344 to 5028
Moved IDirectSoundStream_PauseEx 4721 to 5361
Moved IDirectSoundStream_Set3DVoiceData 5558 to 5455
Moved IDirectSound_GetOutputLevels 4627 to 4361
Moved IDirectSound_SynchPlayback 5233 to 4831
Moved CFullHRTFSource_GetCenterVolume 5558 to 5344
Moved WaveFormat_CreateXboxAdpcmFormat 4242 to 4039
Moved XAudioCreateAdpcmFormat 4242 to 4039
Moved XFileCreateMediaObject 5344 to 4361
Moved XFileCreateMediaObjectAsync 5344 to 4432
Moved XWaveFileCreateMediaObject 4627 to 4361
Moved XWaveFileCreateMediaObjectEx 5344 to 4361
Moved DSound_CMemoryManager_PoolAlloc 5455 to 4361
Fixed
* CDirectSound_EnableHeadphones (5233) need evaluate, most likely false detection.
Re-make CMcpxStream_Flush 4134 to 5344, plus 5455 to 5849
Re-make CMcpxStream_GetStatus 4721 to 5233
Re-make CMcpxBuffer_Play2 4039 to 4361
Re-make CMcpxBuffer_Stop2 4134 to 4361
Re-make CDirectSound_EnableHeadphones 4134
Add CDirectSoundVoice_SetDistanceFactor 4361
Add CDirectSoundVoice_SetDopplerFactor 4361
Add CDirectSound_GetSpeakerConfig 4242
Add CFullHrtfSource_GetHrtfFilterPair 4242
Add CHrtfSource_SetAlgorithm_FullHrtf 4242
Add CHrtfSource_SetAlgorithm_LightHrtf 4242
Add CLightHrtfSource_GetHrtfFilterPair 4242
Add CMcpxBuffer_GetStatus 4721
Add CMcpxBuffer_Pause 4721
Add CMcpxStream_GetStatus 4721
Add DirectSoundUseFullHRTF 4242
Add DirectSoundUseLightHRTF 4242
Moved CDirectSoundBuffer_Pause 4928 to 4721
Moved CDirectSoundBuffer_PauseEx 5344 to 4721
Moved CDirectSoundStream_Flush 5344 to 5028
Moved CDirectSoundStream_FlushEx 5233 to 5028
Moved CDirectSoundStream_PauseEx 5344 to 4721
Moved CMcpxBuffer_Pause_Ex 5344 to 4721
Moved CMcpxStream_Discontinuity 5344 to 4531
Moved CMcpxStream_Pause_Ex 5344 to 4721
Moved IDirectSoundBuffer_Pause 4928 to 4721
Moved IDirectSoundBuffer_PauseEx 5344 to 4721
Moved WaveFormat_CreateXboxAdpcmFormat 5344 to 4242
Moved XAudioCreateAdpcmFormat 5344 to 4242
Verified with
- [4039] Azurik PAL
- [4134] Double-S.T.E.A.L
- [4242] NFL Blitz 2002
- [4361] Flight Academy
- [4432] RedCard 2003
- [4531] NHL Hitz 2003
- [4627] MLB SlugFest 2003
- [4721] Terminator - Dawn of Fate
- [4831] Whacked!
- [4928] Drihoo
- [5028] Shikigami no Shiro Evolution
- [5120] N.U.D.E.@
- [5233] Evil Dead
- [5344] Gladius OXM Demo Disc 20
- [5455] Dinosaur Hunting
- [5558] NHL HITZ Pro 2004
- [5659] Midway Arcade Treasures - Paperboy
- [5788] Digimon Battle Chronicle
- [5849] Nickelodeon Tak 2