al_set_path_filename
void al_set_path_filename(ALLEGRO_PATH *path, const char *filename)
Introduced in 5.0.0
Set the optional filename part of the path. The filename may be NULL, which is equivalent to setting the filename to the empty string.
See also: al_set_path_extension, al_get_path_filename
Examples: ex_path_test
Most helpful discussions:
- ALLEGRO_NATIVE_PATH_SEP+PHYSFS bug on Windows?
- Allegro in the file management.
- Creating an array of files
- Dependency Binaries
- ALLEGRO_PATH implementation
- Segmentation fault al_map_rgb
- Segmentation Fault while "al_convert_mask_to_alpha".
- Changing the directory where allegro.log is written
- al_clone_bitmap() of backbuffer gives bad results with OGL
- [A5] troubles with Ogg
Other recent discussions:
- [A5] File exists, but won't load
- problem loading config file again
- Native file dialog patch
- Al_save_bitmap only saves a blank png
- FPS Drop (probably an easy fix)
- Streaming Multiple Audio Files At Once
- Game cannot write to its installation folder
- Terrible Sprites Per Frame
- [OpenGL / Allegro5]
- Error Drawing Fonts