summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2019-01-30 21:43:44 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2019-01-30 21:43:44 +0100
commit058313fff11605da8ee58f621a4fa8237feec705 (patch)
tree702a6df23efd7a3aae347ede99425765e169d8d1
parentc6a71273e34787e940f77622d4e64cc1cae57428 (diff)
downloadtermgl-058313fff11605da8ee58f621a4fa8237feec705.tar.gz
Minor fixes
-rw-r--r--.gitignore1
-rw-r--r--Readme.md4
-rw-r--r--cObject.cpp1
3 files changed, 4 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index d1b97a1..8bbe648 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
*.o
+*.so*
build/*
bin/*
version.h
diff --git a/Readme.md b/Readme.md
index 16428b5..7616f6a 100644
--- a/Readme.md
+++ b/Readme.md
@@ -1,7 +1,7 @@
[![Build Status](https://travis-ci.org/kompetenzbolzen/engine.svg?branch=master)](https://travis-ci.org/kompetenzbolzen/engine)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/9b19f9f7a8d241368f6ee640d824b293)](https://www.codacy.com/app/kompetenzbolzen/engine?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=kompetenzbolzen/engine&amp;utm_campaign=Badge_Grade)
-# Compiling
+## Compiling
engine should compile just fine with just the c++ standard librarys.
Required Packages:
@@ -11,7 +11,7 @@ Required Packages:
this creates two folders in ./build/: lib and inc, wich hold the library and the headers respectively. these can then be copied into your projects directory.
-# Using
+## Using
Compile your program with linkerflags:
diff --git a/cObject.cpp b/cObject.cpp
index 118fe6f..8f9f6fa 100644
--- a/cObject.cpp
+++ b/cObject.cpp
@@ -4,6 +4,7 @@ cObject::cObject(int _sx, int _sy)
{
bSizeSet = false;
+ pos = {0,0};
setSize(_sx, _sy);
}