doom

a minimalistic implementation of doom
git clone git://ssnf.xyz/doom
Log | Files | Refs

m_bbox.h (239B)


      1 #ifndef __M_BBOX__
      2 #define __M_BBOX__
      3 
      4 #include <values.h>
      5 
      6 #include "m_fixed.h"
      7 
      8 enum {
      9     BOXTOP,
     10     BOXBOTTOM,
     11     BOXLEFT,
     12     BOXRIGHT
     13 };	
     14 
     15 void M_ClearBox(fixed_t* box);
     16 void M_AddToBox(fixed_t* box, fixed_t x, fixed_t y);
     17 
     18 #endif