Commit Graph
100 Commits
Author SHA1 Message Date
Glenn Maynard b86988a538 update 2004-09-08 02:21:09 +00:00
Glenn Maynard 8296900391 This is a helper to precache files in the background, which is used to
make the music selection screen playable when music is being read
off a CD.  This is actually disabled; I'm adding it so I can shift
ScreenSelectMusic to use the API.
2004-09-08 02:17:08 +00:00
Glenn Maynard a5dae29422 reduce lock contention 2004-09-08 01:38:22 +00:00
Glenn Maynard eff24b6380 fix odd newline behavior in wrap mode 2004-09-08 01:21:52 +00:00
Glenn Maynard 96e96f042f cleanup 2004-09-08 00:42:07 +00:00
Glenn Maynard d6d3a3ccc5 typo 2004-09-08 00:36:30 +00:00
Glenn Maynard 2846fb4c9c fix crashes on invalid #MODS entry 2004-09-08 00:33:20 +00:00
Glenn Maynard 8c284daa36 fix TexCoordArrayFromRect crash 2004-09-08 00:21:25 +00:00
Glenn Maynard f633a309d7 cleanup
fix crash
2004-09-08 00:03:06 +00:00
Glenn Maynard 2accf47cf3 fix false "underruns" 2004-09-07 22:57:53 +00:00
Glenn Maynard 3d5d6687f6 whoops 2004-09-07 21:29:12 +00:00
Glenn Maynard bfd8078f5d OSC3 update 2004-09-07 21:27:22 +00:00
Glenn Maynard ad0369f7fc update 2004-09-07 21:26:46 +00:00
Glenn Maynard f9478959da log SongManager::RevertFromDisk 2004-09-07 20:38:01 +00:00
Glenn Maynard 6fda4030ee optimize 2004-09-07 09:16:08 +00:00
Glenn Maynard 9cf85e4b84 remove comment 2004-09-07 04:24:26 +00:00
Glenn Maynard 7f805dcc87 simplify 2004-09-07 03:26:23 +00:00
Glenn Maynard 8f0c559ef4 dump all thread stacks on semaphore timeout 2004-09-07 03:17:56 +00:00
Glenn Maynard 4d2d187be0 update 2004-09-07 03:16:17 +00:00
Glenn Maynard ce6db184e3 ForceCrashHandlerDeadlock takes an ID
handle iID == GetInvalidThreadId() for "all"
2004-09-07 03:15:54 +00:00
Glenn Maynard 3f615baa8d remove ugly ThreadImpl::GetCrashHandle 2004-09-07 03:05:56 +00:00
Glenn Maynard 0ce4716c0e add RageThread::EnumThreadIDs
pass a ThreadId toForceCrashHandlerDeadlock; do away with crash handles
2004-09-07 02:58:59 +00:00
Glenn Maynard 3bf79d0bc4 track HANDLE separately 2004-09-07 02:55:41 +00:00
Glenn Maynard f6a9b1477e Improved underrun recovery: doesn't skip arrows for minor underruns,
and can increase writeahead when needed in some cases
2004-09-07 00:33:54 +00:00
Glenn Maynard a5bc6870ac revert 2004-09-06 23:36:38 +00:00
Glenn Maynard 7a11b10426 fix the life meter getting stuck around -0.002 with m_bMercifulDrain, because
the multiplier expects fLifePercentage to be clamped
2004-09-06 23:10:06 +00:00
Glenn Maynard 64be80e4f7 simpify 2004-09-06 21:50:03 +00:00
Glenn Maynard fbe4fe1b29 this screen works again 2004-09-06 21:47:58 +00:00
Glenn Maynard fa356decdf simplify 2004-09-06 09:53:41 +00:00
Glenn Maynard 4df3517b93 mount mem 2004-09-06 09:36:12 +00:00
Glenn Maynard 5403b135b7 use RunningUnderValgrind() 2004-09-06 08:32:25 +00:00
Glenn Maynard 55fe932dbb update 2004-09-06 08:30:16 +00:00
Glenn Maynard 7b2521654e split out RunningUnderValgrind() 2004-09-06 08:29:50 +00:00
Glenn Maynard 3713135cda update 2004-09-06 08:03:05 +00:00
Glenn Maynard 323d43f828 fix editor crash when saving a new, empty course: don't set up fixed
songs with pSong == NULL.

It'd be better to allow it, and remember song entries in courses that don't
exist, so they can be displayed as "missing song" in the editor, and so editing
a course doesn't erase all entries that are missing; but I don't want to go into
that right now.
2004-09-06 07:08:23 +00:00
Glenn Maynard 189018ac04 better assertions 2004-09-06 07:03:32 +00:00
Glenn Maynard 1a45745a71 fix output paths 2004-09-06 06:50:29 +00:00
Glenn Maynard 6c865a2b9c update test_file_readers; write data with RageFile, too 2004-09-06 06:39:57 +00:00
Glenn Maynard 13ba2d7794 fix warning 2004-09-06 06:25:21 +00:00
Glenn Maynard b1465d4868 fix linux compile 2004-09-06 06:25:03 +00:00
Glenn Maynard aad5140304 add RageFileDriverMemory; this is just a very simple memory "filesystem"
for caching stuff.  (Not yet used, just committing for testing ...)
2004-09-06 06:22:09 +00:00
Glenn Maynard d0c6b3698b doesn't need to be virtual 2004-09-06 05:28:19 +00:00
Glenn Maynard 21fe4fa342 const 2004-09-06 05:27:18 +00:00
Glenn Maynard 692ad6c31e reduce fading banner skips 2004-09-06 05:25:37 +00:00
Glenn Maynard 5339c85250 fix off-center 's' and 'y', and overly wide 's' 2004-09-06 05:03:57 +00:00
Glenn Maynard 691deabe66 cleanup 2004-09-06 04:50:10 +00:00
Glenn Maynard 99acbebc14 fix 2004-09-06 04:49:17 +00:00
Glenn Maynard eb2855f27a fix DIK_APOSTROPHE map 2004-09-06 04:48:33 +00:00
Glenn Maynard 210f848139 SMmain doesn't exist 2004-09-06 04:37:10 +00:00
Glenn Maynard bc70dfc982 fix warning 2004-09-06 04:33:31 +00:00
Glenn Maynard 2e7b6fbf30 unused 2004-09-06 04:25:27 +00:00
Glenn Maynard f4efbed2b3 meaningless comment 2004-09-06 04:24:12 +00:00
Glenn Maynard b5a10593e3 update comment 2004-09-06 04:17:03 +00:00
Glenn Maynard 5283b35864 ArchUtils/Xbox/arch_setup.h 2004-09-06 04:11:32 +00:00
Glenn Maynard 82b3c4810b ARCH_SETUP_XBOX_H 2004-09-06 04:10:55 +00:00
Glenn Maynard 2decb1774a this is already done in ArchHooks_Xbox 2004-09-06 04:03:01 +00:00
Glenn Maynard a26961cdc4 startup and shutdown stuff should happen in ArchHooks 2004-09-06 04:01:35 +00:00
Glenn Maynard 712b5fbca0 if the selected game isn't available (no note skins), revert 2004-09-06 03:25:58 +00:00
Glenn Maynard a2a21faa55 when bSwitchToLastPlayedGame, do so before loading announcer/theme 2004-09-06 03:25:03 +00:00
Glenn Maynard 1f77772dc8 fix GameManager::IsGameEnabled 2004-09-06 03:19:49 +00:00
Glenn Maynard d6ffc80ba2 simplify NoteSkinManager::GetNoteSkinNames, add bFilterDefault 2004-09-06 03:19:15 +00:00
Glenn Maynard e717cc88f0 fix RefreshNoteSkinData looking in the wrong place 2004-09-06 02:52:10 +00:00
Glenn Maynard 3e1bc2ef26 NoteSkinManager::ColToButtonName -> Game::ColToButtonName 2004-09-06 02:49:36 +00:00
Glenn Maynard 951b2bf1be simplify, work on fixing NoteSkinManager::RefreshNoteSkinData(Game*) 2004-09-06 02:30:50 +00:00
Glenn Maynard a8c13c45bb flip GameManager::IsGameEnabled and GameManager::GetEnabledGames 2004-09-06 02:29:20 +00:00
Glenn Maynard 48b1d8c9b5 GameState::Reset() calls NOTESKIN->RefreshNoteSkinData; reset after
changing the game, so we don't have to do it twice
2004-09-06 01:30:10 +00:00
Glenn Maynard 1c45f2471f unneeded include 2004-09-06 01:00:30 +00:00
Glenn Maynard 8438dffa0d it's no longer possible to select a nonexistant theme, unless "default"
itself doesn't exist, because ModeChoice only considers a string to be
a note skin if a note skin by that name exists
2004-09-06 00:58:34 +00:00
Glenn Maynard 540b116244 fix GameState::GetAllUsedNoteSkins returning skins for inactive players 2004-09-06 00:35:52 +00:00
Glenn Maynard 3d0d64c4ae fix "GetExtraStageInfo() called in GROUP_ALL_MUSIC, but GAMESTATE->m_pCurSong == NULL" 2004-09-05 23:50:09 +00:00
Glenn Maynard 1d5e04b024 real fix for Windows memcards 2004-09-05 23:45:57 +00:00
Glenn Maynard 83265c4d63 remove Rloss, Gloss, Bloss, Aloss 2004-09-05 23:37:04 +00:00
Glenn Maynard e6eb3e5ff9 remove hack 2004-09-05 23:35:49 +00:00
Glenn Maynard 2defb1963a cleanup 2004-09-05 23:34:49 +00:00
Glenn Maynard b28fb1d5c9 cleanup 2004-09-05 23:24:48 +00:00
Glenn Maynard 26b22b5f31 simplify 2004-09-05 23:20:04 +00:00
Glenn Maynard 1eaa2e1b56 shift format data to an array 2004-09-05 23:17:47 +00:00
Glenn Maynard d990cc92f8 improve color conversion 2004-09-05 22:54:49 +00:00
Glenn Maynard 9f38c2237c simplify blit selection by letting each blit decide for itself 2004-09-05 22:35:53 +00:00
Glenn Maynard 174810d286 Fix blit_rgba_to_rgba: converting channels that were at least 1bpp
to a higher bit depth resulted in 0s.  This caused banners to be transparent
on Macs.  This also fixes scaling: scale colors instead of truncating them.
This is a little slower; I might need to add an optimized blit for the d3d movie
code path ...
2004-09-05 22:18:14 +00:00
Glenn Maynard abc76e28ed apply graphic settings on texture color depth change 2004-09-05 22:10:58 +00:00
Glenn Maynard dec895409a ApplyHotPinkColorKey: simplify, fix quick alpha enable, and disable it
for now
2004-09-05 08:48:45 +00:00
Glenn Maynard d49851d12f dumb fix 2004-09-05 07:23:25 +00:00
Glenn Maynard c8e52ea1ac dumb temp debugging hack 2004-09-05 06:54:36 +00:00
Glenn Maynard 24c5d6248b more debug output 2004-09-05 06:25:13 +00:00
Glenn Maynard 28f0a1b736 fix volume calc; meant to change the comment but not the equation
make sure setting volume to 0 works
2004-09-05 06:05:56 +00:00
Glenn Maynard 20dcf02ad1 "0%" -> "SILENT"; remove extra "10%" 2004-09-05 06:00:25 +00:00
Glenn Maynard c5ec5aa56b fix SetVolume 2004-09-05 05:55:36 +00:00
Glenn Maynard ffbe769356 allow both 1280x960 (for CRTs) and 1280x1024 (for LCDs) 2004-09-05 05:50:23 +00:00
Glenn Maynard ed9e25b2b1 remove AddFileSet 2004-09-05 04:12:42 +00:00
Glenn Maynard 99994a55cd split out FilenameDB::DelFileSet 2004-09-05 03:49:45 +00:00
Glenn Maynard 3da657bfc8 simplify 2004-09-05 03:43:05 +00:00
Glenn Maynard cbea6c75bc use GetFilePriv 2004-09-05 03:41:40 +00:00
Glenn Maynard 0bfb1d5058 add FilenameDB::GetFilePriv 2004-09-05 03:40:19 +00:00
Glenn Maynard 57b6bd4ceb fix RageFileObjZipStored::Copy 2004-09-05 03:37:34 +00:00
Glenn Maynard db0fa11b51 use NullFilenameDB 2004-09-05 03:35:49 +00:00
Glenn Maynard 9fac7fdc6d NullFilenameDB 2004-09-05 03:34:18 +00:00
Glenn Maynard f5ef4eaf92 Banner::Load("") -> fallback 2004-09-05 03:32:45 +00:00
Glenn Maynard f3c1629853 store ncolors 2004-09-05 03:31:47 +00:00
Glenn Maynard 059d9b3783 short circuit FindSurfaceTraits for RGB 2004-09-05 03:30:14 +00:00