⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 oasisconfiguration.h

📁 使用stl技术,(还没看,是听说的)
💻 H
字号:
/******************************************************************************

 * This source file is part of Bad Camel Gaming

 * Copyright (C) 2003  Zephie Greyvenstein

 * See Readme.html for acknowledgements

 *

 * This library is free software; you can redistribute it and/or

 * modify it under the terms of the GNU Lesser General Public

 * License as published by the Free Software Foundation; either

 * version 2.1 of the License, or (at your option) any later version.

 *

 * This library is distributed in the hope that it will be useful,

 * but WITHOUT ANY WARRANTY; without even the implied warranty of

 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU

 * Lesser General Public License for more details.

 *

 * You should have received a copy of the GNU Lesser General Public

 * License along with this library; if not, write to the Free Software

 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

 *****************************************************************************/



/******************************************************************************

 * FILENAME    : oasisConfiguration.h

 * DESCRIPTION : Sets up compile time settings

 * AUTHOR      : Zephie Greyvenstein

 *****************************************************************************/



/// Avoid double inclusion

#ifndef __CONFIGURATION_H__

#define __CONFIGURATION_H__



/** Use the profiler.

    @remarks

    This is the graphical profiler for realtime profiling and will only be used

    if the graphics system is started

*/

#define USE_PROFILER                               0



/// Use double precision

#define USE_DOUBLE_PRECISION                       0



/// Input system key limit

#define INPUT_KEY_LIMIT                          256



/// Console system speed

#define CONSOLE_SPEED                              3

/// Console max lines

#define CONSOLE_MAX_LINES                         60

/// Consle text height

#define CONSOLE_TEXT_HEIGHT                       15



/// Object system pool size

#define POOL_DEFAULT_SIZE                         10

/// Object pool increase amount

#define POOL_INCREASE_AMOUNT                      50

/// Object system pool maximum

#define POOL_MAX_SIZE                          65535



/// Mixer mix rate

#define MIXER_MIX_RATE                         22050

/// Mixer syncing

#define MIXER_MIX_SYNC                             0

/// Mixer default master volume 

#define MIXER_DEFAULT_MASTERVOLUME                 1



/// Sound default volume

#define SOUND_DEFAULT_VOLUME                       1

/// Sound default looping

#define SOUND_DEFAULT_LOOPING                      1

/// Sound default min attenuation     

#define SOUND_DEFAULT_ATTMIN                       4

/// Sound default max attenuation

#define SOUND_DEFAULT_ATTMAX                    1000



/// Physics default gravity     

#define PHYSICS_DEFAULT_GRAVITY                -0.98

/// Physics default step size

#define PHYSICS_DEFAULT_STEPSIZE                0.01

/// Physics default ERP

#define PHYSICS_DEFAULT_ERP                      0.2 

/// Physics default CFM

#define PHYSICS_DEFAULT_CFM                  0.00001

/// Physics linear disable threshold

#define PHYSICS_THRESHOLD_LINEAR                 1.0

/// Physics angular disable threshold

#define PHYSICS_THRESHOLD_ANGULAR                1.0

/// Physics timer threshold for disabling

#define PHYSICS_THRESHOLD_TIMER                  5.0

/// The space collision to use

///    0  =  Simple

///    1  =  Hash

#define PHYSICS_SPACE_HASH                         0

/// Physics maximum contact points per collision

#define PHYSICS_MAX_CONTACTS                       3

/// Physics stepfast ratio

#define PHYSICS_STEPFAST_RATIO                 10000   

/// Physics stepfast complexity

#define PHYSICS_STEPFAST_ITERATIONS               10 



#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -