mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-09 04:49:39 -10:00
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10059 387891d4-d844-0410-90c0-e4c51a9137d3
32 lines
1.1 KiB
C
32 lines
1.1 KiB
C
/*
|
|
* Created by Ian "Goober5000" Warfield for the FreeSpace2 Source Code Project.
|
|
* You may not sell or otherwise commercially exploit the source or things you
|
|
* create based on the source.
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _DEAD_OBJECT_DOCK_H
|
|
#define _DEAD_OBJECT_DOCK_H
|
|
|
|
#include "globalincs/globals.h"
|
|
#include "objectdock.h"
|
|
|
|
|
|
// get the first object in objp's dock list
|
|
object *dock_get_first_dead_docked_object(object *objp);
|
|
|
|
// find objp's dockpoint being occupied by other_objp
|
|
int dock_find_dead_dockpoint_used_by_object(object *objp, object *other_objp);
|
|
|
|
// add objp1 and objp2 to each others' dock lists; currently only called by ai_deathroll_start
|
|
void dock_dead_dock_objects(object *objp1, int dockpoint1, object *objp2, int dockpoint2);
|
|
|
|
// remove objp1 and objp2 from each others' dock lists; currently called by do_dying_undock_physics and ship_cleanup
|
|
void dock_dead_undock_objects(object *objp1, object *objp2);
|
|
|
|
// free the entire dock list without undocking anything; should only be used on object cleanup
|
|
void dock_free_dead_dock_list(object *objp);
|
|
|
|
#endif // _DEAD_OBJECT_DOCK_H
|