From ec1b2201715adb0dba941bdb0d7d11c42e7d2f6b Mon Sep 17 00:00:00 2001 From: jonas Date: Fri, 25 Jan 2019 16:36:31 +0100 Subject: Travis integration, minor fixes --- .travis.yml | 1 + cInput.h | 2 +- cObjectHandler.cpp | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .travis.yml 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; } -- cgit v1.2.3