Commit Graph
100 Commits
Author SHA1 Message Date
Glenn Maynard 9cf3f9b331 support 6 joysticks 2003-10-11 00:16:32 +00:00
Glenn Maynard a7771a5c66 boost Pump thread priority 2003-10-11 00:15:19 +00:00
Glenn Maynard 487ae05261 Don't re-init ScoreDisplay. 2003-10-10 23:44:17 +00:00
Glenn Maynard 0468d26316 improve output 2003-10-10 23:42:02 +00:00
Glenn Maynard 8c5c84b691 Re-fix '0' crashing the editor 2003-10-10 22:22:10 +00:00
Glenn Maynard dcc58faf48 no extensions in redirs 2003-10-10 05:36:25 +00:00
Glenn Maynard b014c72bd2 Remove extra newlines when recovering from malformed MSDs. 2003-10-10 04:32:50 +00:00
Glenn Maynard abc93ed1d4 work around windows and/or samba bug 2003-10-10 04:16:44 +00:00
Glenn Maynard 0f09ef2103 prevent negative PostScreenMessage time 2003-10-10 03:47:45 +00:00
Glenn Maynard 8afe89d22f Cleanup: read game prefs right after theme and announcer are set up,
so we don't waste time with default metrics that'll just be overridden
right away.  Load ANNOUNCER earlier to do this.
2003-10-10 03:23:36 +00:00
Glenn Maynard 04d7f58014 Stricter ReadGamePrefsFromDisk asserts 2003-10-10 03:17:08 +00:00
Glenn Maynard 3504bd4a4a Fix hidden not turning off 2003-10-09 23:58:17 +00:00
Glenn Maynard 644ec45723 cosmetic 2003-10-09 23:27:28 +00:00
Glenn Maynard 2207d9e4a2 Fix g++ compile error.
Improve output.
2003-10-09 07:28:02 +00:00
Glenn Maynard d5481286fa alpha 6 -> 7 2003-10-09 07:03:01 +00:00
Glenn Maynard 748dde8414 add test_audio_readers 2003-10-09 06:59:34 +00:00
Glenn Maynard c35dee1a3d Add test_audio_readers. 2003-10-09 06:57:55 +00:00
Glenn Maynard e065b9ec4a Fix warning; cleanup. 2003-10-09 06:43:51 +00:00
Glenn Maynard b11788ce2b Screen coordinates are float, not int (fixes warning).
Use && for boolean and, not &.
2003-10-09 06:38:54 +00:00
Glenn Maynard ea812292b1 support 4-bit palettes 2003-10-09 06:33:11 +00:00
Glenn Maynard 4258baa993 cache before loading 2003-10-09 05:31:44 +00:00
Glenn Maynard 442cb10bc0 Cache "ScreenSelectMusic stage" graphics (performance fix). 2003-10-09 04:22:17 +00:00
Glenn Maynard 055a5ca7ce Add GetAllStageTexts. 2003-10-09 04:20:24 +00:00
Glenn Maynard 1117b63a09 Fix cached textures being unloaded too soon. 2003-10-09 04:19:11 +00:00
Glenn Maynard caf7b7f205 fix overhead un-modifier 2003-10-09 03:42:42 +00:00
Glenn Maynard 209070b32f Add DefaultModifiers metric. This is for settings that are specific
to a theme.
2003-10-09 03:38:02 +00:00
Glenn Maynard 3ff298f260 Rename ScreenOptionsMasterPrefs back to ScreenInputOptions. (How'd
that happen?)

Add DefaultModifiers.
2003-10-09 03:36:45 +00:00
Glenn Maynard d902715269 add Supports4BitPalettes 2003-10-09 03:06:10 +00:00
Glenn Maynard 6376a8f066 remove trace 2003-10-09 00:36:15 +00:00
Glenn Maynard 2e7cf4cb7d Tolerate no default. 2003-10-09 00:19:51 +00:00
Glenn Maynard 4a9c6e66db Remove VideoCardDefaults.ini.
Cleanup.
2003-10-09 00:12:36 +00:00
Glenn Maynard 8c9151629e Don't set m_SongOptions.m_iBatteryLives to -1. 2003-10-09 00:06:12 +00:00
Glenn Maynard 4ce32a840a add alphamap hint 2003-10-08 23:21:14 +00:00
Glenn Maynard f1878720a5 Load CJK fonts as grayscale. Simplify. 2003-10-08 23:20:02 +00:00
Glenn Maynard 4ae167bf9e Don't grayscale fonts by default.
Load properties common to all font pages from the section "common".
2003-10-08 23:18:56 +00:00
Glenn Maynard bd70198bee cosmetic 2003-10-08 22:03:54 +00:00
Glenn Maynard 075c34e8cc Fix assertion failure when joysticks with more than one hat are attached 2003-10-08 20:40:41 +00:00
Glenn Maynard 8ff43a4bb8 Override game prefs with static.ini, too. 2003-10-08 08:06:42 +00:00
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