Revert to PIXI4
This commit is contained in:
parent
35dcbf3276
commit
a7d6c0355c
21 changed files with 44598 additions and 88738 deletions
|
@ -1,7 +1,6 @@
|
|||
//=============================================================================
|
||||
// rpg_windows.js v1.6.2.2
|
||||
// rpg_windows.js v1.6.1
|
||||
//=============================================================================
|
||||
/*jshint esversion: 6 */
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Window_Base
|
||||
|
@ -285,6 +284,9 @@ Window_Base.prototype.convertEscapeCharacters = function (text) {
|
|||
text = text.replace(/\x1bV\[(\d+)\]/gi, function () {
|
||||
return $gameVariables.value(parseInt(arguments[1]));
|
||||
}.bind(this));
|
||||
text = text.replace(/\x1bSV\[(\d+)\]/gi, function () {
|
||||
return $gameMap.selfVariableValue(parseInt(arguments[1]));
|
||||
}.bind(this));
|
||||
text = text.replace(/\x1bN\[(\d+)\]/gi, function () {
|
||||
return this.actorName(parseInt(arguments[1]));
|
||||
}.bind(this));
|
||||
|
@ -1481,7 +1483,7 @@ Window_Help.prototype.constructor = Window_Help;
|
|||
|
||||
Window_Help.prototype.initialize = function (numLines) {
|
||||
var width = Graphics.boxWidth;
|
||||
var height = this.fittingHeight(numLines || 2);
|
||||
var height = this.fittingHeight(numLines || 3);
|
||||
Window_Base.prototype.initialize.call(this, 0, 0, width, height);
|
||||
this._text = '';
|
||||
};
|
||||
|
@ -3071,7 +3073,7 @@ Window_ShopNumber.prototype.setup = function (item, max, price) {
|
|||
this._price = price;
|
||||
this._number = 1;
|
||||
this.placeButtons();
|
||||
this.updateButtonsVisibility();
|
||||
this.updateButtonsVisiblity();
|
||||
this.refresh();
|
||||
};
|
||||
|
||||
|
@ -3119,7 +3121,7 @@ Window_ShopNumber.prototype.placeButtons = function () {
|
|||
}
|
||||
};
|
||||
|
||||
Window_ShopNumber.prototype.updateButtonsVisibility = function () {
|
||||
Window_ShopNumber.prototype.updateButtonsVisiblity = function () {
|
||||
if (TouchInput.date > Input.date) {
|
||||
this.showButtons();
|
||||
} else {
|
||||
|
@ -3127,8 +3129,6 @@ Window_ShopNumber.prototype.updateButtonsVisibility = function () {
|
|||
}
|
||||
};
|
||||
|
||||
Window_ShopNumber.prototype.updateButtonsVisiblity = Window_ShopNumber.prototype.updateButtonsVisibility;
|
||||
|
||||
Window_ShopNumber.prototype.showButtons = function () {
|
||||
for (var i = 0; i < this._buttons.length; i++) {
|
||||
this._buttons[i].visible = true;
|
||||
|
@ -3975,7 +3975,7 @@ Window_NumberInput.prototype.start = function () {
|
|||
this._number = this._number.clamp(0, Math.pow(10, this._maxDigits) - 1);
|
||||
this.updatePlacement();
|
||||
this.placeButtons();
|
||||
this.updateButtonsVisibility();
|
||||
this.updateButtonsVisiblity();
|
||||
this.createContents();
|
||||
this.refresh();
|
||||
this.open();
|
||||
|
@ -4057,7 +4057,7 @@ Window_NumberInput.prototype.placeButtons = function () {
|
|||
}
|
||||
};
|
||||
|
||||
Window_NumberInput.prototype.updateButtonsVisibility = function () {
|
||||
Window_NumberInput.prototype.updateButtonsVisiblity = function () {
|
||||
if (TouchInput.date > Input.date) {
|
||||
this.showButtons();
|
||||
} else {
|
||||
|
@ -4065,8 +4065,6 @@ Window_NumberInput.prototype.updateButtonsVisibility = function () {
|
|||
}
|
||||
};
|
||||
|
||||
Window_NumberInput.prototype.updateButtonsVisiblity = Window_NumberInput.prototype.updateButtonsVisibility;
|
||||
|
||||
Window_NumberInput.prototype.showButtons = function () {
|
||||
for (var i = 0; i < this._buttons.length; i++) {
|
||||
this._buttons[i].visible = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue