File: mdlread.hpp

package info (click to toggle)
abuse 2.00-12
  • links: PTS
  • area: main
  • in suites: slink
  • size: 12,708 kB
  • ctags: 15,389
  • sloc: ansic: 115,852; cpp: 6,792; lisp: 2,066; sh: 1,734; makefile: 1,601; asm: 264
file content (12 lines) | stat: -rw-r--r-- 393 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef _MDL_READ_HPP_
#define _MDL_READ_HPP_
#include "palette.hpp"
#include "image.hpp"

// end ==-1 the read all images  startn==1 first image
short mdl_total_images(char *fn);
image **read_mdl(char *fn, palette *&pal, short startn, short endn, short &total);
void write_mdl(image **images, short total_images, palette *pal,char *fn,
		short firstpage=0, short images_per_page=20);

#endif