define __KERNEL_STRICT_NAMES to avoid inclusion of kernel types on systems that carry...
[cake.git] / rom / graphics / remibob.c
blob85235c24e882208de770e0c5861112c816e5c0d7
1 /*
2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Remove a Bob from the gel list an the RastPort
6 Lang: english
7 */
8 #include "graphics_intern.h"
9 #include "gels_internal.h"
11 /*****************************************************************************
13 NAME */
14 #include <proto/graphics.h>
16 AROS_LH3(void, RemIBob,
18 /* SYNOPSIS */
19 AROS_LHA(struct Bob *, bob, A0),
20 AROS_LHA(struct RastPort *, rp , A1),
21 AROS_LHA(struct ViewPort *, vp , A2),
23 /* LOCATION */
24 struct GfxBase *, GfxBase, 22, Graphics)
26 /* FUNCTION
27 Remove a Bob immediately from RastPort and gel list.
30 INPUTS
31 bob - Bob
32 rp - RastPort
33 vp - ViewPort
35 RESULT
37 NOTES
39 EXAMPLE
41 BUGS
43 SEE ALSO
45 INTERNALS
47 HISTORY
49 *****************************************************************************/
51 AROS_LIBFUNC_INIT
53 _ClearBobAndFollowClearPath(bob->BobVSprite,
54 rp,
55 GfxBase);
56 RemVSprite(bob->BobVSprite);
58 AROS_LIBFUNC_EXIT
59 } /* RemIBob */