Commit Graph

15901 Commits

Author SHA1 Message Date
Glenn Maynard cb3f10aabb LuaHelpers::RunExpressionF 2005-06-16 06:30:33 +00:00
Glenn Maynard 6a8940d5a4 LuaHelpers::RunExpressionB 2005-06-16 06:23:59 +00:00
Glenn Maynard 914acb4b7b LuaHelpers::RunScript 2005-06-16 06:17:32 +00:00
Glenn Maynard b93399da8c LuaHelpers::RunScriptFile 2005-06-16 06:10:50 +00:00
Glenn Maynard fc16f2625d LuaManager::RunScript -> LuaHelpers::RunScript.
(Functions in LuaManager can accidentally bypass locking semantics, so
they should be kept to a minimum.)
2005-06-16 06:00:39 +00:00
Glenn Maynard f070624a91 cleanup 2005-06-16 05:48:59 +00:00
Glenn Maynard dd138bfbc2 remove unnecessary 2005-06-16 05:46:37 +00:00
Glenn Maynard 7239c06e5d remove unused RunAtExpressionF 2005-06-16 05:40:36 +00:00
Glenn Maynard 8557623212 move CreateTableFromArrayB and ReadArrayFromTableB into LuaHelpers; L argument first, like Lua functions (it was only at the end because it was an optional parameter) 2005-06-16 05:37:31 +00:00
Chris Danford 8e6e0f182b fix edit hash values clamp (gcc) or wrap (msvc) when loading scores 2005-06-16 04:31:39 +00:00
Glenn Maynard 0d2b753d25 logs 2005-06-16 03:22:53 +00:00
Glenn Maynard 620b0f7f96 lua cleanup 2005-06-16 03:20:59 +00:00
Glenn Maynard 22566a52cf update 2005-06-16 03:18:13 +00:00
Glenn Maynard 1e02955e63 correct locking semantics for LuaReference (SGameplay commit in a moment) 2005-06-16 03:13:06 +00:00
Chris Danford 63eebeb75e add GetXML overload for convenience 2005-06-16 03:08:45 +00:00
Glenn Maynard 11bc71c826 fix warning 2005-06-16 03:07:30 +00:00
Glenn Maynard 533d773bd0 remove default 2005-06-16 03:03:05 +00:00
Glenn Maynard 21c603b186 lua cleanup 2005-06-16 03:00:44 +00:00
Chris Danford 415e43a805 always save scores to the player profile, no matter what the percentDP 2005-06-16 02:50:37 +00:00
Chris Danford 6c312c35df fix AV with null param to GetXml 2005-06-16 02:49:39 +00:00
Glenn Maynard dc13af28ac add MonthToString binding 2005-06-16 01:39:31 +00:00
Glenn Maynard e3970b10d5 move date helpers into DateTime.cpp 2005-06-16 01:33:22 +00:00
Glenn Maynard ec705ac73f minor hack to fix INITIAL_SCREEN 2005-06-16 01:30:54 +00:00
Chris Danford 47e5a2059d tweak error message 2005-06-16 01:21:31 +00:00
Glenn Maynard c8ce010007 fix DebugLine_WriteProfiles 2005-06-15 23:54:59 +00:00
Glenn Maynard b48fa6fe04 fix PlayerOptions::GetMods for perspective mods 2005-06-15 21:56:28 +00:00
Chris Danford f76db9b91c fix HideSystemMessage 2005-06-15 10:30:58 +00:00
Chris Danford c2a8150f16 add HideSystemMessage 2005-06-15 10:01:08 +00:00
Chris Danford 39b631da51 fix saving of machine scores for machine edits 2005-06-15 09:25:33 +00:00
Glenn Maynard cfa50fd225 remove GetStack 2005-06-15 08:37:54 +00:00
Glenn Maynard 4c6aa1ea65 remove nonexistant function 2005-06-15 08:36:49 +00:00
Glenn Maynard d7b09d366e remove PushStackNil 2005-06-15 08:36:06 +00:00
Glenn Maynard 6bfb3f0bad pass L to LuaHelpers::TypeError 2005-06-15 08:33:26 +00:00
Glenn Maynard cd30a6b852 remove default parameters 2005-06-15 08:30:43 +00:00
Glenn Maynard f715b14bb0 lua cleanup 2005-06-15 08:28:55 +00:00
Glenn Maynard a88e37e7d6 lua cleanup 2005-06-15 08:26:56 +00:00
Glenn Maynard 52f0d9d74c pull code out of the header 2005-06-15 08:21:38 +00:00
Glenn Maynard e3a8b72639 lockable Lua object; "Lua" alias to replace "lua_State" 2005-06-15 08:16:28 +00:00
Chris Danford d748e6bbef cleanup param names, fix mulitple match templates warnings, optimize completenes table 2005-06-15 04:07:00 +00:00
Glenn Maynard d66f00ea23 lua cleanup 2005-06-15 02:27:16 +00:00
Glenn Maynard c4b4ce28a5 cleanup 2005-06-15 02:25:58 +00:00
Glenn Maynard d1241420d6 clean up singleton registration: if you were given an L, use it 2005-06-15 02:21:24 +00:00
Chris Danford 75bc1eea92 don't show "you have changed song %s" of only the global offset changed 2005-06-15 02:02:46 +00:00
Chris Danford 848cb582d9 sort by name first when showing only most recent 2005-06-15 02:02:06 +00:00
Chris Danford 9c59962805 fix attract sounds play when they shouldn't if two ScreenDemonstrations in a row 2005-06-15 02:01:09 +00:00
Chris Danford 64690cdb40 use DEFAULT_WEIGHT_POUNDS if weight not explicitly set 2005-06-15 01:59:40 +00:00
Glenn Maynard 3fe8c37fe5 m_pPlayerState->m_HealthState != PlayerState::DEAD -> !m_pPlayerStageStats->bFailed
This means that scoring stops when the player actually fails: scoring will still
(as before) stop when the life bar empties in FailEndOfSong, but now will not
stop in FailOff.  (m_HealthState ignores the fail mode.)  This way, beginners
in FailOffInBeginner mode who lose their meter quickly before catching on will
get a decent score, instead of a discouraging "1.5%".
2005-06-15 00:20:21 +00:00
Chris Danford 764d455632 fix calorie total double-counted 2005-06-15 00:15:51 +00:00
Chris Danford 9ba180f621 fix many glitches 2005-06-14 23:40:13 +00:00
Chris Danford 45e66beddf fix broken LastPlayed saving 2005-06-14 23:20:19 +00:00