Modifying Beyond The Titanic to compile with the Free Pascal compiler and run on...
[beyond-the-titanic.git] / src / OBJECTS.PAS
1 {//-------------------------------------------------------------------------}
2 {/*                                                                         }
3 {Copyright (C) 2014 Jason Self <j@jxself.org>                               }
4 {                                                                           }
5 {This file is free software: you may copy, redistribute and/or modify it    }
6 {under the terms of the GNU Affero General Public License as published by   }
7 {the Free Software Foundation, either version 3 of the License, or (at your }
8 {option) any later version.                                                 }
9 {                                                                           }
10 {This file is distributed in the hope that it will be useful, but WITHOUT   }
11 {ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or      }
12 {FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License}
13 {for more details.                                                          }
14 {                                                                           }
15 {You should have received a copy of the GNU Affero General Public License   }
16 {along with this program; if not, see https://gnu.org/licenses or write to: }
17 {  Free Software Foundation, Inc.                                           }
18 {  51 Franklin Street, Fifth Floor                                          }
19 {  Boston, MA 02110-1301                                                    }
20 {  USA                                                                      }
21 {                                                                           }
22 {This file incorporates work covered by the following copyright and         }
23 {permission notice:                                                         }
24 {                                                                           }
25 {Copyright (C) 1990, 2009 - Apogee Software, Ltd.                           }
26 {                                                                           }
27 {This file is part of Beyond The Titanic. Beyond The Titanic is free        }
28 {software; you can redistribute it and/or modify it under the terms of the  }
29 {GNU General Public License as published by the Free Software Foundation;   }
30 {either version 3 of the License, or (at your option) any later version.    }
31 {                                                                           }
32 {This program is distributed in the hope that it will be useful, but WITHOUT}
33 {ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or      }
34 {FITNESS FOR A PARTICULAR PURPOSE.                                          }
35 {                                                                           }
36 {See the GNU General Public License for more details.                       }
37 {                                                                           }
38 {You should have received a copy of the GNU General Public License          }
39 {along with this program; if not, write to:                                 }
40 {  Free Software Foundation, Inc.                                           }
41 {  51 Franklin Street, Fifth Floor                                          }
42 {  Boston, MA 02110-1301                                                    }
43 {  USA                                                                      }
44 {                                                                           }
45 {Original Source: 1990 Scott Miller                                         }
46 {Prepared for public release: 03/19/09 - Joe Siegler, Apogee Software, Ltd. }
47 {*/                                                                         }
48 {//-------------------------------------------------------------------------}
49 {*****************************************************************************}
50 {*                                 OBJECTS                                   *}
51 {*                             by Scott Miller                               *}
52 {*  This include file to AdGame initializes all of the immoveable objects.   *}
53 {*                         Copyright 1984 Pending                            *}
54 {*****************************************************************************}
55 procedure Assign0;
56 begin
57                       {INITIALIZE OBJECT'S ROOMS}
58 for o:=0 to NMax do r[o]:=Null;
59 p[0]:=[53,73,80,6,26,64,36];
60 p[1]:=[53,6,57,73,80,64,36];
61 p[2]:=[40,53,14,6,66,46,73,80,57,64,36];
62 p[3]:=[6,73,80,39,59,57,64,36];
63 p[4]:=[6,73,80,39,35,59,64,36];
64 p[5]:=[73,80,71];
65 p[6]:=[73,80,71];
66 p[7]:=[36,73,80,6];
67 p[8]:=[47,46];
68 p[9]:=[73,80];
69 p[10]:=[80,73,17];
70 p[11]:=[72];
71 p[12]:=[70];
72 p[13]:=[17,47,73,80];
73 p[14]:=[];
74 p[15]:=[17,73,80];
75 p[16]:=[17,57];
76 p[17]:=[17];
77 p[18]:=[];
78 p[19]:=[69];
79 p[20]:=[12,69,67,43];
80 p[21]:=[64,71,37];
81 p[22]:=[64,71,37];
82 p[23]:=[64,26,71,37];
83 p[24]:=[64,69,41,26,55];
84 p[25]:=[64,69,41,26,84];
85 p[26]:=[41,12,69,84];
86 p[27]:=[20,21,26,10,58,38,86];
87 p[28]:=[21,10,78,33,49,85];
88 p[29]:=[78,10,21,33,49,85];
89 p[30]:=[21,10,24,25,82,16,59,49,76,38,86];
90 p[31]:=[75,21,10,84,7,22];
91 p[32]:=[61,75,21,14];
92 p[33]:=[61,75,4,21,10,59,84];
93 p[34]:=[16,5,21,68,58,10,0,20,74,25,86];
94 p[35]:=[62,21,10,54,55];
95 p[36]:=[85,83,21,14,12,64,43];
96 p[37]:=p[36];
97 p[38]:=p[36]+[28];
98 p[39]:=p[36];
99 p[40]:=p[36]+[26,67];
100 p[41]:=[87,73,19,47,53,37];
101 p[42]:=p[41]+[13];
102 p[43]:=p[41];
103 p[44]:=[41,19,87];
104 p[45]:=[41,19];
105 p[46]:=[41,19];
106 p[47]:=[3,41,19,17,22];
107 p[48]:=[3,19,17,22,27,35];
108 p[49]:=[9,26,37,72];
109 p[50]:=[9,26,88,46,66,37,68];
110 p[51]:=[9,37];
111 p[52]:=[9,37];
112 p[53]:=[9,69,37];
113 p[54]:=[9,37];
114 p[55]:=[9,69,11,45,26,61,37,68];
115 p[56]:=[9,69,37];
116 p[57]:=[9,19,37,41,65,22,31,73,87];
117 p[58]:=[9,10,16,19,20,21,25,36,41,46,58,59,65,66,68,81,86];
118 p[59]:=p[58]+[17,18,22,31,71,73,87];
119 p[63]:=[9,10,16,18,19,20,21,25,36,41,46,58,59,65,66,68,81,86,88];
120 p[64]:=p[63];
121 p[65]:=p[63];
122 p[66]:=p[63];
123 p[67]:=p[63];
124 p[68]:=p[63];
125 p[69]:=p[63]+[9,14,37,53];
126 p[70]:=p[69]+[69]-[10,16,20,36,46,58,59,66,68,81,86];
127 p[71]:=[10,20,21,25,36,38,41,54,58,69];
128 p[72]:=[85];
129 p[73]:=p[72];
130 p[74]:=p[72];
131 p[75]:=[23,14,61];
132 p[76]:=[26,45];
133 for x:=0 to 76 do p[x]:=p[x]+[15,30,42,44,50,56,60,79]
134 end;
135 {****************************** END OF OBJECTS *******************************}