// my functions void PlaceLaser (edict_t *ent); void pre_target_laser_think (edict_t *self); // controlling parameters #define LASER_TIME 120 #define MAX_LASERS 5 #define CELLS_FOR_LASER 20 #define LASER_DAMAGE 100 #define LASER_MOUNT_DAMAGE 50 #define LASER_MOUNT_DAMAGE_RADIUS 64 // In-built Quake2 routines void target_laser_use (edict_t *self, edict_t *other, edict_t *activator); void target_laser_think (edict_t *self); void target_laser_on (edict_t *self); void target_laser_off (edict_t *self);