about summary refs log tree commit diff
path: root/src/Support.cpp
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2021-09-15 17:05:53 +0700
committerNguyễn Gia Phong <mcsinyx@disroot.org>2021-09-16 00:12:44 +0700
commit6bfeb5cbc20e3336d8e2a2147b02b380e2d50378 (patch)
tree37149c46c84da45411b1b7f3322397c77980fa2e /src/Support.cpp
parent662673fd3ceac4895769241c1b6836061738d46a (diff)
downloadblackshades-6bfeb5cbc20e3336d8e2a2147b02b380e2d50378.tar.gz
Tweak control system to mirror Overgrowth
Diffstat (limited to 'src/Support.cpp')
-rw-r--r--src/Support.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/Support.cpp b/src/Support.cpp
index fc2b0ac..f7e726a 100644
--- a/src/Support.cpp
+++ b/src/Support.cpp
@@ -21,20 +21,6 @@ int Random()
 #endif
 }
 
-void GetMouse(Point *p)
-{
-	double xpos, ypos;
-	glfwGetCursorPos(glfwGetCurrentContext(), &xpos, &ypos);
-	p->h = floor(xpos);
-	p->v = floor(ypos);
-}
-
-int Button(void)
-{
-	const auto window = glfwGetCurrentContext();
-	return glfwGetMouseButton(window, GLFW_MOUSE_BUTTON_LEFT) == GLFW_PRESS;
-}
-
 bool IsKeyDown(int key)
 {
 	const auto window = glfwGetCurrentContext();