From 0bf442934b107fbae5ddb38fbd27adccb6a7b10e Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Fri, 3 Feb 2017 10:43:17 +0000 Subject: [PATCH] Include : - aggiunte costanti per utensile scalpello (chisel). --- EMkToolConst.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/EMkToolConst.h b/EMkToolConst.h index b71688f..8750cd6 100644 --- a/EMkToolConst.h +++ b/EMkToolConst.h @@ -21,7 +21,8 @@ const int TF_DRILLBIT = 0x0100 ; // 256 const int TF_SAWBLADE = 0x0200 ; // 512 const int TF_MILL = 0x0400 ; // 1024 const int TF_MORTISE = 0x0800 ; // 2048 -const int TF_COMPO = 0x1000 ; // 4096 +const int TF_CHISEL = 0x1000 ; // 4096 +const int TF_COMPO = 0x2000 ; // 8192 // Tipologie di utensili enum ToolType { TT_NONE = 0, @@ -32,7 +33,8 @@ enum ToolType { TT_MILL_STD = TF_MILL + 0, // 1024 TT_MILL_NOTIP = TF_MILL + 1, // 1025 TT_MORTISE_STD = TF_MORTISE + 0, // 2048 - TT_COMPO = TF_COMPO + 0 // 4096 + TT_CHISEL_STD = TF_CHISEL + 0, // 4096 + TT_COMPO = TF_COMPO + 0 // 8192 } ; // Controllo tipo valido bool inline IsValidToolType( int nType) @@ -41,6 +43,7 @@ bool inline IsValidToolType( int nType) nType == TT_SAW_STD || nType == TT_SAW_FLAT || nType == TT_MILL_STD || nType == TT_MILL_NOTIP || nType == TT_MORTISE_STD || + nType == TT_CHISEL_STD || nType == TT_COMPO) ; }