From c75c9a7170eee423d4b8c654867e1f3d7e1e84bc Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Wed, 16 Mar 2022 20:23:40 -0400 Subject: signs are more common and also quieter --- .../.cache/{361fc1a8-d59d-457a-a127-53c15fc44ad0}.pdc | Bin 1168 -> 1168 bytes .../.cache/{8b5445b2-2068-4279-a98b-2421a2eecfb3}.pdc | Bin 744 -> 744 bytes .../.cache/{ad50d646-eeb1-4122-a813-266411b659fb}.pdc | Bin 1072 -> 1072 bytes .../{68372a81-e8b2-4b54-b8a4-93de302bcc94}.user.xml | 2 +- .../Event/{68372a81-e8b2-4b54-b8a4-93de302bcc94}.xml | 3 +++ src/game.cpp | 4 ++-- 6 files changed, 6 insertions(+), 3 deletions(-) diff --git a/res/fmod/.cache/{361fc1a8-d59d-457a-a127-53c15fc44ad0}.pdc b/res/fmod/.cache/{361fc1a8-d59d-457a-a127-53c15fc44ad0}.pdc index bbae29d..45c8cb1 100644 Binary files a/res/fmod/.cache/{361fc1a8-d59d-457a-a127-53c15fc44ad0}.pdc and b/res/fmod/.cache/{361fc1a8-d59d-457a-a127-53c15fc44ad0}.pdc differ diff --git a/res/fmod/.cache/{8b5445b2-2068-4279-a98b-2421a2eecfb3}.pdc b/res/fmod/.cache/{8b5445b2-2068-4279-a98b-2421a2eecfb3}.pdc index 709769b..25e939d 100644 Binary files a/res/fmod/.cache/{8b5445b2-2068-4279-a98b-2421a2eecfb3}.pdc and b/res/fmod/.cache/{8b5445b2-2068-4279-a98b-2421a2eecfb3}.pdc differ diff --git a/res/fmod/.cache/{ad50d646-eeb1-4122-a813-266411b659fb}.pdc b/res/fmod/.cache/{ad50d646-eeb1-4122-a813-266411b659fb}.pdc index 2e3248f..893d95a 100644 Binary files a/res/fmod/.cache/{ad50d646-eeb1-4122-a813-266411b659fb}.pdc and b/res/fmod/.cache/{ad50d646-eeb1-4122-a813-266411b659fb}.pdc differ diff --git a/res/fmod/.user/Metadata/Event/{68372a81-e8b2-4b54-b8a4-93de302bcc94}.user.xml b/res/fmod/.user/Metadata/Event/{68372a81-e8b2-4b54-b8a4-93de302bcc94}.user.xml index 8deeed0..e90b3a5 100644 --- a/res/fmod/.user/Metadata/Event/{68372a81-e8b2-4b54-b8a4-93de302bcc94}.user.xml +++ b/res/fmod/.user/Metadata/Event/{68372a81-e8b2-4b54-b8a4-93de302bcc94}.user.xml @@ -12,7 +12,7 @@ - 0.016137708445400752 + 0.00019052132238945424 diff --git a/res/fmod/Metadata/Event/{68372a81-e8b2-4b54-b8a4-93de302bcc94}.xml b/res/fmod/Metadata/Event/{68372a81-e8b2-4b54-b8a4-93de302bcc94}.xml index 18db19f..9e0eb3a 100644 --- a/res/fmod/Metadata/Event/{68372a81-e8b2-4b54-b8a4-93de302bcc94}.xml +++ b/res/fmod/Metadata/Event/{68372a81-e8b2-4b54-b8a4-93de302bcc94}.xml @@ -97,6 +97,9 @@ + + -8 + Audio 1 diff --git a/src/game.cpp b/src/game.cpp index 5838528..088ab4d 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -276,7 +276,7 @@ void Game::recalculateRender() { if (isTileSetOrNotLit(map, x-1, y+1)) renderDesc |= (1 << 1); if (isTileSetOrNotLit(map, x-1, y )) renderDesc |= (1 << 0); - if (renderDesc == 0 && map.at(x,y).sign) { + if (/*renderDesc == 0 && */map.at(x,y).sign) { map.at(x,y).renderId = TilesetIndex(24, 13); } else if (std::bernoulli_distribution(0.05)(rng)) { static const std::vector furnishings { @@ -286,7 +286,7 @@ void Game::recalculateRender() { TilesetIndex(21, 3), TilesetIndex(22, 3)}; - if (renderDesc == 0 && !(x == player_x && y == player_y) && std::bernoulli_distribution(0.2)(rng)) { + if (/*renderDesc == 0 &&*/ !(x == player_x && y == player_y) && std::bernoulli_distribution(0.005)(rng)) { map.at(x,y).renderId = TilesetIndex(24, 13); map.at(x,y).sign = true; } else { -- cgit 1.4.1