misc/libfreetype/src/gzip/infblock.h
author nemo
Thu, 28 Feb 2013 23:15:33 -0500
changeset 8617 e7bea88096d2
parent 5172 88f2e05288ba
permissions -rw-r--r--
So. A while ago, while trying to prevent hogs blowtorching getting turned around, unc0rr altered the old range of blowtorch from 1/8th of 180° up or down, to a 4° gain in upwards and a -4° loss in downwards. He also made it so that starting tunnels could fail to erase sufficient terrain, trapping hogs. Here are a couple of workarounds to more closely approximate old behaviour (do some initial erasure, adjust min/max angles)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5172
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     1
/* infblock.h -- header to use infblock.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     2
 * Copyright (C) 1995-2002 Mark Adler
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     3
 * For conditions of distribution and use, see copyright notice in zlib.h
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     4
 */
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     5
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     6
/* WARNING: this file should *not* be used by applications. It is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     7
   part of the implementation of the compression library and is
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     8
   subject to change. Applications should only use zlib.h.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     9
 */
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    10
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    11
#ifndef _INFBLOCK_H
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    12
#define _INFBLOCK_H
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    13
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    14
struct inflate_blocks_state;
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    15
typedef struct inflate_blocks_state FAR inflate_blocks_statef;
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    16
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    17
local  inflate_blocks_statef * inflate_blocks_new OF((
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    18
    z_streamp z,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    19
    check_func c,               /* check function */
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    20
    uInt w));                   /* window size */
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    21
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    22
local  int inflate_blocks OF((
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    23
    inflate_blocks_statef *,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    24
    z_streamp ,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    25
    int));                      /* initial return code */
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    26
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    27
local  void inflate_blocks_reset OF((
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    28
    inflate_blocks_statef *,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    29
    z_streamp ,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    30
    uLongf *));                  /* check value on output */
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    31
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    32
local  int inflate_blocks_free OF((
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    33
    inflate_blocks_statef *,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    34
    z_streamp));
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    35
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    36
#endif /* _INFBLOCK_H */