Skip to main content
gamedev.net
🔒 Locked

Loopz

Started by hexalite2001 Jan 14, 2003 at 4:43 PM 3 replies 400+ views
Original Post
hexalite2001
hexalite2001
Whats the best way to do a direct3d graphics loop that can still send and receive packets from direct play?
hexalite2001
hexalite2001
Mayybe you could just help instead. I need this info in a hurry.
pawn69
pawn69
You could use multiple threads.
Megahertz
Megahertz

  
for (;;) {
DrawFrame(); // maybe pass in elapsed time here =)

ProcessPackets();
}



Thats about it for the loop =)

-=[ Megahertz ]=-





[edited by - Megahertz on January 16, 2003 6:36:45 AM]

[edited by - Megahertz on January 16, 2003 6:37:42 AM]
-=[Megahertz]=-

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.