diff options
Diffstat (limited to 'src/game/assets.cpp')
-rw-r--r-- | src/game/assets.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/game/assets.cpp b/src/game/assets.cpp index ef7be9b..96199a6 100644 --- a/src/game/assets.cpp +++ b/src/game/assets.cpp @@ -24,6 +24,7 @@ spider_assets_t spider; nest_assets_t nest; fx_assets_t fx; deco_assets_t deco; +ambience_assets_t ambience; render::animated_texture_t unit_selected; render::animated_texture_t unit_selected_halo; @@ -73,6 +74,13 @@ void load(void) render::register_tile(TILE_WATER, "assets/tiles/water.png", NULL, 0.0f); world::register_tile(TILE_GRAVEL, 0); render::register_tile(TILE_GRAVEL, "assets/tiles/gravel.png", NULL, 0.0f); + + ambience.nexus.load("assets/ambience/nexus.ogg"); + ambience.chasm.load("assets/ambience/chasm.ogg"); + ambience.wind.load("assets/ambience/wind.ogg"); + ambience.water.load("assets/ambience/water.ogg"); + + ambience.nexus.weight = 1.0f; } } // namespace game::assets |