sim_config.hpp File Reference

#include "util/config/util_config.hpp"
#include "util/type/util_type.hpp"

Go to the source code of this file.

Namespaces

namespace  se_core

Defines

#define SE_MAX_GT   4 * 1024
#define SE_MAX_GO   (512 * 1024)
#define SE_STEP_SHIFT   5

Enumerations

enum  DictonaryType {
  DE_DICTIONARY_TYPE, DE_COMPONENT_TYPE, DE_PROPERTY_TYPE, DE_ZONE,
  DE_THING_TYPE, DE_TAG, DE_SUBSTANCE, DE_MOVEMENT_MODE,
  DE_TERRAIN_STYLE, DE_SOUND_TYPE, DE_PHRASE_TYPE, DE_FIRST_USER_TYPE
}

Variables

const int MAX_GAME_TYPES = SE_MAX_GT
const int MAX_GAME_OBJECTS = SE_MAX_GO
const short TIMESTEP_INTERVAL_SHIFT = SE_STEP_SHIFT
const long TIMESTEP_INTERVAL = 1L << TIMESTEP_INTERVAL_SHIFT
const long TIMESTEPS_PER_SECOND = 1024L >> TIMESTEP_INTERVAL_SHIFT
const float COOR_STEP = COOR_RES / TIMESTEPS_PER_SECOND
const scale_t SCALE_STEP = SCALE_RES / TIMESTEPS_PER_SECOND


Define Documentation

#define SE_MAX_GO   (512 * 1024)
 

Definition at line 37 of file sim_config.hpp.

#define SE_MAX_GT   4 * 1024
 

Definition at line 32 of file sim_config.hpp.

#define SE_STEP_SHIFT   5
 

Definition at line 52 of file sim_config.hpp.


Enumeration Type Documentation

enum DictonaryType
 

Enumeration values:
DE_DICTIONARY_TYPE 
DE_COMPONENT_TYPE 
DE_PROPERTY_TYPE 
DE_ZONE 
DE_THING_TYPE 
DE_TAG 
DE_SUBSTANCE 
DE_MOVEMENT_MODE 
DE_TERRAIN_STYLE 
DE_SOUND_TYPE 
DE_PHRASE_TYPE 
DE_FIRST_USER_TYPE 

Definition at line 73 of file sim_config.hpp.


Variable Documentation

const float se_core::COOR_STEP = COOR_RES / TIMESTEPS_PER_SECOND
 

Definition at line 65 of file sim_config.hpp.

Referenced by se_core::DefaultTC::slide(), se_core::CoDefault::slide(), and se_core::StatComponent::walkSpeed().

const int se_core::MAX_GAME_OBJECTS = SE_MAX_GO
 

Definition at line 45 of file sim_config.hpp.

const int se_core::MAX_GAME_TYPES = SE_MAX_GT
 

Definition at line 44 of file sim_config.hpp.

const scale_t se_core::SCALE_STEP = SCALE_RES / TIMESTEPS_PER_SECOND
 

Definition at line 66 of file sim_config.hpp.

Referenced by se_core::Move::Move().

const long se_core::TIMESTEP_INTERVAL = 1L << TIMESTEP_INTERVAL_SHIFT
 

Definition at line 62 of file sim_config.hpp.

Referenced by se_core::PhysicsManager::step().

const short se_core::TIMESTEP_INTERVAL_SHIFT = SE_STEP_SHIFT
 

Definition at line 60 of file sim_config.hpp.

const long se_core::TIMESTEPS_PER_SECOND = 1024L >> TIMESTEP_INTERVAL_SHIFT
 

Definition at line 63 of file sim_config.hpp.


Home Page | SagaEngine trunk (updated nightly) reference generated Sun Dec 2 20:06:17 2007 by Doxygen version 1.3.9.1.

SourceForge.net Logo