<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
 <channel>
  <atom:link href="https://smaugmuds.afkmods.com/index.php?a=rssfeed&amp;t=4327" rel="self" type="application/rss+xml" />
  <title>SmaugMuds - Topic: Reverse Exit</title>
  <link>https://smaugmuds.afkmods.com/index.php?a=rssfeed&amp;t=4327</link>
  <description>The largest Smaug community resource site. - </description>
  <language>en</language>
  <generator>SmaugMuds</generator>
  <ttl>60</ttl>
  <item>
   <title>Reverse Exit</title>
   <link>https://smaugmuds.afkmods.com/topic/reverse-exit-4327/&amp;p=20153#p20153</link>
   <description>Marvelous. I appreciate it.</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/reverse-exit-4327/&amp;p=20153#p20153</guid>
   <pubDate>Tue, 16 Feb 2010 11:46:38 CST</pubDate>
   <category>SWR FUSS</category>
   <author>nobody@example.com (Banner)</author>
  </item>
  <item>
   <title>Reverse Exit</title>
   <link>https://smaugmuds.afkmods.com/topic/reverse-exit-4327/&amp;p=20151#p20151</link>
   <description>Something like: [code] int exit_num = &amp;lt;whatever&amp;gt;; EXIT_DATA* exit = get_exit(current_room, exit_num); ROOM_INDEX_DATA* to_room = exit-&amp;gt;to_room; ROOM_INDEX_DATA* from_room = get_exit(to_room, rev_dir[exit_num]); printf(to_room == from_room); [/code] See also find_door for how to resolve exit names to exit numbers. (That should really be in its own function, but whatever.)</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/reverse-exit-4327/&amp;p=20151#p20151</guid>
   <pubDate>Tue, 16 Feb 2010 11:26:23 CST</pubDate>
   <category>SWR FUSS</category>
   <author>nobody@example.com (David Haley)</author>
  </item>
  <item>
   <title>Reverse Exit</title>
   <link>https://smaugmuds.afkmods.com/topic/reverse-exit-4327/&amp;p=20149#p20149</link>
   <description>I&#039;m trying to acquire the reverse of a given exit, say, if supplied with west, it&#039;ll return east, where west is 3 and east is 1. Between rev_dir[] and get_exit_to(), I believe there is a simple way to do it, but without proper comments on the functions I have been unable to figure it out.</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/reverse-exit-4327/&amp;p=20149#p20149</guid>
   <pubDate>Tue, 16 Feb 2010 11:12:34 CST</pubDate>
   <category>SWR FUSS</category>
   <author>nobody@example.com (Banner)</author>
  </item>
 </channel>
</rss>
