Skip to content

Commit 1c6caa4

Browse files
author
Josh Yelon
committed
Replaced HAVE_DX with HAVE_DX8 and HAVE_DX9
1 parent fca7f06 commit 1c6caa4

File tree

14 files changed

+436
-479
lines changed

14 files changed

+436
-479
lines changed

direct/src/directscripts/packpanda.nsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Section "${SMDIRECTORY}" SecCore
8787
SetOutPath $INSTDIR
8888
File "${PANDA}\LICENSE"
8989
SetOutPath $INSTDIR\bin
90-
File /r /x CVS /x *.pyc /x *.map /x *.pdb /x *.exe "${PANDA}\bin\*"
90+
File /r /x CVS /x *.pyc /x *.map /x *.pdb /x *.exe /x *.manifest "${PANDA}\bin\*"
9191
SetOutPath $INSTDIR\etc
9292
File /r "${PANDA}\etc\*"
9393
SetOutPath $INSTDIR\direct\src\directscripts

direct/src/ffi/jGenPyCode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
DoGenPyCode.directDir = DIRECT
7979
DoGenPyCode.extensionsDir = EXTENSIONS
8080
DoGenPyCode.interrogateLib = r'libdtoolconfig'
81-
DoGenPyCode.codeLibs = ['libpandaexpress','libpanda','libpandaphysics','libpandafx','libdirect','libpandaegg']
81+
DoGenPyCode.codeLibs = ['libpandaexpress','libpanda','libpandaphysics','libpandafx','libp3direct','libpandaegg']
8282
DoGenPyCode.etcPath = [os.path.join(PANDAC,"input")]
8383
DoGenPyCode.pythonSourcePath = [DIRECT]
8484
DoGenPyCode.native = 1

doc/doc/Config.pp.sample

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,13 @@
3232

3333
// Note the use of the Panda filename convention, with forward slashes
3434
// instead of backslashes, and /c/ instead of c:/ .
35-
#define DX_IPATH /c/DXSDK/include
36-
#define DX_LPATH /c/DXSDK/lib
35+
#define DX8_IPATH /c/DXSDK-OCT2004/include
36+
#define DX8_LPATH /c/DXSDK-OCT2004/lib
37+
#define DX9_IPATH /c/DXSDK-DEC2006/include
38+
#define DX9_LPATH /c/DXSDK-DEC2006/lib
3739

38-
// If you have some early version of the DirectX8 SDK installed, but
39-
// not the most recent one, you may need to turn off the DirectX build
40-
// altogether by uncommenting the following line. (Defining a
40+
// If for any reason you need to turn off either the DX8 or DX9 builds,
41+
// you can uncomment one of the following lines. (Defining a
4142
// variable to an empty string means setting it false.)
42-
//#define HAVE_DX
43+
//#define HAVE_DX8
44+
//#define HAVE_DX9

doc/doc/INSTALL-PP

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -251,13 +251,13 @@ indicate a variable is true by defining it to some nonempty string
251251
(e.g. "yes" or "1"), and false by defining it to nothing. For
252252
example:
253253

254-
#define HAVE_DX 1
254+
#define HAVE_DX8 1
255255

256256
Indicates you have the DirectX SDK installed, while
257257

258-
#define HAVE_DX
258+
#define HAVE_DX8
259259

260-
Indicates you do not. Do not be tempted to define HAVE_DX to no or 0;
260+
Indicates you do not. Do not be tempted to define HAVE_DX8 to no or 0;
261261
since these are both nonempty strings, they are considered to
262262
represent true! Also, don't try to use a pair of quotation marks to
263263
represent the empty string, since the quotation marks become part of
@@ -312,10 +312,15 @@ find useful are:
312312
header and library files, and the name of the VRPN libraries, if
313313
VRPN is installed on your system.
314314

315-
DX_IPATH / DX_LPATH / DX_LIBS - the full pathname to the DirectX 8.1
316-
SDK header and library files, if you have installed this SDK.
317-
(You must currently install this SDK in order to build DirectX
318-
support for Panda.)
315+
DX8_IPATH / DX8_LPATH / DX8_LIBS - the full pathname to the
316+
DirectX 8.1 SDK header and library files, if you have installed
317+
this SDK. (You must currently install this SDK in order to
318+
build DirectX8 support for Panda.)
319+
320+
DX9_IPATH / DX9_LPATH / DX9_LIBS - the full pathname to the
321+
DirectX 9 SDK header and library files, if you have installed
322+
this SDK. (You must currently install this SDK in order to
323+
build DirectX9 support for Panda.)
319324

320325
GL_IPATH / GL_LPATH / GL_LIBS - You get the idea. (Normally, OpenGL
321326
is installed in the standard system directories, so you can leave

0 commit comments

Comments
 (0)