Project

General

Profile

Revision e3f69e61

IDe3f69e61ab9e6edabd24ed28559fd8eaebc4eec2

Added by Alex Zirbel about 12 years ago

Fixed up scoutsim package. Sorry.

View differences:

scout/scoutsim/src/sim_frame.cpp
244 244

  
245 245
        M_Scout::iterator it = scouts.begin();
246 246
        M_Scout::iterator end = scouts.end();
247

  
248
        world_state state;
249
        state.canvas_width = width_in_meters;
250
        state.canvas_height = height_in_meters;
251

  
247 252
        for (; it != end; ++it)
248 253
        {
249 254
            it->second->update(0.016, path_dc, path_image,
250 255
                               path_dc.GetBackground().GetColour(),
251
                               width_in_meters, height_in_meters);
256
                               state);
252 257
        }
253 258

  
254 259
        frame_count++;

Also available in: Unified diff