/* 154 */ out.writeInt(this.universe.numLocales());
/* 155 */ this.localeBGs = new ArrayList(this.universe.numLocales());
/* 156 */ int currentLocale = 0;
/* 157 */ int graphID = 0;
/* 158 */ while (allLocales.hasMoreElements()) {
/* 159 */ Locale locale = (Locale)allLocales.nextElement();
/* 160 */ HiResCoord hiRes = new HiResCoord();
/* 161 */ writeHiResCoord(out, hiRes);
/* */ int[] bgs;
/* */ int[] bgs;
/* 163 */ if (currentLocale == 0)
/* 164 */ bgs = new int[locale.numBranchGraphs() - 1];
/* */ else
/* 166 */ bgs = new int[locale.numBranchGraphs()];
/* 167 */ out.writeInt(bgs.length);
/* 168 */ int count = 0;
/* 169 */ Enumeration e = locale.getAllBranchGraphs();
/* 170 */ while (e.hasMoreElements()) {
/* 171 */ BranchGroup bg = (BranchGroup)e.nextElement();
/* 172 */ if (!(bg instanceof ViewingPlatform)) {
/* 173 */ this.control.getSymbolTable().addBranchGraphReference(bg, graphID);
/* 174 */ bgs[count] = (graphID++);