summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mstuff2.h
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-22 20:21:15 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-22 20:21:15 +0000
commit9a160b380b94ce9b89c93214fe7b9de3f36ed01f (patch)
tree53d1992a132d6e3178b427bbaca2510120233173 /crawl-ref/source/mstuff2.h
parent23e8c7a07f9ea71e683fa748940cc7447e5a8aa1 (diff)
downloadcrawl-ref-9a160b380b94ce9b89c93214fe7b9de3f36ed01f.tar.gz
crawl-ref-9a160b380b94ce9b89c93214fe7b9de3f36ed01f.zip
Massive change from using x and y to using coord_defs(). Not quite tested,
most likely broken in some places and might break tiles. Will fix in the near future. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6636 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mstuff2.h')
-rw-r--r--crawl-ref/source/mstuff2.h72
1 files changed, 5 insertions, 67 deletions
diff --git a/crawl-ref/source/mstuff2.h b/crawl-ref/source/mstuff2.h
index 6c364f8eeb..d84cd2f435 100644
--- a/crawl-ref/source/mstuff2.h
+++ b/crawl-ref/source/mstuff2.h
@@ -22,79 +22,17 @@
struct bolt;
-/*
- beam_colour = _pass[0];
- beam_range = _pass[1];
- beam_damage = _pass[2];
- beam_hit = _pass[3];
- beam_type = _pass[4];
- beam_flavour = _pass[5];
- thing_thrown = _pass[6];
- */
-
-
-// last updated 12may2000 {dlb}
-/* ***********************************************************************
- * called from: monstuff - mstuff2
- * *********************************************************************** */
bolt mons_spells(monsters *mons, spell_type spell_cast, int power);
-
-
-// last updated 12may2000 {dlb}
-/* ***********************************************************************
- * called from: monstuff
- * *********************************************************************** */
-void setup_dragon(monsters *monster, struct bolt &pbolt);
-
-
-// last updated 13feb2001 {gdl}
-/* ***********************************************************************
- * called from: monstuff
- * *********************************************************************** */
+void setup_dragon(monsters *monster, bolt &pbolt);
void mons_cast(monsters *monster, bolt &pbolt, spell_type spell_cast);
-
-// last updated 7jan2001 {gdl}
-/* ***********************************************************************
- * called from: monstuff
- * *********************************************************************** */
-void setup_mons_cast(monsters *monster, bolt &pbolt,
- spell_type spell_cast);
-
-// last updated 28july2000 (gdl)
-/* ***********************************************************************
- * called from: monstuff
- * *********************************************************************** */
-bool mons_throw(monsters *monster, struct bolt &pbolt, int hand_used);
-
-bool mons_thrown_object_destroyed( item_def *item, int x, int y,
+void setup_mons_cast(monsters *monster, bolt &pbolt, spell_type spell_cast);
+bool mons_throw(monsters *monster, bolt &pbolt, int hand_used);
+bool mons_thrown_object_destroyed( item_def *item, const coord_def& where,
bool returning, int midx );
-
-// last updated 07jan2001 (gdl)
-/* ***********************************************************************
- * called from: monstuff
- * *********************************************************************** */
-void setup_generic_throw(monsters *monster, struct bolt &pbolt);
-
-// last updated 12may2000 {dlb}
-/* ***********************************************************************
- * called from: monstuff
- * *********************************************************************** */
+void setup_generic_throw(monsters *monster, bolt &pbolt);
void mons_trap(monsters *monster);
-
-
-// last updated 12may2000 {dlb}
-/* ***********************************************************************
- * called from: beam - fight - files - monstuff - mstuff2 - spells4
- * *********************************************************************** */
void monster_teleport(monsters *monster, bool instan, bool silent = false);
-
-
-// last updated Dec17,2000 -- gdl
-/* ***********************************************************************
- * called from: monstuff
- * *********************************************************************** */
void spore_goes_pop(monsters *monster);
-
bool orc_battle_cry(monsters *chief);
bool orange_statue_effects(monsters *mons);
bool silver_statue_effects(monsters *mons);