3 * ===============================================================
4 * CS:S DM, Copyright (C) 2004-2007 AlliedModders LLC.
5 * By David "BAILOPAN" Anderson
7 * ===============================================================
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or (at
12 * your option) any later version.
14 * This program is distributed in the hope that it will be useful, but
15 * WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; see the file COPYING; if not, write to the
21 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
27 #ifndef _INCLUDE_CSSDM_PLAYERS_H_
28 #define _INCLUDE_CSSDM_PLAYERS_H_
30 #include "smsdk_ext.h"
31 #include <iplayerinfo.h>
39 ITimer *respawn_timer;
42 bool will_respawn_on_class;
45 class ClientListener : public IClientListener
48 void OnClientConnected(int client);
49 void OnClientPutInServer(int client);
50 void OnClientDisconnecting(int client);
53 dm_player_t *DM_GetPlayer(int client);
55 extern ClientListener g_ClientListener;
57 #endif //_INCLUDE_CSSDM_PLAYERS_H_