From 42a6ead0dc756902d5cd3a5fc05d33aa4c3f4eed Mon Sep 17 00:00:00 2001 From: RD42 <42702181+dashr9230@users.noreply.github.com> Date: Sun, 12 May 2024 20:35:20 +0800 Subject: [PATCH] [saco] Implement and match CDXUTTimer class member functions --- saco/d3d9/common/DXUTmisc.cpp | 164 ++++++++++++++++++++++++++++++++++ saco/d3d9/common/DXUTmisc.h | 41 +++++++++ saco/d3d9/common/directx.ico | Bin 0 -> 25214 bytes saco/d3d9/common/dxstdafx.cpp | 11 +++ saco/d3d9/common/dxstdafx.h | 26 ++++++ saco/saco.vcproj | 16 ++++ 6 files changed, 258 insertions(+) create mode 100644 saco/d3d9/common/DXUTmisc.cpp create mode 100644 saco/d3d9/common/DXUTmisc.h create mode 100644 saco/d3d9/common/directx.ico create mode 100644 saco/d3d9/common/dxstdafx.cpp create mode 100644 saco/d3d9/common/dxstdafx.h diff --git a/saco/d3d9/common/DXUTmisc.cpp b/saco/d3d9/common/DXUTmisc.cpp new file mode 100644 index 0000000..a1f41b7 --- /dev/null +++ b/saco/d3d9/common/DXUTmisc.cpp @@ -0,0 +1,164 @@ +//-------------------------------------------------------------------------------------- +// File: DXUTMisc.cpp +// +// Shortcut macros and functions for using DX objects +// +// Copyright (c) Microsoft Corporation. All rights reserved +//-------------------------------------------------------------------------------------- +#include "dxstdafx.h" +#undef min // use __min instead +#undef max // use __max instead + +//-------------------------------------------------------------------------------------- +CDXUTTimer::CDXUTTimer() +{ + m_bUsingQPF = false; + m_bTimerStopped = true; + m_llQPFTicksPerSec = 0; + + m_llStopTime = 0; + m_llLastElapsedTime = 0; + m_llBaseTime = 0; + + // Use QueryPerformanceFrequency() to get frequency of timer. + LARGE_INTEGER qwTicksPerSec; + m_bUsingQPF = (bool) (QueryPerformanceFrequency( &qwTicksPerSec ) != 0); + m_llQPFTicksPerSec = qwTicksPerSec.QuadPart; +} + + +//-------------------------------------------------------------------------------------- +void CDXUTTimer::Reset() +{ + if( !m_bUsingQPF ) + return; + + // Get either the current time or the stop time + LARGE_INTEGER qwTime; + if( m_llStopTime != 0 ) + qwTime.QuadPart = m_llStopTime; + else + QueryPerformanceCounter( &qwTime ); + + m_llBaseTime = qwTime.QuadPart; + m_llLastElapsedTime = qwTime.QuadPart; + m_llStopTime = 0; + m_bTimerStopped = FALSE; +} + + +//-------------------------------------------------------------------------------------- +void CDXUTTimer::Start() +{ + if( !m_bUsingQPF ) + return; + + // Get the current time + LARGE_INTEGER qwTime; + QueryPerformanceCounter( &qwTime ); + + if( m_bTimerStopped ) + m_llBaseTime += qwTime.QuadPart - m_llStopTime; + m_llStopTime = 0; + m_llLastElapsedTime = qwTime.QuadPart; + m_bTimerStopped = FALSE; +} + + +//-------------------------------------------------------------------------------------- +void CDXUTTimer::Stop() +{ + if( !m_bUsingQPF ) + return; + + if( !m_bTimerStopped ) + { + // Get either the current time or the stop time + LARGE_INTEGER qwTime; + if( m_llStopTime != 0 ) + qwTime.QuadPart = m_llStopTime; + else + QueryPerformanceCounter( &qwTime ); + + m_llStopTime = qwTime.QuadPart; + m_llLastElapsedTime = qwTime.QuadPart; + m_bTimerStopped = TRUE; + } +} + + +//-------------------------------------------------------------------------------------- +void CDXUTTimer::Advance() +{ + if( !m_bUsingQPF ) + return; + + m_llStopTime += m_llQPFTicksPerSec/10; +} + + +//-------------------------------------------------------------------------------------- +double CDXUTTimer::GetAbsoluteTime() +{ + if( !m_bUsingQPF ) + return -1.0; + + // Get either the current time or the stop time + LARGE_INTEGER qwTime; + if( m_llStopTime != 0 ) + qwTime.QuadPart = m_llStopTime; + else + QueryPerformanceCounter( &qwTime ); + + double fTime = qwTime.QuadPart / (double) m_llQPFTicksPerSec; + + return fTime; +} + + +//-------------------------------------------------------------------------------------- +double CDXUTTimer::GetTime() +{ + if( !m_bUsingQPF ) + return -1.0; + + // Get either the current time or the stop time + LARGE_INTEGER qwTime; + if( m_llStopTime != 0 ) + qwTime.QuadPart = m_llStopTime; + else + QueryPerformanceCounter( &qwTime ); + + double fAppTime = (double) ( qwTime.QuadPart - m_llBaseTime ) / (double) m_llQPFTicksPerSec; + + return fAppTime; +} + + +//-------------------------------------------------------------------------------------- +double CDXUTTimer::GetElapsedTime() +{ + if( !m_bUsingQPF ) + return -1.0; + + // Get either the current time or the stop time + LARGE_INTEGER qwTime; + if( m_llStopTime != 0 ) + qwTime.QuadPart = m_llStopTime; + else + QueryPerformanceCounter( &qwTime ); + + double fElapsedTime = (double) ( qwTime.QuadPart - m_llLastElapsedTime ) / (double) m_llQPFTicksPerSec; + m_llLastElapsedTime = qwTime.QuadPart; + + return fElapsedTime; +} + + +//-------------------------------------------------------------------------------------- +bool CDXUTTimer::IsStopped() +{ + return m_bTimerStopped; +} + + diff --git a/saco/d3d9/common/DXUTmisc.h b/saco/d3d9/common/DXUTmisc.h new file mode 100644 index 0000000..68cb58e --- /dev/null +++ b/saco/d3d9/common/DXUTmisc.h @@ -0,0 +1,41 @@ +//-------------------------------------------------------------------------------------- +// File: DXUTMisc.h +// +// Helper functions for Direct3D programming. +// +// Copyright (c) Microsoft Corporation. All rights reserved +//-------------------------------------------------------------------------------------- +#pragma once +#ifndef DXUT_MISC_H +#define DXUT_MISC_H + + +//-------------------------------------------------------------------------------------- +// Performs timer operations +// Use DXUTGetGlobalTimer() to get the global instance +//-------------------------------------------------------------------------------------- +class CDXUTTimer +{ +public: + CDXUTTimer(); + + void Reset(); // resets the timer + void Start(); // starts the timer + void Stop(); // stop (or pause) the timer + void Advance(); // advance the timer by 0.1 seconds + double GetAbsoluteTime(); // get the absolute system time + double GetTime(); // get the current time + double GetElapsedTime(); // get the time that elapsed between GetElapsedTime() calls + bool IsStopped(); // returns true if timer stopped + +protected: + bool m_bUsingQPF; + bool m_bTimerStopped; + LONGLONG m_llQPFTicksPerSec; + + LONGLONG m_llStopTime; + LONGLONG m_llLastElapsedTime; + LONGLONG m_llBaseTime; +}; + +#endif diff --git a/saco/d3d9/common/directx.ico b/saco/d3d9/common/directx.ico new file mode 100644 index 0000000000000000000000000000000000000000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M-zCP(7$^s%%mD#_wEn=15=q*0rJQ z(~=SJ7Jur{A+MERkQJ`%-;&2J$I%gwp;c2s$EV0*0ru?O>g3Hr&bXg9nD&( z4(+ou50(!2_+tkSstZq_7ILITLJBJ`4C>?Z-7a4 z=)Qpdb^$7{R8IK-&-51kx?q?2Q9qJ)E}-9T5m(&as8N{O)oR;6-?#oo=Gvm0HvM7~ zI$d!HV7@$wt>%OuY-yM+{EY*dijAalY9nB$uSD*8HjBT*Ad$#W{)U3s(LINt-w%vCwN9P5&pLH#rnbHM z7k@SO=kd_FP=1K*-1&4Qd!vhqBh5$lFJlfP;f)yDkH=oKLz^V-JBjn{;oX<$ku+jp zhw&4>@$&j%yO-BIwX1h}k{H>h7jZzu8`=&Ki65>SNWORGT)lUl;oR%{qI&UHvT~ zHVqw2eL$GzED?uf?D7x?D7}MA7T?z38i^zu+a$x05 zM8r=oHETAH`jxWUP#%bF)TrBuk|i_98y0e6h1^gfC)Ya9Lo7kauNCq_g`8QrwRP*= zzW)B&hQ?J)O8@>PlZzBNMGmr%t19HI$^aTAZ&b+t6>@il98)1zRmd+Da&P5)WaO19 zrAw=w;SyKA{9EKP3%RM*UO)MMN&<8rMP(iNxz@Q0 za(pct)bi1gljKAT`Ont8=-hHHuuW8j3YXSUN9{XpL-joQzt7GFkxy*-OyuthInqKd zwskHeW6YS_%3~XRd{W5)mxa_Nr(4K5cGy8`kEnfu%}2hmkQ*%I{tEfeLN2$Q?9$~7 z=PJv`HElYcoNpnw+o8);pQ}y79FSuy +#include +#include +#include +#include // for InitCommonControls() +#include // for ExtractIcon() +#include // for placement new +#include +#include +#include +#include + +#include "DXUTmisc.h" + +#endif // !defined(DXSDK_STDAFX_H) diff --git a/saco/saco.vcproj b/saco/saco.vcproj index 0e07089..aabc378 100644 --- a/saco/saco.vcproj +++ b/saco/saco.vcproj @@ -571,6 +571,22 @@ + + + + + + + + + +