Commit Graph
100 Commits
Author SHA1 Message Date
Glenn Maynard 17e0fb52b9 Remove bSwitchToLastPlayedGame.
Simplify.
2003-10-08 08:01:41 +00:00
Glenn Maynard 8475d5fbd5 Override prefs with static.ini 2003-10-08 07:28:11 +00:00
Glenn Maynard b0e05dfbee add ReadGlobalPrefsFromDisk( bSwitchToLastPlayedGame, fn ) 2003-10-08 07:10:55 +00:00
Glenn Maynard 3b452e95e0 fix grayscale game chars 2003-10-08 07:10:20 +00:00
Glenn Maynard 2854c68a18 Remember if a surface fits in 4 bits. 2003-10-08 03:37:33 +00:00
Glenn Maynard a37668e44e Add TextureHints font metric.
By default, load fonts as 4-bit grayscale, 4-bit alpha (I4A4) maps.
This halves font texture memory usage.
2003-10-08 02:54:40 +00:00
Glenn Maynard 93653882ef Use AdditionalTextureHints. Add "grayscale" hint. 2003-10-08 02:52:51 +00:00
Glenn Maynard 8dda57f5bc add AdditionalTextureHints 2003-10-08 02:52:12 +00:00
Glenn Maynard 5dc94af3da use iGrayscaleBits 2003-10-08 02:23:53 +00:00
Glenn Maynard a73a86f63e add iGrayscaleBits 2003-10-08 02:19:59 +00:00
Glenn Maynard 2c816714bb add mySDL_Palettize 2003-10-08 01:46:00 +00:00
Glenn Maynard 5117e94742 Use the "unused" bit in SDL palettes for alpha. 2003-10-08 01:24:53 +00:00
Glenn Maynard fba49abc0d Define the "unused" bit in SDL surfaces. 2003-10-08 01:21:36 +00:00
Glenn Maynard efb6f4dcb1 Don't pretend the sound position is 0 when seeking past end of file. 2003-10-07 04:10:34 +00:00
Glenn Maynard 892ca27777 Change EOF seek behavior: reading after a seek past EOF returns EOF.
Minor Vorbis seek fix.
2003-10-07 04:03:22 +00:00
Glenn Maynard c10fc4407a Don't tween off stuff that isn't used. 2003-10-07 02:13:48 +00:00
Glenn Maynard c744d0aabd Lots of ADPCM bug fixes. 2003-10-06 08:02:52 +00:00
Glenn Maynard e2659ad6b1 MADLIB_rewind never fails.
Always rewind after a seek error.
2003-10-06 05:16:01 +00:00
Glenn Maynard 2a0c57ac40 Add --with-debug. 2003-10-06 05:02:59 +00:00
Glenn Maynard a2da0828b1 fix SetPosition_toc EOF behavior 2003-10-06 05:02:03 +00:00
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