Commit Graph

1608 Commits

Author SHA1 Message Date
PatrickvL b3fca84bf5 Merge pull request #163 from jarupxx/fnc-4
Added DSound OOVPAs
2017-02-13 12:22:59 +01:00
jarupxx 856b0cc987 Added the DirectSoundBuffer::SetAllParameters functions (5849) 2017-02-11 21:27:43 +09:00
jarupxx 9d3c821795 Added the SetI3DL2Source functions (5849) 2017-02-11 21:13:28 +09:00
jarupxx 06c5051779 Added the SetMode functions (5788-5849) 2017-02-11 20:33:22 +09:00
jarupxx 2e439eec35 Added the SetEG functions (5849) 2017-02-11 20:09:26 +09:00
jarupxx 45b1546d33 Added the SetFilter functions (5558-5849) 2017-02-11 19:58:49 +09:00
jarupxx 4becbc1a26 Added the SetAllParameters (5558-5849) 2017-02-11 19:39:34 +09:00
jarupxx d54e69e38d Added the SetDistanceFactor (5849) 2017-02-11 18:55:41 +09:00
jarupxx 0a2d60eb48 Added the IDirectSound8_AddRef (5788-5849) 2017-02-11 18:55:00 +09:00
jarupxx 4e5040430c Merge remote-tracking branch 'upstream/master' into fnc-4 2017-02-10 08:22:12 +09:00
PatrickvL 24c1c9842b Merge pull request #161 from PatrickvL/master
Updated patterns documentation, and some code cleanup
2017-02-09 17:29:58 +01:00
PatrickvL 060a367b6f Reconstructed the Dxbx-derived pattern files
Also, take a look at the CSV and JSON formatted D3D files - does anyone
want a dump of all Dxbx patterns in one or both of those formats?
2017-02-09 17:24:45 +01:00
PatrickvL fef5c793b3 Constantified opcodes 2017-02-09 15:43:05 +01:00
PatrickvL 0a0d9f569a Reordering and renaming for cleaner code 2017-02-09 15:41:45 +01:00
PatrickvL 3296fc9b2f Merge remote-tracking branch 'refs/remotes/Cxbx-Reloaded/master' 2017-02-09 15:06:45 +01:00
PatrickvL 1d6c8006fc Merge pull request #160 from PatrickvL/master
Preparations for storing XREF's above 255
2017-02-09 15:05:05 +01:00
PatrickvL 751f41b02e Merge remote-tracking branch 'refs/remotes/Cxbx-Reloaded/master' 2017-02-09 15:03:26 +01:00
PatrickvL 16d27cb24c XRef OOVPA entries are now stored using a macro
This macro swaps it's arguments and stores the Offset in the uint8 field
and XRef in the uint16 field. This way, XRef ID's can grow above the
current limit of 255.
2017-02-09 15:03:24 +01:00
PatrickvL 6923f0dfee Merge remote-tracking branch 'refs/remotes/origin/OOVPA_simplification' 2017-02-09 14:28:30 +01:00
PatrickvL 668a93e8e5 Merge pull request #159 from PatrickvL/OOVPA_simplification
Oovpa simplification
2017-02-09 14:23:36 +01:00
PatrickvL 198ba5891f Merge pull request #158 from PatrickvL/master
VertexBuffer refactorings, based on Dxbx
2017-02-09 14:22:24 +01:00
PatrickvL 8018f9ea00 Removed small-large distinction in OOVPA declarations 2017-02-09 14:06:03 +01:00
PatrickvL ab487cd788 Merge remote-tracking branch 'refs/remotes/Cxbx-Reloaded/master' 2017-02-09 13:26:22 +01:00
jarupxx 745b361324 Added the IDirectSound8_AddRef (5558) 2017-02-09 20:01:13 +09:00
jarupxx 9b8f30f07b Added the SetEG functions (5558) 2017-02-09 20:00:43 +09:00
jarupxx e3731e27a1 Added the SetVolume (4361-4627) 2017-02-09 20:00:29 +09:00
jarupxx 2fd45ca204 Added the CMcpxBuffer_Play xref (4361-4627)
Added correctly detect for IDirectSoundBuffer_PlayEx. A function with the same name has already been registered.
It's called by Dxbx ?Play@CMcpxBuffer@DirectSound@@QAEJK@Z. I added function is ?Play@CMcpxBuffer@DirectSound@@QAEJ_JK@Z
2017-02-09 19:59:45 +09:00
PatrickvL 224526b709 Removed trailing B's and C's from a few OOVPA's
Also updated registrations
2017-02-09 19:59:37 +09:00
PatrickvL 657ab555d6 Rrenamed X_D3DDevice_ prefix to D3DDevice_
For those, registration is now done via OOVPA_TABLE_ENTRY instead of
OOVPA_TABLE_PATCH
2017-02-09 19:59:37 +09:00
PatrickvL edc7da976d Renamed IDirect3D_ prefix to D3D_ 2017-02-09 19:59:37 +09:00
PatrickvL 5e079bb2ac Revert "Fixed compiler warning"
This reverts commit 904ae4f940.
2017-02-09 19:59:37 +09:00
PatrickvL b8c38ddeae Fixed compiler warning 2017-02-09 19:59:37 +09:00
PatrickvL 40fffb278e Aliassed D3DTexture_LockRect better
D3DTexture_LockRect version 5849 already appeared in 5788, which is
identical to 5233 (the version in between, 5558, is different, by one
OV-pair, so I kept that).

PS: I found this purely by accident, when taking a quick look at jarupxx
past few commits, of which 2c6dfd5b stood out because of the "Removed"
description. I fear more of these little mistakes might have slipped in
with that batch...
2017-02-09 19:59:37 +09:00
PatrickvL 843400b54f Redid it, works 2017-02-08 20:58:51 +01:00
PatrickvL 84be4bb04f Vertex conversion refactoring 2017-02-08 17:55:18 +01:00
PatrickvL 9a470a7c5d Applied X_D3DVSDT constants 2017-02-08 17:24:17 +01:00
Luke Usher 1dd154b648 Merge pull request #154 from LukeUsher/Fix_null_pointer_dereference_on_pExpandedTexture
Fix a potential null pointer reference...
2017-02-08 10:26:35 +00:00
Luke Usher bf516aaf46 Fix a potential null pointer reference when D3DResource_Register is called on a palleted texture before a pallete has been loaded.
This was hit by Puyo Pop Fever.
2017-02-08 10:24:47 +00:00
PatrickvL 504d4adf5c Add vertext shader constants 2017-02-08 01:35:44 +01:00
PatrickvL 3a306bfa76 Fix compiler warning 2017-02-08 01:35:12 +01:00
PatrickvL 8e4dd55d53 Removed unused EmuD3DInit arguments 2017-02-07 23:29:13 +01:00
PatrickvL 0aac001ec2 Small D3D fix 2017-02-07 17:43:54 +01:00
PatrickvL 809d9cdd7e Prevent placing EmuXRefFailure patches on DISABLED oovpa registrations 2017-02-07 17:28:06 +01:00
PatrickvL 656bed2660 Oops, disabled OOVPA registrations shouldn't reference the EmuPatch 2017-02-07 17:08:44 +01:00
PatrickvL f450ed5ebe Oops, calloc requires a num-argument 2017-02-07 17:08:19 +01:00
PatrickvL 4729a6f415 Merge remote-tracking branch 'refs/remotes/Cxbx-Reloaded/master' 2017-02-07 16:59:00 +01:00
PatrickvL 4b1282d021 Small cleanup 2017-02-07 16:58:58 +01:00
PatrickvL b40b9fbcbb Use calloc instead of malloc+clear 2017-02-07 16:58:31 +01:00
PatrickvL c78f5b4af6 Clear memory allocations to prevent side-effects on random contents 2017-02-07 16:57:03 +01:00
PatrickvL 7d683aa37e Disabled D3D_AllocContiguousMemory patch as it just calls MmAllocateContiguousMemory 2017-02-07 16:49:56 +01:00