I'm really starting to get the hang of the tile creation. :)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7665 c06c8d41-db1a-0410-9941-cceddc491573
3XRTONH32W5DNI2V2SGAHXN3EHOZQ26ZXMVYL5TRP6HLQN7P4HNAC 7VCVH6XKT4L4PSCBF6XRYV3WQQDVGDMA73RHPV6IOWMQ2S7B5XAQC 2G7MZ653N3JUHJ4DA5Q7VRO3S5T27DLPKDCJEKB6DGYSTXULUVWAC FMFHUGIGNGM7ACN7HFYODRSWU3SGFSMIJHA4APTZNMJQL2TVZNOAC 25CH7HH4LKXFIZ75YNMXS3TSXO6O27DYSOPLOD45K4OCNFWLS4LQC D5EMJEEIJSSULF236DUM26QHHNDLH7FXAOBHFDAYI65KCKTDTDYQC Q3B3UVMYEVC4YJUPYVSNTR4DJH4E6J4JJDHZNT5LNOCHCPPMEMXAC SIDH2P7NBIG5KEOE27XHD3ZT2NQ2OJZFN6VZXWNWYFFY5YVXSSVQC HBXWZNXAJ7LUX7FYUIHQYBTRMWVJC6CAQQL3NNZHK5ETLIFEZJ7QC MV5USMLTBKVRWBAD67UFJ2BS4Y5HEOMYASRSB44DS24BBMRP75RQC OELSU5HUOEW6D2AAZJUYB5G25OOGR3YU7UZKNA57EJG5HRMCQ7UAC KVPISK262B2GBNOFBAA3GL3QUNAJJGKVS326YYQZTP7QF3YKFX4QC 3SQQ4MM6YO4I37CQ6GIBIX6BXAEVHNVNHPVMR3PPBBNO454D6XWQC 7G4KWTOOBRLHOZZGFGAXGTUCDF3FGSZOXVHUZZ3V2KVWYSFE7EKAC G7Y4WKHR2FHMKCBFZXKZNT37S7YVNHTDI7CZPXEKD4QXXCR6HQWQC U6ILMKBXTQZYT62IGD2CALYNU4VQGRSTHN6QBFBU7BVUBHWYOEQQC B7MSPF6X2RLGWN4M6ZZF3WSOPKGYPTTD7LIJVST7DXN27DG6JHNAC F7X6HVUKHZXYURABYAZJHRYBV7UZTIPOWJMGCMDK26FQ66WGKFZA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HUVSR675NQC OHOFJZ6S5AJUO5EFVGG7HJHRPSXJSTJD2DDXAERT4LNVWDK23K6AC idx = tilep_str_to_part(ibuf);if (p == TILEP_PART_BASE){int p0 = (parts[p]-1) & (0xfe);if (((1-idx) & 1) == 1)p0++;parts[p] = p0 + 1;}else if (idx == TILEP_SHOW_EQUIP)parts[p] = TILEP_SHOW_EQUIP;else if (idx < 0)parts[p] = 0;// TODO enne - is this right? did the old count end at idx not just subtotal?else if (idx > tile_player_part_count[p])parts[p] = tile_player_part_count[p];elseparts[p] = idx;
idx = tilep_str_to_part(ibuf);if (p == TILEP_PART_BASE){int p0 = (parts[p]-1) & (0xfe);if (((1-idx) & 1) == 1)p0++;parts[p] = p0 + 1;}else if (idx == TILEP_SHOW_EQUIP)parts[p] = TILEP_SHOW_EQUIP;else if (idx < 0)parts[p] = 0;// TODO enne - is this right? did the old count end at idx not just subtotal?else if (idx > tile_player_part_count[p])parts[p] = tile_player_part_count[p];elseparts[p] = idx;
int p = parts_saved[i];if (p == TILEP_PART_BASE) // 0:female 1:male{sprintf(ptr, "%03d", parts[p]%2);ptr += 3;}else{tilep_part_to_str(parts[p], ptr);ptr += 3;}*ptr = ':';ptr++;
int p = parts_saved[i];if (p == TILEP_PART_BASE) // 0:female 1:male{sprintf(ptr, "%03d", parts[p]%2);ptr += 3;}else{tilep_part_to_str(parts[p], ptr);ptr += 3;}*ptr = ':';ptr++;
int max_wall_flavor = get_num_wall_flavors() - 1;int max_floor_flavor = get_num_floor_flavors() - 1;int wall_flavor = random_range(0, max_wall_flavor);int floor_flavor = random_range(0, max_floor_flavor);
int max_wall_flavour = get_num_wall_flavours() - 1;int max_floor_flavour = get_num_floor_flavours() - 1;int wall_flavour = random_range(0, max_wall_flavour);int floor_flavour = random_range(0, max_floor_flavour);
env.tile_flv[x][y].floor = get_floor_tile_idx() + floor_flavor;env.tile_flv[x][y].wall = get_wall_tile_idx() + wall_flavor;
env.tile_flv[x][y].floor = get_floor_tile_idx() + floor_flavour;env.tile_flv[x][y].wall = get_wall_tile_idx() + wall_flavour;
if (m_doll.parts[p] == TILEP_SHOW_EQUIP){int part_offset = pseudo_rand % tile_player_part_count[p];m_doll.parts[p] = tile_player_part_start[p] + part_offset;
if (m_doll.parts[p] == TILEP_SHOW_EQUIP){int part_offset = pseudo_rand % tile_player_part_count[p];m_doll.parts[p] = tile_player_part_start[p] + part_offset;
// Number of flavors are generated automatically...floor_flavors = tile_dngn_count(floor_tile_idx);wall_flavors = tile_dngn_count(wall_tile_idx);
// Number of flavours are generated automatically...floor_flavours = tile_dngn_count(floor_tile_idx);wall_flavours = tile_dngn_count(wall_tile_idx);
{special_flavors = tile_dngn_count(special_tile_idx);}
special_flavours = tile_dngn_count(special_tile_idx);
if (idx >= TILE_CLOUD_FIRE_0 && idx <= TILE_CLOUD_PURP_SMOKE ||idx >= TILEP_MONS_SHADOW && idx <= TILEP_MONS_WATER_ELEMENTAL ||idx >= TILEP_MCACHE_START)
if (idx >= TILE_CLOUD_FIRE_0 && idx <= TILE_CLOUD_PURP_SMOKE|| idx >= TILEP_MONS_SHADOW && idx <= TILEP_MONS_WATER_ELEMENTAL|| idx >= TILEP_MCACHE_START)
maud0 MONS_MAUD /*'@'*/adolf MONS_ADOLF /*'@'*/duane0 MONS_DUANE /*'@'*/frances0 MONS_FRANCES /*'@'*/harold0 MONS_HAROLD /*'@'*/jozef0 MONS_JOZEF /*'@'*/norris2 MONS_NORRIS /*'@'*/rupert0 MONS_RUPERT /*'@'*/sigmund MONS_SIGMUND /*'@'*/wayne0 MONS_WAYNE /*'@'*/josephine MONS_JOSEPHINE /*'@'*/
donald MONS_DONALD /*'@'*/duane MONS_DUANE /*'@'*/edmund MONS_EDMUND /*'@'*/
spwpn_singing_sword SPWPN_SINGING_SWORD /* This blessed weapon loves nothing more than to sing to its owner, whether they want it to or not.spwpn_wrath_of_trog SPWPN_WRATH_OF_TROG /* This was the favourite weapon of the old god Trog, before he lost it one day. It induces a bloodthirsty berserker rage in anyone who uses it to strike another.spwpn_scythe_of_curses SPWPN_SCYTHE_OF_CURSES /* This weapon carries a terrible and highly irritating curse.spwpn_mace_of_variability SPWPN_MACE_OF_VARIABILITY /* It is rather unreliable.spwpn_glaive_of_prune SPWPN_GLAIVE_OF_PRUNE /* It is the creation of a mad god, and carries a curse which transforms anyone possessing it into a prune. Fortunately, the curse works very slowly, and one can use it briefly with no consequences worse than slightly purple skin and a few wrinkles.
spwpn_singing_sword SPWPN_SINGING_SWORDspwpn_wrath_of_trog SPWPN_WRATH_OF_TROGspwpn_scythe_of_curses SPWPN_SCYTHE_OF_CURSESspwpn_mace_of_variability SPWPN_MACE_OF_VARIABILITYspwpn_glaive_of_prune SPWPN_GLAIVE_OF_PRUNE
spwpn_sceptre_of_torment SPWPN_SCEPTRE_OF_TORMENT /* This truly accursed weapon is an instrument of Hell.spwpn_sword_of_zonguldrok SPWPN_SWORD_OF_ZONGULDROK /* This dreadful weapon is used at the user's peril.spwpn_sword_of_cerebov SPWPN_SWORD_OF_CEREBOV /* Eerie flames cover its twisted blade.spwpn_staff_of_dispater SPWPN_STAFF_OF_DISPATER /* This legendary item can unleash the fury of Hell.spwpn_sceptre_of_asmodeus SPWPN_SCEPTRE_OF_ASMODEUS /* It carries some of the powers of the arch-fiend Asmodeus.spwpn_sword_of_power SPWPN_SWORD_OF_POWER /* It rewards the powerful with power and the meek with weakness.
spwpn_sceptre_of_torment SPWPN_SCEPTRE_OF_TORMENTspwpn_sword_of_zonguldrok SPWPN_SWORD_OF_ZONGULDROKspwpn_sword_of_cerebov SPWPN_SWORD_OF_CEREBOVspwpn_staff_of_dispater SPWPN_STAFF_OF_DISPATERspwpn_sceptre_of_asmodeus SPWPN_SCEPTRE_OF_ASMODEUSspwpn_sword_of_power SPWPN_SWORD_OF_POWER
spwpn_knife_of_accuracy SPWPN_KNIFE_OF_ACCURACY /* It is almost unerringly accurate.spwpn_staff_of_olgreb SPWPN_STAFF_OF_OLGREB /* It was the magical weapon wielded by the mighty wizard Olgreb before he met his fate somewhere within these dungeons. It grants its wielder resistance to the effects of poison and increases their ability to use venomous magic, and carries magical powers which can be evoked.spwpn_vampires_tooth SPWPN_VAMPIRES_TOOTH /* It is lethally vampiric.spwpn_wucad_mu SPWPN_STAFF_OF_WUCAD_MU /* Its power varies in proportion to its wielder's intelligence. Using it can be a bit risky.
spwpn_knife_of_accuracy SPWPN_KNIFE_OF_ACCURACYspwpn_staff_of_olgreb SPWPN_STAFF_OF_OLGREBspwpn_vampires_tooth SPWPN_VAMPIRES_TOOTHspwpn_wucad_mu SPWPN_STAFF_OF_WUCAD_MU
ankus WPN_ANKUS/* D9H1S14 A large and vicious toothed club.bullwhip WPN_WHIP/* D3H1S14 A whip.demon_whip WPN_DEMON_WHIP/* D10H1S14 A terrible weapon, woven in the depths of the inferno.giant_club WPN_GIANT_CLUB/* D15H-5S16 A giant lump of wood, shaped for an ogre's hands.giant_spiked_club WPN_GIANT_SPIKED_CLUB/* D18H-6S17 A giant lump of wood with sharp spikes at one end.
ankus WPN_ANKUSbullwhip WPN_WHIPdemon_whip WPN_DEMON_WHIPgiant_club WPN_GIANT_CLUBgiant_spiked_club WPN_GIANT_SPIKED_CLUB
double_sword WPN_DOUBLE_SWORD/* D15H3S16 A magical weapon with two razor-sharp blades.triple_sword WPN_TRIPLE_SWORD/* D19H-1S19 A magical weapon with three great razor-sharp blades.demon_blade WPN_DEMON_BLADE/* D13H2S15 A terrible weapon, forged in the fires of Hell.
double_sword WPN_DOUBLE_SWORDtriple_sword WPN_TRIPLE_SWORDdemon_blade WPN_DEMON_BLADE
sling WPN_SLING /* D1H-1S11 A piece of cloth and leather for launching stones, which do a small amount of damage on impact.bow WPN_BOW /* D2H-3S11 A curved piece of wood and string, for shooting arrows. It does good damage in combat, and a skilled user can use it to great effect.
sling WPN_SLINGbow WPN_BOW
troll_hide ARM_TROLL_HIDE /* A1E-1 The stiff and knobbly hide of a troll. I suppose you could wear it if you really wanted to.troll_leather_armour ARM_TROLL_LEATHER_ARMOUR /* A3E-1 A magical armour, made from the stiff and knobbly skin of a common troll. It magically regenerates its wearer's flesh at a fairly slow rate (unless already a troll).green_dragon_scales ARM_DRAGON_HIDE /* A2E-2 The scaly skin of a dragon. I suppose you could wear it if you really wanted to.green_dragon_scale_mail ARM_DRAGON_ARMOUR /* A8E-2 A magical armour, made from the scales of a fire-breathing dragon. It provides great protection from the effects of fire, but renders its wearer more susceptible to the effects of cold.ice_dragon_hide ARM_ICE_DRAGON_HIDE /* A2E-2 The scaly skin of a dragon. I suppose you could wear it if you really wanted to.ice_dragon_armour ARM_ICE_DRAGON_ARMOUR /* A9E-2 A magical armour, made from the scales of a cold-breathing dragon. It provides great protection from the effects of cold, but renders its wearer more susceptible to the effects of fire and heat.silver_dragon_scales ARM_STEAM_DRAGON_HIDE /* A0E0 The soft and supple scaley skin of a steam dragon. I suppose you could wear it if you really wanted to.silver_dragon_scale_mail ARM_STEAM_DRAGON_ARMOUR /* A3E0 A magical armour, made from the scales of a steam-breathing dragon. Although unlike the armour made from the scales of some larger dragons it does not provide its wearer with much in the way of special magical protection, it is extremely light and as supple as cloth.mottled_dragon_hide ARM_MOTTLED_DRAGON_HIDE /* A1E-1 The weirdly-patterned scaley skin of a mottled dragon. I suppose you could wear it if you really wanted to.mottled_dragon_armour ARM_MOTTLED_DRAGON_ARMOUR /* A5E-1 A magical armour made from the scales of a mottled dragon. Although unlike the armour made from the scales of some larger dragons it does not provide its wearer with much in the way of special magical protection, it is as light and relatively uncumbersome as leather armour.blue_dragon_scales ARM_STORM_DRAGON_HIDE /* A2E-5 The hide of a storm dragon, covered in extremely hard blue scales. I suppose you could wear it if you really wanted to.blue_dragon_scale_mail ARM_STORM_DRAGON_ARMOUR /* A10E-5 A magical armour made from the scales of a lightning-breathing dragon. It is heavier than most dragon scale armours, but gives its wearer great resistance to electrical discharges.gold_dragon_hide ARM_GOLD_DRAGON_HIDE /* A2E-10 The extremely tough and heavy skin of a golden dragon, covered in shimmering golden scales. I suppose you could wear it if you really wanted to.gold_dragon_armour ARM_GOLD_DRAGON_ARMOUR /* A13E-10 A magical armour made from the golden scales of a golden dragon. It is extremely heavy and cumbersome, but confers resistances to fire, cold, and poison on its wearer.swamp_dragon_hide ARM_SWAMP_DRAGON_HIDE /* A1E-2 The slimy skin of a swamp-dwelling dragon. I suppose you could wear it if you really wanted to.swamp_dragon_armour ARM_SWAMP_DRAGON_ARMOUR /* A7E-2 A magical armour made from the scales of a swamp dragon. It confers resistance to poison on its wearer.
troll_hide ARM_TROLL_HIDEtroll_leather_armour ARM_TROLL_LEATHER_ARMOURgreen_dragon_scales ARM_DRAGON_HIDEgreen_dragon_scale_mail ARM_DRAGON_ARMOURice_dragon_hide ARM_ICE_DRAGON_HIDEice_dragon_armour ARM_ICE_DRAGON_ARMOURsilver_dragon_scales ARM_STEAM_DRAGON_HIDEsilver_dragon_scale_mail ARM_STEAM_DRAGON_ARMOURmottled_dragon_hide ARM_MOTTLED_DRAGON_HIDEmottled_dragon_armour ARM_MOTTLED_DRAGON_ARMOURblue_dragon_scales ARM_STORM_DRAGON_HIDEblue_dragon_scale_mail ARM_STORM_DRAGON_ARMOURgold_dragon_hide ARM_GOLD_DRAGON_HIDEgold_dragon_armour ARM_GOLD_DRAGON_ARMOURswamp_dragon_hide ARM_SWAMP_DRAGON_HIDEswamp_dragon_armour ARM_SWAMP_DRAGON_ARMOUR