Glenn Maynard
fc5c1cc295
simplify
2007-02-11 07:38:59 +00:00
Glenn Maynard
b0430161b9
Merge text values into attributes; use TEXT_ATTRIBUTE_NAME for
...
the text value.
This means that FOREACH_Attr will iterate over the text value.
Compare with TEXT_ATTRIBUTE_NAME if you explicitly don't want
that.
This is simpler; an XNode branches out in two places--attributes
and children--instead of three.
It also means that nodes without any text data actually don't
have any text data--the attribute simply doesn't exist. The
*TextValue functions are also no longer needed, though some
are left in now for compatibility (and maybe convenience).
2007-02-11 07:27:29 +00:00
Jason Felds
e294995d16
Remove old announcer files to match deleted themes and noteskins
2007-02-11 06:26:45 +00:00
Glenn Maynard
fb8e73ac58
SetValue, etc -> SetTextValue
2007-02-11 06:26:06 +00:00
Eric Gustafson
549ad65b3c
Remove old announcer files to match deleted themes and noteskins
2007-02-11 06:25:58 +00:00
Steve Checkoway
d3c116a178
Separate song and player mods. Set fall off for Battle.
2007-02-11 04:47:16 +00:00
Steve Checkoway
38cd50ffcc
Separate song and player mods.
2007-02-11 04:46:45 +00:00
Steve Checkoway
1cb3fdc3d9
Separate forced song and player mods.
2007-02-11 04:46:30 +00:00
Steve Checkoway
923aba9d40
Bind GetDefaultSongOptions.
2007-02-11 04:22:32 +00:00
Steve Checkoway
ccef45d77f
We have assets here. No need for a dummy file to keep the directory from being pruned any longer.
2007-02-11 02:29:21 +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
b88d415b52
Style.
2007-02-11 01:51:44 +00:00
Steve Checkoway
80140f2168
atomic writes.
2007-02-11 01:30:51 +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
Eric Gustafson
1c43201f16
Fix removed noteskins
2007-02-11 00:50:42 +00:00
Glenn Maynard
96caf97851
use FOREACH_Attr
2007-02-11 00:44:57 +00:00
Glenn Maynard
5772a41b92
use accessors
2007-02-11 00:38:27 +00:00
Steve Checkoway
735d9bfac5
flat has not been updated.
2007-02-11 00:37:15 +00:00
Glenn Maynard
b9e277d0e7
GetValue: return XNodeValue *
2007-02-11 00:33:53 +00:00
Glenn Maynard
5135b7b27c
use templated GetValue, not old RString GetValue()
2007-02-11 00:30:44 +00:00
Glenn Maynard
95fdd553de
remove Command="%function" syntax from XML. Use Lua directly.
2007-02-10 23:47:39 +00:00
Glenn Maynard
cb8e881099
on xml for backgroundEffects
2007-02-10 23:44:33 +00:00
Glenn Maynard
a15efb8e4a
xml->lua for files that use %
2007-02-10 23:39:38 +00:00
Glenn Maynard
76c9f9bf8b
lua
2007-02-10 23:22:17 +00:00
Glenn Maynard
98daa2535c
xml->lua for files that use %
2007-02-10 23:16:16 +00:00
Glenn Maynard
ebb4b3a340
xml->lua for files that use %
2007-02-10 22:52:28 +00:00
Glenn Maynard
2140b1d8c8
xml->lua for files that use %
2007-02-10 22:45:25 +00:00
Glenn Maynard
7d66e0bcfd
xml->lua for files that use %
2007-02-10 22:35:50 +00:00
Glenn Maynard
b9acd66239
xml->lua for files that use %
2007-02-10 22:28:07 +00:00
Glenn Maynard
070779520f
use accessors
2007-02-10 22:17:43 +00:00
Glenn Maynard
fcf121feb0
add PlayCommandNoRecurse to fix PlayCommand hack
2007-02-10 05:42:25 +00:00
Glenn Maynard
5e549c0437
cleanup
2007-02-09 05:15:35 +00:00
Glenn Maynard
98f9d9edaf
simplify
...
set size
2007-02-09 05:13:49 +00:00
Glenn Maynard
101bf0a85f
simplify
2007-02-09 04:45:54 +00:00
Glenn Maynard
9d7893fc69
cleanup masking
2007-02-09 04:38:15 +00:00
Glenn Maynard
edeb62afed
simplify
2007-02-09 04:36:51 +00:00
Glenn Maynard
6cbc0577e9
simplify
2007-02-09 04:33:15 +00:00
Glenn Maynard
7c5dbab999
update mask handling
2007-02-09 04:29:54 +00:00
Glenn Maynard
f6fd57cc12
typo
2007-02-09 04:03:22 +00:00
Chris Danford
142157e147
StepsTypeToString should return "Foo_Bar", not "StepsType_Foo_Bar"
2007-02-09 03:24:11 +00:00
Chris Danford
35df8821ca
add Lua GetOneSteps
2007-02-09 03:23:24 +00:00
Steve Checkoway
b3d52febb4
PowerPC linux build.
2007-02-09 01:13:51 +00:00
Glenn Maynard
1bd5c423c0
fix crash, cleanup
2007-02-08 22:18:34 +00:00
Glenn Maynard
7a6b2d6c47
add ActorFrame:RunCommandsRecursively
2007-02-08 22:17:14 +00:00
Glenn Maynard
2116064921
fix m_size
2007-02-08 21:36:38 +00:00
Glenn Maynard
71b70c4cba
split GetSourceToImageCoordsRatio(), GetSourceWidth(), GetTextureWidth()
...
into more correct X, Y versions
2007-02-08 21:35:43 +00:00
Glenn Maynard
ff420be0eb
fix default game selection
2007-02-08 21:21:17 +00:00
Glenn Maynard
2aca7a4d16
add more powerful dynamic frame
2007-02-08 20:40:52 +00:00
Glenn Maynard
5437d929a8
redo sprite frame handling, with Lua in mind; allow defining arbitrary
...
rects
2007-02-08 20:38:16 +00:00
Glenn Maynard
3d3c2bad49
bind RunCommandsOnChildren
2007-02-08 20:34:45 +00:00