Commit Graph

18142 Commits

Author SHA1 Message Date
Chris Danford 99512396d7 handle errors copying pcks
add !define INSTALL_SMPACKAGE
add !define DIRECTX_81_REDIST_PRESENT
add !define MAKE_PROGRAM_FOLDER_SHORTCUT
2005-11-04 02:43:22 +00:00
Glenn Maynard c8f38629ef ThemeManager::ReloadMetrics: only reload metrics, not the whole theme. This
is much less unintrusive, and fixes crashes on most "retry" theme dialogs due
to reloading and resetting Lua and other things unexpectedly in the middle of
a screen load.
2005-11-03 19:53:27 +00:00
Glenn Maynard c85965d054 handle language tags in files for translations 2005-11-03 18:11:40 +00:00
Glenn Maynard cfed90cfec Stop keeping theme metrics for each fallback theme separate. Just merge them
into one theme.  I'm not sure why this was done originally, but it was probably
related to the ugly "fallback themes can fork Fallback" behavior that was
removed recently.

This is simpler, and reduces overhead in looking up theme metrics.
2005-11-03 17:24:56 +00:00
Glenn Maynard 43acb27d00 cleanup 2005-11-03 16:38:15 +00:00
Charles Lohr 7c803bdf1c Fix text appearance 2005-11-03 04:17:14 +00:00
Chris Danford e12e28d904 fix mods stored in profile cause DQ in Survival even though they're overridden 2005-11-02 20:02:47 +00:00
Glenn Maynard 4a37f2ecdc cleanup 2005-11-02 15:53:02 +00:00
Glenn Maynard f90a88719d "" -> CString() 2005-11-02 15:52:08 +00:00
Glenn Maynard 6c859a7631 cleanup 2005-11-02 15:45:45 +00:00
Steve Checkoway 937721f718 Slight change to ProductInfo.h. Now just enter the strings without quotes in the PRODUCT_{NAME,VER}_BARE defines but still use PRODUCT_{NAME,VER} or PRODUCT_NAME_VER in the code.
Use PRODUCT_{NAME,VER}_BARE in the Info.plist instead of having to hand code that for every release (and forgetting for about a third of them).
2005-11-02 09:18:39 +00:00
Chris Danford 81c631e936 localize autorun strings 2005-11-02 08:51:29 +00:00
Glenn Maynard 067365215c simplify, compile fix 2005-11-01 23:54:19 +00:00
Chris Danford 5de6afea90 disable upx for now. It's not working on VC7.1 executables 2005-11-01 23:42:59 +00:00
Chris Danford d08591e0f3 add missing file 2005-11-01 23:41:50 +00:00
Chris Danford c7defec2b9 remove old Convert Theme function 2005-11-01 23:39:36 +00:00
Glenn Maynard 4c2a8e3ba0 separate practice help, no record mappings in practice 2005-11-01 22:17:07 +00:00
Glenn Maynard 7465821f46 simplify 2005-11-01 21:43:10 +00:00
Glenn Maynard 9c0670b104 don't reset graphics for changing the language 2005-11-01 19:29:10 +00:00
Glenn Maynard a46086fdda Avoid extra work when changing the language and not the theme. 2005-11-01 19:15:26 +00:00
Glenn Maynard 826804bf84 It's too early to DoesLanguageExist at this point. Just return the preferred language; we'll fall back on BASE_LANGUAGE anyway. 2005-11-01 19:14:38 +00:00
Glenn Maynard fae57b297c fix log 2005-11-01 19:12:13 +00:00
Glenn Maynard 92b93dc689 fixing up language reverting to english 2005-11-01 18:13:32 +00:00
Glenn Maynard fe52b72f25 log in LoadThemeMetrics 2005-11-01 18:08:56 +00:00
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