Files
fs2open.github.com/code/weapon/corkscrew.h
Goober5000 5aa3bddf70 change object from a struct to a class, since it contains the objsnd_num field :-/
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9995 387891d4-d844-0410-90c0-e4c51a9137d3
2013-11-10 18:28:55 +10:00

33 lines
853 B
C++

/*
* Copyright (C) Volition, Inc. 1999. All rights reserved.
*
* All source code herein is the property of Volition, Inc. You may not sell
* or otherwise commercially exploit the source or things you created based on the
* source.
*
*/
#ifndef __FREESPACE_CORKSCREW_H__
#define __FREESPACE_CORKSCREW_H__
class object;
extern int Corkscrew_num_missiles_fired;
void cscrew_level_init();
void cscrew_delete(int index);
int cscrew_create(object *obj);
// pre process the corkscrew weapon by putting him in the "center" of his corkscrew
void cscrew_process_pre(object *objp);
// post process the corkscrew weapon by putting him back to the right spot on his corkscrew
void cscrew_process_post(object *objp);
// maybe fire another corkscrew-style missile
void cscrew_maybe_fire_missile(int shipnum);
#endif /* __FREESPACE_CORKSCREW_H__ */