Skip to content

Commit

Permalink
Re-removed d3dx8tex.h from stdafx.h and added d3dx8math.h to FixFOV.cpp.
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-fadely committed Sep 2, 2015
1 parent f3a5ef2 commit f51d27f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 3 additions & 2 deletions SADXModLoader/FixFOV.cpp
@@ -1,14 +1,15 @@
#include "stdafx.h"

#include "include/d3d8types.h"
#include <d3dx8math.h> // for D3DX_PI

#include "include/d3d8types.h"
#include "SADXModLoader.h"

FunctionPointer(void, SetHorizontalFOV_BAMS, (int bams), 0x00402ED0);
FunctionPointer(int, GetHorizontalFOV_BAMS, (void), 0x00402F00);
FunctionPointer(void, SetClippingRelatedThing, (int bams), 0x007815C0);

DataPointer(D3DMATRIX, ProjectionMatrix, 0x03AAD0A0);
DataPointer(D3DMATRIX, ProjectionMatrix, 0x03AAD0A0);
DataPointer(float, ClippingRelated, 0x03D0F9E0);
DataPointer(int, HorizontalFOV_BAMS, 0x03AB98EC);
DataPointer(int, LastHorizontalFOV_BAMS, 0x03B2CBB4);
Expand Down
1 change: 0 additions & 1 deletion SADXModLoader/stdafx.h
Expand Up @@ -11,7 +11,6 @@
#include <windows.h>

// TODO: reference additional headers your program requires here
#include <d3dx8tex.h>
#include <algorithm>
#include <cstdint>
#include <cstdio>
Expand Down

0 comments on commit f51d27f

Please sign in to comment.