berib.blogg.se

Cxbx reloaded emud3d
Cxbx reloaded emud3d







  1. #Cxbx reloaded emud3d software
  2. #Cxbx reloaded emud3d code
  3. #Cxbx reloaded emud3d license

This generally occurs when a multitexture device requires that all palettized textures simultaneously enabled also share the same palette. " Ĭase D3DERR_CONFLICTINGTEXTUREPALETTE: return "The current textures cannot be used simultaneously. " Ĭase D3DERR_CONFLICTINGTEXTUREFILTER: return "The current texture filters cannot be used together. (A minor version denotes a secondary release, such as DirectX 6.1.) " Ĭase D3DERR_COLORKEYATTACHED: return "The application attempted to create a texture with a surface that uses a color key for transparency. Get the latest version of the component run time from Microsoft. (A major version denotes a primary release, such as DirectX 6.0.) " Ĭase D3DERR_BADMINORVERSION: return "The service that you requested is available in this major version of DirectX, but not in this minor version. " Ĭase D3DERR_BADMAJORVERSION: return "The service that you requested is unavailable in this major version of DirectX. case D3DERR_OUTOFVIDEOMEMORY: return "Out of Video Memory" // duplicate of DDERR_OUTOFVIDEOMEMORYĬase D3D_OK: return "No error occurred. TODO : For D3D9, Use DXGetErrorDescription9(hResult) (requires another DLL though)Ĭase D3DERR_INVALIDCALL: return "Invalid Call " Ĭase D3DERR_NOTAVAILABLE: return "Not Available " TODO: This should be a D3DDevice structureĬonst char * CxbxGetErrorDescription(HRESULT hResult) Static XB_#name#_t XB_#name = (XB_#name#_t)GetXboxFunctionPointer(#name) Typedef ret(conv *XB_#name#_t)arguments \ # define XB_trampoline( ret, conv, name, arguments) \ Declares an unpatched Xbox function trampoline, callable by name (with a 'XB_' prefix attached) c_str(), message, hRet, D3DErrorString(hRet)) \ĭbgPrintf( "%s : %s D3D error (0x%.08X: %s) \n ", _func_, message, hRet, D3DErrorString(hRet)) \ # define DEBUG_D3DRESULT( hRet, message) \ XTL::IDirect3DDevice8 **ppReturnedDeviceInterface XTL::D3DPRESENT_PARAMETERS HostPresentationParameters XTL::X_D3DPRESENT_PARAMETERS *pXboxPresentationParameters information passed to the create device proxy thread Static HMONITOR g_hMonitor = NULL // Handle to DirectDraw monitor Static void UpdateCurrentMSpFAndFPS() // Used for benchmarking/fps count Static void EmuAdjustPower2(UINT *dwWidth, UINT *dwHeight) Static inline void EmuVerifyResourceIsRegistered(XTL::X_D3DResource *pResource, DWORD dwSize) Static DWORD WINAPI EmuUpdateTickCount(LPVOID) Static LRESULT WINAPI EmuMsgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) Static DWORD WINAPI EmuCreateDeviceProxy(LPVOID) Static DWORD WINAPI EmuRenderWindow(LPVOID) Static BOOL WINAPI EmuEnumDisplayDevices(GUID FAR *lpGUID, LPSTR lpDriverDescription, LPSTR lpDriverName, LPVOID lpContext, HMONITOR hm) XTL::X_PixelShader* g_D3DActivePixelShader = nullptr īOOL g_bHackUpdateSoftwareOverlay = FALSE ĭWORD g_CurrentFillMode = XTL::D3DFILL_SOLID // Used to backup/restore the fill mode when WireFrame is enabled XTL::LPDIRECTDRAWCLIPPER g_pDDClipper = nullptr // DirectDraw7 ClipperĭWORD g_CurrentXboxVertexShaderHandle = 0 XTL::LPDIRECTDRAWSURFACE7 g_pDDSPrimary = NULL // DirectDraw7 Primary Surface XTL::LPDIRECT3DDEVICE8 g_pD3DDevice8 = NULL // Direct3D8 Device HWND g_hEmuWindow = NULL // rendering window This doesn't work : #include // See DXGetErrorString8A below Using namespace std::literals::chrono_literals Allow use of time duration literals (making 16ms, etc possible) # include "HLEIntercept.h " // for bLLE_GPU # include "VMManager.h " // for g_VMManager

#Cxbx reloaded emud3d software

* If not, write to the Free Software Foundation, Inc., * along with this program see the file COPYING.

#Cxbx reloaded emud3d license

* You should have recieved a copy of the GNU General Public License

cxbx reloaded emud3d

* GNU General Public License for more details. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * but WITHOUT ANY WARRANTY without even the implied warranty of * This program is distributed in the hope that it will be useful, * version 2 of the license, or (at your option) any later version. * License as published by the Free Software Foundation either * and/or modify them under the terms of the GNU General Public * Cxbx and Cxbe are free software you can redistribute them * This file is part of the Cxbx project.

#Cxbx reloaded emud3d code

PVS-Studio Static Code Analyzer for C, C++ and C#: This is an open source non-commercial project.









Cxbx reloaded emud3d