X-Git-Url: https://harrygodden.com/git/?p=fishladder.git;a=blobdiff_plain;f=vg_config.h;fp=vg_config.h;h=b52f1a4b340150669de59dc347135c8412fdae7a;hp=0000000000000000000000000000000000000000;hb=30490c4c08d5c0f811017a901aa9e25a95be7c40;hpb=3363633178b1eea582304742ad1202487af0feb1 diff --git a/vg_config.h b/vg_config.h new file mode 100644 index 0000000..b52f1a4 --- /dev/null +++ b/vg_config.h @@ -0,0 +1,32 @@ +// Copyright (C) 2021 Harry Godden (hgn) - All Rights Reserved + +static struct button_binding vg_button_binds[] = +{ + { .name = "primary", .bind = GLFW_MOUSE_BUTTON_LEFT }, + { .name = "secondary", .bind = GLFW_MOUSE_BUTTON_RIGHT }, + { .name = "tertiary", .bind = GLFW_MOUSE_BUTTON_MIDDLE }, + { .name = "noclip", .bind = GLFW_KEY_V }, + { .name = "go", .bind = GLFW_KEY_SPACE }, + { .name = "prev", .bind = GLFW_KEY_N }, + { .name = "next", .bind = GLFW_KEY_M } +}; + +static struct axis_binding vg_axis_binds[] = +{ + { .name = "primary", .positive = GLFW_MOUSE_BUTTON_LEFT, .negative = -1 }, + { .name = "secondary", .positive = GLFW_MOUSE_BUTTON_RIGHT, .negative = -1 }, + { .name = "horizontal", .positive = GLFW_KEY_D, .negative = GLFW_KEY_A }, + { .name = "vertical", .positive = GLFW_KEY_W, .negative = GLFW_KEY_S } +}; + +static struct vg_achievement vg_achievements[] = +{ + { .name = "CAN_DO_THAT" }, + { .name = "TUTORIALS" }, + { .name = "GRADUATE" }, + { .name = "BANG" }, + { .name = "GOOD_ENOUGH" }, + { .name = "MIGHTY_CONSUMER" }, + { .name = "SQUEEZE" }, + { .name = "MASTER_ENGINEER" } +};