airport.c
changeset 4434 4175805666a5
parent 4294 2a7d6611bd0f
child 4842 0757e12896c5
equal deleted inserted replaced
4433:2ee8e92ef389 4434:4175805666a5
   214 		i = terminals[0];
   214 		i = terminals[0];
   215 		nofterminalgroups = i;
   215 		nofterminalgroups = i;
   216 		curr = terminals;
   216 		curr = terminals;
   217 		while (i-- > 0) {
   217 		while (i-- > 0) {
   218 			curr++;
   218 			curr++;
   219 			assert(*curr != 0);	//we don't want to have an empty group
   219 			assert(*curr != 0); //we don't want to have an empty group
   220 			nofterminals += *curr;
   220 			nofterminals += *curr;
   221 		}
   221 		}
   222 
   222 
   223 	}
   223 	}
   224 	Airport->terminals = terminals;
   224 	Airport->terminals = terminals;
   392 	"HELIENDLANDING",
   392 	"HELIENDLANDING",
   393 	"TERM7",
   393 	"TERM7",
   394 	"TERM8",
   394 	"TERM8",
   395 	"HELIPAD3",
   395 	"HELIPAD3",
   396 	"HELIPAD4",
   396 	"HELIPAD4",
   397 	"DUMMY"	// extra heading for 255
   397 	"DUMMY" // extra heading for 255
   398 };
   398 };
   399 
   399 
   400 
   400 
   401 static uint AirportBlockToString(uint32 block)
   401 static uint AirportBlockToString(uint32 block)
   402 {
   402 {