Commit Graph
18118 Commits
Author SHA1 Message Date
Glenn Maynard 51e06fdc2b pass the language to LoadThemeRecursive and rename to LoadThemeMetrics 2005-11-01 18:04:59 +00:00
Chris Danford a23e6d9058 add optional AutoRun page to installer 2005-11-01 18:01:41 +00:00
Glenn Maynard 1851fda405 move --metric hanlding to LoadThemeRecursive 2005-11-01 17:46:48 +00:00
Glenn Maynard 485bab571f move clean up of old themes to LoadThemeRecursive 2005-11-01 17:42:48 +00:00
Glenn Maynard b2aa109cbc GetLanguages: check all loaded themes 2005-11-01 17:05:07 +00:00
Glenn Maynard cbce8648e7 cleanup 2005-11-01 15:00:50 +00:00
Glenn Maynard c0094aecbf comment 2005-11-01 00:18:09 +00:00
Glenn Maynard ff0d50a6ab EDIT_MODE_PRACTICE bindings 2005-11-01 00:17:26 +00:00
Glenn Maynard 24f5e87e60 predict_meter -> EDIT_MODE_FULL 2005-10-31 23:54:36 +00:00
Glenn Maynard b339832bbf GetSystemDefaultLangID -> GetUserDefaultLangID. (Like GetUserDefaultUILanguage,
this reports the correct answer on my system.  GUDUIL() is for multilanguage
versions of Windows, I think.)
2005-10-31 23:51:52 +00:00
Steve Checkoway 7042ab88f5 cleanup 2005-10-31 22:00:26 +00:00
Chris Danford 77f041c899 add INSTALL_TYPE_PCKS path 2005-10-31 21:31:46 +00:00
Steve Checkoway 4df02ed98d cleanup 2005-10-31 21:28:53 +00:00
Chris Danford 6a7cf6be38 Use old icons. The new ones don't look like installer icons. 2005-10-31 20:58:51 +00:00
Chris Danford 25caea972d use Modern UI for multilanguage installer 2005-10-31 20:50:42 +00:00
Steve Checkoway 8bb2254628 cleanup 2005-10-31 20:37:34 +00:00
Steve Checkoway 5d56e7e154 Cleanup, ensure that the stack finding functions are not inlined. 2005-10-31 20:37:18 +00:00
Chris Danford 9e753e9f00 remove VC6, VC7 projects. Leave only VC7.1. 2005-10-31 19:29:51 +00:00
Glenn Maynard 7d3bb719f6 GetLineWidthInSourcePixels including overdraw causes a problem. Text is left-
aligned by default; we add the value of GetLineWidthInSourcePixels to right-
align (and n/2 to center-align).  This causes left-alignment to be flush, with
overdraw over the alignment (correct), but right-alignment to align against
the overdraw.  This causes fonts with borders to align with the border over
the edge on the left and against the edge on the right.

If we only include overdraw for cropping and scaling, and not positioning, then
we're inconsistent.  For example, if we have a border with 100 pixels of space,
and we scale to 100 pixels in this way, the text will be scaled to exactly 100
pixels, but if left- or right-aligned against the border, will overlap the border
and not actually use the whole space.  We need to be consistent: either consider
the overdraw part of the character or don't.

Ultimately, the overdraw was intended to not be considered part of the character
itself.  It's intended for use with fonts with borders/strokes/glow around lettering.
That causes every character in a font to be widened, usually uniformly.  This
tends to not increase the subjective width of the character: if aligning hard
against a border, these features should be ignored.  So, let's go back to the
original intent, and don't consider overdraw part of the character.
2005-10-31 14:56:27 +00:00
Glenn Maynard 92b790b9ee fix LoadingScreen not set correctly for SEdit MinMenus 2005-10-31 04:05:26 +00:00
Glenn Maynard 0361ad99d9 update comment 2005-10-31 04:03:16 +00:00
Glenn Maynard 00d4790a18 add SetCurrentTrail 2005-10-31 03:34:48 +00:00
Glenn Maynard 14b57d3833 return components in GetCurrentStepsCredits, not formatted 2005-10-31 03:34:05 +00:00
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