/-/S'pht-Translator-Active/-/


Re: PID for OS X
Posted By: Ron HunsingerDate: 4/16/13 7:50 p.m.

In Response To: Re: PID for OS X (Mark Levin)

: Incidentally, from comments in the source, this bug may date all the way back
: the Minotaur:
: Tuesday, June 30, 1992 9:04:33 PM
: from minotaur’s CREATE_MAZE.C; hacked for the new grid architecture as a test
: for minotaur3d.

Probably not. There's nothing wrong with the way they generate the maze. The problem comes after the maze has been built, when they populate it with monsters.

It's apparent that the maze-generating code is using a separate library. There's an abrupt change in style for that block of code, and a parameter block that the main program builds and passes to the maze-generator. (Some of the parameters are: average length of a hallway before you reconsider whether to continue or turn; probability that you'll tear down a wall even if doing so creates a cycle; the addresses of subroutines to call to see if there's a wall at a given place, and to build/tear down a wall.)

After the maze is built, they add spheres and detritus. That code is in the same style as the rest of the game, and not in the style of the maze-generator.

Another place where the program has a similar abrupt change in style is with the code to talk to the dead. That also appears to be an independently-developed library. Communication is again through a parameter block, with pointers to callback procedures to: get a line of input text; display a line of output text; test something in the environment given the "name" of that something, etc. For example, testing "dark" responds with whether your light is on.

But why am I telling you this? You have the source code!

Actually, a third place where there's a marked style change is when a monster on the prowl is calculating a path to you, and in general choosing a short-term strategy. That's not as abrupt a style break as in the other two cases, but it is clear that it was written by at least a different team.

[ Post a Reply | Message Index | Read Prev Msg | Read Next Msg ]
Pre-2004 Posts

Replies:

PID for OS XGodot 4/9/13 7:02 a.m.
     Re: PID for OS Xtreellama 4/9/13 7:39 a.m.
     Re: PID for OS XMark Levin 4/9/13 8:28 a.m.
           Re: PID for OS XDestiny 4/9/13 8:49 a.m.
           Re: PID for OS XHopper 4/9/13 10:03 a.m.
                 Re: PID for OS XMark Levin 4/9/13 10:28 a.m.
           Re: PID for OS Xlucas93 4/9/13 3:08 p.m.
           Re: PID for OS XYossarian 4/9/13 3:59 p.m.
           Re: PID for OS Xselbstmord 4/11/13 7:40 a.m.
                 Re: PID for OS XPresident People 4/11/13 3:00 p.m.
                       Re: PID for OS Xukimalefu 4/11/13 11:38 p.m.
                             Re: PID for OS XPerseusSpartacus 4/12/13 12:04 a.m.
     Re: PID for OS XPerseusSpartacus 4/9/13 8:25 p.m.
     Re: PID for OS Xukimalefu 4/10/13 12:17 a.m.
           Re: PID for OS XGodot 4/10/13 12:34 a.m.
                 Re: PID for OS Xukimalefu 4/10/13 12:36 a.m.
                 Re: PID for OS XMark Levin 4/10/13 6:08 a.m.
                       Re: PID for OS XGodot 4/10/13 6:29 a.m.
                             Re: PID for OS XGodot 4/10/13 6:32 a.m.
                       Re: PID for OS XHopper 4/10/13 7:31 a.m.
                             Re: PID for OS XMark Levin 4/10/13 8:20 a.m.
     Re: PID for OS XPerseusSpartacus 4/10/13 9:22 a.m.
           Re: PID for OS XHopper 4/10/13 11:07 a.m.
                 Re: PID for OS XPerseusSpartacus 4/10/13 11:21 a.m.
     Re: PID for OS XMrM12LRV 4/10/13 2:29 p.m.
           SPOILER ALERT! You need to find thisukimalefu 4/11/13 2:08 a.m.
     Re: PID for OS XRon Hunsinger 4/15/13 7:53 p.m.
           Re: PID for OS XMark Levin 4/16/13 6:54 a.m.
                 Re: PID for OS XRon Hunsinger 4/16/13 5:21 p.m.
                       Re: PID for OS XMark Levin 4/16/13 6:00 p.m.
                             Re: PID for OS XRon Hunsinger 4/16/13 7:50 p.m.
                                   Re: PID for OS XMark Levin 4/16/13 8:46 p.m.
                                   Re: PID for OS XHopper 4/17/13 6:11 a.m.
                                         Re: PID for OS XMark Levin 4/17/13 7:16 a.m.
                                               Re: PID for OS XHopper 4/17/13 8:14 a.m.
                                         Re: PID for OS XRon Hunsinger 4/18/13 1:01 a.m.
                                               Re: PID for OS XRon Hunsinger 4/18/13 1:09 a.m.
                                               Re: PID for OS XHopper 4/19/13 7:32 a.m.
                                                     Re: PID for OS XMark Levin 4/19/13 8:28 a.m.
                                                           Re: PID for OS XRon Hunsinger 4/19/13 7:33 p.m.
                                         Re: PID for OS XRon Hunsinger 4/18/13 3:11 a.m.
                 Re: PID for OS XHopper 4/17/13 7:01 a.m.
                       Re: PID for OS XMark Levin 4/17/13 7:12 a.m.
                             Re: PID for OS XHopper 4/17/13 7:50 a.m.
     Re: PID for OS XPerseusSpartacus 4/18/13 8:14 p.m.
           Re: PID for OS Xukimalefu 4/19/13 2:41 a.m.
           Re: PID for OS XRon Hunsinger 4/19/13 4:10 a.m.
                 Re: PID for OS XPerseusSpartacus 4/19/13 6:31 p.m.
                       Re: PID for OS XRon Hunsinger 4/19/13 7:55 p.m.
                             Re: PID for OS Xtreellama 4/20/13 5:11 a.m.
                             Re: PID for OS XPerseusSpartacus 4/20/13 9:38 a.m.
     Re: PID for OS Xbakudd 4/22/13 6:39 a.m.
     PID 1.2 releasedMark Levin 5/6/13 8:49 p.m.
           Re: PID 1.2 releasedGodot 5/6/13 10:47 p.m.
                 Re: PID 1.2 releasedHopper 5/7/13 10:31 a.m.
           Re: PID 1.2 releasedukimalefu 5/7/13 1:45 a.m.

[ Post a Reply | Message Index | Read Prev Msg | Read Next Msg ]
Pre-2004 Posts

 

 

Your Name:
Your E-Mail Address:
Subject:
Message:

If you'd like to include a link to another page with your message,
please provide both the URL address and the title of the page:

Optional Link URL:
Optional Link Title:

If necessary, enter your password below:

Password:

 

 

Problems? Suggestions? Comments? Email maintainer@bungie.org

Marathon's Story Forum is maintained with WebBBS 5.12.