Mario: simple blocks formatting

This commit is contained in:
zvon 2021-08-07 21:39:54 +02:00
parent 4742f3dd02
commit a7aa86c8e3

View File

@ -39,7 +39,7 @@ HillDotsLeftBlock::HillDotsLeftBlock(
} }
HillFillBlock::HillFillBlock( int x, int y, HillFillBlock::HillFillBlock( int x, int y,
std::shared_ptr< SDLPP::Renderer > &renderer ) std::shared_ptr< SDLPP::Renderer > &renderer )
: MarioBlock( x, y, renderer, g_terrain_texture, HILL_FILL_SRC, : MarioBlock( x, y, renderer, g_terrain_texture, HILL_FILL_SRC,
false ) { false ) {
setId( HILL_FILL_ID ); setId( HILL_FILL_ID );
@ -436,15 +436,20 @@ CannonBlock::CannonBlock( int x, int y,
setId( CANNON_ID ); setId( CANNON_ID );
} }
DestructibleModifierBlock::DestructibleModifierBlock( int x, int y, DestructibleModifierBlock::DestructibleModifierBlock(
std::shared_ptr< SDLPP::Renderer > &renderer ) : MarioBlock( x, y, renderer, g_mod_texture, MOD_DESTRUCTIBLE_SRC, false ) { int x, int y, std::shared_ptr< SDLPP::Renderer > &renderer )
: MarioBlock( x, y, renderer, g_mod_texture, MOD_DESTRUCTIBLE_SRC,
false ) {
setId( DESTRUCTIBLE_MODIFIER_ID ); setId( DESTRUCTIBLE_MODIFIER_ID );
} }
BackgroundModifierBlock::BackgroundModifierBlock( int x, int y, BackgroundModifierBlock::BackgroundModifierBlock(
std::shared_ptr< SDLPP::Renderer > &renderer ) : MarioBlock (x, y, renderer, g_mod_texture, MOD_BACKGROUND_SRC, false ) { int x, int y, std::shared_ptr< SDLPP::Renderer > &renderer )
: MarioBlock( x, y, renderer, g_mod_texture, MOD_BACKGROUND_SRC,
false ) {
setId( BACKGROUND_MODIFIER_ID ); setId( BACKGROUND_MODIFIER_ID );
} }
MushroomModifierBlock::MushroomModifierBlock( int x, int y, MushroomModifierBlock::MushroomModifierBlock(
std::shared_ptr< SDLPP::Renderer > &renderer ) : MarioBlock (x, y, renderer, g_mod_texture, MOD_MUSHROOM_SRC, false ) { int x, int y, std::shared_ptr< SDLPP::Renderer > &renderer )
: MarioBlock( x, y, renderer, g_mod_texture, MOD_MUSHROOM_SRC, false ) {
setId( MUSHROOM_MODIFIER_ID ); setId( MUSHROOM_MODIFIER_ID );
} }