[NeoStats-Devel] [Commits] r21 - trunk
[email protected] Tue, 9 Aug 2005 23:06:38 +1000
| Newsgroups | gmane.comp.neostats.devel |
|---|---|
| Message-ID | <[email protected]> |
Author: DNB
Date: Tue Aug 9 21:06:32 2005
New Revision: 21
Modified:
trunk/channel.c
trunk/highscores.c
trunk/misc.c
trunk/play.c
trunk/yahtzeeserv.c
trunk/yahtzeeserv.h
trunk/yahtzeeserv_help.c
Log:
update timers and copyright
Modified: trunk/channel.c
==============================================================================
--- trunk/channel.c (original)
+++ trunk/channel.c Tue Aug 9 21:06:32 2005
@@ -1,5 +1,5 @@
/* YahtzeeServ - Yahtzee Game Service - NeoStats Addon Module
-** Copyright (c) 2003-2005 Justin Hammond, Mark Hetherington, DeadNotBuried
+** Copyright (c) 2003-2005 Justin Hammond, Mark Hetherington, Jeff Lang
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
Modified: trunk/highscores.c
==============================================================================
--- trunk/highscores.c (original)
+++ trunk/highscores.c Tue Aug 9 21:06:32 2005
@@ -1,5 +1,5 @@
/* YahtzeeServ - Yahtzee Game Service - NeoStats Addon Module
-** Copyright (c) 2003-2005 Justin Hammond, Mark Hetherington, DeadNotBuried
+** Copyright (c) 2003-2005 Justin Hammond, Mark Hetherington, Jeff Lang
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
@@ -154,7 +154,7 @@
/*
* Select High Scores to remove
*/
-int yahtzeeday(void)
+int yahtzeeday(void *userptr)
{
SET_SEGV_LOCATION();
irc_chanalert (ys_bot, "\0038It's Midnight Here : \0037Clearing Daily Top 10 List");
@@ -163,7 +163,7 @@
return NS_SUCCESS;
}
-int yahtzeeweek(void)
+int yahtzeeweek(void *userptr)
{
SET_SEGV_LOCATION();
irc_chanalert (ys_bot, "\0038It's Sunday Here : \0037Clearing Weekly Top 10 List");
@@ -172,7 +172,7 @@
return NS_SUCCESS;
}
-int yahtzeemonth(void)
+int yahtzeemonth(void *userptr)
{
SET_SEGV_LOCATION();
irc_chanalert (ys_bot, "\0038It's The First Here : \0037Clearing Monthly Top 10 List");
Modified: trunk/misc.c
==============================================================================
--- trunk/misc.c (original)
+++ trunk/misc.c Tue Aug 9 21:06:32 2005
@@ -1,5 +1,5 @@
/* YahtzeeServ - Yahtzee Game Service - NeoStats Addon Module
-** Copyright (c) 2003-2005 Justin Hammond, Mark Hetherington, DeadNotBuried
+** Copyright (c) 2003-2005 Justin Hammond, Mark Hetherington, Jeff Lang
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
Modified: trunk/play.c
==============================================================================
--- trunk/play.c (original)
+++ trunk/play.c Tue Aug 9 21:06:32 2005
@@ -1,5 +1,5 @@
/* YahtzeeServ - Yahtzee Game Service - NeoStats Addon Module
-** Copyright (c) 2003-2005 Justin Hammond, Mark Hetherington, DeadNotBuried
+** Copyright (c) 2003-2005 Justin Hammond, Mark Hetherington, Jeff Lang
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
@@ -91,7 +91,7 @@
* if game if due to start, checks for joined users
* if users joined starts game, if not end game.
*/
-int yahtzeetimer(void)
+int yahtzeetimer(void *userptr)
{
lnode_t *ln, *ln2;
GameData *gd;
Modified: trunk/yahtzeeserv.c
==============================================================================
--- trunk/yahtzeeserv.c (original)
+++ trunk/yahtzeeserv.c Tue Aug 9 21:06:32 2005
@@ -1,5 +1,5 @@
/* YahtzeeServ - Yahtzee Game Service - NeoStats Addon Module
-** Copyright (c) 2003-2005 Justin Hammond, Mark Hetherington, DeadNotBuried
+** Copyright (c) 2003-2005 Justin Hammond, Mark Hetherington, Jeff Lang
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
@@ -159,10 +159,10 @@
ysscoretype[13]= "Bonus";
ysscoretype[14]= "Yahtzee Bonus";
ModuleConfig (ys_settings);
- AddTimer (TIMER_TYPE_DAILY, yahtzeeday, "yahtzeeday", 0);
- AddTimer (TIMER_TYPE_WEEKLY, yahtzeeweek, "yahtzeeweek", 0);
- AddTimer (TIMER_TYPE_MONTHLY, yahtzeemonth, "yahtzeemonth", 0);
- AddTimer (TIMER_TYPE_INTERVAL, yahtzeetimer, "yahtzeetimer", 5);
+ AddTimer (TIMER_TYPE_DAILY, yahtzeeday, "yahtzeeday", 0, NULL);
+ AddTimer (TIMER_TYPE_WEEKLY, yahtzeeweek, "yahtzeeweek", 0, NULL);
+ AddTimer (TIMER_TYPE_MONTHLY, yahtzeemonth, "yahtzeemonth", 0, NULL);
+ AddTimer (TIMER_TYPE_INTERVAL, yahtzeetimer, "yahtzeetimer", 5, NULL);
loadyahtzeescores();
return NS_SUCCESS;
}
Modified: trunk/yahtzeeserv.h
==============================================================================
--- trunk/yahtzeeserv.h (original)
+++ trunk/yahtzeeserv.h Tue Aug 9 21:06:32 2005
@@ -1,5 +1,5 @@
/* YahtzeeServ - Yahtzee Game Service - NeoStats Addon Module
-** Copyright (c) 2003-2005 Justin Hammond, Mark Hetherington, DeadNotBuried
+** Copyright (c) 2003-2005 Justin Hammond, Mark Hetherington, Jeff Lang
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
@@ -125,9 +125,9 @@
void loadyahtzeescores(void);
int loadhighscores(void *data, int size);
int sortlistbytypepos( const void *key1, const void *key2 );
-int yahtzeeday(void);
-int yahtzeeweek(void);
-int yahtzeemonth(void);
+int yahtzeeday(void *userptr);
+int yahtzeeweek(void *userptr);
+int yahtzeemonth(void *userptr);
void clearyahtzeescores(int stc);
void checkhighscorelists(Channel*c);
@@ -145,7 +145,7 @@
/* play.c */
int StartYahtzeeGame (CmdParams* cmdparams);
-int yahtzeetimer(void);
+int yahtzeetimer(void *userptr);
int JoinYahtzeeGame (CmdParams* cmdparams);
int RemoveYahtzeeGame (CmdParams* cmdparams);
void removenickfromgame(Channel *c, Client *u);
Modified: trunk/yahtzeeserv_help.c
==============================================================================
--- trunk/yahtzeeserv_help.c (original)
+++ trunk/yahtzeeserv_help.c Tue Aug 9 21:06:32 2005
@@ -1,5 +1,5 @@
/* YahtzeeServ - Yahtzee Game Service - NeoStats Addon Module
-** Copyright (c) 2003-2005 Justin Hammond, Mark Hetherington, DeadNotBuried
+** Copyright (c) 2003-2005 Justin Hammond, Mark Hetherington, Jeff Lang
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by