p2sr / SourceAutoRecord

Speedrun plugin for Source engine games.
https://sar.portal2.sr/
MIT License
93 stars 29 forks source link

feat: sar_hud_fps #126

Closed MrSlimeDiamond closed 1 year ago

MrSlimeDiamond commented 1 year ago

Visual studio is really stupid and changed random thing at the bottom of src/SourceAutoRecord.vcxproj and i cant be bothered to fix it because it doesn't matter anyways

ThisAMJ commented 1 year ago

Why is g_cur_fps a float? You can just have it as an int and use %d or %i in the draw with your solution

I would recommend returning to mlugg's solution which is theoretically more responsive and accurate assuming it's actually only ran once a frame :skull:

mlugg commented 1 year ago

@MrSlimeDiamond, there are lots of nitpicks there but overall i just don't like this approach - a continuous rolling average (maybe over a customisable time period if you're feeling fancy) is a much better solution. if you feel like taking a crack at it you're welcome to, otherwise i'm happy to implement it