Virtuelle Zockhalle 0.05 beta

gfxreel.h

gehe zur Dokumentation dieser Datei
00001 /* -*- coding: utf-8 -*- */
00002 /***********************************************************************
00003  *
00004  * $Id: gfxreel.h,v 1.5 2011/02/27 07:59:49 elias Exp elias $
00005  * Diese Datei gehört zur Virtuellen Zockhalle
00006  *
00007  * Virtuelle Zockhalle 
00008  * (c) 2010-2011 Elias Schwerdtfeger
00009  * http://www.tamagothi.de/
00010  *
00011  * Dieses Programm ist freie Software, lizenziert unter den sinngemäß
00012  * anzuwendenden Bedingungen meiner Lizenz für freie Musik,
00013  * http://www.tamagothi.de/alben/lizenz.html
00014  *
00015  ***********************************************************************/
00016 
00017 
00018 #ifndef _GFXREEL_H
00019 #define _GFXREEL_H
00020 
00028 #include "alhelper.h"
00029 #include "elements.h"
00030 
00043 #define VREELF_COOLSTOP  (1UL << 0)
00044 
00049 struct vreel_parameters
00050 {
00052   short int x;
00054   short int y;
00058   BITMAP *strip_stop;
00067   BITMAP *strip_run;
00074   short unsigned int phases;
00087   short unsigned int window_size;
00096   short unsigned int over_size;
00100   struct blend_chain *blend;
00106   BITMAP *over_sprite;
00112   RLE_SPRITE *over_rle;
00114   unsigned long flags;
00132   struct reel *share_reel_gfx;
00133 };
00134 
00143 void vreel_gfx_init_cb (remember_t rmb, struct reel *r);
00144 
00145 
00146 
00155 struct hreel_window
00156 {
00158   short int x;
00160   short int y;
00162   BITMAP *strip_stop;
00164   BITMAP *strip_run;
00171   struct blend_chain *blend;
00178   BITMAP *over_sprite;
00185   RLE_SPRITE *over_rle;
00186 };
00187 
00188 
00196 struct hreel_parameters 
00197 {
00199   unsigned n_windows;
00201   struct hreel_window *v_windows;
00203   unsigned phases;
00205   unsigned windows_size;
00207   unsigned over_size;
00209   struct blend_chain *blend;
00211   BITMAP *over_sprite;
00213   RLE_SPRITE *over_rle;
00215   unsigned long flags;
00217   struct reel *share_reel_gfx;
00218 };
00219 
00226 void hreel_gfx_init_cb (remember_t rmb, struct reel *r);
00227 
00236 struct reelcounter_parameters
00237 {
00239   short int x;
00241   short int y;
00243   short int nreels;
00245   unsigned short int gap;
00247   unsigned short int lastgap;
00249   unsigned short int over_size;
00255   unsigned short int divisor;
00257   unsigned short int maxstep;
00259   unsigned short int phases;
00261   unsigned short int speed;
00263   BITMAP *bm_strip;
00271   BITMAP *bm_laststrip;
00281   BITMAP *bm_firststrip;
00289   unsigned short int firstpositions;
00291   struct blend_chain *blend;
00293   BITMAP *over_sprite;
00295   RLE_SPRITE *over_rle;
00297   unsigned long flags;
00298 };
00299 
00307 void reelcounter_gfx_init_cb (remember_t rmb, struct counter *c);
00308 
00309 
00310 #endif /* _GFXREEL_H */