mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-17 18:12:01 +01:00
[re]define masks for different format dawgs
This commit is contained in:
parent
9cebba4153
commit
a4f9a4075a
1 changed files with 11 additions and 4 deletions
|
@ -29,10 +29,17 @@
|
|||
* bit that's overflow from the highByte field allowing indices to be in
|
||||
* the range 0-(2^^17)-1
|
||||
*/
|
||||
#define LETTERMASK 0x1f
|
||||
#define ACCEPTINGMASK 0x20
|
||||
#define LASTEDGEMASK 0x40
|
||||
#define LASTBITMASK 0x80
|
||||
#define LETTERMASK_OLD 0x1f
|
||||
#define ACCEPTINGMASK_OLD 0x20
|
||||
#define LASTEDGEMASK_OLD 0x40
|
||||
#define EXTRABITMASK_OLD 0x80
|
||||
|
||||
#define LETTERMASK_NEW_4 0x3f
|
||||
#define LETTERMASK_NEW_3 0x1f
|
||||
#define ACCEPTINGMASK_NEW 0x80
|
||||
#define LASTEDGEMASK_NEW 0x40
|
||||
/* This guy doesn't exist in 4-byte case */
|
||||
#define EXTRABITMASK_NEW 0x20
|
||||
|
||||
typedef struct array_edge_old {
|
||||
XP_U8 highByte;
|
||||
|
|
Loading…
Reference in a new issue