comparison engine/extensions/savers.py @ 356:ab41334e8a57

Added or1andov's code with a few adjustments to fix instance transparencies fixed[t:378] Added layer transparency support Added layer transparency to map editor
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Thu, 24 Sep 2009 18:24:47 +0000
parents dfd48d49c044
children
comparison
equal deleted inserted replaced
355:8b125ec749d7 356:ab41334e8a57
158 (None, 'y_scale'): str(cellgrid.getYScale()), 158 (None, 'y_scale'): str(cellgrid.getYScale()),
159 (None, 'rotation'): str(cellgrid.getRotation()), 159 (None, 'rotation'): str(cellgrid.getRotation()),
160 (None, 'x_offset'): str(cellgrid.getXShift()), 160 (None, 'x_offset'): str(cellgrid.getXShift()),
161 (None, 'y_offset'): str(cellgrid.getYShift()), 161 (None, 'y_offset'): str(cellgrid.getYShift()),
162 (None, 'pathing'): self.pathing_val_to_str(layer.getPathingStrategy()), 162 (None, 'pathing'): self.pathing_val_to_str(layer.getPathingStrategy()),
163 (None, 'transparency'): str(layer.getLayerTransparency()),
163 } 164 }
164 attr_names = { 165 attr_names = {
165 (None, 'id'): 'id', 166 (None, 'id'): 'id',
166 (None, 'grid_type'): 'grid_type', 167 (None, 'grid_type'): 'grid_type',
167 (None, 'scaling'): 'scaling', 168 (None, 'scaling'): 'scaling',