Stubs for classes I intend to implement sometime
authorMartin Read <martin@blackswordsonics.com>
Mon, 10 Feb 2014 14:51:00 +0000 (14:51 +0000)
committerMartin Read <martin@blackswordsonics.com>
Mon, 10 Feb 2014 14:51:00 +0000 (14:51 +0000)
combat.hh
notify.hh
sorcery.hh

index 33f4ce7..b04b5b2 100644 (file)
--- a/combat.hh
+++ b/combat.hh
@@ -2,7 +2,7 @@
  * \brief Combat functions header
  */
 
-/* Copyright 2005-2013 Martin Read
+/* Copyright 2005-2014 Martin Read
  * 
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
@@ -44,7 +44,13 @@ extern int uhitm(int mon);
 extern int mshootu(int mon);
 extern int ushootm(Offset step);
 
+class Combo_spec
+{
+public:
+    char const *name;
+};
+
 #endif
 
-/* combat.h */
+/* combat.hh */
 // vim:cindent
index 80a81f0..2735fa3 100644 (file)
--- a/notify.hh
+++ b/notify.hh
@@ -182,6 +182,18 @@ void debug_unimplemented_activation(int po);
 void debug_unimplemented_break_reaction(int po);
 void debug_unimplemented_radiance_order(int order);
 
+// Provisional object designs
+class Notify_uattkm
+{
+public:
+    int mon;
+    bool hit;
+    int dmg;
+    bool ringflag;
+    int ring_id;
+    bool killed;
+};
+
 #endif
 
 /* notify.hh */
index 5178f4e..dfd647b 100644 (file)
@@ -52,6 +52,21 @@ enum monspell {
     MS_TELEPORT_ASSAULT,    /* Wizard, Archmage, Master Lich */
 };
 
+enum Monspell_mode
+{
+    Msmode_melee,
+    Msmode_bolt,
+    Msmode_smite,
+    Msmode_self
+};
+
+class Monspell_desc
+{
+public:
+    char const *name;
+    Monspell_mode mode;
+};
+
 extern int mon_use_sorcery(int mon);
 extern void mon_curses(int mon);
 extern void malignant_aura(void);