devshane / zork

The DUNGEON (Zork I) source
594 stars 128 forks source link

room name #15

Open res1st opened 3 years ago

res1st commented 3 years ago

Hi, I like that shell version much more then this dosbox version. Thank you for that.

But I miss a room name. I can't orientate without it. Is it possible to get the room name somehow?

LydiaMarieWilliamson commented 3 years ago

Actually, there are no room names. I put out the listings of the various tables in both this version (the 1991 C translation) and my version (the 2021 C translation & Fortran version) under my fork of zork-fortran (and under my fork of zork) as DB.txt. In the room table, each item has a short description ("rdesc2") and a possible - but usually empty - long description ("rdesc1"). The short descriptions in the Fortran version are collated in a list separate from the room table, though I'm about to change that in my copies. The "LOOK" command already gives you whatever long description the room has (its "rdesc1" item), if any.

Version 3 of the Fortran source, in contrast, apparently does have names listed for the rooms. So, the underlying issue here is actually that the C translations are based on version 2.6 of the Fortran source; and that the changes or upgrades that occurred between this and version 3 have not been integrated into the C translation.