Ignore:
Timestamp:
02/13/16 12:01:31 (7 years ago)
Author:
gost
Message:

[titan] mipsel.. new animations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/mipselport.h

    r37118 r37119  
    257257                        dst_height = 2;
    258258                }
     259                if(status.screenanim == 4)
     260                {
     261                        dst_top = posy;
     262                        dst_height = height;
     263                        dst_left = posx;
     264                        dst_width = 2;
     265                }
     266                if(status.screenanim == 5)
     267                {
     268                        dst_top = posy;
     269                        dst_height = 2;
     270                        dst_left = posx;
     271                        dst_width = width;
     272                }
     273               
    259274                wstep = width / max;
    260275                hstep = height / max;
     
    282297                                        tmpheight = height;
    283298                                dst_top = tmptop;
     299                                dst_height = tmpheight;
     300                        }
     301                        if(status.screenanim == 4)
     302                        {
     303                                int tmpwidth = dst_width + wstep;
     304                                if(tmpwidth > width)
     305                                        tmpwidth = width;
     306                                dst_width = tmpwidth;
     307                        }
     308                        if(status.screenanim == 5)
     309                        {
     310                                int tmpheight = dst_height + hstep;
     311                                if(tmpheight > height)
     312                                        tmpheight = height;
    284313                                dst_height = tmpheight;
    285314                        }
Note: See TracChangeset for help on using the changeset viewer.