Steve Checkoway
177e65a34c
Do gcc's job for it and do sane loop unrolling. The (now second) while loop was stalling the pipeline almost as often as it was doing useful work. When gcc tried to do loop unrolling (i.e. when I changed the condition to size >= 8), it produced 4 _identical_ copies of the loop, each of which had the same number of stalls (this is all with the G5, the G4 had one stall in the loop). By unrolling and doing the most basic of instruction scheduling, this produces the same amount of code as gcc does but with 1 stall in the big loop (0 for the G4) but the same number in the second loop which is executed at most 3 times.
...
To keep gcc from unrolling the second loop, I'm using the bit masking condition which confuses the optimizer.
Note that this behavior won't change unless we stop targeting any OS below 10.3.9 and move to a more recent version of gcc (whose behavior I haven't bothered to test).
2006-05-17 09:27:54 +00:00
Steve Checkoway
8d83e1e3f8
Bah, revert. It still doesn't shut up the profiler. If it's not doing any work, it'll be quite quick.
2006-05-17 09:26:04 +00:00
Steve Checkoway
032c1269bc
Pull size check out of the function. Profiling showed that a large number of samples (as in profiling samples, not sound samples) of Vector::FastSoundWrite() where in its prologue which was attributed to the early exit condition (basically just shuts the profiler up).
2006-05-17 09:13:08 +00:00
Steve Checkoway
060b68ff00
Add more logging: Check that the sample rate we just set matches what the device declares as it's sample rate; log if the device's sample rate changes while it's running.
2006-05-17 07:40:54 +00:00
Charles Lohr
a84d30b92e
Fix crash from MusicWheel when in BuildWheelItemData(), and under case SORT_ENDLESS_COURSES. Automatically generated courses will cause there to be no group name, and the default (preferred) sort. When this function does not return a value, and it gets assigned to c (In MusicWheel), in some cases we will get a crash.
...
By default, I use white in the metrics, this doesn't look "great," but it should be up to the themer.
2006-05-17 06:49:55 +00:00
Chris Danford
9787348bb0
make End virtual
2006-05-17 03:47:29 +00:00
Chris Danford
ad431ea1f1
fix warnings
2006-05-17 03:35:35 +00:00
Sean Burke
b99c1ebdcd
Fix typo here as well
2006-05-16 10:06:04 +00:00
Sean Burke
498c8fcefb
I suppose that this is a better way to do it
2006-05-16 10:04:36 +00:00
Sean Burke
bce9d557dc
Fix typo and comment out, at least until Course::GetColor includes a case for it
2006-05-16 09:51:35 +00:00
Chris Danford
f22d32f70a
fix catalog.xml out of date after reloading songs
2006-05-16 06:01:12 +00:00
Chris Danford
721d2083b9
don't show edit description in the item name (it's already in the difficulty meter)
2006-05-16 05:41:40 +00:00
Chris Danford
73d559156f
set default profile ID when creating profiles
2006-05-16 05:28:26 +00:00
Josh Allen
dfa54b5acc
Language strings
2006-05-16 03:33:22 +00:00
Josh Allen
8fe83f73a3
Force event mode for online play
2006-05-16 03:32:01 +00:00
Chris Danford
a31d6a334a
fix copy edits message
2006-05-16 01:48:59 +00:00
Chris Danford
7caf4adce7
hide locked steps
2006-05-16 01:47:09 +00:00
Chris Danford
ede57d64ad
add GetNumSelectableAndUnlockedSongs, add GetMD5ForString
2006-05-16 00:47:02 +00:00
Steve Checkoway
51b2438668
Remove, again.
2006-05-14 09:14:28 +00:00
Steve Checkoway
b912d61546
Following Wolfman's example, some comments so that maybe next time I look at this I won't see vec_ctf and think "capture the flag?"
2006-05-14 08:13:16 +00:00
Steve Checkoway
4995793c0b
Quiet warning when building for i386.
2006-05-14 08:12:37 +00:00
Steve Checkoway
2b02ad8151
Cleanup.
2006-05-14 08:09:22 +00:00
Steve Checkoway
f39e79efed
The last of the changes, I hope.
2006-05-14 07:04:28 +00:00
Jason Felds
e0c4a4e93c
Tab fix (I was not using 4 spaces per tab).
2006-05-14 03:44:50 +00:00
Jason Felds
0c66c23f7b
Adding comments to the code.
2006-05-14 03:31:10 +00:00
Steve Checkoway
60d3b90552
I thought I fixed this already. This section ranges from 42 to 47.
2006-05-07 11:13:21 +00:00
Chris Danford
01f2f3759f
fix VC7 warning
2006-05-07 10:02:27 +00:00
Chris Danford
fe72b07c05
add compress flag
2006-05-07 09:27:58 +00:00
Chris Danford
5500d09baa
select default language
2006-05-07 09:25:48 +00:00
Steve Checkoway
c2b857d01c
Remove bloated c++ wrapper.
2006-05-06 11:19:25 +00:00
Chris Danford
a9ee0360fa
don't backspace on IET_LEVEL_CHANGED
2006-05-06 04:40:36 +00:00
Chris Danford
55f231854b
select the song after it's unlocked
2006-05-06 01:29:24 +00:00
Chris Danford
b97310cee0
play init command only once
2006-05-05 21:48:58 +00:00
Chris Danford
0a460a92db
load xml from global bganimations
2006-05-05 21:48:50 +00:00
Chris Danford
68425c887e
Fix backgrounds always choosing the first random movie. Choose the same random backgrounds every time a song is played. Fix background layer reset after BackgroundTransition.
2006-05-05 19:21:29 +00:00
Steve Checkoway
431f13437b
Unused otherwise.
2006-05-05 09:41:23 +00:00
Steve Checkoway
7124e3360a
Add MachineId().
2006-05-05 09:27:26 +00:00
Chris Danford
1eee0be3b1
reload banner cache on reload songs
2006-05-05 08:16:32 +00:00
Chris Danford
0f9d78b06d
allow songman->Reload with FastLoad
2006-05-05 00:41:17 +00:00
Chris Danford
f38a9f0af4
prompt on install patch without full install
2006-05-04 20:16:47 +00:00
Chris Danford
eddc3c288b
fix banner showing for non-unlocked
2006-05-04 11:57:54 +00:00
Chris Danford
c6fa5e9854
allow repeating backspace input
2006-05-04 09:29:11 +00:00
Chris Danford
cb65313c83
fix bogus assert fires for autogen courses
2006-05-04 07:09:08 +00:00
AJ Kelly
4456c5dcd6
fix project file
2006-05-04 06:29:59 +00:00
Chris Danford
3cb84a61b5
add GetMachineId
2006-05-04 05:13:06 +00:00
Chris Danford
d284692d64
add
2006-05-04 01:40:08 +00:00
Chris Danford
edf9f04293
add troubleshoot logging
2006-05-04 00:24:54 +00:00
Chris Danford
f46e1e8c07
localize 'hold back' text
2006-05-03 23:57:23 +00:00
Chris Danford
82835dae6a
change unlock entry IDs to strings so that auto generated entry ids won't shift around and unlock different things when new songs are added
2006-05-03 22:56:23 +00:00
Chris Danford
c36f86dbf9
add SetStatic
2006-05-03 21:48:56 +00:00