Addicting Cheats Production
here are the rulez

rule numbah 1 : no begging of any account & cheats/hacks

rule numbah 2 : no spamming

rule nambah 3 : respect other members

rule numbah 3 : no posting porn links

rule numbah 4 : No posting of E-mail address

rule numbah 5 : no warez links

rule numbah 6 : no advertising of any sites

rule numbah 7 : No flaming/arguing

rule numbah 8 : no selling of cheats/hacks

rule numbah 9 : no multi account

Addicting Cheats Production

Please Join Our Newest Clan RapidPro1810 This Is The Link http://sfclan.ph.gameclub.com/myclan/clan_index.asp?guildid=RapidPro1810
 
HomePortalCalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 D3D Frame rate

Go down 
AuthorMessage
[AC]*[V]0[V]3NToFtRUTH
Site Owner
Site Owner
avatar

Posts : 210
Points : 1000140
Reputation : 0
Join date : 2010-01-18
Age : 33
Location : manila,philipines

PostSubject: D3D Frame rate   Fri Feb 05, 2010 8:07 am

Code:
//includes

#include <time.h>


//globals

float fFps = 0.0f;
float fLastTickCount = 0.0f;
float fCurrentTickCount;
char cFrameRate[50] = {0};



//Do the rest in EndScene

HRESULT APIENTRY IDirect3DDevice9::EndScene()
{

fCurrentTickCount = clock() * 0.001f;
++fFps;

if((fCurrentTickCount - fLastTickCount) > 1.0f)
{
fLastTickCount = fCurrentTickCount;
sprintf(cFrameRate, "[ FPS: %d ]", int(fFps));
fFps = 0;
}

return Device->EndScene();

}


rame.shin
Yahoo Messenger!




Credits to:[AC]*[V]0[V]3NToFtRUTH
And Special Thanks To: Rapid Pro The Clan Who Never Leave


1st offence : warn them

2nd offence : banned w/ 10-20 days

3rd offence : banned forever
Back to top Go down
View user profile http://addictingcheats.forumotion.com
 
D3D Frame rate
Back to top 
Page 1 of 1
 Similar topics
-
» rate brute please
» Rate these guys
» Okay Rate this brute:3
» Club Eternia
» Rate my muxxu

Permissions in this forum:You cannot reply to topics in this forum
Addicting Cheats Production :: Programming :: D3D-
Jump to: