code cleaning

This commit is contained in:
Stev 2018-12-25 16:35:25 +00:00
parent 8855e91de7
commit 99e1c77bb6
2 changed files with 35 additions and 38 deletions

View File

@ -10,20 +10,17 @@
//#include < physics_dynamic > //#include < physics_dynamic >
/* ** Definitions ** */ /* ** Definitions ** */
#define POCKET_RADIUS 0.09 #define POCKET_RADIUS ( 0.09 )
#define POOL_TIMER_SPEED 30 #define POOL_TIMER_SPEED ( 30 )
#define DEFAULT_AIM 0.38 #define DEFAULT_AIM ( 0.38 )
#define DEFAULT_POOL_STRING "Pool Table\n{FFFFFF}Press ENTER To Play" #define DEFAULT_POOL_STRING "Pool Table\n{FFFFFF}Press ENTER To Play"
#define POOL_FEE_RATE 0.02 #define POOL_FEE_RATE ( 0.02 )
#define MAX_POOL_TABLES 48 #define MAX_POOL_TABLES ( 48 )
#define MAX_POOL_BALLS ( 16 ) // do not modify #define MAX_POOL_BALLS ( 16 ) // do not modify
//#define DIALOG_POOL_WAGER 3284
/* ** Macros ** */ /* ** Macros ** */
#define SendPoolMessage(%0,%1) \ #define SendPoolMessage(%0,%1) SendClientMessageFormatted(%0, -1, "{4B8774}[POOL] {E5861A}" # %1)
SendClientMessageFormatted(%0, -1, "{4B8774}[POOL] {E5861A}" # %1)
/* ** Constants (do not modify) ** */ /* ** Constants (do not modify) ** */
enum E_POOL_BALL_TYPE { enum E_POOL_BALL_TYPE {