bg2e-js 1.4.32 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +619 -21
- package/bower.json +1 -1
- package/js/bg2e-es2015.js +19 -2
- package/js/bg2e.js +20 -2
- package/js/bg2e.min.js +1 -1
- package/package.json +2 -2
package/js/bg2e-es2015.js
CHANGED
|
@@ -1,6 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* business grade graphic engine (bg2 engine)
|
|
3
|
+
* Copyright (C) 2024 Fernando Serrano Carpena
|
|
4
|
+
*
|
|
5
|
+
* This program is free software: you can redistribute it and/or modify
|
|
6
|
+
* it under the terms of the GNU General Public License as published by
|
|
7
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
8
|
+
* (at your option) any later version.
|
|
9
|
+
*
|
|
10
|
+
* This program is distributed in the hope that it will be useful,
|
|
11
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
13
|
+
* GNU General Public License for more details.
|
|
14
|
+
*
|
|
15
|
+
* You should have received a copy of the GNU General Public License
|
|
16
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
17
|
+
*/
|
|
1
18
|
|
|
2
19
|
const bg = {};
|
|
3
|
-
bg.version = "1.
|
|
20
|
+
bg.version = "1.5.0 - build: d0833b0";
|
|
4
21
|
bg.utils = {};
|
|
5
22
|
|
|
6
23
|
// Export for webpack and similar utilities
|
|
@@ -8810,7 +8827,7 @@ Object.defineProperty(bg, "isElectronApp", {
|
|
|
8810
8827
|
}
|
|
8811
8828
|
bg.emitImageLoadEvent();
|
|
8812
8829
|
//}
|
|
8813
|
-
},
|
|
8830
|
+
},100);
|
|
8814
8831
|
texture.img.src = imageData;
|
|
8815
8832
|
|
|
8816
8833
|
return texture;
|
package/js/bg2e.js
CHANGED
|
@@ -1,6 +1,24 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* business grade graphic engine (bg2 engine)
|
|
3
|
+
* Copyright (C) 2024 Fernando Serrano Carpena
|
|
4
|
+
*
|
|
5
|
+
* This program is free software: you can redistribute it and/or modify
|
|
6
|
+
* it under the terms of the GNU General Public License as published by
|
|
7
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
8
|
+
* (at your option) any later version.
|
|
9
|
+
*
|
|
10
|
+
* This program is distributed in the hope that it will be useful,
|
|
11
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
13
|
+
* GNU General Public License for more details.
|
|
14
|
+
*
|
|
15
|
+
* You should have received a copy of the GNU General Public License
|
|
16
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
17
|
+
*/
|
|
18
|
+
|
|
1
19
|
"use strict";
|
|
2
20
|
var bg = {};
|
|
3
|
-
bg.version = "1.
|
|
21
|
+
bg.version = "1.5.0 - build: d0833b0";
|
|
4
22
|
bg.utils = {};
|
|
5
23
|
try {
|
|
6
24
|
module.exports = bg;
|
|
@@ -8745,7 +8763,7 @@ Object.defineProperty(bg, "isElectronApp", {get: function() {
|
|
|
8745
8763
|
g_base64TexturePreventRemove.splice(index, 1);
|
|
8746
8764
|
}
|
|
8747
8765
|
bg.emitImageLoadEvent();
|
|
8748
|
-
},
|
|
8766
|
+
}, 100);
|
|
8749
8767
|
texture.img.src = imageData;
|
|
8750
8768
|
return texture;
|
|
8751
8769
|
},
|