home *** CD-ROM | disk | FTP | other *** search
- /*
- **
- ** _playflg.qc (PlayerFlag Header, 1.0)
- **
- ** Copyright (C) 1996 Johannes Plass
- **
- ** 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
- ** the Free Software Foundation; either version 2 of the License, or
- ** (at your option) any later version.
- **
- ** This program is distributed in the hope that it will be useful,
- ** but WITHOUT ANY WARRANTY; without even the implied warranty of
- ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- ** GNU General Public License for more details.
- **
- ** You should have received a copy of the GNU General Public License
- ** along with this program; if not, write to the Free Software
- ** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- **
- ** Author: Johannes Plass (plass@dipmza.physik.uni-mainz.de)
- **
- */
-
-
- .float player_flag;
- .float player_init_time;
-
- void(entity player, float flag) PlayerFlagSetFlag;
- void(entity player, float flag) PlayerFlagRemoveFlag;
-
- //
- // bits used in self.player_flag
- //
-
- float PLAYER_IS_CLIENT = 1; //#jp#(PlayerFlag)
- float PLAYER_IS_INITIALIZED = 2; //#jp#(PlayerFlag)
- float PLAYER_IS_OBSERVER = 4; //#jp#(Observer)
- float PLAYER_PASSED_MOTD = 8; //#jp#(Motd)
- float PLAYER_DID_INIT_CALLS = 16; //#jp#(Init)
- float PLAYER_PASSED_INIT_PHASE = 32; //#jp#(PlayerFlag)
-
- // bit reserved by multiskin 256; //#jp#(Skin)
- // bit reserved by multiskin 512; //#jp#(Skin)
- // bit reserved by multiskin 1024; //#jp#(Skin)
- // bit reserved by multiskin 2048; //#jp#(Skin)
- // bit reserved by multiskin 4096; //#jp#(Skin)
- // bit reserved by multiskin 8192; //#jp#(Skin)
- // bit reserved by multiskin 16384; //#jp#(Skin)
- // bit reserved by multiskin 32768; //#jp#(Skin)
-
-
-