esprit-2013-1a2-high-octane: background.c File Reference

esprit-2013-1a2-high-octane version one finale

- Main Page
- Classes
- Files

- File List
- File Members

All Classes Files Functions Variables
Macros | Functions
background.c File Reference
`#include <stdio.h>`
`#include <stdlib.h>`
`#include <allegro.h>`
`#include "background.h"`
`#include "chien.h"`
`#include "collision.h"`
`#include "jennyfer.h"`
Include dependency graph for background.c:

## Macros

#define | GFX_W 642
#define | GFX_H 450

## Functions

BITMAP * | load_background_bmp (char chemin_background[])
| modulle background
void | draw_background (BITMAP *Background, BITMAP *Buffer)
void | destroy_background (BITMAP *Background)

## Detailed Description

Author
  fatma & omar <3

Version
  1.0

Date
  20 mai 2013

## Function Documentation

void destroy_background | ( | BITMAP * | Background | ) |

il ecrase ce qu'il y'a dans le Buffer

Parameters

  Background | est de type BITMAP

Returns
  void

Here is the caller graph for this function:

void draw_background | ( | BITMAP * | Background,
|  | BITMAP * | Buffer
| ) |  |

elle affiche ce qu'il y 'a sous le Buffer

Parameters

  Background | et Buffer sont de type BITMAP

Returns
  void

Here is the caller graph for this function:

BITMAP * load_background_bmp | ( | char | chemin_background[] | ) |

modulle background

chargement des background

Parameters

  chemin | de background

Returns
  BITMAP

Here is the caller graph for this function: