aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
Diffstat (limited to 'example')
-rw-r--r--example/3d.cpp2
-rw-r--r--example/collision.cpp2
-rw-r--r--example/pong.cpp4
-rw-r--r--example/test.cpp2
4 files changed, 4 insertions, 6 deletions
diff --git a/example/3d.cpp b/example/3d.cpp
index 11a2d3d..e488da1 100644
--- a/example/3d.cpp
+++ b/example/3d.cpp
@@ -39,7 +39,7 @@ private:
int main(int argc, char* argv[])
{
- cRender render(' ', _COL_DEFAULT, 30,30);
+ cRender render(' ', _COL_DEFAULT);
cObjectHandler handler(&render);
cObject ver(45,1);
cWiremesh obj;
diff --git a/example/collision.cpp b/example/collision.cpp
index 4084809..e46c423 100644
--- a/example/collision.cpp
+++ b/example/collision.cpp
@@ -47,7 +47,7 @@ private:
int main(int argc, char* argv[])
{
- cRender render(' ', _COL_DEFAULT, 30,30);
+ cRender render(' ', _COL_DEFAULT);
cObjectHandler handler(&render);
cObject ver(45,1);
testobject obj2;
diff --git a/example/pong.cpp b/example/pong.cpp
index a42bb55..4524869 100644
--- a/example/pong.cpp
+++ b/example/pong.cpp
@@ -22,7 +22,6 @@ public:
sPos getV() { return v; }
private:
sPos v;
-
};
class bar : public cObject
@@ -50,7 +49,7 @@ public:
int main()
{
- cRender render(' ', _COL_DEFAULT, 10,10);
+ cRender render(' ', _COL_DEFAULT);
cObjectHandler screen(&render);
cInput input;
@@ -91,7 +90,6 @@ int main()
while(1)
{
-
sInputEvent ie = input.poll();
if(ie.type != _EVENT_NULL)
diff --git a/example/test.cpp b/example/test.cpp
index ca6f38e..7c1e3a0 100644
--- a/example/test.cpp
+++ b/example/test.cpp
@@ -39,7 +39,7 @@ public:
int main()
{
- cRender render(' ', _COL_DEFAULT, 10,10);
+ cRender render(' ', _COL_DEFAULT);
cObjectHandler screen(&render);
cInput input;