~silwol/freenukum/trunk

« back to all changes in this revision

Viewing changes to src/fn_level.c

  • Committer: Wolfgang Silbermayr
  • Date: 2009-02-19 10:53:10 UTC
  • Revision ID: wolfgang@silbermayr.at-20090219105310-luu62zj5a39jdd5e
Renaming FnTile to FnTexture.

Show diffs side-by-side

added added

removed removed

Lines of Context:
774
774
 
775
775
  Uint16 y = 0;
776
776
  Uint16 x = 0;
777
 
  FnTile * tile = NULL;
 
777
  FnTexture * tile = NULL;
778
778
  for (y = 0; y < FN_LEVEL_HEIGHT; y++) {
779
779
    for (x = 0; x < FN_LEVEL_WIDTH; x++) {
780
780
      tilenr = fn_level_get_tile(lv, x, y);
783
783
        r.x = x * FN_TILE_WIDTH * pixelsize;
784
784
        r.y = y * FN_TILE_WIDTH * pixelsize;
785
785
        tile = fn_environment_get_tile(env, tilenr);
786
 
        fn_tile_blit_to_sdl_surface(tile, NULL, lv->surface_fixed, &r);
 
786
        fn_texture_blit_to_sdl_surface(tile, NULL, lv->surface_fixed, &r);
787
787
      }
788
788
    }
789
789
  }