00001 /* Copyright 2004 Matthew Tylee Atkinson 00002 00003 This program is free software; you can redistribute it and/or modify 00004 it under the terms of the GNU General Public License as published by 00005 the Free Software Foundation; either version 2 of the License, or 00006 (at your option) any later version. 00007 00008 This program is distributed in the hope that it will be useful, 00009 but WITHOUT ANY WARRANTY; without even the implied warranty of 00010 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00011 GNU General Public License for more details. 00012 00013 You should have received a copy of the GNU General Public License 00014 along with this program; if not, write to the Free Software 00015 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00016 00017 See file, 'COPYING', for details. 00018 */ 00019 00020 /* $AGRIP-START */ 00021 /* AGRIP Auxiliary Player Information Object */ 00022 00058 // PROTOTYPES 00059 00060 void snap_aux_constructor(); 00061 00062 00063 // IMPLEMENTATIONS 00064 00070 void snap_aux_constructor() 00071 { 00072 local entity new_agaux; 00073 00074 new_agaux = spawn(); 00075 00076 // Set up new aux object... 00077 new_agaux.movetype = MOVETYPE_NONE; 00078 new_agaux.solid = SOLID_NOT; 00079 00080 // Connect the aux object and player... 00081 new_agaux.owner = self; 00082 self.agrip_aux = new_agaux; 00083 }; 00084 00085 /* $AGRIP-END */
1.5.4