mirror of
https://github.com/glest/glest-source.git
synced 2025-08-12 19:33:59 +02:00
data is ready for rotation feature
some little hotkey changes
This commit is contained in:
@@ -58,7 +58,7 @@ GameCamera::GameCamera() : pos(0.f, defaultHeight, 0.f),
|
||||
|
||||
maxRenderDistance = Config::getInstance().getFloat("RenderDistanceMax","64");
|
||||
maxHeight = Config::getInstance().getFloat("CameraMaxDistance","20");
|
||||
minHeight = Config::getInstance().getFloat("CameraMinDistance","8");
|
||||
minHeight = Config::getInstance().getFloat("CameraMinDistance","7");
|
||||
maxCameraDist = maxHeight;
|
||||
minCameraDist = minHeight;
|
||||
minVAng = -Config::getInstance().getFloat("CameraMaxYaw","77.5");
|
||||
|
@@ -321,7 +321,7 @@ void Gui::hotKey(char key){
|
||||
|
||||
//SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s] key = [%c]\n",__FILE__,__FUNCTION__,key);
|
||||
|
||||
if(key==' '){
|
||||
if(key=='G'){
|
||||
centerCameraOnSelection();
|
||||
}
|
||||
else if(key=='I'){
|
||||
@@ -337,9 +337,6 @@ void Gui::hotKey(char key){
|
||||
++selectedBuildingFacing;
|
||||
}
|
||||
}
|
||||
else {
|
||||
selectInterestingUnit(iutProducer);
|
||||
}
|
||||
}
|
||||
else if(key=='D'){
|
||||
selectInterestingUnit(iutDamaged);
|
||||
|
@@ -84,8 +84,8 @@ MenuStateCustomGame::MenuStateCustomGame(Program *program, MainMenu *mainMenu, b
|
||||
// @350 ? 300 ?
|
||||
labelFogOfWar.init(350, 290, 100);
|
||||
listBoxFogOfWar.init(350, 260, 100);
|
||||
listBoxFogOfWar.pushBackItem(lang.get("On"));
|
||||
listBoxFogOfWar.pushBackItem(lang.get("Off"));
|
||||
listBoxFogOfWar.pushBackItem(lang.get("Yes"));
|
||||
listBoxFogOfWar.pushBackItem(lang.get("No"));
|
||||
listBoxFogOfWar.setSelectedItemIndex(0);
|
||||
|
||||
//tileset listBox
|
||||
|
Reference in New Issue
Block a user