Forgot your password?
typodupeerror
First Person Shooters (Games)

Code Review of Doom For the iPhone 161

Posted by Soulskill
from the old-dogs-new-tricks dept.
Developer Fabien Sanglard has written a code review for id Software's iPhone port of Doom. It's an interesting look into how the original 1993 game (which he also reviewed to understand its rendering process) was adapted to a modern platform. "Just like Wolfenstein 3D, Doom was rendering a screenframe pixel per pixel. The only way to do this on iPhone with an acceptable framerate would be to use CoreSurface/CoreSurface.h framework. But it is unfortunately restricted and using it would prevent distribution on the AppStore. The only solution is to use OpenGL, but this comes with a few challenges: Doom was faking 3D with a 2D map. OpenGL needs real 3D vertices. More than 3D vertices, OpenGL needs data to be sent as triangles (among other things because they are easy to rasterize). But Doom sectors were made of arbitrary forms. Doom 1993's perspective was also faked, it was actually closer to an orthogonal projection than a perspective projection. Doom was using VGA palette indexing to perform special effect (red for damage, silver for invulnerable...)."
Democrats

Senator Arlen Specter Becomes a Democrat 1124

Posted by kdawson
from the crossing-the-aisle dept.
Akido37 was one of many readers letting us know that US Sen. Arlen Specter has changed parties to become a Democrat. This gives the Democrats 59 seats in the Senate, and 60 if and when Al Franken gets seated from Minnesota. However, Specter said in his announcement that he will not be an automatic 60th vote for breaking Republican filibusters. While the senator's move seems to have surprised many Republicans, it is understandable to moderate Republican Sen. Olympia Snowe of Maine, who said, "You haven't certainly heard warm encouraging words of how they [Republicans] view moderates. Either you are with us or against us." Specter noted that in his home state of Pennsylvania, 200,000 formerly Republican voters switched party allegiance last year.

We warn the reader in advance that the proof presented here depends on a clever but highly unmotivated trick. -- Howard Anton, "Elementary Linear Algebra"

Working...