Changeset 427


Ignore:
Timestamp:
12/04/09 11:48:05 (10 years ago)
Author:
barra_parpg
Message:

Patch by mvbarracuda:

  • Added missing TopLayer? to map2.xml to avoid crash
  • All maps need to feature a TopLayer? right now as the blending code expects it; we should consider adding some kind of safeguard in the blending code against missing TopLayers? on maps
Location:
trunk/game/maps
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/game/maps/map2.xml

    r391 r427  
    10091009                <instances> 
    10101010                        <i id="shanty-door01" is_open="False" locked="None" name="Shanty Door" o="shanty-door" object_type="ShantyDoor" r="0" target_map="maps/map.xml" target_map_name="main-map" target_x="5.0" target_y="5.0" text="Looks like the entrance to the building." x="-2.0" y="6.0" z="0.0" /> 
    1011                         </instances> 
     1011                </instances> 
    10121012        </layer> 
    10131013 
     1014        <layer grid_type="square" id="TopLayer" pathing="cell_edges_only" rotation="0.0" transparency="0" x_offset="0.0" x_scale="1.0" y_offset="0.0" y_scale="1.0"> 
     1015                <instances> 
     1016                </instances> 
     1017        </layer> 
    10141018        <camera id="map2_camera" ref_cell_height="36" ref_cell_width="72" ref_layer_id="ObjectLayer" rotation="45.0" tilt="-60.0" zoom="1.0" /> 
    10151019</map> 
  • trunk/game/maps/techdemo1_ground_level.xml

    r425 r427  
    6265062650        <layer grid_type="square" id="TopLayer" pathing="cell_edges_only" rotation="0.0" transparency="0" x_offset="0.0" x_scale="1.0" y_offset="0.0" y_scale="1.0"> 
    6265162651                <instances> 
    62652                         <i id="archway" o="archway_gate" r="0" x="-27.0" y="-53.0" z="0.0" /> 
    62653                         </instances> 
     62652                </instances> 
    6265462653        </layer> 
    6265562654 
Note: See TracChangeset for help on using the changeset viewer.