From 714bf62d5d63c294d014d00672468bd6bed3a99a Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 19 Jan 2005 23:43:28 +0000 Subject: [PATCH] add "Trace" (in here and not RageLog because I'm not yet quite ready to make everything in Rage depend on Lua ...) --- stepmania/src/LuaHelpers.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stepmania/src/LuaHelpers.cpp b/stepmania/src/LuaHelpers.cpp index 2fe31c6213..e5f3294059 100644 --- a/stepmania/src/LuaHelpers.cpp +++ b/stepmania/src/LuaHelpers.cpp @@ -326,6 +326,8 @@ LuaFunction_NoArgs( Year, GetLocalTime().tm_year+1900 ); LuaFunction_NoArgs( Weekday, GetLocalTime().tm_wday ); LuaFunction_NoArgs( DayOfYear, GetLocalTime().tm_yday ); +LuaFunction_Str( Trace, (LOG->Trace("%s", str.c_str()),true) ); + /* * (c) 2004 Glenn Maynard * All rights reserved.