Commit Graph

13826 Commits

Author SHA1 Message Date
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
Glenn Maynard 7135178e3f fix SaveTo not being used 2005-02-21 20:18:42 +00:00
Chris Danford a2915c038b add TemporaryEventMode flag to GameState 2005-02-21 17:29:49 +00:00
Chris Danford d7bcadccc7 add Lua bindings 2005-02-21 17:26:43 +00:00
Chris Danford a0ebb13fec add lua bindings 2005-02-21 17:20:11 +00:00
Glenn Maynard b960e51f42 Profile::IsCodeUnlocked 2005-02-21 06:59:50 +00:00
Chris Danford b688bff51d add pushing to vectors with any type 2005-02-21 06:51:10 +00:00
Glenn Maynard a25eb2443c lua 2005-02-21 06:51:04 +00:00
Chris Danford e33b520a26 add Lua PlayMode constants 2005-02-21 06:49:43 +00:00
Glenn Maynard 1b7d1943e3 lua GetTotalNumSongsPlayed 2005-02-21 06:39:03 +00:00
Glenn Maynard 7e6aaf71cb fix warning 2005-02-21 06:29:22 +00:00
Glenn Maynard 04ca6e051a UnlockSystem -> UnlockManager 2005-02-21 06:29:04 +00:00
Glenn Maynard c691cef8a2 UnlockSystem.cpp -> UnlockManager.cpp 2005-02-21 06:24:47 +00:00
Glenn Maynard 9dbeb4eeef rename UnlockSystem -> UnlockManager 2005-02-21 06:23:57 +00:00