Pascal's TechBlog

Monday, November 28, 2005

Hacking on icculus.org/quake3

Source code is a beatiful thing, kudos to Id software for releasing their Quake 3 code once more, and kudos to the people at icculus.org which are really getting the Quake 3 code into shape, they have made many improments along the way:
  • AMD64 support
  • FreeBSD support
  • SDL for cross-platforminess
  • OpenAL sound
I always missed a 'Very High Quality' initial video options template in the original Quake 3, the 'High Quality' ivo template, uses a screen resolution of 800x600 which is pityful by todays standards. Anyway I added my own 'Very High Quality' ivo template, which is the same as the 'High Quality' ivo template except it uses a 1024x768 screen resolution, a texture quality of 3 and a geometry detail of 2. Even the most low end (but current) video card will be able to handle the 'Very High Quality' ivo template easily.

In the process of adding the new ivo template, I encountered a hardcoded value which turned into a bug while adding the new ivo template, which I fixed along the way. I also noticed a suboptimal for loop which I optimized.

Patches:
fix-hardcoded-custom-ivo-template
add-very-high-quality-ivo-template
optimize-graphicsoptions-checkconfig

Binary:
Quake 3 1.33 r386 i686

0 Comments:

Post a Comment

<< Home