Commit Graph
100 Commits
Author SHA1 Message Date
Glenn Maynard 05003d1bc9 fix SetPosition_hard EOF behavior 2003-10-06 05:00:19 +00:00
Glenn Maynard 71ae8a0848 fix SetPosition_Fast EOF behavior 2003-10-06 04:55:11 +00:00
Glenn Maynard 78ecec47c4 Write #FILE tag. 2003-10-06 04:31:44 +00:00
Glenn Maynard c489642707 Fix movie flushing (fixes silly 1-frame videos). Fix memleak. 2003-10-06 02:58:04 +00:00
Glenn Maynard e4d4888464 add assert 2003-10-06 00:41:53 +00:00
Glenn Maynard 5410988eb5 The GNU C++ library's random_shuffle doesn't always use rand();
it sometimes uses a nonportable generator, which isn't being seeded.
Sidestep and always use our own PRNG.

Cleanup.
2003-10-06 00:09:10 +00:00
Glenn Maynard b3203b80b2 ScreenEvaluationOni Percent -> ScreenEvaluation Percent 2003-10-05 23:16:29 +00:00
Glenn Maynard a943057db7 Set name before calling Load(). 2003-10-05 23:00:26 +00:00
Glenn Maynard 5a21030ca8 add metrics 2003-10-05 22:59:04 +00:00
Glenn Maynard 323c106830 cleanup 2003-10-05 21:44:44 +00:00
Glenn Maynard b8e22b7c8c Cleanup. Don't load ScreenNameEntry background if we're not actually
going to enter a score.
2003-10-05 21:42:56 +00:00
Glenn Maynard cc1ee0d314 use ScoreDisplayPercentage 2003-10-05 05:24:50 +00:00
Glenn Maynard 5238d81c6e add ScoreDisplayPercentage 2003-10-05 05:24:12 +00:00
Glenn Maynard d4e6a2f0fd add m_bPercentageScoring 2003-10-05 05:18:48 +00:00
Glenn Maynard 4ed68a629f Fix zero DP showing ".001%" with high decimal places 2003-10-05 04:45:06 +00:00
Glenn Maynard 719cb7c702 Use PercentageDisplay 2003-10-05 00:33:05 +00:00
Glenn Maynard 156a048174 Add metrics. 2003-10-05 00:32:34 +00:00
Glenn Maynard 14a24f6f64 Support eval-style percents 2003-10-05 00:30:55 +00:00
Glenn Maynard 5be698590c add ScoreDisplayPercentage 2003-10-04 09:14:25 +00:00
Glenn Maynard 72324aade3 Add metrics. 2003-10-04 09:13:59 +00:00
Glenn Maynard c7ede5d848 More themable percent display. 2003-10-04 09:13:33 +00:00
Glenn Maynard df92cb3704 Add metrics. 2003-10-04 08:46:21 +00:00
Glenn Maynard f67f5e92b1 Themable percent display. 2003-10-04 08:45:53 +00:00
Glenn Maynard e557dc1ef8 Renamed the theme element "LifeMeterBattery percent" to "LifeMeterBattery percent text". 2003-10-04 08:45:10 +00:00
Glenn Maynard aeb475086a add PercentageDisplay 2003-10-04 08:23:04 +00:00
Glenn Maynard 0667d33c94 use PercentageDisplay 2003-10-04 08:22:09 +00:00
Glenn Maynard df4ef03114 Split percentage display into its own actor. 2003-10-04 08:20:37 +00:00
Glenn Maynard 2b6a2fb6e7 SDL-1.2.6 2003-10-04 06:41:17 +00:00
Glenn Maynard a563934c31 update 2003-10-04 06:38:41 +00:00
Glenn Maynard 57f406df15 Remove unused functions causing annoying OLEAUT32.dll warning. 2003-10-04 06:35:58 +00:00
Glenn Maynard 7743443c4f more const fixes 2003-10-04 05:04:31 +00:00
Glenn Maynard 285e6156e6 unneeded cast 2003-10-04 04:56:32 +00:00
Glenn Maynard e486991c81 more const fixes 2003-10-04 04:55:59 +00:00
Glenn Maynard a7d4a72094 more const fixes 2003-10-04 04:49:20 +00:00
Glenn Maynard 7b16100f13 const fix 2003-10-04 04:38:44 +00:00
Glenn Maynard b0453f1341 cleanup 2003-10-04 04:35:22 +00:00
Glenn Maynard 40924823ad unneeded cast 2003-10-04 04:30:38 +00:00
Glenn Maynard ef38e772e5 const fix 2003-10-04 04:30:00 +00:00
Glenn Maynard 5f61050ce8 LoadTransformed, LoadTransformedSlidingWindow const fix. 2003-10-04 04:14:30 +00:00
Glenn Maynard 45fcce6e07 CopyRange const fix.
Add To4s, From4s.
2003-10-04 04:05:29 +00:00
Glenn Maynard 7d4ef141dc To2sAnd3s, From2sAnd3s 2003-10-04 03:12:45 +00:00
Glenn Maynard 23bf8cb1ca Interface cleanup, const fix, minor optimizations. 2003-10-04 03:04:44 +00:00
Glenn Maynard 8b78e58841 Add Get2sAnd3s. This will eventually replace ConvertHoldNotesTo2sAnd3s. 2003-10-04 03:02:26 +00:00
Glenn Maynard 1a8e342768 Optimize, fix const 2003-10-04 02:30:06 +00:00
Glenn Maynard 9a6aa5f8cb unused options screens 2003-10-04 01:39:26 +00:00
Glenn Maynard 6e81c5c286 simplify 2003-10-04 01:33:20 +00:00
Glenn Maynard 73165ce3f0 noisy 2003-10-04 00:47:57 +00:00
Glenn Maynard aeb867d030 Use checkpoints for noisy logs, instead of traces. 2003-10-04 00:46:10 +00:00
Glenn Maynard 8de3ebe95f Use checkpoints for noisy logs, instead of traces, if the main purpose
is making it easier to track crashes.  That way, it'll show up in the crash
dump, but it won't clut logs.
2003-10-04 00:44:19 +00:00
Glenn Maynard d733fa623b Fix metric. David, please diff before committing. 2003-10-04 00:13:02 +00:00
Glenn Maynard 9ade4fa722 GetLength optimization 2003-10-03 23:23:28 +00:00
Glenn Maynard 802d8c7aff Much faster RageSoundReader_MP3::FindOffsetFix 2003-10-03 22:55:41 +00:00
Glenn Maynard ee9c02ea4e much faster RageSoundReader_MP3::Copy 2003-10-03 22:22:34 +00:00
Glenn Maynard f554cdeb5f Cleanup. 2003-10-03 22:05:42 +00:00
Glenn Maynard cedff03274 cleanup 2003-10-03 21:57:03 +00:00
Glenn Maynard f611e2461e namespace cleanup 2003-10-03 21:38:38 +00:00
Glenn Maynard bb02184ff4 commnets 2003-10-03 21:21:17 +00:00
Glenn Maynard b532617434 simplify 2003-10-03 09:00:02 +00:00
Glenn Maynard eb46c45567 Minor sync fix when using playback rates. 2003-10-03 08:48:34 +00:00
Glenn Maynard 9c0f586073 Fix some more really obscure seeking problems. 2003-10-03 07:57:33 +00:00
Glenn Maynard c098349af5 improve error output 2003-10-03 07:02:05 +00:00
Glenn Maynard 26d3f375e2 cleanup 2003-10-03 06:34:34 +00:00
Glenn Maynard f4b70646ce Add Color * Color = Color.
Remove Color * F.
2003-10-03 06:33:02 +00:00
Glenn Maynard 440899867c Fix transition glitch. (beginning of song could appear briefly while tweening out) 2003-10-03 06:05:10 +00:00
Glenn Maynard e67a8439df No, really, this file isn't used anymore. 2003-10-03 04:40:12 +00:00
Glenn Maynard f91ada81ea Fix FindOffsetFix for songs that start with silence. 2003-10-03 04:28:01 +00:00
Glenn Maynard b3474cd654 cleanups and fixes 2003-10-03 03:35:58 +00:00
Glenn Maynard 90cd567b48 Move codec dump to DShow renderer; it's usually not needed anymore,
and ACM codecs are a potential cause of crashes.
2003-10-02 09:36:49 +00:00
Glenn Maynard bae90050eb fix warning 2003-10-02 09:33:30 +00:00
Glenn Maynard ea52eac8b4 noisy 2003-10-02 09:19:40 +00:00
Glenn Maynard 9800ead914 simplify 2003-10-02 09:19:23 +00:00
Glenn Maynard cf1d384afc Update comments. 2003-10-02 09:13:46 +00:00
Glenn Maynard eae3cc2ede simplify 2003-10-02 09:01:17 +00:00
Glenn Maynard f75058750a Evil magic. Should fix some editor sync problems. 2003-10-02 08:37:09 +00:00
Glenn Maynard 5d7e71a608 Unneeded; this bug was latent due to an extra rewind. 2003-10-02 06:50:05 +00:00
Glenn Maynard 43505fb17b Seek sync fixes. 2003-10-02 05:58:01 +00:00
Glenn Maynard 036fd2beb9 Fix: don't chop off the first 26ms of each MP3 (but don't change sync,
either).
2003-10-02 04:56:09 +00:00
Glenn Maynard 6063565530 simplify 2003-10-02 04:10:56 +00:00
Glenn Maynard d316c58477 add assert 2003-10-02 03:49:52 +00:00
Glenn Maynard 0aeff4e268 update 2003-10-02 03:22:57 +00:00
Glenn Maynard d26b22eb8f eliminate RageLog prefsman use 2003-10-02 03:13:51 +00:00
Glenn Maynard 81c4f0b9e9 reduce RageLog prefsman use 2003-10-02 03:11:35 +00:00
Glenn Maynard fdaac32a8f Add ChangeCurrentGame. Move the currently-selected game to
GamePrefs.ini.
2003-10-02 03:06:20 +00:00
Glenn Maynard c9074c170c IniFile::SetValueB->SetValue, etc. Cleanup. 2003-10-02 02:11:47 +00:00
Glenn Maynard b13cb43aa6 IniFile::GetValueB->GetValue, etc. Cleanup. 2003-10-02 02:03:29 +00:00
Glenn Maynard 02aa294a40 fix warning 2003-10-02 01:59:14 +00:00
Glenn Maynard e96552f981 Remove m_sCustomSpeedMod: this is done with theme metrics now. 2003-10-02 01:46:33 +00:00
Glenn Maynard 75a3a7f8b8 functions moved 2003-10-02 01:41:09 +00:00
Glenn Maynard e41a094ee5 Move ReadGamePrefsFromDisk() and SaveGamePrefsToDisk()
to StepMania.cpp.  This is to reduce the dependencies of PrefsManager:
code everywhere depends on it, but it depends on code everywhere,
resulting in lots of cross-dependencies.  (Just a small step to being able
to compile smaller bits of the engine for testing.)
2003-10-02 01:39:23 +00:00
Glenn Maynard 1fd137082d Remove AdditionalLog. 2003-10-02 01:10:48 +00:00
Glenn Maynard fa702635c1 Remove HOOKS->AdditionalLog.
Make LOG work without HOOKS being set up.
2003-10-02 01:09:15 +00:00
Glenn Maynard ad4061907f Simplify. TapNoteScoreToDancePoints is no longer used for grading,
so always do the Oni calculation.
2003-10-02 00:02:03 +00:00
Glenn Maynard e6552f16b9 Calc grade based on iTapNoteScores and iHoldNoteScores. 2003-10-01 23:47:17 +00:00
Glenn Maynard 308308ac99 fix sudden+hidden 2003-10-01 21:46:00 +00:00
Glenn Maynard 6e69d20889 now unused 2003-10-01 20:55:07 +00:00
Glenn Maynard 22c9cb17f3 simplify 2003-10-01 20:54:37 +00:00
Glenn Maynard edf76805d0 Fix crash, add asserts, cleanup. 2003-10-01 10:04:23 +00:00
Glenn Maynard ce3d18c607 unused 2003-10-01 08:24:23 +00:00
Glenn Maynard bd97211ded remove TLS 2003-10-01 08:23:57 +00:00
Glenn Maynard 9d7df5036c Simplify. Use RageThread::HaltAllThreads. 2003-10-01 08:21:11 +00:00