From: PatR Date: Thu, 12 Nov 2015 07:30:59 +0000 (-0800) Subject: src/objects.c formatting X-Git-Tag: NetHack-3.6.0_RC01~54^2~31 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b9d5b35078d43941622fdb15fa690cf4d6f4a963;p=nethack src/objects.c formatting Fit the new comments within 80 (actually 78) columns. --- diff --git a/src/objects.c b/src/objects.c index fb8499b66..3c686746c 100644 --- a/src/objects.c +++ b/src/objects.c @@ -1,5 +1,5 @@ -/* NetHack 3.6 objects.c $NHDT-Date: 1447306896 2015/11/12 05:41:36 $ $NHDT-Branch: master $:$NHDT-Revision: 1.48 $ */ -/* Copyright (c) Mike Threepoint, 1989. */ +/* NetHack 3.6 objects.c $NHDT-Date: 1447313395 2015/11/12 07:29:55 $ $NHDT-Branch: master $:$NHDT-Revision: 1.49 $ */ +/* Copyright (c) Mike Threepoint, 1989. */ /* NetHack may be freely redistributed. See license for details. */ /* @@ -846,34 +846,40 @@ SCROLL("earth", "KIRJE", 1, 18, 200), SCROLL("punishment", "VE FORBRYDERNE", 1, 15, 300), SCROLL("charging", "HACKEM MUCHE", 1, 15, 300), SCROLL("stinking cloud", "VELOX NEB", 1, 15, 300), -/* extra descriptions, shuffled into use at start of new game */ -/* Code in win/share/tilemap.c depends on SCR_STINKING_CLOUD preceding these */ -SCROLL(None, "FOOBIE BLETCH", 1, 0, 100), -SCROLL(None, "TEMOV", 1, 0, 100), -SCROLL(None, "GARVEN DEH", 1, 0, 100), -SCROLL(None, "READ ME", 1, 0, 100), -SCROLL(None, "ETAOIN SHRDLU", 1, 0, 100), -SCROLL(None, "LOREM IPSUM", 1, 0, 100), -SCROLL(None, "FNORD", 1, 0, 100), /* Illuminati */ -SCROLL(None, "KO BATE", 1, 0, 100), /* Kurd Lasswitz */ -SCROLL(None, "ABRA KA DABRA", 1, 0, 100), /* traditional incantation */ -SCROLL(None, "ASHPD SODALG", 1, 0, 100), /* Portal */ -SCROLL(None, "ZLORFIK", 1, 0, 100), /* Zak McKracken */ -SCROLL(None, "GNIK SISI VLE", 1, 0, 100), /* Zak McKracken */ -SCROLL(None, "HAPAX LEGOMENON", 1, 0, 100), -SCROLL(None, "EIRIS SAZUN IDISI", 1, 0, 100), /* Merseburg Incantations */ -SCROLL(None, "PHOL ENDE WODAN", 1, 0, 100), /* Merseburg Incantations */ -SCROLL(None, "GHOTI", 1, 0, 100), /* pronounced as 'fish', George Bernard Shaw */ -SCROLL(None, "MAPIRO MAHAMA DIROMAT", 1, 0, 100), /* Wizardry */ -SCROLL(None, "VAS CORP BET MANI", 1, 0, 100), /* Ultima */ -SCROLL(None, "XOR OTA", 1, 0, 100), /* Aarne Haapakoski */ -SCROLL(None, "STRC PRST SKRZ KRK", 1, 0, 100), /* Czech and Slovak tongue-twister */ -/* these must come last because they have special descriptions - */ + /* Extra descriptions, shuffled into use at start of new game. + * Code in win/share/tilemap.c depends on SCR_STINKING_CLOUD preceding + * these and on how many of them there are. If a real scroll gets added + * after stinking cloud or the number of extra descriptions changes, + * tilemap.c must be modified to match. + */ +SCROLL(None, "FOOBIE BLETCH", 1, 0, 100), +SCROLL(None, "TEMOV", 1, 0, 100), +SCROLL(None, "GARVEN DEH", 1, 0, 100), +SCROLL(None, "READ ME", 1, 0, 100), +SCROLL(None, "ETAOIN SHRDLU", 1, 0, 100), +SCROLL(None, "LOREM IPSUM", 1, 0, 100), +SCROLL(None, "FNORD", 1, 0, 100), /* Illuminati */ +SCROLL(None, "KO BATE", 1, 0, 100), /* Kurd Lasswitz */ +SCROLL(None, "ABRA KA DABRA", 1, 0, 100), /* traditional incantation */ +SCROLL(None, "ASHPD SODALG", 1, 0, 100), /* Portal */ +SCROLL(None, "ZLORFIK", 1, 0, 100), /* Zak McKracken */ +SCROLL(None, "GNIK SISI VLE", 1, 0, 100), /* Zak McKracken */ +SCROLL(None, "HAPAX LEGOMENON", 1, 0, 100), +SCROLL(None, "EIRIS SAZUN IDISI", 1, 0, 100), /* Merseburg Incantations */ +SCROLL(None, "PHOL ENDE WODAN", 1, 0, 100), /* Merseburg Incantations */ +SCROLL(None, "GHOTI", 1, 0, 100), /* pronounced as 'fish', + George Bernard Shaw */ +SCROLL(None, "MAPIRO MAHAMA DIROMAT", 1, 0, 100), /* Wizardry */ +SCROLL(None, "VAS CORP BET MANI", 1, 0, 100), /* Ultima */ +SCROLL(None, "XOR OTA", 1, 0, 100), /* Aarne Haapakoski */ +SCROLL(None, "STRC PRST SKRZ KRK", 1, 0, 100), /* Czech and Slovak + tongue-twister */ + /* These must come last because they have special fixed descriptions. + */ #ifdef MAIL -SCROLL("mail", "stamped", 0, 0, 0), +SCROLL("mail", "stamped", 0, 0, 0), #endif -SCROLL("blank paper", "unlabeled", 0, 28, 60), +SCROLL("blank paper", "unlabeled", 0, 28, 60), #undef SCROLL /* spellbooks ... */