mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-03 19:19:29 +00:00

This version uses SDL_GetTicks() as a monotonic source to avoid the previous version's pitfalls, namely the fact that the game's framerate may not necessarily be a constant, and in particular, the old code assumed a completely different framerate than what we ended up with after the texture-based rendering changes in 1.17.x, resulting in an almost-unnoticeable text fade due to the update() function being called WAY more often than before. Note that the reliance on SDL_GetTicks() means the timings break at some point after 49 days of game runtime, exactly once. This should result in a visible "jitter" effect if the 32-bits ticks value wraps around in the middle of a fade sequence, but other than that it's not that big of a deal to warrant requiring SDL 2.0.18+ for the 64-bit version. (cherry picked from commit db30ca53ae32eee37f805aa4aefb3e08de65de9c)
This directory is where PR authors can add a file per PR containing the text that should be added to the main changelog.md during the release process for the next version. The format should match that of the main changelog as well as use an existing category defined there. For example, a file could contain:
### Terrain
* Change codes "Irs, Ias, Icr, Ior, and Icn" to "Isr, Isa, Isc, Iwo, and Iwc", respectively
The purpose of this is to make it easier to add changelog entries with a PR while avoiding merge conflicts in the main changelog file if someone ends up merging their PR before yours.
The contents of this directory (aside from this README file) will then be deleted after each release.