Commit Graph
18 Commits
Author SHA1 Message Date
sukibabyandteejusb 934fc54b8a BitmapText::DrawPrimitives noexcept
This function indirectly determines the amount of average audio latency, this is why changes to BitmapText can affect global offset significantly. Aim to make the function as fast as possible to minimize latency.

1) make BitmapText::DrawPrimitives noexcept
   -  note: RollingNumbers::DrawPrimitives has to also become noexcept as a consequence

2) Define repeated calculations as constexpr functions defined within an anonymous namespace

3) Fix some formatting stuff
2024-09-22 11:00:41 -07:00
Martin Natano b68ca517e6 Clean up math functions
- Remove checking for standard functions from the build system
- Prefix all invocations with std::
- Replace suffixed functions with unprefixed versions
- Include <cmath> in all files that use it and remove the global include

e.g. floorf(x) -> std::floor(x)
2023-04-19 19:31:40 +02:00
Michael SundqvistandMartin Natano 0cba3579de Remove global "using namespace std;" declarations, use "std::" prefixes on all std elements
Fix whitespace changes
2022-07-31 22:14:38 +02:00
Kyzentun 1de3cce1cd Fixed quotes and spelling in new actor examples. Fixed RollingNumbers to do nothing instead of crashing if it's rendered before it loads its metrics. 2015-02-05 18:56:56 -07:00
Kyzentun 4f95bf08ad Function chaining for actors and singletons. 2014-12-01 22:31:30 -07:00
Kyzentun 2834cded9e Created tween queue and functions for BitmapText so the stroke color can be tweened. 2014-11-01 18:49:48 -06:00
Kyzentun 50df61a0ca Fixed RollingNumbers to work with corner diffuse colors. Changed diffuse loops to use NUM_DIFFUSE_COLORS instead of 4. 2014-11-01 16:42:51 -06:00
Kyzentun 1f844d6627 Fixed coloring and cropping of RollingNumbers during tweens. 2014-11-01 13:30:41 -06:00
Kyzentun c368fc1b47 Didn't realize RollingNumbers was supposed to have negative velocity. 2014-08-08 13:55:51 -06:00
Kyzentun f3f7af7045 Changed RollingNumbers to not set NAN velocity. 2014-08-03 22:38:01 -06:00
Jason Felds f136ff8b34 [sm130futures] Well, this code isn't needed.
Revert it to how it was.
2011-04-09 10:52:18 -04:00
Jason Felds b05169b83e [sm130futures] Add command to force reload the score.
Granted, have to hook it up to lua now.
2011-03-30 01:13:10 -04:00
Jason Felds a085d0d1da Line endings...be normalized! 2011-03-17 01:47:30 -04:00
Jason Felds 9d13036e08 Add @briefs to the Luna classes.
Yeah...there was a lot. */
2011-02-19 12:26:18 -05:00
Jason Felds 1bed6d3630 De-Python-ize REGISTER_ACTOR_CLASS(*). 2011-02-18 23:55:41 -05:00
AJ Kelly 6d70de3199 add Load(sMetricsGroup) Lua binding for RollingNumbers 2010-12-15 19:04:37 -06:00
AJ Kelly 3e51544930 Initial commit. 2010-01-26 21:00:30 -06:00
Devin J. Pohly 80057f53cd smsvn -> ssc-hg glue: rearrange directory structure 2013-06-10 15:38:43 -04:00