mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-30 08:34:16 +01:00
[re]define masks for different format dawgs
This commit is contained in:
parent
240b314ff8
commit
68a575d9e7
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
|
* bit that's overflow from the highByte field allowing indices to be in
|
||||||
* the range 0-(2^^17)-1
|
* the range 0-(2^^17)-1
|
||||||
*/
|
*/
|
||||||
#define LETTERMASK 0x1f
|
#define LETTERMASK_OLD 0x1f
|
||||||
#define ACCEPTINGMASK 0x20
|
#define ACCEPTINGMASK_OLD 0x20
|
||||||
#define LASTEDGEMASK 0x40
|
#define LASTEDGEMASK_OLD 0x40
|
||||||
#define LASTBITMASK 0x80
|
#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 {
|
typedef struct array_edge_old {
|
||||||
XP_U8 highByte;
|
XP_U8 highByte;
|
||||||
|
|
Loading…
Add table
Reference in a new issue