Go to the source code of this file.
Functions | |
| int | hqr_get_entry (unsigned char *ptr, char *filename, int index) |
| int | hqr_entry_size (char *filename, int index) |
| int | hqr_num_entries (char *filename) |
Prequengine: a Little Big Adventure engine
Copyright (C) 2008 Prequengine team
Copyright (C) 2002-2007 The TwinEngine team
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
Definition in file hqrdepack.h.
| int hqr_entry_size | ( | char * | filename, | |
| int | index | |||
| ) |
Get a HQR entry pointer
| filename | HQR file name | |
| index | entry index to extract |
| filename | HQR file name | |
| index | entry index to extract |
Definition at line 192 of file hqrdepack.c.
References frclose(), fropen(), frread(), and frseek().
Referenced by init_celling_grid(), init_dialogue_bank(), init_grid(), init_resources(), init_scene(), load_grid_bricks(), play_fla_sample(), play_midi_music(), and preload_sprites().
| int hqr_get_entry | ( | unsigned char * | ptr, | |
| char * | filename, | |||
| int | index | |||
| ) |
Get a HQR entry pointer
| ptr | pointer to save the entry | |
| filename | HQR file name | |
| index | entry index to extract |
Definition at line 127 of file hqrdepack.c.
References frclose(), fropen(), frread(), frseek(), and hqr_decompress_entry().
Referenced by adeline_logo(), init_celling_grid(), init_dialogue_bank(), init_grid(), init_resources(), init_scene(), load_grid_bricks(), load_image(), load_image_delay(), load_menu_image(), main_menu(), play_fla_sample(), play_midi_music(), and preload_sprites().
| int hqr_num_entries | ( | char * | filename | ) |
Get a HQR total number of entries
| filename | HQR file name |
Definition at line 231 of file hqrdepack.c.
References fropen(), and frread().
Referenced by preload_sprites().
1.5.5