X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Ftypes.h;h=0c935a21efd2d6e78e4304559643a74b251312d9;hb=HEAD;hp=9fb00ec7f09b2719be6f79991ea4e3960bd81381;hpb=c8689f0335cd584d24570046c6eb5a3b75701305;p=rocksndiamonds.git diff --git a/src/libgame/types.h b/src/libgame/types.h index 9fb00ec7..0c935a21 100644 --- a/src/libgame/types.h +++ b/src/libgame/types.h @@ -41,11 +41,11 @@ typedef unsigned char byte; #define AUTO -1 #ifndef MIN -#define MIN(a,b) ((a) < (b) ? (a) : (b)) +#define MIN(a, b) ((a) < (b) ? (a) : (b)) #endif #ifndef MAX -#define MAX(a,b) ((a) > (b) ? (a) : (b)) +#define MAX(a, b) ((a) > (b) ? (a) : (b)) #endif #ifndef ABS @@ -76,4 +76,11 @@ struct ListNode }; typedef struct ListNode ListNode; +struct DelayCounter +{ + unsigned int value; + unsigned int count; +}; +typedef struct DelayCounter DelayCounter; + #endif // TYPES_H