summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2017-12-19 04:35:22 -0600
committerepoch <epoch@hacking.allowed.org>2017-12-19 04:35:22 -0600
commit99d562375c6bc467579854037e27a27997780c55 (patch)
tree26a2ea5ad68fd73ec06f83c8fcb38e5fe6d798c7
parent9902d5bf377c7fbeb94a8393aab1451f085718c8 (diff)
downloadhackvr-99d562375c6bc467579854037e27a27997780c55.tar.gz
hackvr-99d562375c6bc467579854037e27a27997780c55.zip
added empty functions to opengl
-rw-r--r--src/graphics_c2_opengl.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/graphics_c2_opengl.c b/src/graphics_c2_opengl.c
index 3429193..2104f78 100644
--- a/src/graphics_c2_opengl.c
+++ b/src/graphics_c2_opengl.c
@@ -88,6 +88,10 @@ void draw_c2_filled_shape(c2_s_t s) {
// glEnd();
}
+void set_ansi_color(int i) {
+ glColor3f(0.0, 1.0, 0.0);
+}
+
void set_color() {
glColor3f(0.0, 1.0, 0.0);
}
@@ -115,6 +119,18 @@ void red_and_blue_magic() {
}
+void draw_mode_copy() {
+
+}
+
+void draw_mode_and() {
+
+}
+
+void draw_mode_or() {
+
+}
+
void keypress_handler(unsigned char key, int x, int y) {//x and y are mouse positions.
switch (key) {
case 27: