Please... Help me with this D3D Hook!
Yeah. I used the Warrock Stride/Verticie tutorial to create a d3d hook for warrock while using Azorbix's D3d Starter Kit 3.0b. I copy/Pasted his code into the places where I thought it was necessary. These errors came up.
It's like my d3d starter kit doesn't recognize the command GenerateTexture. Did anyone else have this problem?
BTW. Here is the code that I put in there.
[PHP]HRESULT CD3DManager::Initialize()
{
/*
initialize Resources such as textures
(managed and unmanaged [D3DPOOL]),
vertex buffers, and other D3D rendering resources
...
m_pD3Ddev->CreateTexture(..., ..., &m_pD3Dtexture);
*/
GenerateTexture(m_pD3Ddev, &playertex1, playercolor1);
GenerateTexture(m_pD3Ddev, &playertex2, playercolor2);
return S_OK;
}[/PHP]
Code:
Compiling... d3d8dev.cpp C:\Documents and Settings\Nukeist\Desktop\D3D_Starterkit_v3.0b\D3D8\d3d8dev.cpp(28) : error C2065: 'GenerateTexture' : undeclared identifier C:\Documents and Settings\Nukeist\Desktop\D3D_Starterkit_v3.0b\D3D8\d3d8dev.cpp(42) : warning C4551: function call missing argument list C:\Documents and Settings\Nukeist\Desktop\D3D_Starterkit_v3.0b\D3D8\d3d8dev.cpp(43) : warning C4551: function call missing argument list C:\Documents and Settings\Nukeist\Desktop\D3D_Starterkit_v3.0b\D3D8\d3d8dev.cpp(69) : warning C4551: function call missing argument list C:\Documents and Settings\Nukeist\Desktop\D3D_Starterkit_v3.0b\D3D8\d3d8dev.cpp(70) : warning C4551: function call missing argument list Error executing cl.exe. TatniumD3D.dll - 1 error(s), 4 warning(s)
BTW. Here is the code that I put in there.
[PHP]HRESULT CD3DManager::Initialize()
{
/*
initialize Resources such as textures
(managed and unmanaged [D3DPOOL]),
vertex buffers, and other D3D rendering resources
...
m_pD3Ddev->CreateTexture(..., ..., &m_pD3Dtexture);
*/
GenerateTexture(m_pD3Ddev, &playertex1, playercolor1);
GenerateTexture(m_pD3Ddev, &playertex2, playercolor2);
return S_OK;
}[/PHP]
