misc/libphyslayer/hwpacksmounter.h
author nemo
Thu, 28 Feb 2013 23:15:33 -0500
changeset 8617 e7bea88096d2
parent 8524 a65e9bcf0a03
child 8978 e6ef8fe314bd
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:
8052
845b5ae03841 Mount .hwt files found in Data folder
unc0rr
parents:
diff changeset
     1
#ifndef HEDGEWARS_PACKAGES_MOUNTER_H
845b5ae03841 Mount .hwt files found in Data folder
unc0rr
parents:
diff changeset
     2
#define HEDGEWARS_PACKAGES_MOUNTER_H
845b5ae03841 Mount .hwt files found in Data folder
unc0rr
parents:
diff changeset
     3
8119
257ffa847aa2 physfs: no carbon depency on osx, add cdecl attributes on extra functions
koda
parents: 8052
diff changeset
     4
#include "physfs.h"
257ffa847aa2 physfs: no carbon depency on osx, add cdecl attributes on extra functions
koda
parents: 8052
diff changeset
     5
8052
845b5ae03841 Mount .hwt files found in Data folder
unc0rr
parents:
diff changeset
     6
#ifdef __cplusplus
845b5ae03841 Mount .hwt files found in Data folder
unc0rr
parents:
diff changeset
     7
extern "C" {
845b5ae03841 Mount .hwt files found in Data folder
unc0rr
parents:
diff changeset
     8
#endif
845b5ae03841 Mount .hwt files found in Data folder
unc0rr
parents:
diff changeset
     9
8119
257ffa847aa2 physfs: no carbon depency on osx, add cdecl attributes on extra functions
koda
parents: 8052
diff changeset
    10
PHYSFS_DECL void hedgewarsMountPackages();
8052
845b5ae03841 Mount .hwt files found in Data folder
unc0rr
parents:
diff changeset
    11
845b5ae03841 Mount .hwt files found in Data folder
unc0rr
parents:
diff changeset
    12
845b5ae03841 Mount .hwt files found in Data folder
unc0rr
parents:
diff changeset
    13
#ifdef __cplusplus
845b5ae03841 Mount .hwt files found in Data folder
unc0rr
parents:
diff changeset
    14
}
845b5ae03841 Mount .hwt files found in Data folder
unc0rr
parents:
diff changeset
    15
#endif
845b5ae03841 Mount .hwt files found in Data folder
unc0rr
parents:
diff changeset
    16
845b5ae03841 Mount .hwt files found in Data folder
unc0rr
parents:
diff changeset
    17
#endif