diff options
Diffstat (limited to 'pbank/common.h')
-rw-r--r-- | pbank/common.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/pbank/common.h b/pbank/common.h new file mode 100644 index 0000000..3f4a1c8 --- /dev/null +++ b/pbank/common.h @@ -0,0 +1,17 @@ +/* common.h -- those things we define often */ + +#define InRange(v,lo,hi) ((v)<=(hi)&&(v)>=(lo)) +#define MAXIUM(a,b) ((a)>(b)?(a):(b)) +#define MINIUM(a,b) ((a)<(b)?(a):(b)) + +#define RetKey 13 +#define EnterKey 3 +#define SpaceBar 32 +#define BackSpace 8 +#define BackSlash 0x5C +#define VertBar 0x7C +#define Grave 0x60 +#define Tilde 0x7E +#define TabKey 9 +#define ClearKey 27 +#define OptionSpace 202 |