From 6de56ddd693e938c3f379f50dd4aa219ddaf4d05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 29 Oct 2022 22:41:19 +0200 Subject: [PATCH] doc: updated changelog & credits. --- doc/changelog.dox | 5 +++++ doc/credits.dox | 2 ++ src/Magnum/Timeline.cpp | 1 + src/Magnum/Timeline.h | 3 +++ 4 files changed, 11 insertions(+) diff --git a/doc/changelog.dox b/doc/changelog.dox index c502fc45a..ee5301fde 100644 --- a/doc/changelog.dox +++ b/doc/changelog.dox @@ -366,6 +366,11 @@ See also: - Removed unnecessary @ref std::string usage from certain @relativeref{Corrade,Utility::ConfigurationValue} specializations (see [mosra/magnum#582](https://github.com/mosra/magnum/pull/582)) +- Added @ref Timeline::currentFrameTime() and + @relativeref{Timeline,currentFrameDuration()} counterparts to + @relativeref{Timeline,previousFrameTime()} and + @relativeref{Timeline,previousFrameDuration()} (see + [mosra/magnum#604](https://github.com/mosra/magnum/pull/604)) @subsubsection changelog-latest-changes-debugtools DebugTools library diff --git a/doc/credits.dox b/doc/credits.dox index 39a5454fa..e9a4bfa49 100644 --- a/doc/credits.dox +++ b/doc/credits.dox @@ -221,6 +221,8 @@ Are the below lists missing your name or something's wrong? Vcpkg packages - **Siim Kallas** ([\@seemk](https://github.com/seemk)) --- @ref Platform::Sdl2Application improvements, bugfixes +- **Stanislaw Halik** ([\@sthalik](https://github.com/sthalik)) --- + @ref Timeline additions - **Steeve Morin** ([\@steeve](https://github.com/steeve)) --- iOS buildsystem improvements - **Stefan Wasilewski** ([\@smw](https://github.com/smw)) --- macOS port diff --git a/src/Magnum/Timeline.cpp b/src/Magnum/Timeline.cpp index 10c43eef3..565de38b6 100644 --- a/src/Magnum/Timeline.cpp +++ b/src/Magnum/Timeline.cpp @@ -3,6 +3,7 @@ Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 Vladimír Vondruš + Copyright © 2022 Stanislaw Halik Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/src/Magnum/Timeline.h b/src/Magnum/Timeline.h index 4292043bc..2b1869661 100644 --- a/src/Magnum/Timeline.h +++ b/src/Magnum/Timeline.h @@ -5,6 +5,7 @@ Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 Vladimír Vondruš + Copyright © 2022 Stanislaw Halik Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), @@ -127,6 +128,7 @@ class MAGNUM_EXPORT Timeline { /** * @brief Current time in seconds + * @m_since_latest * * Returns time elapsed since @ref start() was called. Never smaller * than @ref previousFrameTime(). If the timeline is stopped, the @@ -136,6 +138,7 @@ class MAGNUM_EXPORT Timeline { /** * @brief Time since the last frame in seconds + * @m_since_latest * * Returns time elapsed since @ref start() or @ref nextFrame() was * called, whichever happened last. Compared to