Virtuelle Zockhalle 0.05 beta
|
00001 /* -*- coding: utf-8 -*- */ 00002 00003 /*********************************************************************** 00004 * 00005 * $Id: dirtrect.h,v 1.6 2010/11/03 04:57:55 elias Beta $ 00006 * Diese Datei gehört zur Virtuellen Zockhalle 00007 * 00008 * Virtuelle Zockhalle 00009 * (c) 2010 Elias Schwerdtfegerhttp://www.tamagothi.de/ 00010 * 00011 ***********************************************************************/ 00012 00013 00014 #ifndef _DRECT_H 00015 #define _DRECT_H 00016 00029 #include "alhelper.h" 00030 00031 00037 extern BITMAP *drect_buf; 00044 extern unsigned long frame_count; 00045 00055 void drect_init (int w, int h); 00067 void drect_addrect (int x, int y, int w, int h); 00071 void drect_render (void); 00079 void drect_render_unoptimized (void); 00086 void drect_prepare (void); 00094 void drect_saverect (BITMAP *buf, int x, int y); 00102 void drect_blitfull (BITMAP *bm, int x, int y); 00114 void drect_blit (BITMAP *bm, int sx, int sy, int dx, int dy, int w, int h); 00122 void drect_sprite (BITMAP *spr, int x, int y); 00132 void drect_stretch_sprite (BITMAP *spr, int x, int y, int w, int h); 00140 void drect_trans_sprite (BITMAP *spr, int x, int y); 00149 void drect_lit_sprite (BITMAP *spr, int x, int y, int c); 00157 void drect_rle_sprite (RLE_SPRITE *spr, int x, int y); 00165 void drect_trans_rle_sprite (RLE_SPRITE *spr, int x, int y); 00174 void drect_rotate_sprite (BITMAP *spr, int x, int y, fixed angle); 00180 void drect_pattern_blit (BITMAP *pat); 00191 void drect_text (FONT *f, const char *str, int x, int y, int fg, int bg); 00202 void drect_ctext (FONT *f, const char *str, int x, int y, int fg, int bg); 00213 void drect_rtext (FONT *f, const char *str, int x, int y, int fg, int bg); 00219 void drect_cls (int c); 00229 void drect_fillbox (int x, int y, int w, int h, int c); 00239 void drect_drawbox (int x, int y, int w, int h, int c); 00240 00241 #endif /* _DRECT_H */