# HG changeset patch # User Jeremy Thurgood # Date 1283871951 -7200 # Node ID 3e91c82c224028a4e981b8aeaf12156f7d063d18 # Parent 26f9b4d10e3ea93250358eaa3c4277b7713607ea Removed superfluous SIZE attribute on Scene. diff -r 26f9b4d10e3e -r 3e91c82c2240 gamelib/scenes/bridge.py --- a/gamelib/scenes/bridge.py Tue Sep 07 13:45:07 2010 +0200 +++ b/gamelib/scenes/bridge.py Tue Sep 07 17:05:51 2010 +0200 @@ -358,8 +358,6 @@ BACKGROUND = 'chair_detail.png' NAME = 'chair_detail' - SIZE = (300, 300) - def __init__(self, state): super(ChairDetail, self).__init__(state) self.add_thing(SuperconductorThing()) @@ -523,8 +521,6 @@ FOLDER = 'bridge' NAME = 'bridge_comp_detail' - SIZE = (640, 400) - ALERT_BASE = 'comp_alert_base.png' ALERTS = { 'ai looping' : 'comp_alert_ai_looping.png', diff -r 26f9b4d10e3e -r 3e91c82c2240 gamelib/scenes/cryo.py --- a/gamelib/scenes/cryo.py Tue Sep 07 13:45:07 2010 +0200 +++ b/gamelib/scenes/cryo.py Tue Sep 07 17:05:51 2010 +0200 @@ -476,8 +476,6 @@ BACKGROUND_FIXED = "comp_info_detail_fixed.png" NAME = "cryo_comp_detail" - SIZE = (640, 400) - def __init__(self, state): super(CryoCompDetail, self).__init__(state) self._background_fixed = get_image(self.FOLDER, self.BACKGROUND_FIXED) @@ -495,8 +493,6 @@ BACKGROUND = "cryo_unit_detail.png" NAME = "cryo_detail" - SIZE = (300, 300) - def __init__(self, state): super(CryoUnitWithCorpse, self).__init__(state) self.add_thing(TitaniumLegThing()) diff -r 26f9b4d10e3e -r 3e91c82c2240 gamelib/scenes/engine.py --- a/gamelib/scenes/engine.py Tue Sep 07 13:45:07 2010 +0200 +++ b/gamelib/scenes/engine.py Tue Sep 07 17:05:51 2010 +0200 @@ -514,8 +514,6 @@ BACKGROUND = "engine_comp_detail.png" NAME = "engine_comp_detail" - SIZE = (640, 400) - ALERTS = { 'cryo leaking' : 'ec_cryo_leaking.png', 'cryo empty' : 'ec_cryo_reservoir_empty.png', diff -r 26f9b4d10e3e -r 3e91c82c2240 gamelib/state.py --- a/gamelib/state.py Tue Sep 07 13:45:07 2010 +0200 +++ b/gamelib/state.py Tue Sep 07 17:05:51 2010 +0200 @@ -247,9 +247,6 @@ # Offset of the background image OFFSET = (0, 0) - # size (for detail views) - SIZE = constants.SCENE_SIZE - def __init__(self, state): StatefulGizmo.__init__(self) # scene name