#define DEFAULT_Y_SEG 50
#define DEFAULT_Z_SEG 100
-#define DEFAULT_SLOPE_CC 1
-#define DEFAULT_START_CC 0
+#define DEFAULT_SLOPE_NEL 1
+#define DEFAULT_START_NEL 0
+
+#define DEFAULT_STEPS 5000
/* program defines, dont touch ;) */
#define DEBUG 0
#endif
+#define URAND_MAX 0xffffffff
+
+typedef unsigned int u32;
+typedef long long unsigned int u64;
+
#define printfd(fmt,args...) if(DEBUG) printf(fmt,##args);
+/* segment struct
+ *
+ * not used by now
+ */
+struct __segment
+{
+ u32 status; /* C concentration */
+}
+
+/* masks for u32 segments */
+#define AMORPH 0x00000001
+#define CRYSTAL 0x00000000
+#define C_CONC_MASK 0xfffffffe
+