#include <stdio.h>
#include <stdlib.h>
#include "string.h"
#include "background_process.h"
#include "global.h"
#include "macros.h"
#include "loads.h"
#include "logger.h"
#include "sensei_config.h"
Functions | |
char * | bg_elt_name (char *Bg_name, char *input) |
function to have the name of the bg element take form a line | |
int | is_bg_element (char *buff, char *Bg_name) |
function to know if a line is the beginning of a bg element | |
int | convert_bg_type (char *buf) |
function to convert a string into a bg_elt type | |
int | convert_trans_mode (char *buf) |
function to convert a trans mode into a of transparency | |
int | background_process (background_struct *a_background) |
general background process |
Functions that test BG syntaxes, load BG, fill BG elements. Functions that process the bg elements assuming that their called each tick of game