Friday, March 7, 2008

r42/r43/r44: Potpourri

(Note: r41 is Justin's, so it's his problem to write it up.)

So, yesterday was busy. Justin and I sat down and talked extensively about code, and ended up writing a bunch of stuff. I'll go in order, trying to explain everything along the way.

r42 was mainly to commit a few changes to configure.in. I've been trying to move to a pure autotools framework, and part of that is moving all of the libraries that need to be linked from the Makefile.in stubs to configure.in. The final library, Xxf86vm, was finally moved in this commit, making us purely autotools now. (And of course, we may move to cmake or something similar in a while, but for now we're staying firmly put.)

I've mentioned OpenMP briefly, but I won't get into it here. It was enabled if your compiler (GCC 4.2 or newer, ICC) supported it, but for now I've disabled it. Passing --with-openmp to configure will enable it again. So far, the speed increases are negligible, and only occur in a few limited STL calls. We'll figure more of it out later.

There are also small fixes to Arena, CharacterManager, and a few headers. Also vsync is now enabled by default.

Next! r43 adds a 14pt monospace font for the Console and ArenaManager, which is like CharacterManager but for Arenas.

r44 was basically this:
$ optipng -v -o7 media/fonts/*.png
$ svn ci
For those not familiar with optipng, it is a cool utility that shrinks PNGs. (What? I was bored!)

TODO: Get the entire CharSelect path working. ArenaManager should be very easy to integrate. Also consider using XML files to lay out the character select and arena select screens.

Justin, Derrick, please write up your commits.

~ C.

No comments: