git.y1.nz

gbdk-2020

GameBoy Development Kit
download: https://git.y1.nz/archives/gbdk.tar.gz
README | Files | Log | Refs | LICENSE

gbdk-support/gbcompress/zx0/zx0_libsalvador.h

      1 /*
      2  * libsalvador.h - library definitions
      3  *
      4  * Copyright (C) 2021 Emmanuel Marty
      5  *
      6  * This software is provided 'as-is', without any express or implied
      7  * warranty.  In no event will the authors be held liable for any damages
      8  * arising from the use of this software.
      9  *
     10  * Permission is granted to anyone to use this software for any purpose,
     11  * including commercial applications, and to alter it and redistribute it
     12  * freely, subject to the following restrictions:
     13  *
     14  * 1. The origin of this software must not be misrepresented; you must not
     15  *    claim that you wrote the original software. If you use this software
     16  *    in a product, an acknowledgment in the product documentation would be
     17  *    appreciated but is not required.
     18  * 2. Altered source versions must be plainly marked as such, and must not be
     19  *    misrepresented as being the original software.
     20  * 3. This notice may not be removed or altered from any source distribution.
     21  */
     22 
     23 /*
     24  * Uses the libdivsufsort library Copyright (c) 2003-2008 Yuta Mori
     25  *
     26  * Implements the ZX0 encoding designed by Einar Saukas. https://github.com/einar-saukas/ZX0
     27  * Also inspired by Charles Bloom's compression blog. http://cbloomrants.blogspot.com/
     28  *
     29  */
     30 
     31 #ifndef _LIB_SALVADOR_H
     32 #define _LIB_SALVADOR_H
     33 
     34 #include "zx0_format.h"
     35 #include "zx0_shrink.h"
     36 #include "zx0_expand.h"
     37 
     38 #define FLG_IS_INVERTED  1       /**< Use inverted (V2) format */
     39 #define FLG_IS_BACKWARD  2       /**< Use backward encoding */
     40 
     41 #endif /* _LIB_SALVADOR_H */

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.