🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Productivity.

Published August 13, 2006
Advertisement
It's always nice to see people getting some progress done like Deyja and Tape Worm; provides ample motivation to get off my ass.

Nothing showy today, but I added more reflection details to automate the client/server messaging. I managed to overcome the reflected delegate assignment problem as described in the July 20th post. It required using IConvertable to explicitly allow for a functor to be converted into the delegate type, GetMethod("Invoke") to fiddle with parameter types rather than checking directly or via generics, and manually instantiating the generic helper with a type array. Nasty as sin, but it's something I can ignore now and better than adding new lines of code in the server with every server visible parameter...

I also added reflection discovery of game types (rather than a static array), and a constraining functor for the object creation event.


Hopefully, automating the message structure will allow me to now more freely flesh out the game classes without the demotivation that adding event handlers manually brings.
Previous Entry Le Font Redux!
Next Entry Woof!
0 likes 1 comments

Comments

Deyja
Hurray for linking to me. I've got even more done since then! I'm finally at the point in my project where new features no longer require major changes to the underlying code.
August 13, 2006 07:49 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement
Advertisement