DxWrapper v1.0.990.18
elishacloud
released this
16 Jul 02:38
·
1382 commits
to master
since this release
- Auto Generate Build Number
- Update Readme file
- Update license files
- Simplify wraper modules to use macros
- Cleanup code for readability
- Reorganized files into respective folders
- Rename 'Compat::Log()' to 'LOG'
- Rename dgame.ini to Settings.cpp
- Added wrapper for dinput.dll, bcrypt.dll and cryptsp.dll
- Updated wrapper to load compatibility functions first
- Update to use jmpaddr rather than nullptr for all wrapper APIs
- Added PostMessage for SW_SHOWNORMAL in fullscreen.cpp
- Added short sleep when starting FullscreenThread
- Updated varable types in cfg, fullscreen and DSoundCtrl
- Remove unneeded 'try ... except' clauses in fullscreen
- Added InterlockedExchange for some shared varables to reduce the chances of threading issues
- Fixed issue where LeaveCriticalSection was not getting called
- Fixed issue with for loop to make sure it does not exceed the dtypeArraySize
- Created d3dx9.h dynamic library
- Made it so that system d3d8.dll is no longer loaded when d3d8to9 is enabled
- Updated d3d8to9 return value for CopyRects, CreateVertexShader, GetVertexShaderDeclaration and CreatePixelShader. Removed E_FAIL and E_NOTIMPL and replaced them with D3DERR_INVALIDCALL.
- Fixed d3d8to9 SetRenderState to call the correct D3DRENDERSTATETYPE when D3DRS_ZBIAS is used.
- Fixed d3d8to9 reference count and palette flag for Need For Speed III
- Updated d3d8to9 CreateVertexShader to fix missing textures in some games such as Hitman 2 Silent Assassin and Indiana Jones and the Emperor's Tomb.
- Fixed d3d8to9 CreatePixelShader to fix lighting issues with Star Wars Republic Commando and Silent Hill 2
- Added caching in d3d8to9 for EnumAdapterModes to fix an issue with WineD3D taking a very long time to start
- Added caching in d3d8to9 for the following classes: Direct3DSurface, Direct3DTexture, Direct3DVolumeTexture, Direct3DCubeTexture, Direct3DVolume, Direct3DVertexBuffer, Direct3DIndexBuffer and Direct3DSwapChain
- Updated d3d8to9 so that it dosen't delete the classes until Direct3D8Device is deleted
- Udated d3d8to9 reference counting by removing RefCount
- Update d3d8to9 the Lock() functions for Vertex and Index Buffers so that they ignore the D3DLOCK_DISCARD flag if the D3DUSAGE_WRITEONLY flag is not set. Fixes the missing texture issue with Raymond 3.
- Update d3d8to9 logging to match d3d8to9/master
- Updated d3d8to9 SetCurrentTexturePalette to use PC_NOCOLLAPSE to fix a crash in Need for Speed III
- Added d3d8to9 error checking for palette API calls to prevent crashes when the device does not support palettes