-
-
Notifications
You must be signed in to change notification settings - Fork 968
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doc: More notes for developers adding new PerformanceElements #6946
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reads fine, though i can't vouch for the correctness/usefulness
@@ -7,6 +7,11 @@ | |||
* See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>. | |||
*/ | |||
|
|||
/** @file framerate_type.h | |||
* Types for recording game performance data. | |||
* @see framerate_gui.cpp for implementation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@see
probably not necessary, it's mostly implied
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought it was annoying to navigate from one to the other, which is why I added it :)
I was making a step by step instruction but now that i see this I'll just leave it here and hope it can help and perhaps incorporate some of it in the doc. Only for the PerformanceAccumulator. If it's too badly written just ignore it. |
I might rework things a bit, put a semi-step by step guide in the file comment. |
f5411ad
to
a6e1852
Compare
a6e1852
to
cdf178d
Compare
I'm unsure about the formatting of the comments, they probably should have some Doxygen formatting codes added.