Why input polling? (implementation detail question) (Full Version)

All Forums >> [New Releases from Matrix Games] >> Gary Grigsby's War in the East Series >> Tech Support



Message


Indy68 -> Why input polling? (implementation detail question) (12/14/2010 10:43:42 AM)

In several posts it has been mentioned that various problems are related to polling, e.g. input polling. I'm just curious, why do you need to poll input? Are you using a development platform where standard windows events can't be used, or what's the reason for polling? After all, polling is not the recommended practise in Windows development (too quick polling uses CPU in vain, too slow polling is unresponsive and middle-way polling has potential of both problems)




Helpless -> RE: Why input polling? (implementation detail question) (12/14/2010 10:52:42 AM)

There is no input polling. You got it wrong.




Indy68 -> RE: Why input polling? (implementation detail question) (12/14/2010 12:42:29 PM)

Ok, good to hear. To prevent my misunderstandings in the future, can you explain what does these sentences mean:

From v1.01 Beta 2 fix list:
quote:

Reduced input polling during airstrike missions. AI should be faster, but more chances of black screens


Your response regarding performance problems:
quote:

The good news that since we managed to solve the mouse click problem, it is possible to reduce polling cycles without any visible degradation for the game performance




Helpless -> RE: Why input polling? (implementation detail question) (12/14/2010 12:49:15 PM)

I'm not sure there is a need to go into very details, so my explanations can be vague and targeted mostly to non-programmers.

And, yes, polling was a bad word here. Sorry for confusion.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.765625