#if !defined (VAR_DEFINITIONS)
#define VERSION_NUM_OF_XCORTER_PLOTTER 1.0
#define dt 0.01 	//Let's assume: t of 100 equals 1000ms. ( dt of 0.01 = 0.1 ms, or 1 = 10ms)
#define dtx0_5 0.002
#define SAMPLE_FRQ 30 //Sample the data and display every 30 iteration (not in time)
#define TH4AveBSD 0.03
#define MaxDC 1

#define SAC_TASK 1
#define FIX_TASK 2
#define OVR_TASK 3
#define SimDuration    300 // 3s=1sec (task) +2sec (rest)
#define EndOfDisplay    1000 // 1sec just for display setting
#define TGT_ONSET    10 // 100 ms
#define TGT_OFF      20 // 200 ms

#define trTau 0.001 //dt of 0.01*(1/"10"),  "10" ==>100 ms
#define CTxtrTau 0.01//
#define DAtrTau 0.03
#define slowT 0.00001
#define SimBeginT 0
#define centerX (X_resol/2)
#define centerY (Y_resol/2)
#define P_TH2GSD 0.25
#define SC_SacTH  0.7 //Eq. (26):  0.6
#define SC_TH4Fo  0.5 //Eq. (22):  0.4
#define SC_TH4Fp  0.4 //Eq. (15):  0.25.  This means Pxy-->SC-->Fp can drive the eye
#define SC_TH4GSI 0.  //Eq. (30):  0
							 //In Brown04, 
#define Fo_act_TH  0.4       //0.4 was used as a Hill's half point to excite P, SC, GSD and for all lateral competitions within Fo; 
#define Fo_act_TH4BSTN  0.5	 //0.5 was used to excite BSTN; 
#define Fo_act_TH4Rcrr  0.52	 //0.6 was used to suppress the Fo11 fixation-related neurons; 
							 
#define Th_TH4Fo 0.5  //Eq. (30):  0
#define FPAtr_TH 0.3
#define BSItr_TH 0.3

#define ECODE_MUST_EXIEST			0
#define ECODE_MUST_NOT_EXIEST		1
#define ONE_OF_ECODES_MUST_EXIEST	2

//##### Dispay mode message
#define RESIZING_WIN	1	
#define RENAMING_TITLE	2	
#define RENAMING_FIG	3	
#define RESCALING_AXES	4	
#define DISP_FILE_NAME	5	
#define REFRESH_SCREEN	6	
#define REDRAW_ALL_CONTENT	7	
#define REDRAW_ONE_FIG_CONTENT	8	

//#### File stuff
#define TOREAD		1	
#define NOT_TOREAD		0	

#define HOW_MANY_TRLS_TO_DISP 40 //The number of rasters displayed in a figure
#define MAX_TRLS_STORED_IN_FIG	(1000)//Maximum trials to be stored in m_Fig[][][]


#define MAX_CONTINUOUS_SDF_ms	10000//10 second	
#define MAX_NUM_ECODE 1000

//Screen
#define ViewMargin4FigsAlongEdges 1//This will let some room for the figures along the left and bottom edge of the view to display properly.


#endif //Of (VAR_DEFINITIONS)


