Commit Graph
100 Commits
Author SHA1 Message Date
Glenn Maynard cae5bf6e29 ModeMenuAvailable 2005-04-27 04:35:55 +00:00
Glenn Maynard 2cac14ae37 add ModeMenuAvailable 2005-04-27 04:26:06 +00:00
Glenn Maynard cad746ae8c fix #GAINSECONDS not cached 2005-04-27 03:07:05 +00:00
Glenn Maynard a5ab1a5664 fix error check 2005-04-27 01:48:52 +00:00
Glenn Maynard 64daf9379d add error check 2005-04-27 01:30:11 +00:00
Glenn Maynard 89cf91fb38 don't keep failed sounds 2005-04-27 01:23:56 +00:00
Glenn Maynard 87a2186cc9 fix copying RageFileDriverSlice doesn't init RageFileObj properly, causing desync between file pointers (RageFileObj thinks it's at 0, RageFileDriverSlice thinks it's at somewhere else) 2005-04-27 01:22:27 +00:00
Glenn Maynard bbd4e2a251 fix ScreenSetTime 2005-04-26 23:44:55 +00:00
Glenn Maynard d233040ce1 fix warning 2005-04-26 20:21:13 +00:00
Glenn Maynard 126d5f4851 fix SortCoursePointerArrayByAvgDifficulty and SortCoursePointerArrayByNumPlays 2005-04-26 10:33:12 +00:00
Glenn Maynard 50917e6e50 fix warning 2005-04-26 10:29:23 +00:00
Glenn Maynard 7892552052 fix warnings 2005-04-26 10:28:20 +00:00
Glenn Maynard 214b964268 add select alias 2005-04-26 08:55:29 +00:00
Glenn Maynard e1c1b6cbc4 add secondary screenshot code 2005-04-26 08:40:27 +00:00
Glenn Maynard 2df152f792 oops: DynamicThemeMetric doesn't go through the same code path
as ThemeMetric, so we have to say "false" instead of "0" (since 0 is
true in Lua).  hmm ...
2005-04-26 06:47:45 +00:00
Glenn Maynard 23daae6a25 add select menu 2005-04-26 06:41:57 +00:00
Glenn Maynard 60755230c0 add DynamicThemeMetric. This might be a possible replacement for
ThemeMetric, but it's not quite as fast: code that assumes that dereferencing
a ThemeMetric is trivially cheap (eg. in inner loops) would break.
2005-04-26 06:32:08 +00:00
Glenn Maynard cb0e9613a9 virtual 2005-04-26 06:18:17 +00:00
Glenn Maynard 8f062f9f0f fix: pressing start while tweening to the sort menu would select a song;
this would cause GAMESTATE->m_SortOrder to be set to SORT_MODE_MENU
while in gameplay, which is wrong
2005-04-26 06:15:45 +00:00
Glenn Maynard 9c0679c738 fix ScreenSelect loading screens two or three times (!) due to broken
"clear m_sScreen" logic
2005-04-26 05:39:12 +00:00
Glenn Maynard 261cbacb36 comment 2005-04-26 04:22:53 +00:00
Glenn Maynard e9c2c4678d fix division by zero causing m_fTrailingPercent to be NaN (results in
the life bar getting "stuck" full)
2005-04-26 03:57:06 +00:00
Glenn Maynard 9345d3a29e add warning 2005-04-25 21:14:37 +00:00
Glenn Maynard 904fd6a316 fix first memory card access on startup doesn't time out 2005-04-25 21:07:40 +00:00
Glenn Maynard 348468cfd7 copy in blocks, instead of copying the whole thing at once; better timeout behavior and more robust with very large files 2005-04-25 21:05:29 +00:00
Glenn Maynard 58d16fc4ad cleanup 2005-04-25 11:45:16 +00:00
Glenn Maynard fb30fa1c19 track rolls 2005-04-25 11:42:19 +00:00
Glenn Maynard e146476eb5 cleanup 2005-04-25 11:34:08 +00:00
Glenn Maynard 78331c76f3 cleanup 2005-04-25 11:33:17 +00:00
Glenn Maynard 37253cca48 add rolls
show "100.00%" as "100%", to save space
2005-04-25 11:24:27 +00:00
Glenn Maynard c8feda3000 fNumRolls 2005-04-25 11:23:00 +00:00
Glenn Maynard c8f39053eb implement RADAR_NUM_ROLLS to fix assertion failure 2005-04-25 10:01:39 +00:00
Glenn Maynard d7c686e726 fix comment 2005-04-25 09:44:59 +00:00
Glenn Maynard 7f43d744e9 fix pop 2005-04-25 09:42:54 +00:00
Glenn Maynard 1c3323fac7 add norolls 2005-04-25 09:42:26 +00:00
Glenn Maynard 598a3d86b3 cleanup 2005-04-25 09:37:33 +00:00
Glenn Maynard 120b70f06c add RADAR_NUM_ROLLS
ChangeRollsToHolds fix
2005-04-25 09:35:22 +00:00
Glenn Maynard 73f5051118 add NoteData::GetNumRolls 2005-04-25 09:33:58 +00:00
Glenn Maynard 5d0386a7bc add NoteDataUtil::ChangeRollsToHolds 2005-04-25 09:18:02 +00:00
Glenn Maynard 101cc2f8c7 fix NoteDataUtil::RemoveHoldNotes removes rolls 2005-04-25 09:15:43 +00:00
Glenn Maynard 134ee5e24a fix ReadArrayFromTable 2005-04-25 07:01:52 +00:00
Glenn Maynard ee8309859a Lua 2005-04-25 07:01:07 +00:00
Glenn Maynard 027406f8df play command on change 2005-04-25 03:44:21 +00:00
Glenn Maynard d5479053fa disable unused attack loading code 2005-04-25 02:38:54 +00:00
Glenn Maynard d586994bf4 fix MAX_EDITS_PER_PROFILE 2005-04-25 02:27:17 +00:00
Glenn Maynard 0af0e63fc8 implement RageFileDriverTimeout::Remove; fixes temp file being left behind on memory card 2005-04-25 02:23:01 +00:00
Glenn Maynard 812bd73f7f cleanup 2005-04-25 01:57:01 +00:00
Glenn Maynard 91f25bba0a transition's finished; rename LoadEditsFromDir to LoadAllFromProfileDir to regeneralize 2005-04-25 00:36:26 +00:00
Glenn Maynard 620b847f06 remove unused SongManager::LoadAllFromProfile 2005-04-25 00:33:40 +00:00
Glenn Maynard 63120568e6 Edits are part of the profile, so it's the profile's responsibility to load and unload them. (allows implementing fallback edit loading) 2005-04-25 00:32:08 +00:00
Glenn Maynard b37894ca6e don't unload all edits (machine edits stay loaded, others unloaded when we unload the profile; if we want to reload machine edits, reload the machine profile) 2005-04-25 00:28:58 +00:00
Glenn Maynard d997b7d137 unload edits when unloading the profile 2005-04-25 00:25:04 +00:00
Glenn Maynard 96bcbbc820 allow freeing steps from a specific profile 2005-04-25 00:09:59 +00:00
Glenn Maynard dcafde0088 allow unloading steps from a specific profile 2005-04-25 00:05:42 +00:00
Glenn Maynard 8f831ffb85 split out SongManager::LoadEditsFromDir 2005-04-24 23:39:35 +00:00
Glenn Maynard 5093809e31 fallback load for Editable.ini when loaded by the memory card thread 2005-04-24 23:23:32 +00:00
Glenn Maynard 1ea1ecfaaf move FastLoadProfileNameFromMemoryCard into ProfileManager 2005-04-24 23:06:15 +00:00
Glenn Maynard 9928ed6bde report errors in LoadEditableDataFromDir 2005-04-24 22:56:05 +00:00
Glenn Maynard d8e675a1c4 pass -l flag to umount 2005-04-24 22:46:18 +00:00
Glenn Maynard 389c5e4430 add missing Seek method 2005-04-24 22:19:39 +00:00
Glenn Maynard c9e7232970 better error messages 2005-04-24 22:04:39 +00:00
Glenn Maynard 48d5aaf621 fix RageFileDriverTimeout::FlushDirCache: need to flush both the RageFileDriverTimeout and the child driver 2005-04-24 21:59:44 +00:00
Glenn Maynard 086ee3f376 split GetMemoryCardProfileDirectoriesToTry
store directory imported from
2005-04-24 19:39:54 +00:00
Glenn Maynard cabfc056fd API 2005-04-24 19:33:46 +00:00
Glenn Maynard e2ab509b8e pull out common memory card profile code (in prep for import handling) 2005-04-24 19:30:35 +00:00
Glenn Maynard 3a5de2fe67 cleanup 2005-04-24 19:27:30 +00:00
Glenn Maynard 1abb3cd8b2 working on importing scores 2005-04-24 19:18:46 +00:00
Glenn Maynard a7d099d006 simplify 2005-04-24 18:50:31 +00:00
Glenn Maynard a5c6093a9f cleanup 2005-04-24 18:48:17 +00:00
Glenn Maynard 30f05feedd add per-vertex diffuse color lua bindings 2005-04-24 10:08:55 +00:00
Glenn Maynard 104ecd10ce split("") should return an empty vector 2005-04-24 06:32:51 +00:00
Glenn Maynard 5ab903244e support sequences of only one input 2005-04-24 06:31:39 +00:00
Glenn Maynard 1f369f298a sync behavior of InputQueue::MatchesSequence overloads 2005-04-24 06:30:32 +00:00
Glenn Maynard e700aae4e1 Add "Select". Nothing currently uses this directly, but it can be mapped
to codes.
2005-04-24 04:35:59 +00:00
Glenn Maynard 5affc1cef4 more table fixes 2005-04-24 04:06:01 +00:00
Glenn Maynard b6e5391f9e fix table (this compiled because "NO_DEFAULT_KEY NO_DEFAULT_KEY" becomes "-1-1" = -2) 2005-04-24 04:03:52 +00:00
Glenn Maynard 58aa3d2577 fix compile (does this driver even work?) 2005-04-24 03:44:56 +00:00
Glenn Maynard 6b3d83e4e8 comment 2005-04-24 01:36:50 +00:00
Glenn Maynard 2bf4de2746 SetPreferredSong, GetPreferredSong 2005-04-24 01:33:32 +00:00
Glenn Maynard 50e5e9f597 return nil for error, not an aribtrary sentinel 2005-04-24 01:25:51 +00:00
Glenn Maynard 902b0e8ac7 PlayOnce hook 2005-04-24 01:24:36 +00:00
Glenn Maynard 3b4d72a9e7 allow temporarily dimming the BGM 2005-04-24 00:36:07 +00:00
Glenn Maynard 5fd0d235c4 add FindCode helper 2005-04-24 00:07:12 +00:00
Glenn Maynard 37fb267fd6 Don't use "long" and "short", unless it's for passing to an API that explicitly
expects them; they're too vague across archs.  If you really want specific size
ints, use int16_t, uint64_t, etc.  In this case, "int" is fine.

Flip error check.
2005-04-23 23:09:08 +00:00
Glenn Maynard 33a5148081 pCt -> g_iRefCount 2005-04-23 23:03:41 +00:00
Glenn Maynard 12339028d5 pMasks -> g_aiMasks 2005-04-23 23:00:23 +00:00
Glenn Maynard 27790e1ccf simplify 2005-04-23 22:58:26 +00:00
Glenn Maynard 58bfa13cc8 cosmetic 2005-04-23 22:53:26 +00:00
Glenn Maynard 7f91d30efc cleanup, static 2005-04-23 22:50:36 +00:00
Glenn Maynard 0f9b2793f2 remove debug 2005-04-23 22:14:36 +00:00
Glenn Maynard 329f23d8ad simple cosmetic changes to match code style 2005-04-23 22:13:19 +00:00
Glenn Maynard aa8b96ab87 update 2005-04-23 10:20:49 +00:00
Glenn Maynard c401a65864 more banners
separate command for fading from low res
2005-04-23 10:19:47 +00:00
Glenn Maynard f52f45d2ca tweens 2005-04-23 06:53:17 +00:00
Glenn Maynard d3b034e9d4 remove hard-coded tween 2005-04-23 06:52:07 +00:00
Glenn Maynard 11d18fd852 cleanup 2005-04-23 06:36:26 +00:00
Glenn Maynard 026148f7fa unused 2005-04-23 06:30:22 +00:00
Glenn Maynard 8d89ff4bd9 simplify 2005-04-23 06:20:26 +00:00
Glenn Maynard a8803f9777 fix background caching 2005-04-23 06:19:36 +00:00
Glenn Maynard 81adc42e5a metric 2005-04-23 05:34:37 +00:00