Commit Graph
17522 Commits
Author SHA1 Message Date
Glenn Maynard 9a86f82a15 partial compile fix 2005-09-29 06:23:39 +00:00
Glenn Maynard b8accdb7ec compile fix 2005-09-29 06:19:45 +00:00
AJ Kelly bd723a9050 font is BitDarlingS10 by saru
it's assumed to be free to use when translating the information on http://www.x-saru-x.com/index.php?mode=fontr
2005-09-29 03:58:08 +00:00
Glenn Maynard d05224c544 increase timeout 2005-09-29 02:36:10 +00:00
Glenn Maynard 87ddfb4c41 Up until now, we've been backing up profile data by copying it to the
backup directory immediately after a successful load.  This ensures that
the data we're copying is valid, so after a successful copy, the backup
is valid, too.  This has a couple problems:

 - Copying takes a while.  It's much faster to move data.
 - Data shouldn't be written during a profile read.  Players should be able
   to assume that it's safe to remove the memory card at any time except
   when the game is explicitly saving.
 - Copying good data from one place to another is just as prone to error as
   initially writing it.  It's at least as easy for the backup copy to fail
   and result in a bad backup as it is for a save to fail in the first place.

Instead, when we successfully load profile data (and not from a backup),
set a flag.  Later, when we save over that data, we'll clear the flag and
move the data we're about to overwrite to the backup.
2005-09-29 00:33:22 +00:00
Glenn Maynard 14ab43b2aa RageFileManager::MoveFile 2005-09-28 23:00:34 +00:00
Glenn Maynard 04ec4e66f4 add optional RageFileDriver::MoveFile override; implement for RageFileDriverDirect and RageFileDriverTimeout 2005-09-28 22:59:12 +00:00
Chris Danford 6698a2ba91 add button to open StepMania.ini 2005-09-28 17:51:16 +00:00
AJ Kelly acf8ca0104 Taken from original system zero theme - image is in the public domain as I made it myself 2005-09-28 03:57:52 +00:00
Glenn Maynard ca1309c49d basealpha 2005-09-28 03:50:00 +00:00
AJ Kelly 29cad667dd Taken from original system zero theme - image is in the public domain as I made it myself 2005-09-28 03:47:44 +00:00
Glenn Maynard c4150955bd split ScreenRanking specializations into ScreenRankingScroller (for
PAGE_TYPE_ALL_STEPS, PAGE_TYPE_*_COURSES) and ScreenRankingLines
(PAGE_TYPE_CATEGORY, PAGE_TYPE_TRAIL).

Use DynamicActorScroller for ScreenRankingScroller; reduces overhead
significantly.
2005-09-27 19:10:09 +00:00
Glenn Maynard b5006f6e09 cleanup weird includes 2005-09-27 19:01:53 +00:00
Glenn Maynard aab04cc13f update 2005-09-27 18:14:17 +00:00
Glenn Maynard 34116d9f36 DynamicActorScroller 2005-09-27 18:13:00 +00:00
Chris Danford ea5eb4b223 add "Create Song from music file" function 2005-09-27 09:59:39 +00:00
Chris Danford b9fe8abfea add "Create Song from music file" function 2005-09-27 09:57:13 +00:00
Glenn Maynard ab8ed823b6 add experimental DynamicActorScroller. This allows creating lists like
ScreenCredits and ScreenRanking without constructing dozens or hundreds
of actors, which saves a lot of memory and is easier to manipulate.  This could
also be used to support CourseContentsLists for long courses cheaply, etc.
2005-09-27 07:55:14 +00:00
Glenn Maynard 18f40a2b8f Separate "number of Actors" from "number of items": allow having more items than
actors.  Derived classes do this by overriding ShiftSubActors and setting m_iNumItems
to something other than m_SubActors.size().
2005-09-27 07:49:12 +00:00
Glenn Maynard 384e26cbec ActorScroller doesn't SetDestinationItem anymore, but we still want this here and not in ActorScroller. 2005-09-27 07:40:34 +00:00
Glenn Maynard 4ae883a5c6 cleanup 2005-09-27 07:34:45 +00:00
Glenn Maynard 75484e193f cleanup: add children before calling Load 2005-09-27 05:40:09 +00:00
Glenn Maynard 71931135a3 implement BitmapText::operator= 2005-09-27 05:38:14 +00:00
Glenn Maynard cc737b0835 fix message 2005-09-27 03:32:14 +00:00
Glenn Maynard 71ad5179b4 Don't scroll by default; do it in OnCommand. 2005-09-27 03:20:07 +00:00
Glenn Maynard e1cf2c5484 add lua bindings 2005-09-27 03:18:57 +00:00
Glenn Maynard 2436ef26db simplify 2005-09-26 23:01:24 +00:00
Glenn Maynard e3d5437031 fix up names 2005-09-26 21:04:02 +00:00
Glenn Maynard 5ca840d259 simplify algebraically; nudge both cases to look the same 2005-09-26 21:03:09 +00:00
Glenn Maynard 9110303bff equivalent and easier to understand: fCurrentItem is simply centered 2005-09-26 20:43:45 +00:00
Glenn Maynard e24e9d8c99 cleanup 2005-09-26 19:53:11 +00:00
Glenn Maynard 1178d1df75 cleanup 2005-09-26 19:52:04 +00:00
Glenn Maynard a1d9d49d6c simplify: an ActorScroller is always an ActorScroller 2005-09-26 19:35:15 +00:00
Glenn Maynard 45c50c854d BGAnimation is no longer used for scrollers; use XML. 2005-09-26 19:34:07 +00:00
Glenn Maynard d3ecba30a0 cleanup test 2005-09-26 19:08:45 +00:00
Glenn Maynard 163aa1366a cleanup 2005-09-26 19:08:15 +00:00
Steve Checkoway 186ed0f0ac It compiles but crashes with: Crash reason: ScreenNameEntry, ScreenMusicScroll, during ScreenNameEntry. 2005-09-26 08:10:04 +00:00
Josh Allen 0d6ae492e0 Update for InfoBbox move 2005-09-25 19:00:00 +00:00
Josh Allen 909c8e078a Move all the InfoBox code into the RoomWheel 2005-09-25 18:58:01 +00:00
Josh Allen 4440d57ef6 Virtual and constant 2005-09-25 18:47:24 +00:00
Chris Danford f78cee8988 add sound driver selection and logging toggle 2005-09-25 04:52:01 +00:00
Glenn Maynard d504a9f798 update 2005-09-25 02:30:29 +00:00
Glenn Maynard b6c84d5abb do credits screen in XML (can almost remove this; just the announcer ...) 2005-09-25 01:45:37 +00:00
Glenn Maynard a0da988918 GetRandomSongBackground 2005-09-25 01:41:26 +00:00
Glenn Maynard 3aa06cdf34 simplify 2005-09-24 23:54:24 +00:00
Glenn Maynard 3a185cc977 yuck. ActorScroller doesn't need UseScroller, but BGAnimation does. Move
the hack into BGAnimation, which is on its way out anyway.
2005-09-24 23:43:06 +00:00
Glenn Maynard b389ded342 Remove UseScroller; it's a holdover from when ActorScroller was part of
ActorFrame.  Now, if the class is ActorScroller, we always want a scroller.
2005-09-24 23:25:25 +00:00
Chris Danford 878c73d3c2 Write Catalog.xml even if FastLoad is on.
FastLoad just means "don't check files for changes", not "only use cache".  New files that aren't already in cache are still loaded normally.
2005-09-24 20:39:48 +00:00
Chris Danford 790d3f2c65 add dialog to switch graphics API 2005-09-24 20:36:25 +00:00
Chris Danford 45cc63b84f fix assert when parsing a line that contains only whitespace 2005-09-24 20:26:30 +00:00