Skip to content
Snippets Groups Projects
  • Monster Iestyn's avatar
    8cad9a6d
    We can compile the slopes code now, yay! My brain hurts. · 8cad9a6d
    Monster Iestyn authored and colette's avatar colette committed
    Compiling errors fixed in this commit:
    * Various cases of mixed declaration and statement code
    * Implicit declaration of slope functions (read: you forgot to put "include "p_slopes.h" in MORE than a few places)
    * an odd case of a bad fixed_t to float typecase, cause by using P_GetZAt directly inside FIXED_TO_FLOAT
    * a few minor cases of bad unsigned-signed comparisons
    * no prototypes for some of the new slope functions. For goodness sake Red, this is basic stuff!
    8cad9a6d
    History
    We can compile the slopes code now, yay! My brain hurts.
    Monster Iestyn authored and colette's avatar colette committed
    Compiling errors fixed in this commit:
    * Various cases of mixed declaration and statement code
    * Implicit declaration of slope functions (read: you forgot to put "include "p_slopes.h" in MORE than a few places)
    * an odd case of a bad fixed_t to float typecase, cause by using P_GetZAt directly inside FIXED_TO_FLOAT
    * a few minor cases of bad unsigned-signed comparisons
    * no prototypes for some of the new slope functions. For goodness sake Red, this is basic stuff!