Commit Graph
9684 Commits
Author SHA1 Message Date
Glenn Maynard ef47972465 use fast dither for banner cache 2004-05-02 03:51:25 +00:00
Glenn Maynard fa83dfc552 fix excessive rounding error in mySDL_BlitTransform (completely opaque
surfaces would be set to an alpha value of 0xFB); fix latent alpha channel
bug
2004-05-02 03:49:22 +00:00
Glenn Maynard ac81016af4 when dithering, round the alpha channel instead of truncating 2004-05-02 03:41:33 +00:00
Chris Danford 58d63cb476 make draw order separate from Z value
add "PageType" graphic to ScreenEvaluation
2004-05-02 03:01:27 +00:00
Glenn Maynard 82595ecfe1 fix minor memleaks: a few bytes per screenshot, and a harmless "leak"
if IMG_LoadTyped_RW fails
2004-05-02 02:15:01 +00:00
Jason Felds d3f461220a No more newline warning. 2004-05-02 01:36:28 +00:00
Glenn Maynard 20462b7118 optimize PrintInventoryForSong; cuts a few seconds from stats.html writing 2004-05-02 01:06:16 +00:00
Glenn Maynard 3abc4617e0 update 2004-05-02 00:22:32 +00:00
Glenn Maynard 22d7bf1508 cleanup 2004-05-02 00:21:47 +00:00
Glenn Maynard e96fb67f6c remove old file 2004-05-02 00:18:54 +00:00
Glenn Maynard 363534a046 remove Song::GetNumNotesWithGrade 2004-05-02 00:12:31 +00:00
Glenn Maynard 61c2f730de GetNumNotesWithGrade is very slow when we have to call it on every
grade type, since we have to search for the given grade; instead, use
GetGrades, which returns all grade counts in one pass
(fixes grade sort speed regression; 10x speedup)
2004-05-02 00:11:41 +00:00
Glenn Maynard 34ada5897d add Profile::GetHighScoresForASong
add optimized Profile::GetGrades to fix extremely slow grade sort creation
2004-05-02 00:08:42 +00:00
Glenn Maynard c00f96941b add StepsID::MatchesStepsType 2004-05-02 00:06:55 +00:00
Chris Danford 2e174881c5 don't load multiple copies of "common back" sound 2004-05-01 23:30:30 +00:00
Chris Danford 6590bd2d48 don't load multiple copies of "common start" or "common invalid" sound 2004-05-01 23:28:53 +00:00
Chris Danford df5cd5e813 move MenuElements into a base ScreenWithMenuElements so that metrics can be overridden using the Fallback mechanism 2004-05-01 23:19:33 +00:00
Glenn Maynard 1d2d1927a6 remove old code 2004-05-01 21:54:09 +00:00
Glenn Maynard 197ec50a66 fix inconsistency between StepsID::FromSteps and StepsID::LoadFromNode
causing song scores to not be found
2004-05-01 21:53:28 +00:00
Chris Danford 66e65849da move name refresh from BeginGame to EndGame 2004-05-01 21:34:16 +00:00
Chris Danford f9ee3daede fix compile error 2004-05-01 21:31:53 +00:00
Glenn Maynard 4ffec3f572 add change lists from snapshots
this differs from NEWS: NEWS only contains changes interesting to
end users upgrading from the last major release (though perhaps this
isn't a useful distinction anymore, since it's been about two decades since
the last release)
2004-05-01 07:25:23 +00:00
Glenn Maynard d4352ed68b simplify 2004-05-01 06:26:57 +00:00
Glenn Maynard 084042fc47 log ALSA kernel version earlier 2004-05-01 06:25:24 +00:00
Glenn Maynard 761bcf7eae avoid loading ALSA if not needed 2004-05-01 06:24:37 +00:00
Glenn Maynard 3285433fb9 optimize FTOC (about 7x faster in g++, not benchmarked in VC) 2004-05-01 05:21:39 +00:00
Glenn Maynard eeb79a5ee0 implement missing lrintf 2004-05-01 05:17:58 +00:00
Glenn Maynard b48043dc2e search all_sounds, not owned_sounds 2004-05-01 05:15:21 +00:00
Glenn Maynard 84ac4d3fc9 fix crash if a sound is played, copied, and then the parent is given over
to RageSoundManager; don't think this ever actually happens
2004-05-01 05:13:09 +00:00
Chris Danford 051cc33b43 change linux mem cards to use lsusb instead of crash-happy usbdevfs 2004-05-01 04:40:00 +00:00
Glenn Maynard 53fd27b885 disable "drive not ready", etc. dialogs 2004-05-01 01:44:07 +00:00
Glenn Maynard 41662b7239 fix spurious mkdir(d:/) calls 2004-05-01 01:40:58 +00:00
Glenn Maynard 50b593f7d2 If a drive isn't ready, don't try to mount it at all; it may cause mkdir()
calls to be made (if eg. mounting "D:\foo"), causing "volume not ready"
dialogs.  This happens with removable devices like memory card readers
that don't have a device.

I think this is generally incorrect: if a user has a memcard reader, we'll ignore
it on the first change (no device is installed), and then we'll never actually
notice when a card is inserted, since the drive letters don't actually
change.  I don't have a memcard reader to test this, so I'm punting on
this for now.
2004-05-01 01:26:38 +00:00
Glenn Maynard 07fa62c417 move "join player" logic into GameState
add --player, --mode
2004-04-30 07:48:02 +00:00
Glenn Maynard f013cbf3f8 allow setting courses
fix setting steps not working if the song was previously set
2004-04-30 07:46:46 +00:00
Glenn Maynard 9948172998 add more "why" returns from ModeChoice::IsPlayable 2004-04-30 07:27:01 +00:00
Glenn Maynard bfb552014c add --metric 2004-04-30 07:26:06 +00:00
Glenn Maynard 81eaecbc63 add interface for multiple options with the same name 2004-04-30 07:24:29 +00:00
Charles Lohr fc5c3ad589 Placed command lines in. And put in support to make a in-game connect
or disconnect for connect to SM Server.  (If it ever comes up)
2004-04-30 04:34:39 +00:00
Chris Danford 7a44c365bc fix for compatibility with 2.4 2004-04-29 06:00:20 +00:00
Chris Danford 2180de1cac update memory cards for 2.6 kernel 2004-04-29 04:12:56 +00:00
Charles Lohr fc45e2d051 Fixed command-line arguement for --course=[coursename] 2004-04-29 01:26:47 +00:00
Charles Lohr 858b3fa587 Networking now tells user if connection was successful or unsuccessful. 2004-04-29 01:03:28 +00:00
Glenn Maynard efc61b33d6 simplify RangeOverlaps
add ContainedByRange
2004-04-29 00:33:09 +00:00
Glenn Maynard 7b9802b2bf remove "SaveToProfile" 2004-04-28 23:42:23 +00:00
Glenn Maynard ba8e2196c4 remove "SaveToProfile" option; options are always saved to the profile now 2004-04-28 23:38:27 +00:00
Glenn Maynard 4044ec4073 we give a warning about this earlier, so let's not die because of it here 2004-04-28 23:36:18 +00:00
Glenn Maynard 73271fa3d2 fix DifficultyIcon hiding when no song is selected
(Note that in general, actors should never SetHidden(false) on themselves,
since that will cause themed "hidden,1" commands to be overridden.)
2004-04-28 22:57:42 +00:00
Glenn Maynard c27418fbbf don't throw if a song uses an unknown audio type 2004-04-28 01:26:32 +00:00
Charles Lohr e536980db8 Network no longer attempts to sync Demonstration mode. 2004-04-28 01:25:44 +00:00