These are chat archives for
Sign in to start talking
Ultima Online (UO) client programmed in C#/XNA
Nov 27 2016 13:37
I'm taking a good look at InputManager for the first time in years.
I know see why it's so complex.
A lot of the extra stuff is handling the windows input model.
It's harder to manage an event based system, versus state based, which is what XNA/MG does.
That said, you're 100% right, the code could use some serious clean up.
Nov 27 2016 13:53
... for example, I think I can get rid of all the xaccumulating lists with a simple lock(m_Events)
Nov 27 2016 14:47
Input handling revisions:
Nov 27 2016 14:58
right, so you protect the event list against insertions
the reason why you still need two lists