Linux multi-monitor fullscreen support
[ryzomcore.git] / ryzom / client / src / r2 / r2_config.cpp
blob47f9d56ddbbaadafc808b8c11fa8f57e3b503a45
1 // Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
2 // Copyright (C) 2010 Winch Gate Property Limited
3 //
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU Affero General Public License as
6 // published by the Free Software Foundation, either version 3 of the
7 // License, or (at your option) any later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU Affero General Public License for more details.
14 // You should have received a copy of the GNU Affero General Public License
15 // along with this program. If not, see <http://www.gnu.org/licenses/>.
17 #include "stdpch.h"
18 #include "r2_config.h"
20 #ifdef DEBUG_NEW
21 #define new DEBUG_NEW
22 #endif
24 using namespace NLMISC;
26 namespace R2
29 CConfigVarRGBA CV_MapEntityHighlightColor("MapEntityHighlightColor", CRGBA(255, 255, 255, 127));
30 CConfigVarRGBA CV_MapEntitySelectColor("MapEntitySelectColor", CRGBA(255, 0, 0, 255));
31 CConfigVarRGBA CV_MapEntityFrozenColor("MapEntityFrozenColor", CRGBA(0, 255, 255, 80));
32 CConfigVarRGBA CV_MapEntityLockedColor("MapEntityLockedColor", CRGBA(127, 0, 200, 80));
33 CConfigVarRGBA CV_ArrayInstanceColor("ArrayInstanceColor", CRGBA(255, 255, 255, 127));
34 CConfigVarString CV_MapEntitySelectTexture("MapEntitySelectTexture", "r2_icon_select.tga");
35 CConfigVarString CV_MapEntityDefaultTexture("MapEntityDefaultTexture", "brick_default.tga");
36 CConfigVarString CV_MapEntityFarTexture("MapEntityFarTexture", "r2_icon_far.tga");
37 CConfigVarFloat CV_MapEntityFarArrowSize("MapEntityFarArrowSize", 10.f);
38 CConfigVarString CV_MapEntitySmallTexture("MapEntitySmallTexture", "r2_icon_map_entity_small.tga");
39 CConfigVarString CV_MapEntitySmallHighlightTexture("MapEntitySmallHighlightTexture", "r2_icon_map_entity_small_highlight.tga");
40 CConfigVarString CV_MapEntityOrientTexture("MapEntityOrientTexture", "r2_icon_map_entity_orient.tga");
41 CConfigVarFloat CV_MapEntityOrientOriginDist("MapEntityOrientOriginDist", 10.f);
42 CConfigVarFloat CV_MapEntityOrientBlendTimeInMs("MapEntityOrientBlendTimeInMs", 300.f);
43 CConfigVarFloat CV_MapEntityOrientOriginDistSmall("MapEntityOrientOriginDistSmall", 8.f);
44 CConfigVarFloat CV_MapEntityCloseDist("MapEntityCloseDist", 4.0f);
47 CConfigVarString CV_MapGlowStarTexture("MapGlowStarTexture", "r2_glow_star.tga");
48 CConfigVarFloat CV_MapGlowStarSize("MapGlowStarSize", 10.f);
49 CConfigVarFloat CV_MapGlowStarSpeed[2] =
51 CConfigVarFloat("MapGlowStarSpeed1", 0.50f),
52 CConfigVarFloat("MapGlowStarSpeed2", -0.60f)
55 CConfigVarFloat CV_FloatingShapeRefScale("FloatingShapeRefScale", 1.f);
56 CConfigVarFloat CV_RegionFadeTimeInMs("RegionFadeTimeInMs", 300.f);
58 CConfigVarRGBA CV_FocusedRegionColor("FocusedRegionColor", CRGBA(63, 127, 255, 100));
59 CConfigVarRGBA CV_SelectedRegionColor("SelectedRegionColor", CRGBA(192, 127, 64, 100));
60 CConfigVarRGBA CV_UnselectedRegionColor("UnselectedRegionColor", CRGBA(0, 0, 255, 80));
61 CConfigVarRGBA CV_FrozenRegionColor("FrozenRegionColor", CRGBA(0, 255, 255, 80));
62 CConfigVarRGBA CV_LockedRegionColor("LockedRegionColor", CRGBA(127, 0, 200, 80));
64 CConfigVarRGBA CV_FocusedInstanceColor("FocusedInstanceColor", CRGBA(200, 32, 64, 127));
65 CConfigVarRGBA CV_SelectedInstanceColor("SelectedInstanceColor", CRGBA(127, 127, 127));
66 CConfigVarRGBA CV_UnselectedInstanceColor("UnselectedInstanceColor", CRGBA(0, 0, 0));
67 CConfigVarRGBA CV_FrozenInstanceColor("FrozenInstanceColor", CRGBA(0, 255, 255, 80));
68 CConfigVarRGBA CV_LockedInstanceColor("LockedInstanceColor", CRGBA(127, 0, 200, 80));
70 CConfigVarSInt32 CV_MapAutoPanBorder("MapAutoPanBorder", 10);
71 CConfigVarSInt32 CV_MapAutoPanDeltaInMs("MapAutoPanDeltaInMs", 300);
72 CConfigVarSInt32 CV_MapAutoFastPanDeltaInMs("MapAutoPanFastDeltaInMs", 150);
73 CConfigVarSInt32 CV_MapAutoPanSpeedInPixels("MapAutoPanSpeedInPixels", 10);
74 CConfigVarSInt32 CV_MapAutoFastPanNumTicks("MapAutoFastPanNumTicks", 6);
76 CConfigVarString CV_FootStepMapTexture("FootStepMapTexture", "r2_map_foot_steps.tga");
77 CConfigVarString CV_FootStepDecalTexture("FootStepDecalTexture", "r2_foot_steps.tga");
78 CConfigVarFloat CV_FootStepMapWidth("FootStepMapWidth", 3.f);
79 CConfigVarFloat CV_FootStepDecalUScale("FootStepDecalUScale", 1.5f);
80 CConfigVarFloat CV_FootStepDecalWidth("FootStepDecalWidth", 0.15f);
81 CConfigVarString CV_WanderDecalTexture("WanderDecalTexture", "r2_wander.tga");
82 CConfigVarFloat CV_WanderDecalSize("WanderDecalSize", 0.55f);
83 CConfigVarRGBA CV_FootStepDecalSelectedColor("FootStepSelectedColor", CRGBA(255, 255, 255, 255));
84 CConfigVarRGBA CV_FootStepDecalHiddenColor("FootStepHiddenColor", CRGBA(0, 0, 255, 80));
85 CConfigVarRGBA CV_FootStepDecalFocusedColor("FootStepFocusedColor", CRGBA(255, 255, 255, 127));
86 CConfigVarRGBA CV_FootStepMapSelectedColor("FootStepMapSelectedColor", CRGBA(255, 255, 255, 255));
87 CConfigVarRGBA CV_FootStepMapHiddenColor("FootStepMapHiddenColor", CRGBA(0, 0, 255, 80));
88 CConfigVarRGBA CV_FootStepMapFocusedColor("FootStepMapFocusedColor", CRGBA(255, 255, 255, 127));
90 CConfigVarFloat CV_AutoGroupMaxDist("AutoGroupMaxDist", 5.f);
92 CConfigVarRGBA CV_InaccessiblePosColor0("InaccessiblePosColor0", CRGBA(255, 0, 0, 255));
93 CConfigVarRGBA CV_InaccessiblePosColor1("InaccessiblePosColor1", CRGBA(200, 217, 0, 255));
94 CConfigVarFloat CV_InaccessiblePosAnimDurationInMS("InaccessiblePosAnimDurationInMS", 500);
96 CConfigVarFloat CV_DecalTopBlendStartDist("DecalTopBlendStartDist", 3.f);
97 CConfigVarFloat CV_DecalBottomBlendStartDist("DecalBottomBlendStartDist", 1.f);
98 CConfigVarFloat CV_DecalBlendLength("DecalBlendLength", 1.5f);
100 CConfigVarString CV_MapEntityInvalidTexture("MapEntityInvalidTexture", "r2_icon_map_invalid.tga");
101 CConfigVarString CV_MapEntityInvalidTextureSmall("MapEntityInvalidTextureSmall", "r2_icon_map_invalid_small.tga");
105 } // R2