X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fcartoons.h;h=a2dd0602d256459d645edaf75a0d8fd0fcdf9236;hp=25b4d2c41313df9c1e51234974121726faebf34c;hb=8ae535c1c76e1c33572afbcd4b2d3d9c3d7ba63e;hpb=b7d31643c9c84104fb3ebef778e545928610ff65 diff --git a/src/cartoons.h b/src/cartoons.h index 25b4d2c4..a2dd0602 100644 --- a/src/cartoons.h +++ b/src/cartoons.h @@ -1,20 +1,29 @@ -/*********************************************************** -* Rocks'n'Diamonds -- McDuffin Strikes Back! * -*----------------------------------------------------------* -* ©1995 Artsoft Development * -* Holger Schemel * -* 33659 Bielefeld-Senne * -* Telefon: (0521) 493245 * -* eMail: aeglos@valinor.owl.de * -* aeglos@uni-paderborn.de * -* q99492@pbhrzx.uni-paderborn.de * -*----------------------------------------------------------* -* cartoons.h * -***********************************************************/ +// ============================================================================ +// Rocks'n'Diamonds - McDuffin Strikes Back! +// ---------------------------------------------------------------------------- +// (c) 1995-2014 by Artsoft Entertainment +// Holger Schemel +// info@artsoft.org +// http://www.artsoft.org/ +// ---------------------------------------------------------------------------- +// cartoons.h +// ============================================================================ #ifndef CARTOONS_H #define CARTOONS_H + +/* values for global animations */ +#define ANIM_STATE_INACTIVE 0 +#define ANIM_STATE_RESTART (1 << 0) +#define ANIM_STATE_WAITING (1 << 1) +#define ANIM_STATE_RUNNING (1 << 2) + + +void InitToons(void); + +void DrawGlobalAnim(int); + void InitAnimation(void); void StopAnimation(void); void DoAnimation(void);