~silwol/freenukum/trunk

« back to all changes in this revision

Viewing changes to src/fn_test_tilecache.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:
73
73
      tilenr = dst[i] - ' ' + FONT_ASCII_UPPERCASE;
74
74
    else
75
75
      tilenr = dst[i] - 'a' + FONT_ASCII_LOWERCASE;
76
 
    fn_tile_blit_to_sdl_surface(
 
76
    fn_texture_blit_to_sdl_surface(
77
77
        fn_environment_get_tile(env, tilenr),
78
78
        NULL,
79
79
        target,
182
182
    {
183
183
      r.x = (i+1) * FN_TILE_WIDTH * pixelsize;
184
184
      r.y = (j+1) * FN_TILE_HEIGHT * pixelsize;
185
 
      FnTile * tile =
 
185
      FnTexture * tile =
186
186
        fn_environment_get_tile(env, sumuntil(size, j)+i);
187
 
      fn_tile_blit_to_sdl_surface(
 
187
      fn_texture_blit_to_sdl_surface(
188
188
          tile, NULL,
189
189
          screen, &r);
190
190
    }