Ignore:
Timestamp:
Aug 17, 2013, 12:01:38 PM (9 years ago)
Author:
Sam Hocevar
Message:

imlib: refactor the image class; no more locks or paging.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/branches/lol/src/imlib/pcxread.cpp

    r694 r709  
    120120}
    121121
    122 image *read_PCX(char const *filename, Palette *&pal)
     122AImage *read_PCX(char const *filename, Palette *&pal)
    123123{
    124124  if (PCX_file_type(filename)!=PCX_8) return NULL;
     
    126126  read_PCX_header(fp);
    127127
    128   image *im=new image(ivec2(PCX_header.xmax-PCX_header.xmin+1,
     128  AImage *im=new AImage(ivec2(PCX_header.xmax-PCX_header.xmin+1,
    129129                            PCX_header.ymax-PCX_header.ymin+1));
    130130  int y;
     
    146146}
    147147
    148 void write_PCX(image *im, Palette *pal, char const *filename)
     148void write_PCX(AImage *im, Palette *pal, char const *filename)
    149149{
    150150  FILE *fp=fopen(filename,"wb");
Note: See TracChangeset for help on using the changeset viewer.