Methapolis  0.27
 All Classes Namespaces Files Functions Variables Enumerator
MicropolisMessage.java
Go to the documentation of this file.
1 // This file is part of MicropolisJ.
2 // Copyright (C) 2013 Jason Long
3 // Portions Copyright (C) 1989-2007 Electronic Arts Inc.
4 //
5 // MicropolisJ is free software; you can redistribute it and/or modify
6 // it under the terms of the GNU GPLv3, with additional terms.
7 // See the README file, included in this distribution, for details.
8 
9 package micropolisj.engine;
10 
14 public enum MicropolisMessage
15 {
16  //orig_num generated last tested/verified
17  NEED_RES, // 1 doMessages 1/19
18  NEED_COM, // 2 doMessages 1/19
19  NEED_IND, // 3 doMessages 1/19
20  NEED_ROADS, // 4 doMessages 1/19
21  NEED_RAILS, // 5 doMessages 1/20
22  NEED_POWER, // 6 doMessages 1/19
23  NEED_STADIUM, // 7 doMessages 1/20
24  NEED_SEAPORT, // 8 doMessages 1/20
25  NEED_AIRPORT, // 9 doMessages
26  HIGH_POLLUTION, // 10 doMessages 1/20
27  HIGH_CRIME, // 11 doMessages 1/19
28  HIGH_TRAFFIC, // 12 doMessages 1/20
29  NEED_FIRESTATION, // 13 doMessages 1/19
30  NEED_POLICE, // 14 doMessages 1/19
32  BLACKOUTS, // 15 doMessages 1/19
33  HIGH_TAXES, // 16 doMessages 1/19
34  ROADS_NEED_FUNDING, // 17 doMessages
35  FIRE_NEED_FUNDING, // 18 doMessages
36  POLICE_NEED_FUNDING, // 19 doMessages
37  FIRE_REPORT, // 20
40  EARTHQUAKE_REPORT, // 23 makeEarthquake
50  INSUFFICIENT_FUNDS, // 33 MainWindow.applyCurrentTool
51  BULLDOZE_FIRST, // 34 MainWindow.applyCurrentTool
52  POP_2K_REACHED, // 35 checkGrowth 1/19
53  POP_10K_REACHED, // 36 checkGrowth
54  POP_50K_REACHED, // 37 checkGrowth
55  POP_100K_REACHED, // 38 checkGrowth
56  POP_500K_REACHED, // 39 checkGrowth
57  BROWNOUTS_REPORT, // 40 1/20
58  HEAVY_TRAFFIC_REPORT, // 41 HelicopterSprite
60  MELTDOWN_REPORT, // 43 doMeltdown
62 
63  // added by Jason
65 
66  // custom messages
69 
71  public boolean useNotificationPane = false;
72 
73  static {
74  // not location-specific
75  POP_2K_REACHED.useNotificationPane = true;
76  POP_10K_REACHED.useNotificationPane = true;
77  POP_50K_REACHED.useNotificationPane = true;
78  POP_100K_REACHED.useNotificationPane = true;
79  POP_500K_REACHED.useNotificationPane = true;
80  HIGH_CRIME.useNotificationPane = true;
81  HIGH_POLLUTION.useNotificationPane = true;
82 
83  // location-specific
84  FLOOD_REPORT.useNotificationPane = true;
85  FIRE_REPORT.useNotificationPane = true;
86  TORNADO_REPORT.useNotificationPane = true;
87  MELTDOWN_REPORT.useNotificationPane = true;
88  EARTHQUAKE_REPORT.useNotificationPane = true;
89  TRAIN_CRASH_REPORT.useNotificationPane = true;
90  SHIPWRECK_REPORT.useNotificationPane = true;
91  COPTER_CRASH_REPORT.useNotificationPane = true;
92  PLANECRASH_REPORT.useNotificationPane = true;
93  // custom
94  ROCKETCRASH_REPORT.useNotificationPane = true;
95  }
96 }