Chris Danford
85daa681f9
basic export packages UI (doesn't export the smzip yet)
2009-03-02 02:08:59 +00:00
Chris Danford
811d6c0673
Install packages using StepMania.exe, not tool.exe. Package installation now just copies the .smzip to the user Packages dir.
2009-02-17 18:36:16 +00:00
Steve Checkoway
b19f2fba56
Comparison is always false on x86_64.
2008-12-26 13:00:35 +00:00
Steve Checkoway
815a332ef3
Change assert to one that doesn't always succeed.
2008-07-22 11:08:26 +00:00
Chris Danford
00578338f0
read optional language inis so that non-theme packages can provide strings (for example, the translated name of the package)
2008-06-24 10:49:06 +00:00
Chris Danford
4348415e0b
specify metric or string in error messages for easier tracing
2008-06-02 00:29:46 +00:00
Chris Danford
f8fd30a8fe
remove redundant example in comments
2008-04-27 01:52:10 +00:00
Chris Danford
a442eea949
Class -> MetricsGroup
2008-04-27 01:51:38 +00:00
Chris Danford
82976bc6ef
Fix LoadFallbackB for loading BGAs recursively. LoadFallbackB checking for either LuaThreadVariables or Lua globals is not very clean, but room for possible improvement.
2008-04-27 00:14:05 +00:00
Chris Danford
122473e9b9
GetClassFallback -> GetMetricsGroupFallback (Class -> MetricsGroup naming consistency)
2008-04-26 19:55:03 +00:00
Chris Danford
0e44b4a208
remove empty dirs hack specific to CVS
2008-03-31 12:29:55 +00:00
Chris Danford
d6674f43dc
naming consistency: ClassName -> MetricsGroup
2008-03-31 12:27:47 +00:00
Chris Danford
70eafe78a0
remove old code
2008-02-15 09:24:40 +00:00
Steve Checkoway
08f618a802
Missed havn't -> haven't commit.
2008-01-05 18:15:50 +00:00
Steve Checkoway
14dc770a74
Silence warning on debug builds. I failed to make a small test case where optimization makes a difference in gcc being able to tell that a function didn't return.
2007-08-11 23:10:48 +00:00
Glenn Maynard
6faa4e0a9f
fix THemeMetrics not reloaded by ThemeManager::ReloadMetrics
2007-05-03 18:15:40 +00:00
Glenn Maynard
b244f60e84
merge ThemeMetric and DynamicThemeMetric
2007-04-03 02:43:41 +00:00
Glenn Maynard
bfb74b587d
bind GetPathF
2007-02-15 11:24:05 +00:00
Steve Checkoway
ebbe1200f5
Foo::Bar.
2007-02-14 12:30:38 +00:00
Glenn Maynard
ee061be26a
I'm not sure why this ClearSubscribers was here; it's causing
...
metrics to not be loaded after a resolution change, because
the reload is optimized out by SwitchThemeAndLanguage.
(We may have loaded ThemeMetrics on demand in the
past.)
The reload needs to always happen, even though the theme
hasn't changed, since the theme load is affected by the
resolution; eg. upvalues in Lua scripts may have been
computed based on SCREEN_WIDTH.
2007-02-11 01:52:41 +00:00
Steve Checkoway
2d1cd1de50
When changing resolutions, SwitchThemeAndLanguage was being called after clearing all subscribes but STAL wasn't reloading them because nothing had changed. Reload them explicitly if the theme doesn't change.
...
I'm not sure what the rationale behind taking this code path for changing the resolution as it seems to have nothing to do with the theme.
2007-02-11 01:19:30 +00:00
Glenn Maynard
00395c366e
simplify; this isn't recursive anymore and this was inconsistent
2007-02-04 08:08:08 +00:00
Glenn Maynard
2d5cbe6535
move MergeIniUnder to XmlFileUtil
2007-02-04 04:09:53 +00:00
Glenn Maynard
d1759bb123
Resolve directory names to embedded default.xml/default.lua files
...
at the pathname resolution stage (THEME:GetPath, ResolvePath),
not at loading. This means that pathnames to Lua files are actually
paths to Lua files, without any extra processing, and we always
load actual files (except for BGAnimation compatibility), not
directories.
(fixes Lua LoadActor() on a directory loading as a BGA and not
as Lua)
2006-11-22 01:51:31 +00:00
Glenn Maynard
4cdec422c1
add lua
2006-11-02 03:34:56 +00:00
Steve Checkoway
30d9410b65
Unneeded.
2006-11-01 10:45:51 +00:00
Glenn Maynard
f9496f96d9
remove another specialized "parse and evaluate string"
2006-10-29 20:52:25 +00:00
Glenn Maynard
ff2b6f697c
PrepareExpression only used in one place and simple; merge down
2006-10-29 20:48:02 +00:00
Glenn Maynard
626c415c4d
move assert
2006-10-18 20:11:11 +00:00
Steve Checkoway
e87789da7c
Rename XToString2 to XToString.
2006-10-15 00:09:18 +00:00
Steve Checkoway
04bff6bc1d
Use XToString2.
2006-10-15 00:00:22 +00:00
Glenn Maynard
00d1fc742c
special case no longer needed
2006-10-11 01:29:15 +00:00
Glenn Maynard
f588a033a8
avoid ambiguity with template AppendAttr
2006-10-09 05:13:08 +00:00
Glenn Maynard
e0b788de16
unneeded LuaHelpers::RunAtExpressionS
2006-10-09 01:22:17 +00:00
Glenn Maynard
6322ded0dc
move command parsing into LuaHelpers. It's not Actor-specific other
...
than a few compatibility hacks.
2006-10-08 22:24:15 +00:00
Glenn Maynard
6808723b85
XNodeValue base class, Copy()
2006-10-06 06:26:53 +00:00
Glenn Maynard
6112f7c925
fix smpackage linker error
2006-10-05 19:48:29 +00:00
Chris Danford
8df0b80dbe
fix smpackage compile
2006-10-05 08:21:41 +00:00
Glenn Maynard
66bb6ad544
fix copy
2006-10-05 00:10:18 +00:00
Glenn Maynard
4acc41f47c
fix it used stale
2006-10-04 22:38:59 +00:00
Steve Checkoway
2b8a7f4a14
Silence warning with g++ 4. (Somehow it can't tell that this must exit before the end of the function. I suspect it's the goto.)
2006-10-03 06:29:32 +00:00
Glenn Maynard
1a89ddfccd
pointer to attributes
2006-10-03 00:07:01 +00:00
Glenn Maynard
85eb3e0a05
more useful error messages
2006-09-29 07:24:40 +00:00
Glenn Maynard
c690fdcfe4
unify registration
2006-09-29 00:01:32 +00:00
Glenn Maynard
f4975f1f54
simpler Lua boilerplate
2006-09-27 20:30:29 +00:00
Steve Checkoway
1345a2cd5f
LogType -> string. Done.
2006-09-24 03:57:40 +00:00
Glenn Maynard
c441d10bc0
set name
2006-09-23 03:31:44 +00:00
Glenn Maynard
546500a5d3
unwrap
...
sensible behavior for ignore
2006-09-23 03:31:17 +00:00
Glenn Maynard
09afb81741
GetMetric pushes the metric directly. This is faster, avoiding
...
converting the metric to a string and then back into Lua, and
works with any type; with "Class::Metric=math.sin",
THEME:GetMetric("Class","Metric") will return the function sin().
2006-09-22 21:23:13 +00:00
Glenn Maynard
4ae6eb6070
unused functions
2006-09-22 20:53:36 +00:00