by Arjuna · 12y ago · 0 comments
Although it's not Doom, he personally ported Wolfenstein 3D for iPhone. You can read his write-up here [1]. Wayback Machine, FTW... it's no longer on id software's site, and I couldn't locate it in Google's cache, either.
"Rather than having a big confrontation over the issue, I told them to just send the project to me and I would do it myself."
[1] http://web.archive.org/web/20110808014701/http://www.idsoftw...
Instead, he brought up a source file and pointed to this line:
static char buffer[1024 * 1024 * 2]; "See this?" he said. And then deleted it with a single keystroke. Done!
He probably saw the horror in my eyes, so he explained to me that he had put aside those two megabytes of memory early in the development cycle. He knew from experience that it was always impossible to cut content down to memory budgets, and that many projects had come close to failing because of it. So now, as a regular practice, he always put aside a nice block of memory to free up when it's really needed.`
It's been done this way, and it'll be done in the future.