sukibaby
a5bbcebd0c
Update BPMDisplay.cpp
...
Update BPMDisplay.cpp
Replace lrint with static_cast<int>+0.5
Proposed lrint change for the same reason as #235 .
2024-05-04 10:52:43 -07:00
Martin Natano
bacecae1f7
Decouple <vector>
2023-04-21 22:13:41 +02: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 Sundqvist
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
teejusb
7e3789b131
Integrate C++11 branch into 5_1-new
2019-06-22 12:35:38 -07:00
Kyzentun
3fb36af157
Separate styles for players. Notefields positioned between margins. Edit mode works for kickbox.
2014-12-09 22:27:00 -07:00
Kyzentun
4f95bf08ad
Function chaining for actors and singletons.
2014-12-01 22:31:30 -07:00
Jason Felds
ba59dd1656
The big NULL replacement party part 2.
...
This may take a bit. Trying to do this by operator/command.
2013-05-03 23:11:42 -04:00
Jason Felds
9f24627bf9
The big NULL replacement party part 1.
...
This is meant to be a safer alternative since
NULL can often be 0. Let's not rely on that.
And yes, I know this is a lot of files. This is
a safer thing to do in big commits vs for loops.
2013-05-03 23:01:54 -04:00
Devin J. Pohly
ce507b9800
use empty TimingData in Steps to signify fallback on Song timing.
...
This required using the new Steps::GetTimingData function and the allowEmpty
parameter to TimingData::TidyUpData when appropriate, as well as clearing the
TimingData to remove step timing rather than coping the song timing over it.
Fixes some odd editor behavior when changing song timing, and is overall a
slightly less hacky way of doing things.
2013-01-23 14:51:18 -05:00
Devin J. Pohly
bd0e2074ad
replace ASSERT(0) with useful fail messages
2012-12-27 16:59:35 -05:00
Jason Felds
1fc16698ba
War on -Werror, part 12: explicit bool usage.
...
It may save a few cycles, but it's best to be
explicit on boolean operations, especially with
ASSERT.
2012-12-27 11:38:53 -05:00
AJ Kelly
766f5de4ce
themers can define this now, I guess.
2011-07-30 11:29:31 -05:00
AJ Kelly
2101c0d451
[BPMDisplay] Added SetFromSteps Lua binding.
2011-06-02 11:33:08 -05:00
AJ Kelly
d6546caaa6
[BPMDisplay] Add CourseCycleSpeed metric.
2011-05-19 03:48:46 -05:00
Jason Felds
7dd4869344
[default -> splittiming] DisplayBPM.
2011-05-11 17:09:55 -04:00
AJ Kelly
90469f0f25
.c_str()
2011-05-11 16:08:29 -05:00
Jason Felds
a97fca8b1d
[default -> splittiming] Staying caught up.
2011-05-10 15:53:44 -04:00
Thai Pangsakulyanont
2c87c34899
[splittiming] ArrowEffects, BPMDisplay, Inventory, MeterDisplay
2011-05-10 21:44:25 +07:00
AJ Kelly
ce392f003c
[BPMDisplay] Added SetFromCourse Lua binding.
2011-05-10 09:30:03 -05:00
AJ Kelly
a867b88640
add missing endless banner
2011-05-10 09:24:31 -05:00
AJ Kelly
d99975bbe5
[BPMDisplay] Added SetFromSong Lua binding.
2011-04-28 19:12:50 -05:00
Jason Felds
5d98f47fc3
Allow editing #DISPLAYBPM traits in the editor.
...
Look in Edit Song Info to find it.
2011-04-05 22:40:33 -04:00
Jason Felds
a085d0d1da
Line endings...be normalized!
2011-03-17 01:47:30 -04:00
AJ Kelly
f2e7954054
various cleanup/comment changes
2011-02-27 00:52:32 -06:00
AJ Kelly
c3e3cf3361
[BPMDisplay] Added FormatString metric.
2011-02-19 03:34:58 -06:00
Jason Felds
1bed6d3630
De-Python-ize REGISTER_ACTOR_CLASS(*).
2011-02-18 23:55:41 -05:00
Jason Felds
49859de9d7
More doxygen.
2011-02-13 14:32:36 -05:00
Jason Felds
56d1f3cc04
Another TODO done. Sorry, ??? != xxx.
2011-01-15 15:36:07 -05:00
AJ Kelly
3638d13432
[BPMDisplay] add RandomText metric for theming the "..." that appears when BPMs don't cycle and MinBPM == -1.
2010-06-02 22:45:42 -05:00
AJ Kelly
59b481eaba
some commenting and cleanup
2010-05-30 22:49:44 -05:00
AJ Kelly
89ad0796e7
[BPMDisplay] make the "Various" text a theme-able string.
2010-03-26 00:53:04 -05: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