Include :
- aggiunte costanti per utensile scalpello (chisel).
This commit is contained in:
+5
-2
@@ -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) ;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user