- initial commit of Genesis3D 1.6
[genesis3d.git] / G3D / Engine / Drivers / D3DDrv / SCENE.H
1 /****************************************************************************************/\r
2 /*  Scene.h                                                                             */\r
3 /*                                                                                      */\r
4 /*  Author: John Pollard                                                                */\r
5 /*  Description: Begin/EndScene code, etc                                               */\r
6 /*                                                                                      */\r
7 /*  The contents of this file are subject to the Genesis3D Public License               */\r
8 /*  Version 1.01 (the "License"); you may not use this file except in                   */\r
9 /*  compliance with the License. You may obtain a copy of the License at                */\r
10 /*  http://www.genesis3d.com                                                            */\r
11 /*                                                                                      */\r
12 /*  Software distributed under the License is distributed on an "AS IS"                 */\r
13 /*  basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.  See                */\r
14 /*  the License for the specific language governing rights and limitations              */\r
15 /*  under the License.                                                                  */\r
16 /*                                                                                      */\r
17 /*  The Original Code is Genesis3D, released March 25, 1999.                            */\r
18 /*  Genesis3D Version 1.1 released November 15, 1999                                 */\r
19 /*  Copyright (C) 1999 WildTangent, Inc. All Rights Reserved           */\r
20 /*                                                                                      */\r
21 /****************************************************************************************/\r
22 #ifndef SCENE_H\r
23 #define SCENE_H\r
24 \r
25 #include <Windows.H>\r
26 \r
27 #include "DCommon.h"\r
28 \r
29 #define RENDER_NONE                             0\r
30 #define RENDER_WORLD                    1\r
31 #define RENDER_MESHES                   2\r
32 #define RENDER_MODELS                   3\r
33 \r
34 extern int32 RenderMode;\r
35 \r
36 BOOL DRIVERCC BeginScene(BOOL Clear, BOOL ClearZ, RECT *WorldRect);\r
37 BOOL DRIVERCC EndScene(void);\r
38 BOOL DRIVERCC BeginWorld(void);\r
39 BOOL DRIVERCC EndWorld(void);\r
40 BOOL DRIVERCC BeginMeshes(void);\r
41 BOOL DRIVERCC EndMeshes(void);\r
42 BOOL DRIVERCC BeginModels(void);\r
43 BOOL DRIVERCC EndModels(void);\r
44 \r
45 #endif\r
46 \r