Shadowrun: Awakened 29 September 2011 - Build 871
SraConstants.h
Go to the documentation of this file.
00001 #ifndef __SRACONSTANTS_H
00002 #define __SRACONSTANTS_H
00003 
00004 #include "SraTypes.h"
00005 
00007 //This file was created as a complement to the SrConstants file
00008 //This file contains constant we define to support game mechanics
00009 //that extend, specialize, or simplify existing Shadowrun mechanics
00011 
00012 namespace SraLogic
00013 {
00014     //The number of real hours in an in-game day
00015     const float REAL_HOURS_PER_GAME_DAY = 6;
00016     const float REAL_HOURS_PER_GAME_HOUR = REAL_HOURS_PER_GAME_DAY/24.0f;
00017 
00018     //http://awakenedmmo.org/wiki/Healing
00019     //Physical boxes healed per day = (HEALING_RATE_MULTIPLIER*BodyRating)/HEALING_RATE_DIVISOR
00020     const int HEALING_PHYSICAL_MULTIPLIER = 2;
00021     const int HEALING_PHYSICAL_DIVISOR = 3;
00022 
00023     //Stun boxes healed per hour = ((Body+Will)/3) stun boxes healed every game hour
00024     const int HEALING_STUN_DIVISOR = 3;
00025 
00026     //Arbitrary assignments for modifiers given on Pg. 117 concerning perception
00027     //These are used as distances in meters to divide perception into nearby, not nearby, and far away
00028     const float DISTANCE_FOR_SOUND_NOT_IMMEDIATE_VICINITY = 20;
00029     const float DISTANCE_FOR_SOUND_FAR_AWAY = 20;
00030 
00031     //These are used as distances in meters to divide perception into nearby, not nearby, and far away
00032     const float DISTANCE_FOR_SIGHT_NOT_IMMEDIATE_VICINITY = 20;
00033     const float DISTANCE_FOR_SIGHT_FAR_AWAY = 20;
00034 }
00035 
00036 #endif

Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.

GNU Lesser General Public License 3 Sourceforge.net