Commit Graph
13762 Commits
Author SHA1 Message Date
Glenn Maynard 07f941f734 allow more than 3 mappings per GameInput (but don't show them in
ScreenMapControllers)
2005-02-20 04:53:57 +00:00
Glenn Maynard e9a6b578e3 fix (mostly bogus) warnings 2005-02-20 04:49:36 +00:00
Glenn Maynard f913346852 MoveMap for IPreference* 2005-02-20 04:20:46 +00:00
Glenn Maynard c1d741a54b inline 2005-02-20 03:43:32 +00:00
Glenn Maynard b90a6f1747 inline 2005-02-20 03:09:14 +00:00
Glenn Maynard 11f3514275 simplify 2005-02-20 02:56:51 +00:00
Glenn Maynard 3c49514422 FromString/ToString for strings (no-op) 2005-02-20 02:55:31 +00:00
Glenn Maynard 3c45bca547 fix freeze duration rendering 2005-02-20 01:18:03 +00:00
Glenn Maynard bb1e676460 fix options menu playing music too early 2005-02-20 00:22:37 +00:00
Chris Danford 65873ed62f fix compile error 2005-02-19 20:30:35 +00:00
Chris Danford 36b325a295 cleanup: move code from ScreenOptions into OptionRow 2005-02-19 19:17:28 +00:00
Chris Danford 453991a928 cleanup 2005-02-19 19:14:52 +00:00
Glenn Maynard b8a9d0384a no, really, don't append a newline here 2005-02-19 10:09:20 +00:00
Glenn Maynard 410679fb44 apply commands to inactive players, too 2005-02-19 09:56:53 +00:00
Glenn Maynard 014a3d65b1 bring back old merged SongsPerPlayOrEvent conf option 2005-02-19 09:16:16 +00:00
Glenn Maynard 23dccd1af2 GzipString, GunzipString 2005-02-19 07:50:00 +00:00
Glenn Maynard d1fb6a41eb NotesWriterSM::GetEditFile 2005-02-19 07:48:16 +00:00
Glenn Maynard 3fb7238ac0 SMLoader::LoadEditFromBuffer, SMLoader::LoadEditFromMsd 2005-02-19 07:46:42 +00:00
Glenn Maynard d9da6cc9fc MsdFile::ReadFromString 2005-02-19 07:45:12 +00:00
Glenn Maynard 65b82c3e53 accessors 2005-02-19 01:59:31 +00:00
Chris Danford 518638028d cleanup 2005-02-19 01:27:51 +00:00
Chris Danford eb6e4cdb50 play InitCommand for all Actors at load time 2005-02-19 01:06:03 +00:00
Chris Danford 5ae3b5cad0 sort children after adding 2005-02-19 01:03:55 +00:00
Chris Danford 4495a55e98 fix incorrect GoalType strings 2005-02-19 01:02:15 +00:00
Chris Danford c435ed509a add comments parsing 2005-02-18 14:03:50 +00:00
Chris Danford e96a56c90f add FastDebug configuration 2005-02-18 13:37:38 +00:00
Chris Danford cf698b55a0 clean up XML error handling 2005-02-18 13:05:17 +00:00
Chris Danford 6222c9ad9c add Lua constants 2005-02-18 12:06:19 +00:00
Chris Danford 61efd1caef cleanup 2005-02-18 12:05:10 +00:00
Chris Danford 230264c873 add Lua methods 2005-02-18 12:04:51 +00:00
Chris Danford 26dc26ff62 fix misspelling 2005-02-18 11:55:34 +00:00
Glenn Maynard 8884936a17 const fix 2005-02-18 03:07:22 +00:00
Glenn Maynard ffcdaeb515 fix OnCommand not being sent 2005-02-18 00:13:53 +00:00
Chris Danford f771ca9730 add Lua methods 2005-02-17 21:35:45 +00:00
Chris Danford 09f19b9d0c change BArg to look for a Lua boolean type 2005-02-17 21:34:46 +00:00
Chris Danford 0457317a6f fix Combo30Misses overrides FailType shouldn't override FailOff 2005-02-17 21:30:10 +00:00
Chris Danford da5f4a57bb add GoalType, Lua functions 2005-02-17 19:36:10 +00:00
Chris Danford 25c88d3aa0 show cumulative calorie number 2005-02-17 19:35:06 +00:00
Chris Danford f7c031ec3c add Lua methods 2005-02-17 17:14:33 +00:00
Chris Danford 5b9ed5731f add assert 2005-02-17 17:14:00 +00:00
Chris Danford 669c0047ee add missing param 2005-02-17 17:12:06 +00:00
Glenn Maynard 2270e62eb4 fix expressions (mysterious forces contrived to make this appear to work) 2005-02-17 08:41:13 +00:00
Chris Danford 8da09ebd6e let each file register its own constants with Lua 2005-02-17 07:32:21 +00:00
Chris Danford 9c29426f5f cleanup 2005-02-17 07:12:20 +00:00
Chris Danford 02a7b4fef1 fix crash if PrepareScreen called twice 2005-02-17 07:09:55 +00:00
Glenn Maynard e0853e489d fix g++ compile 2005-02-17 06:54:17 +00:00
Glenn Maynard 16969b1570 \ 2005-02-17 06:30:02 +00:00
Glenn Maynard 1601912c5a FirstUpdateCommand 2005-02-17 06:16:09 +00:00
Glenn Maynard 8a04a3eeeb Add ScreenWithMenuElements::FirstUpdateCommand, a Lua expression
that gets called on first update.  Note the difference between
using ThemeMetric<LuaExpression> and ThemeMetric<ActorCommands>:
with ActorCommands, you get the special, backwards-compatible
parsing; with LuaExpression, only a regular expression is parsed.

You can still only (cleanly) call one function, since "return"
is prepended: if you say "f() g()", it'll try to run "return f() g()".
I tried having a separate type for "expression" and "script", but
it seems confusing to have some metrics parsed as scripts and
some as expressions, allowing multiple functions in only specific
metrics.  If you want to do that much, it's cleaner to create
a function and call it, anyway.  If you just want to add diagnostics
quickly, you can say "Foo=(function() x() y() z() end)()".  (I might
revisit this later.)
2005-02-17 06:13:23 +00:00
Glenn Maynard 01ae30ddd9 Add ThemeManager::GetMetric(LuaExpression) 2005-02-17 06:09:08 +00:00