break up arch stuff into smaller .cpp files to fix smpackage build and not pull in unnecessary stuff

This commit is contained in:
Chris Danford
2005-12-16 04:16:09 +00:00
parent ddce0cc239
commit 353e0c5b6e
55 changed files with 647 additions and 327 deletions
-11
View File
@@ -1,7 +1,6 @@
#include "global.h"
#include "DateTime.h"
#include "RageUtil.h"
#include "LuaFunctions.h"
DateTime::DateTime()
@@ -200,7 +199,6 @@ CString MonthToString( int iMonthIndex )
return CString();
return MONTH_TO_NAME[iMonthIndex];
}
LuaFunction( MonthToString, MonthToString( IArg(1) ) );
CString LastWeekToString( int iLastWeekIndex )
{
@@ -308,15 +306,6 @@ tm GetDayInYearAndYear( int iDayInYearIndex, int iYear )
return when;
}
LuaFunction( MonthOfYear, GetLocalTime().tm_mon );
LuaFunction( DayOfMonth, GetLocalTime().tm_mday );
LuaFunction( Hour, GetLocalTime().tm_hour );
LuaFunction( Minute, GetLocalTime().tm_min );
LuaFunction( Second, GetLocalTime().tm_sec );
LuaFunction( Year, GetLocalTime().tm_year+1900 );
LuaFunction( Weekday, GetLocalTime().tm_wday );
LuaFunction( DayOfYear, GetLocalTime().tm_yday );
/*
* (c) 2001-2004 Chris Danford
* All rights reserved.