diff --git a/config.xml b/config.xml index 543eeeb..444199b 100644 --- a/config.xml +++ b/config.xml @@ -1,5 +1,5 @@ - + diff --git a/www.eng/js/plugins/VND_CordovaFixes.js b/www.eng/js/plugins/VND_CordovaFixes.js index 7eba10d..6bbce8d 100644 --- a/www.eng/js/plugins/VND_CordovaFixes.js +++ b/www.eng/js/plugins/VND_CordovaFixes.js @@ -10,20 +10,17 @@ var currentBgs = null; document.addEventListener("deviceready", onCordovaDeviceReady, false); function onCordovaDeviceReady() { - console.log("AudioManager - SETUP!!!"); //Remove in release document.addEventListener("pause", onCordovaPause, false); document.addEventListener("resume", onCordovaResume, false); }; function onCordovaPause() { - console.log("AudioManager - HIDE!!!"); //Remove in release currentBgm = AudioManager.saveBgm(); currentBgs = AudioManager.saveBgs(); AudioManager.stopAll(); }; function onCordovaResume() { - console.log("AudioManager - SHOW!!!"); //Remove in release try { AudioManager.replayBgm(currentBgm); AudioManager.replayBgs(currentBgs); @@ -56,18 +53,15 @@ WebAudio.prototype._setupEventHandlers = function () { }; WebAudio.prototype._onCordovaDeviceReady = function () { - console.log("WebAudio - SETUP!!!"); //Remove in release document.addEventListener("pause", this._onCordovaPause.bind(this), false); document.addEventListener("resume", this._onCordovaResume.bind(this), false); }; WebAudio.prototype._onCordovaPause = function () { - console.log("WebAudio - HIDE!!!"); //Remove in release this._onHide(); }; WebAudio.prototype._onCordovaResume = function () { - console.log("WebAudio - SHOW!!!"); //Remove in release this._onShow(); }; @@ -81,18 +75,15 @@ Html5Audio.prototype._setupEventHandlers = function () { }; Html5Audio.prototype._onCordovaDeviceReady = function () { - console.log("Html5Audio - SETUP!!!"); //Remove in release this._audioElement.addEventListener("pause", this._onCordovaPause.bind(this), false); this._audioElement.addEventListener("resume", this._onCordovaResume.bind(this), false); }; Html5Audio.prototype._onCordovaPause = function () { - console.log("Html5Audio - HIDE!!!"); //Remove in release this._onHide(); }; Html5Audio.prototype._onCordovaResume = function () { - console.log("Html5Audio - SHOW!!!"); //Remove in release this._onShow(); }; @@ -120,18 +111,15 @@ StreamWebAudio.prototype._setupEventHandlers = function() { }; StreamWebAudio.prototype._onCordovaDeviceReady = function () { - console.log("StreamWebAudio - SETUP!!!"); //Remove in release document.addEventListener("pause", this._onCordovaPause.bind(this), false); document.addEventListener("resume", this._onCordovaResume.bind(this), false); }; StreamWebAudio.prototype._onCordovaPause = function () { - console.log("StreamWebAudio - HIDE!!!"); //Remove in release this._onHide(); }; StreamWebAudio.prototype._onCordovaResume = function () { - console.log("StreamWebAudio - SHOW!!!"); //Remove in release this._onShow(); }; diff --git a/www.eng/js/plugins/VND_ONSControls.js b/www.eng/js/plugins/VND_ONSControls.js index 34d05c0..855b249 100644 --- a/www.eng/js/plugins/VND_ONSControls.js +++ b/www.eng/js/plugins/VND_ONSControls.js @@ -194,9 +194,6 @@ ONSControls.resetIdleAnimation = function() { //============================================================================= ONSControls.sendEvent = function(event, button) { const key = VirtualGamepad.keys.find((element) => element.name == button); - if (event.type === "pointerdown") { - console.log(`ONSControls: Pointer down for ${button}`); // Remove in release - } VirtualGamepad.gamepad.buttons[key.code].pressed = event.type === "pointerdown" ? true : false } //============================================================================= diff --git a/www.eng/js/porting/compat/nwjs.js b/www.eng/js/porting/compat/nwjs.js index e940870..48a1e9e 100644 --- a/www.eng/js/porting/compat/nwjs.js +++ b/www.eng/js/porting/compat/nwjs.js @@ -241,13 +241,10 @@ require.libs.fs = { for (const listingFile of listing) { if (listingFile.toLowerCase() == basename.toLowerCase()) { const alt = require.libs.path.join(dirname, listingFile); - console.log(`tried to access ${path}: not found, found alternative: ${alt}`) //Remove in release return alt; } } - console.log(`tried to access ${path}: not found, alternative name was not found too!`) //Remove in release - return null; }, diff --git a/www.eng/js/porting/persistent.js b/www.eng/js/porting/persistent.js index b7c25fd..d77b233 100644 --- a/www.eng/js/porting/persistent.js +++ b/www.eng/js/porting/persistent.js @@ -8,17 +8,14 @@ window.PERSISTENT_IMPLEMENTATIONS = { function localStorageImplementation() { return { readSaveFileUTF8(path) { - console.log(`Failed to get externalStorage. Using localStorage to read save at ${path}`); return localStorage.getItem(path); }, saveFileExists(path) { - console.log(`Using localStorage while checking save file ${path} existence`); return localStorage.getItem(path) != null; }, writeSaveFileUTF8(path, data) { - console.log(`Failed to get externalStorage. Writing ${path} save file to the localStorage`); localStorage.setItem(path, data); } }; diff --git a/www.rus/js/plugins/VND_CordovaFixes.js b/www.rus/js/plugins/VND_CordovaFixes.js index 970c217..60dfa49 100644 --- a/www.rus/js/plugins/VND_CordovaFixes.js +++ b/www.rus/js/plugins/VND_CordovaFixes.js @@ -10,20 +10,17 @@ var currentBgs = null; document.addEventListener("deviceready", onCordovaDeviceReady, false); function onCordovaDeviceReady() { - console.log("AudioManager - SETUP!!!"); //Remove in release document.addEventListener("pause", onCordovaPause, false); document.addEventListener("resume", onCordovaResume, false); }; function onCordovaPause() { - console.log("AudioManager - HIDE!!!"); //Remove in release currentBgm = AudioManager.saveBgm(); currentBgs = AudioManager.saveBgs(); AudioManager.stopAll(); }; function onCordovaResume() { - console.log("AudioManager - SHOW!!!"); //Remove in release try { AudioManager.replayBgm(currentBgm); AudioManager.replayBgs(currentBgs); @@ -56,18 +53,15 @@ WebAudio.prototype._setupEventHandlers = function () { }; WebAudio.prototype._onCordovaDeviceReady = function () { - console.log("WebAudio - SETUP!!!"); //Remove in release document.addEventListener("pause", this._onCordovaPause.bind(this), false); document.addEventListener("resume", this._onCordovaResume.bind(this), false); }; WebAudio.prototype._onCordovaPause = function () { - console.log("WebAudio - HIDE!!!"); //Remove in release this._onHide(); }; WebAudio.prototype._onCordovaResume = function () { - console.log("WebAudio - SHOW!!!"); //Remove in release this._onShow(); }; @@ -81,18 +75,15 @@ Html5Audio.prototype._setupEventHandlers = function () { }; Html5Audio.prototype._onCordovaDeviceReady = function () { - console.log("Html5Audio - SETUP!!!"); //Remove in release this._audioElement.addEventListener("pause", this._onCordovaPause.bind(this), false); this._audioElement.addEventListener("resume", this._onCordovaResume.bind(this), false); }; Html5Audio.prototype._onCordovaPause = function () { - console.log("Html5Audio - HIDE!!!"); //Remove in release this._onHide(); }; Html5Audio.prototype._onCordovaResume = function () { - console.log("Html5Audio - SHOW!!!"); //Remove in release this._onShow(); }; @@ -120,18 +111,15 @@ StreamWebAudio.prototype._setupEventHandlers = function() { }; StreamWebAudio.prototype._onCordovaDeviceReady = function () { - console.log("StreamWebAudio - SETUP!!!"); //Remove in release document.addEventListener("pause", this._onCordovaPause.bind(this), false); document.addEventListener("resume", this._onCordovaResume.bind(this), false); }; StreamWebAudio.prototype._onCordovaPause = function () { - console.log("StreamWebAudio - HIDE!!!"); //Remove in release this._onHide(); }; StreamWebAudio.prototype._onCordovaResume = function () { - console.log("StreamWebAudio - SHOW!!!"); //Remove in release this._onShow(); }; diff --git a/www.rus/js/plugins/VND_ONSControls.js b/www.rus/js/plugins/VND_ONSControls.js index 94dd6d2..bda0125 100644 --- a/www.rus/js/plugins/VND_ONSControls.js +++ b/www.rus/js/plugins/VND_ONSControls.js @@ -194,9 +194,6 @@ ONSControls.resetIdleAnimation = function() { //============================================================================= ONSControls.sendEvent = function(event, button) { const key = VirtualGamepad.keys.find((element) => element.name == button); - if (event.type === "pointerdown") { - console.log(`ONSControls: Pointer down for ${button}`); // Remove in release - } VirtualGamepad.gamepad.buttons[key.code].pressed = event.type === "pointerdown" ? true : false } //============================================================================= diff --git a/www.rus/js/porting/compat/nwjs.js b/www.rus/js/porting/compat/nwjs.js index e940870..48a1e9e 100644 --- a/www.rus/js/porting/compat/nwjs.js +++ b/www.rus/js/porting/compat/nwjs.js @@ -241,13 +241,10 @@ require.libs.fs = { for (const listingFile of listing) { if (listingFile.toLowerCase() == basename.toLowerCase()) { const alt = require.libs.path.join(dirname, listingFile); - console.log(`tried to access ${path}: not found, found alternative: ${alt}`) //Remove in release return alt; } } - console.log(`tried to access ${path}: not found, alternative name was not found too!`) //Remove in release - return null; }, diff --git a/www.rus/js/porting/persistent.js b/www.rus/js/porting/persistent.js index b7c25fd..d77b233 100644 --- a/www.rus/js/porting/persistent.js +++ b/www.rus/js/porting/persistent.js @@ -8,17 +8,14 @@ window.PERSISTENT_IMPLEMENTATIONS = { function localStorageImplementation() { return { readSaveFileUTF8(path) { - console.log(`Failed to get externalStorage. Using localStorage to read save at ${path}`); return localStorage.getItem(path); }, saveFileExists(path) { - console.log(`Using localStorage while checking save file ${path} existence`); return localStorage.getItem(path) != null; }, writeSaveFileUTF8(path, data) { - console.log(`Failed to get externalStorage. Writing ${path} save file to the localStorage`); localStorage.setItem(path, data); } };