Glenn Maynard
cc34c9bd6b
add ThemeManager::ClearThemePathCache
2005-03-20 05:39:32 +00:00
Glenn Maynard
a6c498610b
Load Serialize.lua first, before calling ResetState.
2005-03-18 22:09:10 +00:00
Chris Danford
ade579667b
load all commands from metrics when the On command is played. This fixes skips when playing the Off command.
2005-03-13 20:44:26 +00:00
Chris Danford
9c3f461361
cleanup
...
add Lua method
2005-02-28 04:10:01 +00:00
Glenn Maynard
01ae30ddd9
Add ThemeManager::GetMetric(LuaExpression)
2005-02-17 06:09:08 +00:00
Glenn Maynard
1b069fb432
const; fix "warning: `class ThemeManager' has virtual functions but non-virtual destructor"
2005-02-13 02:47:53 +00:00
Glenn Maynard
64a8ee3303
shorten
2005-02-13 02:45:47 +00:00
Chris Danford
3d72b8cc37
expose ThemeManager in Lua
...
add PLAYER_* constants to Lua
Change GetMetric* to allow AtExpressions
2005-02-12 22:52:24 +00:00
Chris Danford
ce82f9c5c6
don't read the metric before ThemeManager is loaded
2005-02-06 19:42:46 +00:00
Chris Danford
8555a6da45
use Lua to execute commands
...
(needs cleanup)
2005-01-26 11:21:43 +00:00
Glenn Maynard
39384227c4
allow Lua expressions in text metrics by prepending @
2005-01-16 20:36:27 +00:00
Glenn Maynard
3c8e26369b
Lua should not depend on ThemeManager
2005-01-09 01:31:06 +00:00
Chris Danford
ed19821e09
rename: ActorCommand -> Command
...
Make Command smaller and more generic.
Parse arguments on use, not in Command::Load.
2004-12-03 05:19:46 +00:00
Chris Danford
e1da21f61c
Let ActorCommand do the parsing for ModeChoice
2004-12-02 05:56:38 +00:00
Chris Danford
bcbe615c0d
Pass ActorCommand structures to Actor instead of unparsed command strings.
...
This way, we can potentially do the parsing early and not parse inside of Actor as the command is executing.
2004-11-06 23:13:47 +00:00
Chris Danford
5127ceef4d
remove CachedThemeMetrics in favor of ThemeMetric<T>
...
fix "CachedThemeMetrics don't read HTML colors and don't evaluate Lua expressions"
2004-11-06 20:36:04 +00:00
Chris Danford
8df7954d2d
const fixes
2004-11-06 06:34:21 +00:00
Chris Danford
807d892f4f
allow theme to specify logical screen dimensions
2004-09-21 06:07:12 +00:00
Chris Danford
bdb15e07a7
allow a Theme to specify a parent
2004-08-10 04:33:36 +00:00
Glenn Maynard
1efc1f732c
eliminate GetPathToN/GetPathN
2004-07-24 23:26:34 +00:00
Chris Danford
23cedc1b83
fix fallback metrics logic
2004-07-23 04:33:05 +00:00
Chris Danford
7a3e031c63
remove ThemeManager::ReloadMetricsIfNecessary
2004-07-23 04:26:22 +00:00
Chris Danford
9199410e82
stats.xml:
...
theme more elements
show HighScore details
clean up some tables
2004-07-19 08:05:14 +00:00
Glenn Maynard
733127d8ed
license update
2004-06-08 01:24:17 +00:00
Glenn Maynard
d66673fa6f
infinite recursion checking
2004-03-20 10:24:42 +00:00
Chris Danford
6ba5335400
search for fallback in the current theme before searching in the base theme
2004-03-20 03:02:12 +00:00
Glenn Maynard
f6cf1f0b2e
fix ThemeManager::HasMetric ignoring Fallback
2004-02-15 01:32:12 +00:00
Glenn Maynard
ebd948988d
rename new GetPathTo -> GetPath to avoid overload problems
2004-02-14 01:16:04 +00:00
Chris Danford
79b9d60d9b
add resursive theme element searching
2004-02-03 04:41:43 +00:00
Chris Danford
dcf956e711
add base class searching for theme elements and metrics
2004-01-24 21:16:07 +00:00
Glenn Maynard
c8ea9225b1
allow using CachedThemeMetric with m_sName
2004-01-21 09:36:28 +00:00
Chris Danford
1cc5d0abf0
separate "credits info" text into "credits" and "player info"
...
force reload of metrics after retry for missing metric
2003-11-07 20:43:17 +00:00
Chris Danford
6047da8efd
change metrics reload logic to check only during screen loads
2003-11-05 04:56:41 +00:00
Glenn Maynard
66d97b6a10
cache GetPathTo returns
2003-10-22 07:56:08 +00:00
Glenn Maynard
f948027667
Create an "Other" category for ScreenHowToPlay steps.sm, and other
...
files that don't really go anywhere else.
Fix possible ELEMENT_CATEGORY_STRING null pointer dereference.
2003-09-11 23:21:33 +00:00
Kevin Slaughter
ef5952192e
Add ability to find a proprietary SM file, for things such as ScreenHowToPlay
2003-09-11 09:14:46 +00:00
Chris Danford
b9e74687bf
Add primitive language support
2003-08-19 08:01:15 +00:00
Glenn Maynard
032c2ef14a
Add bOptional to GetPathTo*
2003-07-16 02:22:19 +00:00
Glenn Maynard
5873b47b19
Simplify. Fix metrics not reloading after the game's been running for
...
a couple weeks.
2003-07-13 00:02:23 +00:00
Chris Danford
4b7d640324
support noteskin-changing attacks
...
cache trick icons
change AI probability format
2003-04-22 04:54:04 +00:00
Chris Danford
82199383a8
Change event mode to a CoinMode (since using COIN_PAY and EventMode at the same time doesn't make sense).
...
Split ScreenLogo and ScreenTitleMenu.
In ScreenTitleMenu, add a different animation if using COIN_HOME (for SMMAX2).
Added codes at TitleMenu to change Theme and Announcer.
2003-04-13 04:50:08 +00:00
Chris Danford
448bdc7b6e
make calls to THEME->GetPathTo() more concise
2003-04-12 17:39:27 +00:00
Chris Danford
e148806d1b
add name to Actor
2003-04-12 06:16:12 +00:00
Chris Danford
7e1f393413
Split CachedThemeMetric into separate types (CString, int, float) to prevent ambiguous types when casting
2003-03-26 19:15:38 +00:00
Chris Danford
a9f187c3de
add scripting support to ScreenSelectMusic and ScreenEvaluation
2003-03-24 21:37:13 +00:00
Glenn Maynard
28e3565775
don't do :: and &foo; replacements for non-strings
2003-03-18 21:41:17 +00:00
Chris Danford
032bf447f3
per-player NoteSkin
...
NoteSkin selected on PlayerOptions screen
tweaked judgement appearance
marvelous judgement glow
ActorEffect cleanup
2003-02-17 12:19:42 +00:00
Chris Danford
4ff98e0442
added flexable NoteType coloring to NoteDisplay, optimized note texture usage
2003-02-06 07:32:57 +00:00
Chris Danford
229aa2cae9
fixed ThemeManager using element in base theme instead of current theme if base theme has a redir, simplifed a few sound element names.
2003-01-26 21:45:13 +00:00
Glenn Maynard
c1e9b5975b
Get rid of GetPathToFont.
...
Do redirs separately.
Handle wildcards separately.
BGAs were doing "*."; I assume that was trying to do directories
only. Do this explicitly.
2003-01-23 04:41:57 +00:00