--- childsplay	2009-02-18 19:57:06.000000000 +0100
+++ childsplay	2009-02-27 23:18:38.000000000 +0100
@@ -313,7 +313,7 @@
         self.img = self.fireR
         self.letter = letter
         self.x = x
-        self.y = 600
+        self.y = PIXY
         self.speed = 15
         self.height = 100
         self.rect = self.fireL.get_rect()
@@ -323,7 +323,7 @@
         """ To be called from the eventloop, when the height is reached the img attr. is
           changed to the letter attr. This way the eventloop is displaying the letter"""
         if self.y <= self.height:
-            self.y = 600
+            self.y = PIXY
             Snd.rocket.stop()
             self.sndboom.play()
             self.img = self.letter
@@ -470,8 +470,8 @@
         print "highscore locale",LOCALE_RTL,STDLOC
         sheet = self.get_score(name)
         self.sdim.dim(darken_factor=255,color_filter=(0,0,0))
-        temp_back = pygame.Surface((800,500))
-        temp_back.blit(self.screen,(0,0),(0,0,800,500))
+        temp_back = pygame.Surface((PIXX,PIXY-100))
+        temp_back.blit(self.screen,(0,0),(0,0,PIXX,PIXY-100))
         #self._score_eyecandy(temp_back)
         pygame.display.update(self.screen.blit(self.bal_l_img,(0,0)))
         pygame.display.update(self.screen.blit(self.bal_r_img,(665,0)))
@@ -544,8 +544,8 @@
         self.score = 0
                     
     def setup(self):
-        x = 800
-        y = 600
+        x = PIXX
+        y = PIXY
         self.y = y
         self.x = x
         #print "setup fullscreen>",fullscr
@@ -594,7 +594,7 @@
         
         ST_size = 24
         self.scorething = ScoreThing(ST_size,(0,255,0))
-        self.scorething_place = (600,y-60)
+        self.scorething_place = (PIXY,y-60)
         self.backgr.blit(self.scorething.update(),self.scorething_place)
         
         self.screen.blit(self.backgr, (0, 0))
@@ -768,8 +768,8 @@
         surf = self.scorething.update(score)
         pygame.display.update(self.screen.blit(surf,self.scorething_place))
         self.backgr.blit(surf,self.scorething_place)
-        self.screen.set_clip(0,0,800,500)
-        self.backgr.set_clip(0,0,800,500)
+        self.screen.set_clip(0,0,PIXX,PIXY-100)
+        self.backgr.set_clip(0,0,PIXX,PIXY-100)
 
     def show_score(self,name):
         """ Display a hall-of-fame, this uses methods from the Score class and the help method.
@@ -956,8 +956,8 @@
                 plug_rcdic = {}
                 
             obj = game_module.Game
-            c.screen.set_clip(0,0,800,500)
-            c.backgr.set_clip(0,0,800,500)
+            c.screen.set_clip(0,0,PIXX,PIXY-100)
+            c.backgr.set_clip(0,0,PIXX,PIXY-100)
             
             game = apply(obj,(c.screen,c.backgr,\
                         plug_rcdic,BASEDIR,MODULESDATADIR,\
@@ -987,8 +987,8 @@
                 for i in items: 
                     #print 'i',i
                     stop = 0
-                    c.screen.set_clip(0,0,800,500)
-                    c.backgr.set_clip(0,0,800,500)
+                    c.screen.set_clip(0,0,PIXX,PIXY-100)
+                    c.backgr.set_clip(0,0,PIXX,PIXY-100)
                     game.start(l,i)
                     stop,score = c.mainloop(game)
                     
--- utils.py	2009-02-27 19:09:33.000000000 +0100
+++ utils.py	2009-02-27 23:13:44.000000000 +0100
@@ -25,6 +25,9 @@
 
 UT_DEBUG = 1
 
+PIXX=800
+PIXY=480
+
 class MyError(Exception):
     name = None
     line = None
--- splash.py	2009-02-27 21:07:23.000000000 +0100
+++ splash.py	2009-02-27 23:13:44.000000000 +0100
@@ -22,11 +22,11 @@
 
 import pygame,os,sys
 pygame.init()
-scr = pygame.display.set_mode((800,600))
 
 from threading import Thread
-from utils import trace_error,load_image,load_music
+from utils import trace_error,load_image,load_music,PIXX,PIXY
 from CPConstants import DATADIR
+scr = pygame.display.set_mode((PIXX,PIXY))
 
 
 class Worker:
--- childsplay.py	2009-02-27 22:46:03.000000000 +0100
+++ childsplay.py	2009-02-27 23:18:38.000000000 +0100
@@ -313,7 +313,7 @@
         self.img = self.fireR
         self.letter = letter
         self.x = x
-        self.y = 600
+        self.y = PIXY
         self.speed = 15
         self.height = 100
         self.rect = self.fireL.get_rect()
@@ -323,7 +323,7 @@
         """ To be called from the eventloop, when the height is reached the img attr. is
           changed to the letter attr. This way the eventloop is displaying the letter"""
         if self.y <= self.height:
-            self.y = 600
+            self.y = PIXY
             Snd.rocket.stop()
             self.sndboom.play()
             self.img = self.letter
@@ -470,8 +470,8 @@
         print "highscore locale",LOCALE_RTL,STDLOC
         sheet = self.get_score(name)
         self.sdim.dim(darken_factor=255,color_filter=(0,0,0))
-        temp_back = pygame.Surface((800,500))
-        temp_back.blit(self.screen,(0,0),(0,0,800,500))
+        temp_back = pygame.Surface((PIXX,PIXY-100))
+        temp_back.blit(self.screen,(0,0),(0,0,PIXX,PIXY-100))
         #self._score_eyecandy(temp_back)
         pygame.display.update(self.screen.blit(self.bal_l_img,(0,0)))
         pygame.display.update(self.screen.blit(self.bal_r_img,(665,0)))
@@ -544,8 +544,8 @@
         self.score = 0
                     
     def setup(self):
-        x = 800
-        y = 600
+        x = PIXX
+        y = PIXY
         self.y = y
         self.x = x
         #print "setup fullscreen>",fullscr
@@ -594,7 +594,7 @@
         
         ST_size = 24
         self.scorething = ScoreThing(ST_size,(0,255,0))
-        self.scorething_place = (600,y-60)
+        self.scorething_place = (PIXY,y-60)
         self.backgr.blit(self.scorething.update(),self.scorething_place)
         
         self.screen.blit(self.backgr, (0, 0))
@@ -768,8 +768,8 @@
         surf = self.scorething.update(score)
         pygame.display.update(self.screen.blit(surf,self.scorething_place))
         self.backgr.blit(surf,self.scorething_place)
-        self.screen.set_clip(0,0,800,500)
-        self.backgr.set_clip(0,0,800,500)
+        self.screen.set_clip(0,0,PIXX,PIXY-100)
+        self.backgr.set_clip(0,0,PIXX,PIXY-100)
 
     def show_score(self,name):
         """ Display a hall-of-fame, this uses methods from the Score class and the help method.
@@ -956,8 +956,8 @@
                 plug_rcdic = {}
                 
             obj = game_module.Game
-            c.screen.set_clip(0,0,800,500)
-            c.backgr.set_clip(0,0,800,500)
+            c.screen.set_clip(0,0,PIXX,PIXY-100)
+            c.backgr.set_clip(0,0,PIXX,PIXY-100)
             
             game = apply(obj,(c.screen,c.backgr,\
                         plug_rcdic,BASEDIR,MODULESDATADIR,\
@@ -987,8 +987,8 @@
                 for i in items: 
                     #print 'i',i
                     stop = 0
-                    c.screen.set_clip(0,0,800,500)
-                    c.backgr.set_clip(0,0,800,500)
+                    c.screen.set_clip(0,0,PIXX,PIXY-100)
+                    c.backgr.set_clip(0,0,PIXX,PIXY-100)
                     game.start(l,i)
                     stop,score = c.mainloop(game)
                     
