|
102 Patches: Detours to the Rescue
C reference for DttR maintainers and modders.
|
#include <dttr_pcdogs.h>
Data Fields | |
| DTTR_PCDOGS_T_Symbol_Data_ID | SymbolID |
| DTTR_PCDOGS_T_Data_ID | DataID |
| DTTR_PCDOGS_T_Write_Policy(* | Policy )() |
| DTTR_Result(* | Status )() |
| bool(* | IsResolved )() |
| uintptr_t(* | Address )() |
| uint32_t *(* | Ptr )() |
| DTTR_Result(* | Read )(uint32_t *out_value) |
| DTTR_Result(* | Write )(uint32_t value) |
| DTTR_Result(* | UnsafeWrite )(uint32_t value) |
| Bypasses Policy(); still requires resolved, writable memory. | |
| DTTR_PCDOGS_T_Patch_Spec(* | PatchSpec )(bool required, void *new_value, void **out_original) |
Power-of-two texture height computed by D3D_CreateTextureSurface: rounds requested height up, clamps to 256, and mirrors width when device caps require square textures.
Definition at line 67727 of file dttr_pcdogs.h.
| uintptr_t(* DTTR_PCDOGS_D_D3D_CreateTextureSurface_GraphicsTexturePow2Height_type::Address) () |
Definition at line 67733 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Data_ID DTTR_PCDOGS_D_D3D_CreateTextureSurface_GraphicsTexturePow2Height_type::DataID |
Definition at line 67729 of file dttr_pcdogs.h.
| bool(* DTTR_PCDOGS_D_D3D_CreateTextureSurface_GraphicsTexturePow2Height_type::IsResolved) () |
Definition at line 67732 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Patch_Spec(* DTTR_PCDOGS_D_D3D_CreateTextureSurface_GraphicsTexturePow2Height_type::PatchSpec) (bool required, void *new_value, void **out_original) |
Definition at line 67742 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Write_Policy(* DTTR_PCDOGS_D_D3D_CreateTextureSurface_GraphicsTexturePow2Height_type::Policy) () |
Definition at line 67730 of file dttr_pcdogs.h.
| uint32_t *(* DTTR_PCDOGS_D_D3D_CreateTextureSurface_GraphicsTexturePow2Height_type::Ptr) () |
Definition at line 67734 of file dttr_pcdogs.h.
| DTTR_Result(* DTTR_PCDOGS_D_D3D_CreateTextureSurface_GraphicsTexturePow2Height_type::Read) (uint32_t *out_value) |
Definition at line 67735 of file dttr_pcdogs.h.
| DTTR_Result(* DTTR_PCDOGS_D_D3D_CreateTextureSurface_GraphicsTexturePow2Height_type::Status) () |
Definition at line 67731 of file dttr_pcdogs.h.
| DTTR_PCDOGS_T_Symbol_Data_ID DTTR_PCDOGS_D_D3D_CreateTextureSurface_GraphicsTexturePow2Height_type::SymbolID |
Definition at line 67728 of file dttr_pcdogs.h.
| DTTR_Result(* DTTR_PCDOGS_D_D3D_CreateTextureSurface_GraphicsTexturePow2Height_type::UnsafeWrite) (uint32_t value) |
Bypasses Policy(); still requires resolved, writable memory.
Definition at line 67740 of file dttr_pcdogs.h.
| DTTR_Result(* DTTR_PCDOGS_D_D3D_CreateTextureSurface_GraphicsTexturePow2Height_type::Write) (uint32_t value) |
Writer that enforces the symbol write policy. Returns DTTR_ERR_POLICY_MISMATCH unless Policy() is RAW_MEMORY.
Definition at line 67738 of file dttr_pcdogs.h.