Changeset 2842 for libpipi


Ignore:
Timestamp:
Sep 28, 2008, 4:09:30 PM (12 years ago)
Author:
Sam Hocevar
Message:

Wrote an Oric hires file parser.

Location:
libpipi/trunk/pipi
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • libpipi/trunk/pipi/Makefile.am

    r2840 r2842  
    4040        -no-undefined -version-number @LT_VERSION@
    4141
    42 # Conditional sources
     42# Submodules
     43
    4344codec_cflags =
    4445codec_libs =
    45 codec_sources =
     46codec_sources = \
     47        codec/oric.c
    4648
    47 # Submodules
    4849paint_sources = \
    4950        paint/floodfill.c \
     
    8586        histogram/histogram.c
    8687
     88# Conditional sources
     89
    8790if USE_SDL
    8891codec_cflags += `sdl-config --cflags`
  • libpipi/trunk/pipi/codec.c

    r2840 r2842  
    3636       !strncmp(name, "bayer:", 6))
    3737        ret = pipi_load_stock(name);
     38
     39    if(!ret)
     40        ret = pipi_load_oric(name);
    3841
    3942#if USE_IMLIB2
     
    9295#endif
    9396
     97    if(!ret)
     98        ret = pipi_save_oric(img, name);
     99
    94100    return ret;
    95101}
  • libpipi/trunk/pipi/pipi_internals.h

    r2840 r2842  
    8686#endif
    8787
     88pipi_image_t *pipi_load_oric(const char *name);
     89int pipi_save_oric(pipi_image_t *img, const char *name);
     90
    8891#endif /* __PIPI_INTERNALS_H__ */
    8992
Note: See TracChangeset for help on using the changeset viewer.