Glenn Maynard
0387924fab
remove BPMDisplay from gameplay; not used
...
add SongBPMDisplay; use it if you want that
2007-02-12 23:22:50 +00:00
Steve Checkoway
800e4d4c50
Revert to the strange %i.
2007-01-04 09:49:11 +00:00
Steve Checkoway
4517499f0f
lroundf -> lrintf.
2007-01-03 05:05:28 +00:00
Steve Checkoway
eb0b26cd82
Float to int is slow on ppc. It requires a store, a big stall, and then a load. It's even worse on a G5 if the compiler is dumb (and let's face it, I'm using gcc here...). Just use lroundf when we want an int. It will certainly be no slower.
2007-01-02 23:36:44 +00:00
Glenn Maynard
e11914d4bb
LoadFromNode(sDir, pNode) -> LoadFromNode(pNode)
2006-10-09 08:24:10 +00:00
Glenn Maynard
c690fdcfe4
unify registration
2006-09-29 00:01:32 +00:00
Glenn Maynard
153bcedd40
simpler Lua boilerplate
2006-09-27 20:03:31 +00:00
Glenn Maynard
47493d970e
don't tween; let commands do that
2006-08-16 18:57:51 +00:00
Glenn Maynard
5a0370c582
derive from BitmapText
2006-08-16 07:20:45 +00:00
Glenn Maynard
fa38d7d0ee
remove the label element; do this separately
2006-08-16 07:09:24 +00:00
Glenn Maynard
9f2d170317
bind, add SetFromGameState
2006-08-16 07:02:46 +00:00
Steve Checkoway
ba0d51cc7a
Simplify.
2006-08-06 02:37:42 +00:00
Chris Danford
7f821e8cfc
CString -> RString
2006-01-22 01:00:06 +00:00
Glenn Maynard
b01308783e
unused headers
2005-12-19 00:42:29 +00:00
Glenn Maynard
267e913b4d
cleanup
2005-09-03 06:13:30 +00:00
Glenn Maynard
0532a3db79
cleanup
2005-07-07 10:48:02 +00:00
Glenn Maynard
78cdf5d8cb
double -> float
2005-05-28 08:20:21 +00:00
Ted Percival
476bc01a9d
replace arbitrarilyy "big" initialisers with those from <limits.h>
2005-03-25 12:37:17 +00:00
Chris Danford
1f112ae2ca
fix Various showed as BPM for some courses with <= MAX_COURSE_ENTRIES_BEFORE_VARIOUS
2005-03-17 17:53:10 +00:00
Glenn Maynard
a4a6d72342
fix warnings
2005-03-11 02:48:38 +00:00
Chris Danford
4b9a4e117b
add MaxCourseEntriesBeforeShowVarious so that Artist doesn't scroll through 10s of values and BPM display doesn't display a meaningless range for endless courses
2005-03-10 23:57:53 +00:00
Chris Danford
1de61aa8ae
split AutoActor into a separate file
2005-02-09 05:27:51 +00:00
Chris Danford
7e68ac03b4
change elements to have format "<name> <piece>"
2005-02-06 03:28:22 +00:00
Charles Lohr
b7ecf3776e
We need to know the name of the display before we cache metrics for it.
2005-02-02 06:10:55 +00:00
Chris Danford
180ce8eb36
fix VC6
2005-02-02 05:25:43 +00:00
Glenn Maynard
a3f785974d
cache
2005-02-02 03:58:41 +00:00
Charles Lohr
52545966e6
Fix: Make BPM Display work.
2004-12-18 08:15:19 +00:00
Chris Danford
bcbe615c0d
Pass ActorCommand structures to Actor instead of unparsed command strings.
...
This way, we can potentially do the parsing early and not parse inside of Actor as the command is executing.
2004-11-06 23:13:47 +00:00
Chris Danford
03fbb915f3
remove VC6 scoping hacks
2004-09-21 07:53:39 +00:00
Glenn Maynard
0c4f092fd3
fix ambiguous ?: types
2004-08-06 21:01:28 +00:00
Chris Danford
504ba6c163
GetPath*N->GetPath*F
2004-07-25 06:29:50 +00:00
Chris Danford
5544445ad0
name cleanup: StyleDef -> Style
2004-06-28 07:26:00 +00:00
Glenn Maynard
f5ce2e5303
cleanup
2004-06-08 05:55:00 +00:00
Glenn Maynard
3798245ce6
license update
2004-06-07 21:14:03 +00:00
Glenn Maynard
b93d1bfd5e
first pass at merging CourseDifficulty into Difficulty
...
CourseDifficulty names still exist, since it's useful to distinguish them
in command names
2004-06-04 02:05:56 +00:00
Glenn Maynard
e1792e1a66
handle GetTrail returning NULL
2004-06-03 21:34:11 +00:00
Chris Danford
3cadf4c5d5
have Numbers fall back to Fonts (in perparation for removing the Numbers dir altogether)
2004-05-30 23:23:39 +00:00
Chris Danford
6f75a3d920
review uses of GetTrail
2004-05-24 06:07:59 +00:00
Chris Danford
abfc956e4f
refactor Course: move some responsibilities to Trail
2004-05-23 00:53:20 +00:00
Glenn Maynard
f3484b6f7b
better load
2003-11-17 04:18:55 +00:00
Glenn Maynard
8244c73c01
better font load
2003-11-17 03:34:53 +00:00
Glenn Maynard
0492e9b5a0
fix "-1" bpm output
2003-11-17 01:41:21 +00:00
Glenn Maynard
0839e9e928
Themable BPMDisplay. Add non-cycling mode. Use AutoActor.
2003-11-14 19:07:28 +00:00
Glenn Maynard
f9ed49e827
use m_sName
2003-11-14 18:37:45 +00:00
Glenn Maynard
673421c753
defer BPMDisplay load, so it has access to m_sName
2003-11-14 18:30:24 +00:00
Chris Danford
1a0d83cbc0
m_NotesType => m_StepsType
...
split NoteDataUtil to sep file
2003-08-07 06:36:34 +00:00
Glenn Maynard
7f13b5ce6d
Replace "caprice" with a "showcourse"/"noshowcourse" tag.
...
This also allows hiding static songs; I added that since it took about four
lines extra code.
Note that I've updated the Save() function a bit, and fixed some bugs
I saw, but it's not used yet and it's no more tested than it was before.
2003-07-30 21:33:20 +00:00
Glenn Maynard
d0502bfddb
rename
2003-07-21 23:16:06 +00:00
Glenn Maynard
4106afb299
Refactor.
...
Finding out which songs were random was broken: if a non-static
song (eg. player's best) was missing ("BEST99999"), m_entries
doesn't necessarily match one-to-one with the results of GetStageInfo.
2003-07-21 21:54:07 +00:00
Glenn Maynard
06aed83dbe
fixes
2003-07-21 20:11:13 +00:00