3 * Micropolis, Unix Version. This game was released for the Unix platform
4 * in or about 1990 and has been modified for inclusion in the One Laptop
5 * Per Child program. Copyright (C) 1989 - 2007 Electronic Arts Inc. If
6 * you need assistance with this program, you may contact:
7 * http://wiki.laptop.org/go/Micropolis or email micropolis@laptop.org.
9 * This program is free software: you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation, either version 3 of the License, or (at
12 * your option) any later version.
14 * This program is distributed in the hope that it will be useful, but
15 * WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * General Public License for more details. You should have received a
18 * copy of the GNU General Public License along with this program. If
19 * not, see <http://www.gnu.org/licenses/>.
21 * ADDITIONAL TERMS per GNU GPL Section 7
23 * No trademark or publicity rights are granted. This license does NOT
24 * give you any right, title or interest in the trademark SimCity or any
25 * other Electronic Arts trademark. You may not distribute any
26 * modification of this program using the trademark SimCity or claim any
27 * affliation or association with Electronic Arts Inc. or its employees.
29 * Any propagation or conveyance of this program must include this
30 * copyright notice and these terms.
32 * If you convey this program (or any modifications of it) and assume
33 * contractual liability for the program to recipients of it, you agree
34 * to indemnify Electronic Arts for any liability that those contractual
35 * assumptions impose on Electronic Arts.
37 * You may not misrepresent the origins of this program; modified
38 * versions of the program must be marked as such and not identified as
39 * the original program.
41 * This disclaimer supplements the one included in the General Public
42 * License. TO THE FULLEST EXTENT PERMISSIBLE UNDER APPLICABLE LAW, THIS
43 * PROGRAM IS PROVIDED TO YOU "AS IS," WITH ALL FAULTS, WITHOUT WARRANTY
44 * OF ANY KIND, AND YOUR USE IS AT YOUR SOLE RISK. THE ENTIRE RISK OF
45 * SATISFACTORY QUALITY AND PERFORMANCE RESIDES WITH YOU. ELECTRONIC ARTS
46 * DISCLAIMS ANY AND ALL EXPRESS, IMPLIED OR STATUTORY WARRANTIES,
47 * INCLUDING IMPLIED WARRANTIES OF MERCHANTABILITY, SATISFACTORY QUALITY,
48 * FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT OF THIRD PARTY
49 * RIGHTS, AND WARRANTIES (IF ANY) ARISING FROM A COURSE OF DEALING,
50 * USAGE, OR TRADE PRACTICE. ELECTRONIC ARTS DOES NOT WARRANT AGAINST
51 * INTERFERENCE WITH YOUR ENJOYMENT OF THE PROGRAM; THAT THE PROGRAM WILL
52 * MEET YOUR REQUIREMENTS; THAT OPERATION OF THE PROGRAM WILL BE
53 * UNINTERRUPTED OR ERROR-FREE, OR THAT THE PROGRAM WILL BE COMPATIBLE
54 * WITH THIRD PARTY SOFTWARE OR THAT ANY ERRORS IN THE PROGRAM WILL BE
55 * CORRECTED. NO ORAL OR WRITTEN ADVICE PROVIDED BY ELECTRONIC ARTS OR
56 * ANY AUTHORIZED REPRESENTATIVE SHALL CREATE A WARRANTY. SOME
57 * JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF OR LIMITATIONS ON IMPLIED
58 * WARRANTIES OR THE LIMITATIONS ON THE APPLICABLE STATUTORY RIGHTS OF A
59 * CONSUMER, SO SOME OR ALL OF THE ABOVE EXCLUSIONS AND LIMITATIONS MAY
63 struct msgpr popMsgs[]={
64 {"TRAFFIC WARNING-Traffic in this"
65 "\ncity is expanding. The commuters"
66 "\nare getting militant. Highway"
67 "\nshootings are on the rise. Either"
68 "\nbuild more roads and rails or get"
69 "\na bulletproof limo.",-12},
71 {"CRIME ALERT- Crime in your city is"
72 "\nout of hand. Angry mobs are looting"
73 "\nand vandalizing the central city. The"
74 "\npresident will send in the national"
75 "\nguard soon if you cannot control the"
78 {"NUCLEAR MELTDOWN-A nuclear meltdown"
79 "\nhas occurred at your power plant."
80 "\nYou are advised to avoid the area"
81 "\nuntil the radioactive isotopes decay."
82 "\nMany generations will confront this"
83 "\nproblem before it goes away so don't"
84 "\nhold your breath.",-43},
86 {"YOU'RE A WINNER- Your mayorial skill"
87 "\nand city planning expertise have"
88 "\nearned you the KEY TO THE CITY. Local"
89 "\nresidents will erect monuments to"
90 "\nyour glory and name their first-born"
91 "\nchildren after you. Why not run for"
94 {"IMPEACHMENT NOTICE- The entire"
95 "\npopulation of this city has finally"
96 "\nhad enough of your inept planning "
97 "\nand incompetant management. An angry"
98 "\nmob - lead by your mother - has been"
99 "\nspotted in the vicinity of city hall."
100 "\nYou should seriously consider taking"
101 "\nan extended vacation - NOW. (Or read"
102 "\nthe manual and try again).",-200},
104 {"MONSTER ATTACK- A large reptilian"
105 "\ncreature has been spotted in the"
106 "\nwater. It seems to be attracted to "
107 "\nareas of high pollution. There is a"
108 "\ntrail of destruction wherever it"
109 "\n goes. As a last resort try calling"
111 "\nOther than that wait till it leaves"
112 "\nthen rebuild from the rubble.",-21},
114 {"POLLUTION ALERT- Pollution in your"
115 "\ncity has exceeded the maximum"
116 "\nallowable amounts established by"
117 "\nthe Micropolis pollution agency. You"
118 "\nare running the risk of grave"
119 "\necological consequences. Either"
120 "\nclean up your act or open a gas"
121 "\nmask concession at city hall.",-10},
123 {"MEGALOPOLIS - Congratulations, you"
124 "\nhave reached the highest category"
125 "\nof urban development, the mega-"
126 "\nlopolis. If you manage to reach"
127 "\nthis level send us email at micropolis@laptop.org"
128 "\nor send us a copy of your city. We "
129 "\nmight do something interesting with"
132 {"METROPOLIS - Your capital city has"
133 "\nnow achieved the status of metro-"
134 "\npolis. The current population is"
135 "\n100,000. With your planning skills,"
136 "\nyou should consider running for"
137 "\ngovernor, or maybe VLSI design.",-38},
139 {"CAPITAL- Your current city has"
140 "\nbecome a capital. The current"
141 "\npopulation here is 50,000. Your"
142 "\npolitical future looks bright.",-37},
144 {"CITY- Your town has grown into a"
145 "\nfull sized city, with a current"
146 "\npopulation of 10,000. Keep up the"
149 {"TOWN- Congratulations, your village"
150 "\nhas grown to town status. You now"
151 "\nhave 2,000 citizens.",-35},
154 {"Detroit, MI. 1972-"
155 "\nBy 1970, competition from overseas"
156 "\nand other economic factors pushed the"
157 "\nonce automobile capital of the world"
158 "\ninto recession. Plummeting land"
159 "\nvalues and unemployment then"
160 "\nincreased crime in the inner-city"
161 "\nto chronic levels. You have 10 years"
162 "\nto reduce crime and rebuild the"
163 "\nindustrial base of the city. ",-6},
165 {"Rio de Janiero, Brazil 2047 -"
166 "\nBy the mid-21st century, the green-"
167 "\nhouse effect increased global tem-"
168 "\nperatures about 4 degrees F. Polar"
169 "\nicecaps melted and raised sea levels"
170 "\nworldwide. Coastal areas were"
171 "\ndevastated by flood and erosion. You"
172 "\nhave 10 years to turn this swamp back"
173 "\ninto a city again.",-8},
175 {"Tokyo, Japan 1957-"
176 "\nA large reptilian creature has been"
177 "\nspotted heading for Tokyo bay. It"
178 "\nseems to be attracted to the heavy"
179 "\nlevels of industrial pollution. Try"
180 "\nto control the fires, then rebuild"
181 "\nthe industrial center. You have five"
184 {"Hamburg, Germany 1944-"
185 "\nAllied fire-bombing of German cities"
186 "\nin WWII caused tremendous damage and"
187 "\nloss of life. People living in the"
188 "\ninner cities were at greatest risk."
189 "\nYou must control the firestorms"
190 "\nduring the bombing and then rebuild"
191 "\nthe city after the war. You have"
194 {"San Francisco, CA. 1906-"
195 "\nDamage from the earthquake was minor"
196 "\ncompared to that of the ensuing"
197 "\nfires, which took days to control."
198 "\n1500 people died. Controlling the"
199 "\nfires should be your initial concern."
200 "\nThen clear the rubble and start re-"
201 "\nbuilding. You have five years.",-2},
203 {"Dullsville, USA 1900-"
204 "\nThings haven't changed much around"
205 "\nhere in the last hundred years or"
206 "\nso and the residents are beginning"
207 "\nto get bored. They think Dullsville"
208 "\ncould be the next great city with"
209 "\nthe right leader. It is your job to"
210 "\nattract new growth and development,"
211 "\nturning Dullsville into a"
212 "\nMetropolis within 30 years.",-1},
215 "\nA major meltdown is about to occur"
216 "\nat one of the new downtown nuclear"
217 "\nreactors. The area in the vicinity"
218 "\nof the reactor will be severely "
219 "\ncontaminated by radiation, forcing"
220 "\nyou to restructure the city around"
221 "\nit. You have 5 years to get the"
222 "\nsituation under control.",-7},
224 {"Bern, Switzerland 1965-"
225 "\nThe roads here are becoming more"
226 "\ncongested every day, and the"
227 "\nresidents are upset. They demand"
228 "\nthat you do something about it."
229 "\nSome have suggested a mass transit"
230 "\nsystem as the answer, but this"
231 "\nwould require major rezoning in"
232 "\nthe downtown area. You have"