Back to index

extremetuxracer  0.5beta
Typedefs | Functions
audio_data.h File Reference
#include "../../etracer.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef int Mix_Chunk
typedef int Mix_Music

Functions

void init_audio_data ()
bool load_sound (const char *name, const char *filename)
bool get_sound_data (char *name, Mix_Chunk **data)
void incr_sound_data_ref_ctr (const char *name)
void decr_sound_data_ref_ctr (const char *name)
void delete_unused_audio_data ()
bool is_sound_data_dirty ()
void mark_sound_data_clean ()
void register_sound_data_tcl_callbacks (Tcl_Interp *ip)
bool load_music (const char *name, const char *filename)
bool get_music_data (char *name, Mix_Music **data)
void set_music_playing_status (char *name, bool playing)
bool get_music_playing_status (char *name)
void incr_music_data_ref_ctr (const char *name)
void decr_music_data_ref_ctr (const char *name)
bool is_music_data_dirty ()
void mark_music_data_clean ()

Typedef Documentation

typedef int Mix_Chunk

Definition at line 34 of file audio_data.h.

typedef int Mix_Music

Definition at line 35 of file audio_data.h.


Function Documentation

void decr_music_data_ref_ctr ( const char *  name)
void decr_sound_data_ref_ctr ( const char *  name)

Definition at line 660 of file audio_data.cpp.

{
}

Here is the caller graph for this function:

bool get_music_data ( char *  name,
Mix_Music **  data 
)

Definition at line 627 of file audio_data.cpp.

{
    return false;
}
bool get_music_playing_status ( char *  name)

Definition at line 639 of file audio_data.cpp.

{
    return false;
}
bool get_sound_data ( char *  name,
Mix_Chunk **  data 
)

Definition at line 621 of file audio_data.cpp.

{
    return false;
}
void incr_music_data_ref_ctr ( const char *  name)
void incr_sound_data_ref_ctr ( const char *  name)
void init_audio_data ( )

Definition at line 604 of file audio_data.cpp.

{
}

Here is the caller graph for this function:

Definition at line 671 of file audio_data.cpp.

{
    return false;
}

Definition at line 665 of file audio_data.cpp.

{
    return false;
}
bool load_music ( const char *  name,
const char *  filename 
)
bool load_sound ( const char *  name,
const char *  filename 
)

Definition at line 682 of file audio_data.cpp.

{
}

Definition at line 677 of file audio_data.cpp.

{
}
void register_sound_data_tcl_callbacks ( Tcl_Interp *  ip)

Definition at line 708 of file audio_data.cpp.

{
    Tcl_CreateCommand (ip, "tux_load_sound", load_sound_cb,  0,0);
    Tcl_CreateCommand (ip, "tux_load_music", load_music_cb,  0,0);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void set_music_playing_status ( char *  name,
bool  playing 
)

Definition at line 633 of file audio_data.cpp.

{
}