r4493@vps: verhaegs | 2007-04-19 14:44:00 -0400
[AROS.git] / rom / graphics / remibob.c
blob99f2757b94aef3647bbf786054a18fa90b49fac7
1 /*
2 Copyright © 1995-2001, 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
52 AROS_LIBBASE_EXT_DECL(struct GfxBase *,GfxBase)
54 _ClearBobAndFollowClearPath(bob->BobVSprite,
55 rp,
56 GfxBase);
57 RemVSprite(bob->BobVSprite);
59 AROS_LIBFUNC_EXIT
60 } /* RemIBob */