Commit Graph

56 Commits

Author SHA1 Message Date
Chris Danford 2f7ac6aa3c Add m_ to StageStats and PlayerStageStats members. There are several methods of these classes with local variable names that are similar to the member names. m_ helps distinguish between those two types. 2006-11-14 11:13:21 +00:00
Glenn Maynard e11914d4bb LoadFromNode(sDir, pNode) -> LoadFromNode(pNode) 2006-10-09 08:24:10 +00:00
Glenn Maynard f1ca420069 use ActorUtil::GetWhere 2006-10-09 08:08:59 +00:00
Glenn Maynard e91a806b37 remove LuaFunctions.h 2006-09-29 09:54:50 +00:00
Glenn Maynard c690fdcfe4 unify registration 2006-09-29 00:01:32 +00:00
Glenn Maynard 8ef5aeb341 simpler Lua boilerplate 2006-09-27 20:10:14 +00:00
Glenn Maynard f567a0fd28 cleanup arg order 2006-09-26 08:54:54 +00:00
Glenn Maynard 709a790f1c change arg order 2006-09-22 08:48:49 +00:00
Glenn Maynard 38328196a3 use GetMetricR 2006-09-22 03:53:42 +00:00
Steve Checkoway 1598deda7f Fix crash if lua_tostring() returns NULL. 2006-09-21 09:42:08 +00:00
Steve Checkoway 6ea2a41b00 Cleanup RageException::Throw(). Do not use ssprintf() inside of Throw() and do not pass it bare error messages. Use RageException::Throw( "%s", sError.c_str() ); instead. Be consistent with quoting file names "%s" and theme metrics as "%s : %s". Try to make them complete English sentences when possible. 2006-09-17 01:19:19 +00:00
Steve Checkoway 53c3fdc1ba Don't crash if Format is empty. 2006-08-14 04:49:27 +00:00
Chris Danford 7ac45c24e4 save Preferred, Stage, Song, and Current modifiers separately. This eliminates the fragile mods store/restore. 2006-08-05 02:38:05 +00:00
Steve Checkoway 56d383bc5b Cleanup. 2006-07-25 23:41:15 +00:00
Glenn Maynard 0858a83ce1 fix lost initialization 2006-07-23 03:29:16 +00:00
Glenn Maynard 5cd1a60711 custom formatting. Use 'Format=FormatPercentScore' to use the old behavior. 2006-07-05 03:18:26 +00:00
Chris Danford 63989c4aee don't run InitCommand until fonts are loaded 2006-04-21 00:42:56 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Chris Danford 65d71a4f23 expermienting with DEFINE_METHOD macro for Lua methods 2005-09-10 02:47:04 +00:00
Glenn Maynard 48276f6f60 oops, partial undo 2005-08-30 02:02:00 +00:00
Glenn Maynard 89da66b90e lua/xml 2005-08-30 02:01:05 +00:00
Glenn Maynard 19c9b70e2d unused 2005-08-30 01:32:55 +00:00
Glenn Maynard af32bb5acc fix OnCommand run twice (parent calls PlayCommand("On")) 2005-08-29 07:40:36 +00:00
Chris Danford fdb9764c81 load from PlayerState and PlayerStageStats, not PlayerNumber and looking up in GameState 2005-08-23 21:04:35 +00:00
Glenn Maynard f5dc5d75f3 simplify 2005-05-29 02:21:24 +00:00
Glenn Maynard 3095ce386b fix cross-dependency between LuaManager.h and LuaFunctions.h 2005-05-28 22:11:20 +00:00
Chris Danford bf8424ae52 fix dupe command errors 2005-05-04 18:30:31 +00:00
Chris Danford d67e3c618b use PercentageDisplay::FormatPercentScore in ScreenRanking 2005-04-15 08:05:29 +00:00
Chris Danford 62a2834202 format the percentDP score in PaneDisplay using the same code in PercentageDisplay 2005-04-05 09:29:05 +00:00
Steven Towle 9643e9986a Updated display options to work with percentage scoring 2005-04-05 08:50:55 +00:00
Chris Danford f4d1dfc8cf fix ftruncf changes 1.0000000 to 0.99990004 2005-03-21 11:22:20 +00:00
Glenn Maynard 30d3c72cc0 fix truncation not always happening correctly 2005-03-19 11:29:08 +00:00
Chris Danford 533e83ed00 Don't set two different names for an element. Instead, pass the metrics group name as a parameter to Load() 2005-02-16 23:03:01 +00:00
Chris Danford 9ec779c22a fix VC6 2005-02-02 08:30:25 +00:00
Glenn Maynard b56e0121f2 cache 2005-02-02 07:14:09 +00:00
Glenn Maynard c7c28b9aea narrow StageStats* -> PlayerStageStats* 2005-01-10 15:18:13 +00:00
Chris Danford 09d018444e split StageStats into player-specific and non-player-specific structs 2004-12-20 10:47:41 +00:00
Thad Ward 827842a396 Quiet some warnings. (vc8 certainly bitches alot more than vc6 did) 2004-10-23 01:41:21 +00:00
Chris Danford 0634c55431 fix rounding error in displaying percent score 2004-10-18 03:00:12 +00:00
Chris Danford 504ba6c163 GetPath*N->GetPath*F 2004-07-25 06:29:50 +00:00
Glenn Maynard 30a9bf3292 license update 2004-06-08 00:08:04 +00:00
Chris Danford 3cadf4c5d5 have Numbers fall back to Fonts (in perparation for removing the Numbers dir altogether) 2004-05-30 23:23:39 +00:00
Glenn Maynard 654d99076f fix remainder tween off 2004-04-25 05:26:23 +00:00
Chris Danford 4e877f4f1c don't keep reloading PercentDisplay in ScreenNameEntryTraditional 2004-03-24 02:22:11 +00:00
Chris Danford 7bc830888b Cleanup PercentDisplay, ScreenNameEntryTraditional 2004-03-24 01:11:16 +00:00
Chris Danford 2929bacb08 show per-diffculty award on Eval screen every time it's received (not just the first time)
clean up ScreenEval PR and MR graphics
clean up Actor shadow parameters
2004-03-20 02:59:08 +00:00
Chris Danford ebb7c2b81e clamp percent before displaying 2004-01-25 05:34:23 +00:00
Chris Danford 96a7cb0bcd allow display of negative dance points
stop counting dance points after fail
2004-01-12 06:45:36 +00:00
Glenn Maynard 9170e91bcc Move CurStageStats and vPlayedStageState out of GAMESTATE. Having
GameState.h depend on StageStats.h is too inconvenient.
2003-12-23 00:26:00 +00:00
Glenn Maynard 607666d330 use GetPercentDancePoints 2003-10-12 21:49:29 +00:00