Rename www to www.rus
This commit is contained in:
parent
8ea7a858d0
commit
7bf44fa645
1878 changed files with 395385 additions and 395385 deletions
38
www.rus/js/plugins/Fullscreen.js
Normal file
38
www.rus/js/plugins/Fullscreen.js
Normal file
|
@ -0,0 +1,38 @@
|
|||
//=============================================================================
|
||||
// Fullscreen.js
|
||||
//=============================================================================
|
||||
|
||||
/*:
|
||||
* @plugindesc Starts the game in fullscreen
|
||||
* @author Christian Schicho
|
||||
*
|
||||
* @help
|
||||
*/
|
||||
|
||||
; (function () {
|
||||
function extend(obj, name, func) {
|
||||
var orig = obj.prototype[name]
|
||||
obj.prototype[name] = function () {
|
||||
orig.call(this)
|
||||
func.call(this)
|
||||
}
|
||||
}
|
||||
|
||||
extend(Scene_Boot, 'start', function () {
|
||||
Graphics._switchFullScreen();
|
||||
})
|
||||
|
||||
|
||||
var _Scene_Base_create = Scene_Base.prototype.create;
|
||||
|
||||
Scene_Base.prototype.create = function () {
|
||||
const w = 640;
|
||||
const h = 480;
|
||||
_Scene_Base_create.call(this);
|
||||
Graphics.width = w;
|
||||
Graphics.height = h;
|
||||
Graphics.boxHeight = h;
|
||||
Graphics.boxWidth = w;
|
||||
};
|
||||
|
||||
})()
|
Loading…
Add table
Add a link
Reference in a new issue