Change 0 to NULL for pointer initializations. No functional changes.

This commit is contained in:
Marc Olzheim 2005-08-22 18:52:43 +00:00
parent a7fa7dee30
commit 84bc824f65

View file

@ -54,48 +54,48 @@
struct empfile empfile[] = { struct empfile empfile[] = {
{"sect", "sector", EFF_XY | EFF_OWNER, {"sect", "sector", EFF_XY | EFF_OWNER,
0, sizeof(struct sctstr), 0, 0, 0, offsetof(struct sctstr, sct_item), 0, sizeof(struct sctstr), NULL, NULL, NULL,
-1, -1, 0, 0, 0, 0, 0}, offsetof(struct sctstr, sct_item), -1, -1, 0, 0, NULL, 0, NULL},
{"ship", "ship", EFF_XY | EFF_OWNER | EFF_GROUP, {"ship", "ship", EFF_XY | EFF_OWNER | EFF_GROUP,
0, sizeof(struct shpstr), 0, 0, 0, offsetof(struct shpstr, shp_item), 0, sizeof(struct shpstr), NULL, NULL, NULL,
-1, -1, 0, 0, 0, 0, 0}, offsetof(struct shpstr, shp_item), -1, -1, 0, 0, NULL, 0, NULL},
{"plane", "plane", EFF_XY | EFF_OWNER | EFF_GROUP, {"plane", "plane", EFF_XY | EFF_OWNER | EFF_GROUP,
0, sizeof(struct plnstr), 0, 0, 0, 0, 0, sizeof(struct plnstr), NULL, NULL, NULL,
-1, -1, 0, 0, 0, 0, 0}, 0, -1, -1, 0, 0, NULL, 0, NULL},
{"land", "land", EFF_XY | EFF_OWNER | EFF_GROUP, {"land", "land", EFF_XY | EFF_OWNER | EFF_GROUP,
0, sizeof(struct lndstr), 0, 0, 0, offsetof(struct lndstr, lnd_item), 0, sizeof(struct lndstr), NULL, NULL, NULL,
-1, -1, 0, 0, 0, 0, 0}, offsetof(struct lndstr, lnd_item), -1, -1, 0, 0, NULL, 0, NULL},
{"nuke", "nuke", EFF_XY | EFF_OWNER, {"nuke", "nuke", EFF_XY | EFF_OWNER,
0, sizeof(struct nukstr), 0, 0, 0, 0, 0, sizeof(struct nukstr), NULL, NULL, NULL,
-1, -1, 0, 0, 0, 0, 0}, 0, -1, -1, 0, 0, NULL, 0, NULL},
{"news", "news", 0, {"news", "news", 0,
0, sizeof(struct nwsstr), 0, 0, 0, 0, 0, sizeof(struct nwsstr), NULL, NULL, NULL,
-1, -1, 0, 0, 0, 0, 0}, 0, -1, -1, 0, 0, NULL, 0, NULL},
{"treaty", "treaty", 0, {"treaty", "treaty", 0,
0, sizeof(struct trtstr), 0, 0, 0, 0, 0, sizeof(struct trtstr), NULL, NULL, NULL,
-1, -1, 0, 0, 0, 0, 0}, 0, -1, -1, 0, 0, NULL, 0, NULL},
{"trade", "trade", 0, {"trade", "trade", 0,
0, sizeof(struct trdstr), 0, 0, 0, 0, 0, sizeof(struct trdstr), NULL, NULL, NULL,
-1, -1, 0, 0, 0, 0, 0}, 0, -1, -1, 0, 0, NULL, 0, NULL},
{"pow", "power", 0, {"pow", "power", 0,
0, sizeof(struct powstr), 0, 0, 0, 0, 0, sizeof(struct powstr), NULL, NULL, NULL,
-1, -1, 0, 0, 0, 0, 0}, 0, -1, -1, 0, 0, NULL, 0, NULL},
{"nat", "nation", EFF_OWNER, {"nat", "nation", EFF_OWNER,
0, sizeof(struct natstr), 0, 0, 0, 0, 0, sizeof(struct natstr), NULL, NULL, NULL,
-1, -1, 0, 0, 0, 0, 0}, 0, -1, -1, 0, 0, NULL, 0, NULL},
{"loan", "loan", 0, {"loan", "loan", 0,
0, sizeof(struct lonstr), 0, 0, 0, 0, 0, sizeof(struct lonstr), NULL, NULL, NULL,
-1, -1, 0, 0, 0, 0, 0}, 0, -1, -1, 0, 0, NULL, 0, NULL},
{"map", "map", 0, {"map", "map", 0,
0, DEF_WORLD_X * DEF_WORLD_Y / 2, 0, 0, 0, 0, 0, DEF_WORLD_X * DEF_WORLD_Y / 2, NULL, NULL, NULL,
-1, -1, 0, 0, 0, 0, 0}, 0, -1, -1, 0, 0, NULL, 0, NULL},
{"bmap", "bmap", 0, {"bmap", "bmap", 0,
0, DEF_WORLD_X * DEF_WORLD_Y / 2, 0, 0, 0, 0, 0, DEF_WORLD_X * DEF_WORLD_Y / 2, NULL, NULL, NULL,
-1, -1, 0, 0, 0, 0, 0}, 0, -1, -1, 0, 0, NULL, 0, NULL},
{"commodity", "commodity", 0, {"commodity", "commodity", 0,
0, sizeof(struct comstr), 0, 0, 0, 0, 0, sizeof(struct comstr), NULL, NULL, NULL,
-1, -1, 0, 0, 0, 0, 0}, 0, -1, -1, 0, 0, NULL, 0, NULL},
{"lost", "lostitems", EFF_OWNER, {"lost", "lostitems", EFF_OWNER,
0, sizeof(struct loststr), 0, 0, 0, 0, 0, sizeof(struct loststr), NULL, NULL, NULL,
-1, -1, 0, 0, 0, 0, 0} 0, -1, -1, 0, 0, NULL, 0, NULL}
}; };