RSS Feeds

Previous entries

Tpserver-cpp grows

Posted 2005-05-08-2359

Over the last week I've done quite a lot of work on tpserver-cpp. This was probably the most significant coding I have done in a while - added about 800 to the sloc count.

Tpserver-cpp now supports all of the required bits of TP03, except the design stuff (which hasn't been finalised yet). In the process I also added support of limiting the objects a player can see, but probably won't use it for a while. Another significant addition to both tpserver-cpp and tpclient-cpptext has been command completion. Wasn't really that hard with libreadline. Tpserver-cpp uses the callback interface, whereas tpclient-cpptext uses the blocking readline function. It was fun. I even added command history too.

Been looking at adding a MySQL backend so the universe is saved and can shutdown the server without lossing all the data. It looks like a lot of work. Maybe I'll start on that after getting TP03 design stuff going.

In other coding news, been thinking of doing some more work on dart, but haven't picked up the courage to hack it up. Going to clean up the pixel loop, adding in block rendering support and antialiasing. Some day soon.