Commit Graph

1671 Commits

Author SHA1 Message Date
jarupxx b49595e787 Added the D3DDevice_SetSoftDisplayFilter (5558-5659) 2017-02-10 17:35:27 +09:00
jarupxx d38b7fcb4b Fixed up the D3DDevice_SetFlickerFilter (5455-5659) 2017-02-10 17:31:36 +09:00
Luke Usher f42dc949f7 Fix a potential null pointer dereference 2017-02-10 08:21:00 +00:00
jarupxx 3b4ba1f322 Merge remote-tracking branch 'upstream/master' into fnc-3 2017-02-10 17:18:58 +09:00
PatrickvL 2602ef03e8 Merge branch 'master' of https://github.com/PatrickvL/Cxbx-Reloaded 2017-02-10 01:37:18 +01:00
PatrickvL c903daa5ff More porting of Dxbx code (X_D3DVSDT_NORMPACKED3 is now handled correctly) 2017-02-10 01:37:10 +01: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
jarupxx ed6647a17c Added the D3D_SetFence (5849) 2017-02-09 19:58:22 +09:00
jarupxx 9cdf338243 Added the D3DDevice_SetVertexShaderInput (5849) 2017-02-09 19:58:16 +09:00
jarupxx fc4fbd706e Added the D3DDevice_SetScreenSpaceOffset (5849) 2017-02-09 19:58:07 +09:00
jarupxx 9ba21c854b Fixed up D3DDevice_EndVisibilityTest (4627-5233) 2017-02-09 19:57:57 +09:00
jarupxx 070ed24c2c Fixup the D3D_SetFence (5558)
Crash Nitro Kart (XDK 5558) This seems to be using Early version of function. Fixed up to mutually pairs.
2017-02-09 19:57:47 +09:00
jarupxx 32f89c6f78 Added the D3DDevice_SetTile (3925) 2017-02-09 19:57:34 +09:00
jarupxx 53935a1e8b Added the SetRenderState_LineWidth (5558) 2017-02-09 19:57:21 +09:00
jarupxx ad68c3ca17 Added the SetVertexShaderInput (4361) 2017-02-09 19:57:03 +09:00
jarupxx d617ab37b8 Added the SetVertexDataColor fnction (4361)
Test Drive shows the intro.
2017-02-09 17:57:36 +09:00
jarupxx ff5a8cd01c Added the GetVertexShader (4361) 2017-02-09 17:57:36 +09:00
jarupxx eee73cedb8 Added the SetPixelShaderProgram (4361) 2017-02-09 17:57:35 +09:00
jarupxx 366ed9ed74 Added the SetRenderState_PSTextureModes (4361) 2017-02-09 17:57:35 +09:00
jarupxx 4c6e9114c2 Fixed up 2 functions a bit
XIII (XDK 5558) This seems to be using Early version of function. Fixed up to mutually pairs.
2017-02-09 17:57:35 +09:00
jarupxx 56404ed2d5 Added the SetPushBufferSize (4134-4627) 2017-02-09 17:57:35 +09:00
jarupxx 190f5d5ed6 Added the D3DDevice_SetScissors (4361-4432) 2017-02-09 17:57:35 +09:00
Luke Usher 2fa6ef861b Added an entry for D3DDevice_SetPixelShaderProgram in 4361.
This symbol was being missed in Burnout. OOVPA verified by checking bytes in XBE Explorer
2017-02-09 06:48:56 +00: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