source: GTP/trunk/App/Demos/Geom/Shark3D/src/drv_d3d9.cpp @ 2236

Revision 2236, 2.7 KB checked in by gumbau, 18 years ago (diff)
Line 
1///////////////////////////////////////////////////////////////////////////////
2//
3//      ##  ######
4//       ######  ###
5//  ## ###############        Shark 3D Engine (www.shark3d.com)
6//   ########## # # #
7//    ########                Copyright (c) 1996-2006 Spinor GmbH.
8//   ######### # # #          All rights reserved.
9//  ##   ##########
10//      ##
11//
12///////////////////////////////////////////////////////////////////////////////
13
14//@cpp
15
16#include "drv_d3d9.h"
17#include "drv_d3d9_eng.h"
18#include "drv_d3d9_module.h"
19#include "comp/core/comp_env.h"
20#include "comp/util/comp_util_givensuppl.h"
21#include "util/snk/util_snk_extract.h"
22
23#ifdef S3D_GENERAL_DEBUG
24#define CLODD3D9_LIBDIR "..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\shark3d\\shark3d\\bin\\win32_vc7x1\\debug\\"
25#else
26#define CLODD3D9_LIBDIR "..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\shark3d\\shark3d\\bin\\win32_vc7x1\\release\\"
27#endif
28
29#pragma comment(lib, CLODD3D9_LIBDIR "shark3d_sys.lib")
30#pragma comment(lib, CLODD3D9_LIBDIR "shark3d_util.lib")
31#pragma comment(lib, CLODD3D9_LIBDIR "shark3d_comp.lib")
32#pragma comment(lib, CLODD3D9_LIBDIR "shark3d_kit_core.lib")
33#pragma comment(lib, CLODD3D9_LIBDIR "shark3d_eng_interf.lib")
34#pragma comment(lib, CLODD3D9_LIBDIR "shark3d_eng_util.lib")
35#pragma comment(lib, CLODD3D9_LIBDIR "shark3d_kit_engutil.lib")
36#pragma comment(lib, CLODD3D9_LIBDIR "shark3d_drv_util.lib")
37#pragma comment(lib, CLODD3D9_LIBDIR "shark3d_drv_interf.lib")
38#pragma comment(lib, CLODD3D9_LIBDIR "shark3d_lib_stream.lib")
39#pragma comment(lib, CLODD3D9_LIBDIR "shark3d_drv_interf_win32.lib")
40#pragma comment(lib, CLODD3D9_LIBDIR "shark3d_tool_uiutil.lib")
41
42///////////////////////////////////////////////////////////////////////////////
43
44s3d_CCompSupplPtr s3d_DrvD3d9CompSupplCreate()
45{
46    return S3D_SYS_NEW s3d_CDrvD3d9ModuleSuppl();
47}
48
49s3d_CDrvGfxEngPtr s3d_DrvD3d9GfxEngCreate(
50        s3d_CUtilMsgHandler *MsgHandler, s3d_CUtilStr_cr Info,
51        bool Bare, s3d_CCompSuppl *CompSuppl,
52        s3d_CUtilAtomMgr *AtomMgr, s3d_CUtilMemPool *MemPool,
53        s3d_CUtilStorageMgr *StorageMgr, s3d_CCompResMgr *ResMgr,
54        s3d_CCompSuppl *UnivProgSuppl,
55        s3d_CCompSuppl *UnivProgGivenSuppl,
56        s3d_CUtilSnkChunk *DefaultOutParam)
57{
58    return S3D_SYS_NEW s3d_CDrvD3d9GfxEngCLOD(
59            MsgHandler, Info, Bare,
60            CompSuppl, AtomMgr, MemPool, StorageMgr, ResMgr,
61            UnivProgSuppl, UnivProgGivenSuppl, DefaultOutParam);
62}
63
64///////////////////////////////////////////////////////////////////////////////
65
66S3D_COMP_MODULE_ENTRANCE_IMPL_STD(
67        s3d_ModuleEntrance_drv_d3d9,
68        s3d_CDrvD3d9ModuleCover)
69
70///////////////////////////////////////////////////////////////////////////////
Note: See TracBrowser for help on using the repository browser.