//===========================================================================// // File: time.cc // // Project: MUNGA Brick: Time Manager // // Contents: Implementation details of the Time Manager // //---------------------------------------------------------------------------// // Date Who Modification // // -------- --- ---------------------------------------------------------- // // 10/19/94 JMA Initial coding. // // 10/24/94 JMA Added Lester's IBM RTC code in as SystemClock class // // 10/28/94 JMA Made compatible with SGI CC // // 11/03/94 ECH Made compatible with BC4.0 // //---------------------------------------------------------------------------// // Copyright (C) 1994-1995, Virtual World Entertainment, Inc. // // PROPRIETARY AND CONFIDENTIAL // //===========================================================================// #include #pragma hdrstop #if !defined(TIME_HPP) #include #endif //############################################################################# //########################### System Clock ############################## //############################################################################# SystemClock SystemClock::timer; Scalar SystemClock::ticksPerSecond = 1000.0f; long SystemClock::GetRTC() { static long time=0L; return time++; } SystemClock::SystemClock() { pauseStart = 0L; pauseTime = 0L; } void SystemClock::Shutdown() { } float Get_Frame_Percent_Used() { return 0.5f; }