Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/activity.py
diff options
context:
space:
mode:
Diffstat (limited to 'activity.py')
-rw-r--r--activity.py38
1 files changed, 38 insertions, 0 deletions
diff --git a/activity.py b/activity.py
new file mode 100644
index 0000000..4243485
--- /dev/null
+++ b/activity.py
@@ -0,0 +1,38 @@
+# -*- coding: UTF-8 -*-
+#
+# Copyright (C) 2007 by ULPM: Alexandre Yukio Harano
+# Fábio Cassarotti Parronchi Navarro
+# Gabriel Geraldo França Marcondes
+# Luiz Carlos Irber Júnior
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+import sys
+import os.path
+
+# add the libs subdir to the path
+basedir = os.path.abspath(os.curdir)
+libdir = os.path.join(basedir, "libs")
+
+sys.path.insert(0, libdir)
+
+import logging
+
+from olpcgames import activity
+
+class GambiarraActivity(activity.PyGameActivity):
+ game_name = 'gambiarra:main'
+ game_title = "Gambiarra"
+ game_size = (1200, 900)