Commit Graph
18095 Commits
Author SHA1 Message Date
Steve Checkoway cc189a7e5d Update. 2005-10-31 03:24:52 +00:00
Steve Checkoway 57830f22ff Add separator between "Show All" and "Quit StepMania". 2005-10-31 03:09:02 +00:00
Steve Checkoway ed5fa87584 Fix spelling. 2005-10-31 03:03:53 +00:00
Steve Checkoway 33fb76772f Remove hack. 2005-10-31 02:30:22 +00:00
Steve Checkoway 9ef6cff623 cleanup 2005-10-31 01:56:42 +00:00
Steve Checkoway 8221c2f20d Let SM play nice with OS X's headers. 2005-10-31 01:56:15 +00:00
Steve Checkoway f89319f256 Fix warnings. 2005-10-31 01:55:05 +00:00
Glenn Maynard d10c1b08ad Avoid calling GetSongsValidForRandom for static courses. 2005-10-31 01:26:24 +00:00
Glenn Maynard d6ca8b3777 break out GetSongsValidForRandom 2005-10-31 01:19:54 +00:00
Glenn Maynard a58a2a2bb2 This seems to have optimized an uncommon case at the cost of the
common case.  Normally, most songs in most courses are static.  Previously,
in those cases, the filtered song list would never be generated; now it's
generated for every course.  Optimize the filtering (erase() on a vector is
slow).
2005-10-31 01:18:10 +00:00
Glenn Maynard 692a52673e Too-big commit in one chunk makes code review impossible--please break
things apart better.  Trying to figure out what just happened ...
2005-10-31 00:54:52 +00:00
Steve Checkoway 784a073764 Quit is now handled by a menu key equivalent. 2005-10-31 00:51:06 +00:00
Steve Checkoway cdcf01470d Exclude from Window menu. 2005-10-31 00:49:40 +00:00
Steve Checkoway d87989bb8c Handle key equivalents in menus. 2005-10-31 00:47:58 +00:00
Steve Checkoway b6df02af4c Cannot use FOREACH here since --song is not valid for the first element. 2005-10-31 00:32:30 +00:00
Chris Danford 74b107f8bb don't bother checking for a group match when we already have an exact song match 2005-10-31 00:27:48 +00:00
Steve Checkoway 7a3887c1c1 Fix crash. 2005-10-30 23:59:12 +00:00
Chris Danford 0f0caf7972 Writable files in "Save", read-only files in "Data". This simplifies the installer and packaging. 2005-10-30 23:08:38 +00:00
Glenn Maynard 226e6fc3d8 unused metrics 2005-10-30 22:30:33 +00:00
Glenn Maynard ad69594521 Simplify options message. Remove m_sprOptionsMessage; show this in an overlay.
Remove m_bgOptionsOut, m_bgNoOptionsOut; these were only used for delays, which
we can do by sleeping on the options message commands.  Remove SM_TweenOffOptionsMessage;
treat that as part of FadingOut.
2005-10-30 22:23:07 +00:00
Thad Ward 24d488ebda remove dead header file 2005-10-30 22:22:18 +00:00
Thad Ward 8e7c921af8 fix memory and texture leak. 2005-10-30 21:50:05 +00:00
Thad Ward 7a2e51e7ea include cleanups. 2005-10-30 21:39:49 +00:00
Thad Ward df136da381 Optimize. This brings the ALL_COURSES sort time down. I didn't check the time
spent in this code in release, but in debug this brings the time spent building
musicwheel items in ALL_COURSES sort mode from 30 seconds with my 1600+
songs in about 80 groups down to 12 seconds. Release is down to 6 seconds,
but I don't know where it was to start. This time would increase nearly
exponentially with the number of songs and groups.
2005-10-30 21:07:50 +00:00
Glenn Maynard 3c11c86ea9 themable "N/A", "Other" 2005-10-30 20:58:42 +00:00
Glenn Maynard dd16deaf23 themable "N/A" 2005-10-30 20:58:08 +00:00
Glenn Maynard 76ade2280a static, cleanup 2005-10-30 20:14:58 +00:00
Glenn Maynard b66cdac7b9 static 2005-10-30 20:13:46 +00:00
Glenn Maynard 7edb143399 cleanup, const 2005-10-30 20:09:32 +00:00
Glenn Maynard 6d8349b6d2 update for 0-9 2005-10-30 20:07:49 +00:00
Glenn Maynard 39696c1a08 NUM -> 0-9 2005-10-30 19:58:00 +00:00
Glenn Maynard dfdc0e6713 metrics 2005-10-30 18:32:50 +00:00
Glenn Maynard 89f80eb2e5 more easily themable sort text
(Not sure whether to use the choice name or the GameCommand m_sName.
The GameCommand name is used to identify asset names.  However, we
already have a Choice name here, and it's weird having two names: the
GC name just seems like a confusing extra layer of indirection.  Hmm ...)
2005-10-30 18:31:18 +00:00
Glenn Maynard 65a16ed427 overwritten immediately 2005-10-30 18:14:52 +00:00
Steve Checkoway 2ca163bf00 oops 2005-10-30 13:53:10 +00:00
Steve Checkoway 3cb0889324 Fix ppc linux compile. 2005-10-30 13:11:15 +00:00
Steve Checkoway 91c38af1f7 Add/remove files. 2005-10-30 09:47:11 +00:00
Steve Checkoway 8d56d70e0f Move ExitGame into GameLoop.h. 2005-10-30 09:45:52 +00:00
Steve Checkoway 33c0408ca2 Move ExitGame into GameLoop.h 2005-10-30 09:45:39 +00:00
Thad Ward cd2645fe36 fix blowup when a KSF file has a #TITLE tag with nothing in it. (grr) 2005-10-30 09:45:04 +00:00
Steve Checkoway eea687a01a Fix warning. 2005-10-30 09:44:25 +00:00
Thad Ward 90891ad511 move the include path I added to a couple MovieTexture files into the overall
project settings instead, in case other files in the future depend on it.
2005-10-30 09:13:45 +00:00
Thad Ward 3e26a37ff0 add missing <?xml ?> tag at the start of the file. also, I'm not sure if
comment tags count towards the "one root tag" rule in xml.
2005-10-30 08:58:43 +00:00
Steve Checkoway 74bfe9f8a2 License. 2005-10-30 08:53:21 +00:00
Steve Checkoway c576663c15 Add cursor hack since SDL_ShowCursor fails. Also, prevent resizing the window. 2005-10-30 08:51:02 +00:00
Steve Checkoway 5ff545cbf2 Use setNeedsDisplay: since I think display: should only be called from the GUI thread. 2005-10-30 08:38:03 +00:00
Steve Checkoway 962652291d Cleanup. 2005-10-30 08:36:10 +00:00
Steve Checkoway 950e10c761 remove 2005-10-30 07:13:20 +00:00
Steve Checkoway a867e5a301 Replace SDLMain.* This still class SDL_main(), for now. 2005-10-30 07:09:56 +00:00
Thad Ward 0a17eb51da fix VC2003 project file 2005-10-30 07:07:52 +00:00