Ignore:
Timestamp:
Apr 24, 2011, 10:33:40 AM (11 years ago)
Author:
Sam Hocevar
Message:

imlib: rename TImage to TransImage? for readability.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/objects.cpp

    r534 r541  
    1313#include "common.h"
    1414
    15 #include "timage.h"
     15#include "transimage.h"
    1616#include "objects.h"
    1717#include "chars.h"
     
    388388    sy1 = Max(v->cy1, sy1);
    389389    sy2 = Min(v->cy2, sy2);
    390     TImage *p=picture();
     390    TransImage *p=picture();
    391391
    392392    for (i=sy1; i<=sy2; i++)
     
    669669void game_object::draw_trans(int count, int max)
    670670{
    671   TImage *cpict=picture();
     671  TransImage *cpict=picture();
    672672  cpict->PutFade(screen,
    673673          vec2i((direction<0 ? x-(cpict->Size().x-x_center()-1) : x-x_center())-current_vxadd,
     
    680680void game_object::draw_tint(int tint_id)
    681681{
    682   TImage *cpict=picture();
     682  TransImage *cpict=picture();
    683683  if (fade_count())
    684684    cpict->PutFadeTint(screen,
     
    700700void game_object::draw_double_tint(int tint_id, int tint2)
    701701{
    702   TImage *cpict=picture();
     702  TransImage *cpict=picture();
    703703  if (fade_count())
    704704    cpict->PutFadeTint(screen,
     
    722722void game_object::draw_predator()
    723723{
    724   TImage *cpict=picture();
     724  TransImage *cpict=picture();
    725725  cpict->PutPredator(screen,
    726726             vec2i((direction<0 ? x-(cpict->Size().x-x_center()-1) : x-x_center())-current_vxadd,
     
    745745    else
    746746    {
    747       TImage *cpict=picture();
     747      TransImage *cpict=picture();
    748748      cpict->PutImage(screen,
    749749               vec2i((direction<0 ? x-(cpict->Size().x-x_center()-1) : x-x_center())-current_vxadd,
Note: See TracChangeset for help on using the changeset viewer.