aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jonas <himself@jonasgunz.de> 2019-01-25 16:36:31 +0100
committerGravatar jonas <himself@jonasgunz.de> 2019-01-25 16:36:31 +0100
commitec1b2201715adb0dba941bdb0d7d11c42e7d2f6b (patch)
tree7577c8f4531b7cc2aba283eecd3773fa651f06ed
parent8e4e732b3c234f33759e1415b6b1418b071b587b (diff)
downloadtermgl-ec1b2201715adb0dba941bdb0d7d11c42e7d2f6b.tar.gz
Travis integration, minor fixes
-rw-r--r--.travis.yml1
-rw-r--r--cInput.h2
-rw-r--r--cObjectHandler.cpp2
3 files changed, 4 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..396992a
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1 @@
+language: cpp
diff --git a/cInput.h b/cInput.h
index e0d1632..49d13b7 100644
--- a/cInput.h
+++ b/cInput.h
@@ -30,7 +30,7 @@ struct sInputEvent
unsigned int type;
unsigned char c;
unsigned int b;
- unsigned int x, y;
+ int x, y;
};
class cInput
diff --git a/cObjectHandler.cpp b/cObjectHandler.cpp
index d88af92..dba0b77 100644
--- a/cObjectHandler.cpp
+++ b/cObjectHandler.cpp
@@ -228,4 +228,6 @@ int cObjectHandler::rotateWiremesh(int _mesh, sCoord3d _angle)
return 1;
meshes[_mesh]->rotate(_angle);
+
+ return 0;
}