Archive for May, 2009

threads are hard work

Thursday, May 7th, 2009

I just pushed up revision 77 which includes my first implementation of threads on the server code. A thread allows for the execution of multiple pieces of code “at the same time”.

I’m currently using it only to manage the clients on the server and there are still bugs in it. I have been reluctant to upload anything until now because it has taken me quite some time to get the code back into a state where the game loads again. Unfortunately there is nothing to show off this time as it is all server side.

My plans are to get this working correctly before I move on to object placement/level editing. The idea is that only the admin can have access to such features, which is why I am working of the server first.