76 lines
No EOL
2.4 KiB
JavaScript
76 lines
No EOL
2.4 KiB
JavaScript
ConfigWindow._configureConfigItem = function(groupArray) {
|
|
groupArray.appendObject(ConfigItem.MusicPlay);
|
|
groupArray.appendObject(ConfigItem.SoundEffect);
|
|
if (DataConfig.getVoiceCategoryName() !== '') {
|
|
groupArray.appendObject(ConfigItem.Voice);
|
|
}
|
|
if (DataConfig.isMotionGraphicsEnabled()) {
|
|
groupArray.appendObject(ConfigItem.RealBattle);
|
|
/*if (DataConfig.isHighResolution()) {
|
|
groupArray.appendObject(ConfigItem.RealBattleScaling);
|
|
}*/
|
|
}
|
|
groupArray.appendObject(ConfigItem.AutoCursor);
|
|
groupArray.appendObject(ConfigItem.AutoTurnEnd);
|
|
|
|
groupArray.appendObject(ConfigItem.AutoTurnSkip);
|
|
groupArray.appendObject(ConfigItem.MapGrid);
|
|
groupArray.appendObject(ConfigItem.UnitSpeed);
|
|
groupArray.appendObject(ConfigItem.MessageSpeed);
|
|
//groupArray.appendObject(ConfigItem.ScrollSpeed);
|
|
//groupArray.appendObject(ConfigItem.AutoChokyo);
|
|
/*if (this._isVisible(CommandLayoutType.MAPCOMMAND, CommandActionType.LOAD)) {
|
|
groupArray.appendObject(ConfigItem.LoadCommand);
|
|
}*/
|
|
//groupArray.appendObject(ConfigItem.MouseOperation);
|
|
groupArray.appendObject(ConfigItem.MouseCursorTracking);
|
|
};
|
|
|
|
|
|
ConfigItem.AutoChokyo = defineObject(BaseConfigtItem,
|
|
{
|
|
selectFlag: function(index) {
|
|
root.getMetaSession().getVariableTable(4).setVariable(1, index);
|
|
},
|
|
|
|
getFlagValue: function() {
|
|
return root.getMetaSession().getVariableTable(4).getVariable(1);
|
|
},
|
|
|
|
getConfigItemTitle: function() {
|
|
return '調教を手動で行う';
|
|
},
|
|
|
|
getConfigItemDescription: function() {
|
|
return 'ヤリ部屋で山賊の操作を手動にします';
|
|
}
|
|
}
|
|
);
|
|
|
|
EnvironmentControl.isMouseOperation = function() {
|
|
if (root.getMetaSession().getDefaultEnvironmentValue(11) !== 0) {
|
|
root.getMetaSession().setDefaultEnvironmentValue(11, 0);
|
|
}
|
|
return true;
|
|
//return root.getMetaSession().getDefaultEnvironmentValue(11) === 0;
|
|
};
|
|
|
|
EnvironmentControl.isLoadCommand = function() {
|
|
return true;
|
|
//return root.getMetaSession().getDefaultEnvironmentValue(9) === 0;
|
|
};
|
|
|
|
EnvironmentControl.isRealBattleScaling = function() {
|
|
return true;
|
|
//return root.getMetaSession().getDefaultEnvironmentValue(14) === 0;
|
|
};
|
|
|
|
EnvironmentControl.getScrollSpeedType = function() {
|
|
return speedType = SpeedType.HIGH;
|
|
};
|
|
|
|
function changeDifficulty(index) {
|
|
var d = root.getBaseData().getDifficultyList().getDataFromId(index);
|
|
root.log(d.getName());
|
|
root.getMetaSession().setDifficulty(d);
|
|
}; |