Kelsidavis-WoWee/include
Kelsi 1a937fa69a Make city bell tolls mark real server time like actual clock towers
Changed bell tolls from random intervals to proper timekeeping mechanism:

How it works:
- Bells now toll at the top of every hour (minute == 0)
- Number of tolls indicates the hour in 12-hour format:
  * 1 AM/PM = 1 toll
  * 2 AM/PM = 2 tolls
  * 12 AM/PM = 12 tolls
- 1.5 second delay between individual tolls
- Uses system time (server time for single-player mode)

Technical details:
- Detects hour changes via std::chrono and localtime()
- Tracks lastHourTolled_ to prevent duplicate tolling
- remainingTolls_ counter for sequential toll playback
- bellTollDelay_ for 1.5s spacing between tolls
- Only tolls when currentCity_ is set (in a city)
- Resets bell state when changing cities
- Converts 24-hour to 12-hour format (0 and 12 both become 12)

Example: At 3:00 PM in Stormwind, the Alliance bell will toll 3 times
with 1.5s between each toll, marking the hour like a real clock tower.

This makes bells actually useful for tracking real time while playing!
2026-02-09 16:33:53 -08:00
..
audio Make city bell tolls mark real server time like actual clock towers 2026-02-09 16:33:53 -08:00
auth Use auth username for world connection 2026-02-05 18:18:15 -08:00
core Add ambient sound system and eliminate log spam 2026-02-09 14:50:14 -08:00
game Add comprehensive NPC voice system with interaction and combat sounds 2026-02-09 16:03:51 -08:00
network Fix online mode creature spawning and packet parsing 2026-02-05 21:55:52 -08:00
pipeline Add dynamic memory-based asset caching and aggressive loading 2026-02-08 23:15:26 -08:00
platform Fix hair/vendor/loot bugs, revamp spellbook with tabs and icons, clean up action bar, add talent placeholder 2026-02-06 16:04:25 -08:00
rendering Increase blacksmith hammer sound pitch to 1.6x 2026-02-09 15:21:07 -08:00
ui Disable minimap rotation by default and fix settings checkbox 2026-02-09 01:13:56 -08:00