mirror of
https://github.com/libretro/retroluxury.git
synced 2024-11-23 07:39:47 +00:00
renamed some sprite functions for consistency
This commit is contained in:
parent
9ff3b982d6
commit
a48f771717
@ -64,7 +64,7 @@ static int compare( const void* e1, const void* e2 )
|
||||
return c1 - c2;
|
||||
}
|
||||
|
||||
void rl_sprites_render( void )
|
||||
void rl_sprites_blit_nobg( void )
|
||||
{
|
||||
spt_t* sptptr = sprites;
|
||||
const spt_t* endptr = sprites + num_sprites;
|
||||
@ -116,7 +116,7 @@ void rl_sprites_render( void )
|
||||
num_sprites = sptptr - sprites;
|
||||
}
|
||||
|
||||
void rl_sprites_begin( void )
|
||||
void rl_sprites_blit( void )
|
||||
{
|
||||
spt_t* sptptr = sprites;
|
||||
const spt_t* endptr = sprites + num_sprites;
|
||||
@ -170,7 +170,7 @@ void rl_sprites_begin( void )
|
||||
num_sprites = sptptr - sprites;
|
||||
}
|
||||
|
||||
void rl_sprites_end( void )
|
||||
void rl_sprites_unblit( void )
|
||||
{
|
||||
spt_t* sptptr = sprites + num_visible - 1;
|
||||
|
||||
|
@ -38,9 +38,9 @@ rl_sprite_t* rl_sprite_create( void );
|
||||
|
||||
void rl_sprites_translate( int x0, int y0 );
|
||||
|
||||
void rl_sprites_render( void );
|
||||
void rl_sprites_blit_nobg( void );
|
||||
|
||||
void rl_sprites_begin( void );
|
||||
void rl_sprites_end( void );
|
||||
void rl_sprites_blit( void );
|
||||
void rl_sprites_unblit( void );
|
||||
|
||||
#endif /* RL_SPRITE_H */
|
||||
|
@ -284,7 +284,7 @@ static void testscr_update( testscr_t* s )
|
||||
int y = s->yy * max_y / height;
|
||||
|
||||
rl_map_render_layer( s->map, 0, x, y );
|
||||
rl_sprites_render();
|
||||
rl_sprites_blit_nobg();
|
||||
rl_map_render_layer( s->map, 1, x, y );
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user