summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2022-04-13 05:49:58 +0200
committerLouis Burda <quent.burda@gmail.com>2022-10-07 16:01:10 +0200
commit77139d9a2c55c6ec4fb9b0a8e82352e6775fcb8a (patch)
tree68d686f7f9b96d87e82bdc89db5f0c8d86d10dd9
parentc592a9acbdccccf84009de2e0d68d0fca2d7a2d3 (diff)
downloadwinpl-77139d9a2c55c6ec4fb9b0a8e82352e6775fcb8a.tar.gz
winpl-77139d9a2c55c6ec4fb9b0a8e82352e6775fcb8a.zip
Adjusted loader arg names and added screen vars
-rw-r--r--loader.c22
1 files changed, 12 insertions, 10 deletions
diff --git a/loader.c b/loader.c
index 60802fd..2b6e6f4 100644
--- a/loader.c
+++ b/loader.c
@@ -18,18 +18,20 @@ static void write_lib(const char *filename);
static bool parse_arg(const char *arg);
static const char *conv[][2] = {
- { "wx:", "WINPL_WX" },
- { "wy:", "WINPL_WY" },
- { "rwx:", "WINPL_RWX" },
- { "rwy:", "WINPL_RWY" },
- { "mwx:", "WINPL_MWX" },
- { "mwy:", "WINPL_MWY" },
- { "ww:", "WINPL_WW" },
- { "wh:", "WINPL_WH" },
- { "rww:", "WINPL_RWW" },
- { "rwh:", "WINPL_RWH" },
+ { "ax:", "WINPL_WX" },
+ { "ay:", "WINPL_WY" },
+ { "rx:", "WINPL_RWX" },
+ { "ry:", "WINPL_RWY" },
+ { "x:", "WINPL_MWX" },
+ { "y:", "WINPL_MWY" },
+ { "w:", "WINPL_WW" },
+ { "h:", "WINPL_WH" },
+ { "rw:", "WINPL_RWW" },
+ { "rh:", "WINPL_RWH" },
{ "center", "WINPL_CENTER" },
{ "float", "WINPL_FLOAT" },
+ { "screen:", "WINPL_SCREEN_NUM" },
+ { "pointer", "WINPL_SCREEN_PTR" },
};
void