adding custom kill messages support
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6215 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
+7
-1
@@ -614,6 +614,12 @@ public:
|
||||
enum {MD_FRAGS = 0, MD_DEATHS, END_MDS};
|
||||
struct medalsst {bool assigned; int cn; int item;};
|
||||
|
||||
#define MAXKILLMSGLEN 16
|
||||
extern char fragmessages[NUMGUNS][MAXKILLMSGLEN];
|
||||
extern char gibmessages[NUMGUNS][MAXKILLMSGLEN];
|
||||
extern inline char *killmessage(int gun, bool gib);
|
||||
|
||||
// deprecated ?!
|
||||
inline const char * gib_message(int gun)
|
||||
{
|
||||
switch (gun)
|
||||
@@ -624,4 +630,4 @@ inline const char * gib_message(int gun)
|
||||
case GUN_GRENADE:
|
||||
default: return "gibbed";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user