This commit is contained in:
Aaron Robinson 2003-10-11 07:33:43 +00:00
parent f0b1ff5654
commit f90ea67c2c
3 changed files with 27 additions and 5 deletions

View File

@ -1,5 +1,5 @@
# Microsoft Developer Studio Project File - Name="Cxbe" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# Microsoft Developer Studio Generated Build File, Format Version 60000
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Console Application" 0x0103

View File

@ -55,16 +55,16 @@ typedef signed short sint16;
typedef signed long sint32;
// define this to trace intercepted function calls
#define _DEBUG_TRACE
//#define _DEBUG_TRACE
// define this to trace warnings
#define _DEBUG_WARNINGS
//#define _DEBUG_WARNINGS
// version information
#ifndef _DEBUG_TRACE
#define _CXBX_VERSION "0.7.9-Pre3"
#define _CXBX_VERSION "0.7.9-Pre4"
#else
#define _CXBX_VERSION "0.7.9-Pre3-Trace"
#define _CXBX_VERSION "0.7.9-Pre4-Trace"
#endif
// round dwValue to the nearest multiple of dwMult

View File

@ -2365,6 +2365,28 @@ HRESULT WINAPI XTL::EmuIDirect3DDevice8_SetVertexData2f
HRESULT hRet = S_OK;
D3DINLINE_VERTEX *pD3DInlineVertex = (D3DINLINE_VERTEX*)&g_pD3DIVBData[g_pD3DIVBInd*sizeof(D3DINLINE_VERTEX)];
switch(Register)
{
case 0: // D3DVSDE_POSITION
{
pD3DInlineVertex->x = a*640.0f;
pD3DInlineVertex->y = b*480.0f;
pD3DInlineVertex->z = 0.0f;
pD3DInlineVertex->rhw = 1.0f;
g_pD3DIVBInd++;
}
break;
case 4: // D3DVSDE_SPECULAR
{
// TODO: hehe
}
break;
}
EmuSwapFS(); // XBox FS
return hRet;