Commit Graph
13862 Commits
Author SHA1 Message Date
Glenn Maynard a9c73de5b6 fix ZIP thread-safety? 2005-02-24 06:07:49 +00:00
Chris Danford fbf7bc4f26 split OptionRowHandler out of ScreenOptionsMaster 2005-02-24 04:56:36 +00:00
Glenn Maynard 185966bd35 settext takes a string 2005-02-24 01:31:21 +00:00
Chris Danford 7c237be91f export specific rows, not all rows at once, to make it easier to reload certain rows 2005-02-24 01:17:39 +00:00
Chris Danford f395d0a401 preload commands 2005-02-23 23:04:06 +00:00
Glenn Maynard 2da21b16d4 rename m_iNumSingleSongsPlayed -> m_iNumTotalSongsPlayed
replace GetTotalNumSongsPlayed
2005-02-23 22:59:56 +00:00
Glenn Maynard c6de356dca Keep track of number of songs played. The other stats all count per-
player: if one person plays on Hard and one on Easy, then each will
be incremented.  That's useful, but it's also helpful to track the simple
number of songs played, irrespective of how many people were playing
at the time.
2005-02-23 22:52:03 +00:00
Glenn Maynard 9ff32c8d25 fix init 2005-02-23 22:45:01 +00:00
Glenn Maynard 456c2074e7 do "skip screen" tests in Init(), since Init() is still called even if we
SetNewScreen() in the screen ctor
2005-02-23 22:36:00 +00:00
Chris Danford 5ed6736eef sScreenName -> sType 2005-02-23 22:21:39 +00:00
Chris Danford b1a7e15042 remove default param values to simplify 2005-02-23 22:14:58 +00:00
Chris Danford 480088576a load metrics from m_sType, not m_sName 2005-02-23 22:14:31 +00:00
Chris Danford 5cdaec5edf don't Init if no characters 2005-02-23 22:13:29 +00:00
Chris Danford 4a926a4605 DifficultyMeter: set name before load 2005-02-23 22:13:06 +00:00
Chris Danford ca1f7e5893 hush 2005-02-23 22:11:33 +00:00
Glenn Maynard bf85d3d3ac fix update 2005-02-23 21:13:09 +00:00
Glenn Maynard 31fc8bc1e7 asserts 2005-02-23 20:59:07 +00:00
Glenn Maynard 148bee1c51 re-update 2005-02-23 20:58:07 +00:00
Chris Danford 555d5aa2fe don't use Name/ID to load DifficultyMeter. We only need the Name at load time, so pass it into Load and don't save it in the Actor. 2005-02-23 20:40:46 +00:00
Chris Danford b45d0ddff3 broadcast on steps change 2005-02-23 20:39:27 +00:00
Chris Danford 167aa06970 don't propagate "Init" 2005-02-23 20:37:21 +00:00
Glenn Maynard 4eeb0fd884 cleanup 2005-02-23 19:29:49 +00:00
Glenn Maynard 22b6a821d5 tabs 2005-02-23 19:22:52 +00:00
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