[mw-devel] MW3 r1245 - trunk/src

tswsl1989 at sucs.org tswsl1989 at sucs.org
Mon Jan 17 13:07:36 GMT 2011


Author: tswsl1989
Date: 2011-01-17 13:07:36 +0000 (Mon, 17 Jan 2011)
New Revision: 1245

Modified:
   trunk/src/gags.c
   trunk/src/gags.h
   trunk/src/talker_privs.c
Log:
Add Hazelesque gag


Modified: trunk/src/gags.c
===================================================================
--- trunk/src/gags.c	2010-11-30 21:36:19 UTC (rev 1244)
+++ trunk/src/gags.c	2011-01-17 13:07:36 UTC (rev 1245)
@@ -523,3 +523,8 @@
         }
     }
 }
+
+void gag_hazelesque(char *text)
+{
+	gag_wordrep(text,"heh ");
+}

Modified: trunk/src/gags.h
===================================================================
--- trunk/src/gags.h	2010-11-30 21:36:19 UTC (rev 1244)
+++ trunk/src/gags.h	2011-01-17 13:07:36 UTC (rev 1245)
@@ -25,6 +25,7 @@
 void gag_babel(char *text);
 void gag_nosport(char *text);
 void gag_ack(char *text);
+void gag_hazelesque(char *text);
 
 /* maximum gag flag used */
 #define MAX_GAG_FLAG	6

Modified: trunk/src/talker_privs.c
===================================================================
--- trunk/src/talker_privs.c	2010-11-30 21:36:19 UTC (rev 1244)
+++ trunk/src/talker_privs.c	2011-01-17 13:07:36 UTC (rev 1245)
@@ -111,7 +111,10 @@
    "You have been zapped by a ray-gun and turned into a martian",
    "You are human again",
    gag_ack},
-
+{"hazelesque","Hazelesque","De-Hazelesque",
+	"You have just been switched to Hazelesque mode",
+	"You have just been De-Hazelesqued",
+	gag_hazelesque},
 {NULL, NULL, NULL, NULL, NULL, NULL},
 };
 




More information about the mw-devel mailing list