Commit Graph
24764 Commits
Author SHA1 Message Date
Steve Checkoway 02fd0dc140 Not virtual. 2007-02-12 04:44:05 +00:00
Glenn Maynard f59c963eab fix wrong actor order when creating more than 10 actors in Lua 2007-02-12 04:08:39 +00:00
Glenn Maynard 37932a8cc8 add FOREACH_LUATABLEI 2007-02-12 03:59:18 +00:00
Glenn Maynard cefa128034 change XNode children to a vector.
This means the order of children is preserved.

It also means the name of each node isn't duplicated.  This was
an opportunity for an inconsistent XNode tree.  Nodes can now be
renamed after being inserted into a tree.

Searching for children by name isn't efficient.  Use attributes for that.
2007-02-12 01:52:18 +00:00
Glenn Maynard 81fcea1950 const 2007-02-12 01:00:52 +00:00
Glenn Maynard 3c36b5389d fix uncaught errors in VC8 triggering watson instead of our crash handler 2007-02-12 00:40:35 +00:00
Glenn Maynard ba36cd8794 bind PlayerInfo 2007-02-12 00:03:38 +00:00
Glenn Maynard 8953786b8f simpler, more flexible loading
Def.MeterDisplay {
    Stream = LoadActor("...");
};
2007-02-12 00:02:58 +00:00
Glenn Maynard fc444c1009 fix OptionRow 2007-02-11 22:49:02 +00:00
Glenn Maynard 62b5c145db remove SetTextValue 2007-02-11 07:40:45 +00:00
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