Game programming

Moderators: None (Apply to moderate this forum)
Number of threads: 2070
Number of posts: 5361

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Edit Report
DirectDraw timer (queryperformancecounter) type "hyper" Posted by Jerry Burnett on 9 Aug 1999 at 2:14 PM
Thanks to ROCK for identifying the preferred timer for <br>
DirectDraw ( use QueryPerformanceFrequency followed<br>
by QueryPerformanceCounter) - this will use your<br>
real time clock (if you have a pentium-class or above).<br>
The type of parameter is a 64-bit integer typedef'd as <br>
LARGE_INTEGER, which is based on a LONGLONG,<br>
which is typeded'f as " hyper ". I cannot find any reference<br>
to the type " hyper " in the entire win32api (please tell me<br>
where if you find it), and I can't seem to find any fundamental<br>
math functions for LARGE_INTEGER. Anyone know<br>
where to find a package that has the basic arithmetic<br>
worked out for these 64-bit integers? You can't even<br>
send these values to COUT<< because the overload<br>
<< is not defined for LARGE_INTEGER. If there is no<br>
such package, then I will have to struggle to code it <br>
up myself - help, help, help.<br>
Jerry Burnett alcman@neto.com





 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.