Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
blit.h File Reference
#include "blitter.h"
#include "buff.h"
#include "trect.h"
#include "surface.h"

Go to the source code of this file.

Functions

bool Bit_Blit (Surface &dest, Rect const &destrect, Surface const &source, Rect const &sourcerect, Blitter const &blitter)
 
bool RLE_Blit (Surface &dest, Rect const &destrect, Surface const &source, Rect const &sourcerect, RLEBlitter const &blitter)
 
bool Bit_Blit (Surface &dest, Rect const &dcliprect, Rect const &ddrect, Surface const &source, Rect const &scliprect, Rect const &ssrect, Blitter const &blitter)
 
bool RLE_Blit (Surface &dest, Rect const &dcliprect, Rect const &ddrect, Surface const &source, Rect const &scliprect, Rect const &ssrect, RLEBlitter const &blitter)
 
int Buffer_Size (Surface &surface, int width, int height)
 
bool To_Buffer (Surface const &surface, Rect const &rect, Buffer &buffer)
 
bool From_Buffer (Surface &surface, Rect const &rect, Buffer const &buffer)
 

Function Documentation

◆ Bit_Blit() [1/2]

bool Bit_Blit ( Surface & dest,
Rect const & dcliprect,
Rect const & ddrect,
Surface const & source,
Rect const & scliprect,
Rect const & ssrect,
Blitter const & blitter )

Definition at line 203 of file blit.cpp.

◆ Bit_Blit() [2/2]

bool Bit_Blit ( Surface & dest,
Rect const & destrect,
Surface const & source,
Rect const & sourcerect,
Blitter const & blitter )

Definition at line 167 of file blit.cpp.

◆ Buffer_Size()

int Buffer_Size ( Surface & surface,
int width,
int height )

◆ From_Buffer()

bool From_Buffer ( Surface & surface,
Rect const & rect,
Buffer const & buffer )

Definition at line 126 of file blit.cpp.

◆ RLE_Blit() [1/2]

bool RLE_Blit ( Surface & dest,
Rect const & dcliprect,
Rect const & ddrect,
Surface const & source,
Rect const & scliprect,
Rect const & ssrect,
RLEBlitter const & blitter )

Definition at line 346 of file blit.cpp.

◆ RLE_Blit() [2/2]

bool RLE_Blit ( Surface & dest,
Rect const & destrect,
Surface const & source,
Rect const & sourcerect,
RLEBlitter const & blitter )

Definition at line 303 of file blit.cpp.

◆ To_Buffer()

bool To_Buffer ( Surface const & surface,
Rect const & rect,
Buffer & buffer )

Definition at line 98 of file blit.cpp.