Glenn Maynard
b46daecd2f
Commit stats to profiles before loading ScreenEvaluation.
2005-02-23 19:18:11 +00:00
Chris Danford
42c5e2b3f9
allow specifying a Lua function for a command with "%funciton(self) self:blah end"
2005-02-23 19:15:24 +00:00
Glenn Maynard
53f7fbd890
fix VC7 compile
2005-02-23 19:11:40 +00:00
Glenn Maynard
fc1c863f8a
omit semicolon, so REGISTER_ACTOR_CLASS(x) can't be parsed as
...
a prototype
2005-02-23 19:09:13 +00:00
Chris Danford
bb032d6a2b
improve error message
2005-02-23 19:06:31 +00:00
Chris Danford
b9b693818c
fix Actor not subscribing. Is it a compiler bug that this failed silently instead of erroring?
2005-02-23 18:57:10 +00:00
Glenn Maynard
09a94d3c97
fix ScreenEditMenu
2005-02-23 18:56:50 +00:00
Chris Danford
2e5b94e064
have Actors automatically subscribe to a message for each command that ends in "MessageCommand"
2005-02-23 18:53:54 +00:00
Chris Danford
ed044bd2f9
add Lua binding
2005-02-23 17:52:28 +00:00
Chris Danford
315d0df25f
add map type
2005-02-23 17:44:49 +00:00
Chris Danford
9bc3887788
remove unused CourseStopSeconds
...
add Lua methods
2005-02-23 17:39:57 +00:00
Chris Danford
66012f08bc
add Lua binding
2005-02-23 07:07:54 +00:00
Chris Danford
a4a966f7c5
remove conflicting Lua function, Song()
2005-02-23 06:38:05 +00:00
Glenn Maynard
b51b0cfb4c
Use Init() for all screens, so we can set state before the base class
...
members are loaded--they'll see resets, score finalization, etc. It
also results in smaller code, due to a g++ bug that causes constructors
to be emitted several times.
2005-02-23 06:29:05 +00:00
Glenn Maynard
1213a2c9b0
assert earlier
2005-02-23 06:18:38 +00:00
Glenn Maynard
b35d1c806e
fix LuaReference::operator=
...
add LuaReference::IsNil
2005-02-23 06:17:29 +00:00
Chris Danford
21f6266517
cleanup
2005-02-23 05:51:10 +00:00
Chris Danford
b9d6d7649f
add Lua constants
2005-02-23 05:02:47 +00:00
Chris Danford
6f6ef25d1d
add Lua bindings
2005-02-23 05:02:28 +00:00
Glenn Maynard
94f87f9b58
simplify
2005-02-23 04:46:05 +00:00
Glenn Maynard
4e4b6df7aa
move code to StatsManager::CommitStatsToProfiles
2005-02-23 04:32:45 +00:00
Glenn Maynard
e912b47839
move code around, comment
2005-02-23 03:40:47 +00:00
Chris Danford
ef80deedc4
cleanup: use class registration to create actors
2005-02-23 02:14:06 +00:00
Chris Danford
af4a407ffe
fix VC7 warnings
2005-02-23 01:11:02 +00:00
Glenn Maynard
dfce58ed98
fix commands being parsed multiple times; eg. OnCommand=@'"x," .. foo()' can only run foo() once
2005-02-23 00:22:23 +00:00
Chris Danford
cdfb4cff1e
add "exportonchange" flag
...
add support for RefreshRowNames in ROW_LUA
2005-02-22 23:48:17 +00:00
Chris Danford
3673781c1b
fix compile error
2005-02-22 23:34:18 +00:00
Chris Danford
f9ddb82d98
add EditMenuAction enum
...
add Lua constants
2005-02-22 23:11:59 +00:00
Chris Danford
3899d6063a
add Lua bindings
2005-02-22 23:08:46 +00:00
Chris Danford
105e01232a
add Lua bindings
2005-02-22 23:06:51 +00:00
Glenn Maynard
fd6a03977d
allow default.xml for backgrounds
2005-02-22 22:13:24 +00:00
Glenn Maynard
350faf7e01
cleanup
2005-02-22 21:44:54 +00:00
Glenn Maynard
b93a347be7
fix crash
2005-02-22 20:18:22 +00:00
Glenn Maynard
61064820b9
SetFromStack
2005-02-22 04:22:24 +00:00
Glenn Maynard
f762300f49
PopStack() calls
2005-02-22 04:20:58 +00:00
Glenn Maynard
61d94e97d8
convert prefs to Preference
2005-02-22 04:00:14 +00:00
Glenn Maynard
6c9cc1b273
disable MemoryCardManager::FlushAndReset
2005-02-22 03:58:22 +00:00
Glenn Maynard
7677c9d88f
GetPreference, SetPreference. (not yet decided if I want to bring Preference itself into Lua)
2005-02-22 03:36:51 +00:00
Glenn Maynard
fda3a8208b
cleanup, pass pn to lua function
2005-02-22 03:34:56 +00:00
Glenn Maynard
2350cc9b77
don't assert if LuaManager::RunScript is called with stuff on the stack
2005-02-22 03:27:06 +00:00
Glenn Maynard
f406e52db3
add LuaReference::Unset; LuaExpression sets nothing by default (so LuaExpressoin is "free" if not actually used)
2005-02-22 03:25:38 +00:00
Glenn Maynard
8a5faeb248
fix copied references being set when the source reference was not
2005-02-22 03:22:56 +00:00
Chris Danford
beff8a5978
forceallplayers in jukebox
2005-02-22 03:17:16 +00:00
Chris Danford
3ebe89a76b
fix VC7 warning
2005-02-22 03:14:54 +00:00
Chris Danford
7d9757621c
force same choice for both players when selecting style
2005-02-22 03:13:38 +00:00
Glenn Maynard
efeabffb8e
allow calling Lua from GameCommand
2005-02-22 01:50:44 +00:00
Glenn Maynard
baf8ef940e
RunScript cleanup, default to 0 return values
2005-02-22 01:21:38 +00:00
Glenn Maynard
1a58675664
cleanup, OnlyDedicatedMenuButtons -> UseDedicatedMenuButtons
2005-02-22 01:20:52 +00:00
Chris Danford
9614e2507c
hide underlines of hidden rows (for real this time)
2005-02-21 20:36:07 +00:00
Chris Danford
31951e4120
hide underlines of hidden rows
2005-02-21 20:23:34 +00:00