diff options
author | aap <aap@papnet.eu> | 2019-06-16 21:41:58 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2019-06-16 21:41:58 +0200 |
commit | 71ac32cbd7c801eb0c8f9e487faf9c547f6361ce (patch) | |
tree | 32e3adfe12c1915a965740553c7cff8e32acb725 /src/common.h | |
parent | some cleanup (diff) | |
download | re3-71ac32cbd7c801eb0c8f9e487faf9c547f6361ce.tar re3-71ac32cbd7c801eb0c8f9e487faf9c547f6361ce.tar.gz re3-71ac32cbd7c801eb0c8f9e487faf9c547f6361ce.tar.bz2 re3-71ac32cbd7c801eb0c8f9e487faf9c547f6361ce.tar.lz re3-71ac32cbd7c801eb0c8f9e487faf9c547f6361ce.tar.xz re3-71ac32cbd7c801eb0c8f9e487faf9c547f6361ce.tar.zst re3-71ac32cbd7c801eb0c8f9e487faf9c547f6361ce.zip |
Diffstat (limited to '')
-rw-r--r-- | src/common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h index 9635f01e..a9055391 100644 --- a/src/common.h +++ b/src/common.h @@ -78,6 +78,8 @@ extern void **rwengine; #define HUD_STRETCH_X SCREEN_STRETCH_X_AR #define HUD_STRETCH_Y SCREEN_STRETCH_Y +#define HUD_FROM_RIGHT(a) (SCREEN_WIDTH - HUD_STRETCH_X(a)) +#define HUD_FROM_BOTTOM(a) (SCREEN_HEIGHT - HUD_STRETCH_Y(a)) struct GlobalScene { |