p2sr / SourceAutoRecord

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

Velocity graph hud #36

Closed hero622 closed 3 years ago

hero622 commented 3 years ago

Shows velocity and takeoff velocity with a graph. Colors represent: Green: gained velocity Orange: velocity is same as before Red: lost velocity

image

hero622 commented 3 years ago

i have done most of these, not sure how to use std::deque, "nit: superfluous parens" dont really know what this means, and im not sure on how to get the slot in an event, and for some reason i could not call GatherData in the event (im pretty new to c++, im noob)

ThisAMJ commented 3 years ago

"nit: superfluous parens" dont really know what this means

superfluous = unneccesary The parentheses aren't needed. bool should_draw_takeoff = !on_ground || take_off_time > engine->GetClientTime();