Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/ode/ode-0.9/drawstuff/src/internal.h @ 216

Last change on this file since 216 was 216, checked in by mathiask, 17 years ago

[Physik] add ode-0.9

File size: 2.2 KB
Line 
1/*************************************************************************
2 *                                                                       *
3 * Open Dynamics Engine, Copyright (C) 2001,2002 Russell L. Smith.       *
4 * All rights reserved.  Email: russ@q12.org   Web: www.q12.org          *
5 *                                                                       *
6 * This library is free software; you can redistribute it and/or         *
7 * modify it under the terms of EITHER:                                  *
8 *   (1) The GNU Lesser General Public License as published by the Free  *
9 *       Software Foundation; either version 2.1 of the License, or (at  *
10 *       your option) any later version. The text of the GNU Lesser      *
11 *       General Public License is included with this library in the     *
12 *       file LICENSE.TXT.                                               *
13 *   (2) The BSD-style license that is included with this library in     *
14 *       the file LICENSE-BSD.TXT.                                       *
15 *                                                                       *
16 * This library is distributed in the hope that it will be useful,       *
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of        *
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the files    *
19 * LICENSE.TXT and LICENSE-BSD.TXT for more details.                     *
20 *                                                                       *
21 *************************************************************************/
22
23/* functions supplied and used by the platform specific code */
24
25#ifndef __DS_INTERNAL_H
26#define __DS_INTERNAL_H
27
28#include "drawstuff/drawstuff.h"
29
30
31// supplied by platform specific code
32
33void dsPlatformSimLoop (int window_width, int window_height,
34                        dsFunctions *fn, int initial_pause);
35
36
37// used by platform specific code
38
39void dsStartGraphics (int width, int height, dsFunctions *fn);
40void dsDrawFrame (int width, int height, dsFunctions *fn, int pause);
41void dsStopGraphics();
42void dsMotion (int mode, int deltax, int deltay);
43
44int dsGetShadows();
45void dsSetShadows (int a);
46
47int dsGetTextures();
48void dsSetTextures (int a);
49
50#endif
Note: See TracBrowser for help on using the repository browser.