| 11697 | var blend = { v: 0 }; |
| 11698 | |
| 11699 | function loadTextures() { |
| 11700 | (0, _imageLoader2["default"])([{ name: "dropAlpha", src: "img/drop-alpha.png" }, { name: "dropColor", src: "img/drop-color.png" }, { name: "textureRainFg", src: "img/weather/texture-rain-fg.png" }, { name: "textureRainBg", src: "img/weather/texture-rain-bg.png" }, { name: "textureStormLightningFg", src: "img/weather/texture-storm-lightning-fg.png" }, { name: "textureStormLightningBg", src: "img/weather/texture-storm-lightning-bg.png" }, { name: "textureFalloutFg", src: "img/weather/texture-fallout-fg.png" }, { name: "textureFalloutBg", src: "img/weather/texture-fallout-bg.png" }, { name: "textureSunFg", src: "img/weather/texture-sun-fg.png" }, { name: "textureSunBg", src: "img/weather/texture-sun-bg.png" }, { name: "textureDrizzleFg", src: "img/weather/texture-drizzle-fg.png" }, { name: "textureDrizzleBg", src: "img/weather/texture-drizzle-bg.png" }]).then(function (images) { |
| 11701 | textureRainFg = images.textureRainFg.img; |
| 11702 | textureRainBg = images.textureRainBg.img; |
| 11703 | |
| 11704 | textureFalloutFg = images.textureFalloutFg.img; |
| 11705 | textureFalloutBg = images.textureFalloutBg.img; |
| 11706 | |
| 11707 | textureStormLightningFg = images.textureStormLightningFg.img; |
| 11708 | textureStormLightningBg = images.textureStormLightningBg.img; |
| 11709 | |
| 11710 | textureSunFg = images.textureSunFg.img; |
| 11711 | textureSunBg = images.textureSunBg.img; |
| 11712 | |
| 11713 | textureDrizzleFg = images.textureDrizzleFg.img; |
| 11714 | textureDrizzleBg = images.textureDrizzleBg.img; |
| 11715 | |
| 11716 | dropColor = images.dropColor.img; |
| 11717 | dropAlpha = images.dropAlpha.img; |
| 11718 | |
| 11719 | init(); |
| 11720 | }); |
| 11721 | } |
| 11722 | loadTextures(); |
| 11723 | |
| 11724 | function init() { |