2021-07-22 22:08:05 +00:00
|
|
|
#ifndef SIMPLE_BLOCKS_HPP
|
|
|
|
#define SIMPLE_BLOCKS_HPP
|
|
|
|
|
|
|
|
#include "../blocks.hpp"
|
|
|
|
|
|
|
|
class FloorBlock : public MarioBlock {
|
|
|
|
public:
|
2021-08-04 22:32:17 +00:00
|
|
|
FloorBlock( int x, int y, std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class HillInclineBlock : public MarioBlock {
|
|
|
|
public:
|
|
|
|
HillInclineBlock( int x, int y,
|
2021-08-04 22:32:17 +00:00
|
|
|
std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class HillDeclineBlock : public MarioBlock {
|
|
|
|
public:
|
|
|
|
HillDeclineBlock( int x, int y,
|
2021-08-04 22:32:17 +00:00
|
|
|
std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class HillDotsRightBlock : public MarioBlock {
|
|
|
|
public:
|
|
|
|
HillDotsRightBlock( int x, int y,
|
2021-08-04 22:32:17 +00:00
|
|
|
std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class HillDotsLeftBlock : public MarioBlock {
|
|
|
|
public:
|
|
|
|
HillDotsLeftBlock( int x, int y,
|
2021-08-04 22:32:17 +00:00
|
|
|
std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class HillFillBlock : public MarioBlock {
|
|
|
|
public:
|
2021-08-04 22:32:17 +00:00
|
|
|
HillFillBlock( int x, int y, std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class HillTopBlock : public MarioBlock {
|
|
|
|
public:
|
2021-08-04 22:32:17 +00:00
|
|
|
HillTopBlock( int x, int y, std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class BushLeftBlock : public MarioBlock {
|
|
|
|
public:
|
2021-08-04 22:32:17 +00:00
|
|
|
BushLeftBlock( int x, int y, std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class BushMiddleBlock : public MarioBlock {
|
|
|
|
public:
|
|
|
|
BushMiddleBlock( int x, int y,
|
2021-08-04 22:32:17 +00:00
|
|
|
std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class BushRightBlock : public MarioBlock {
|
|
|
|
public:
|
2021-08-04 22:32:17 +00:00
|
|
|
BushRightBlock( int x, int y,
|
|
|
|
std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class CloudLeftBottomBlock : public MarioBlock {
|
|
|
|
public:
|
|
|
|
CloudLeftBottomBlock( int x, int y,
|
2021-08-04 22:32:17 +00:00
|
|
|
std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class CloudMiddleBottomBlock : public MarioBlock {
|
|
|
|
public:
|
|
|
|
CloudMiddleBottomBlock( int x, int y,
|
2021-08-04 22:32:17 +00:00
|
|
|
std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class CloudRightBottomBlock : public MarioBlock {
|
|
|
|
public:
|
|
|
|
CloudRightBottomBlock( int x, int y,
|
2021-08-04 22:32:17 +00:00
|
|
|
std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class CloudLeftTopBlock : public MarioBlock {
|
|
|
|
public:
|
|
|
|
CloudLeftTopBlock( int x, int y,
|
2021-08-04 22:32:17 +00:00
|
|
|
std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class CloudMiddleTopBlock : public MarioBlock {
|
|
|
|
public:
|
|
|
|
CloudMiddleTopBlock( int x, int y,
|
2021-08-04 22:32:17 +00:00
|
|
|
std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class CloudRightTopBlock : public MarioBlock {
|
|
|
|
public:
|
|
|
|
CloudRightTopBlock( int x, int y,
|
2021-08-04 22:32:17 +00:00
|
|
|
std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class PipeLeftBottomBlock : public MarioBlock {
|
|
|
|
public:
|
|
|
|
PipeLeftBottomBlock( int x, int y,
|
2021-08-04 22:32:17 +00:00
|
|
|
std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class PipeRightBottomBlock : public MarioBlock {
|
|
|
|
public:
|
|
|
|
PipeRightBottomBlock( int x, int y,
|
2021-08-04 22:32:17 +00:00
|
|
|
std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class PipeLeftTopBlock : public MarioBlock {
|
|
|
|
public:
|
|
|
|
PipeLeftTopBlock( int x, int y,
|
2021-08-04 22:32:17 +00:00
|
|
|
std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class PipeRightTopBlock : public MarioBlock {
|
|
|
|
public:
|
|
|
|
PipeRightTopBlock( int x, int y,
|
2021-08-04 22:32:17 +00:00
|
|
|
std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class CastleLeftBlock : public MarioBlock {
|
|
|
|
public:
|
|
|
|
CastleLeftBlock( int x, int y,
|
2021-08-04 22:32:17 +00:00
|
|
|
std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class CastleRightBlock : public MarioBlock {
|
|
|
|
public:
|
|
|
|
CastleRightBlock( int x, int y,
|
2021-08-04 22:32:17 +00:00
|
|
|
std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class CastleBlackBlock : public MarioBlock {
|
|
|
|
public:
|
|
|
|
CastleBlackBlock( int x, int y,
|
2021-08-04 22:32:17 +00:00
|
|
|
std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class CastleEntryBlock : public MarioBlock {
|
|
|
|
public:
|
|
|
|
CastleEntryBlock( int x, int y,
|
2021-08-04 22:32:17 +00:00
|
|
|
std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class CastleTowerBlock : public MarioBlock {
|
|
|
|
public:
|
|
|
|
CastleTowerBlock( int x, int y,
|
2021-08-04 22:32:17 +00:00
|
|
|
std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class CastleTowerFilledBlock : public MarioBlock {
|
|
|
|
public:
|
|
|
|
CastleTowerFilledBlock( int x, int y,
|
2021-08-04 22:32:17 +00:00
|
|
|
std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class VineTopBlock : public MarioBlock {
|
|
|
|
public:
|
2021-08-04 22:32:17 +00:00
|
|
|
VineTopBlock( int x, int y, std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class VineBottomBlock : public MarioBlock {
|
|
|
|
public:
|
|
|
|
VineBottomBlock( int x, int y,
|
2021-08-04 22:32:17 +00:00
|
|
|
std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class PoleTopBlock : public MarioBlock {
|
|
|
|
public:
|
2021-08-04 22:32:17 +00:00
|
|
|
PoleTopBlock( int x, int y, std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class PoleBottomBlock : public MarioBlock {
|
|
|
|
public:
|
|
|
|
PoleBottomBlock( int x, int y,
|
2021-08-04 22:32:17 +00:00
|
|
|
std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class FlagBlock : public MarioBlock {
|
|
|
|
public:
|
2021-08-04 22:32:17 +00:00
|
|
|
FlagBlock( int x, int y, std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class StepBlock : public MarioBlock {
|
|
|
|
public:
|
2021-08-04 22:32:17 +00:00
|
|
|
StepBlock( int x, int y, std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class BrickBlock : public MarioBlock {
|
|
|
|
public:
|
2021-08-04 22:32:17 +00:00
|
|
|
BrickBlock( int x, int y, std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class BrickTopBlock : public MarioBlock {
|
|
|
|
public:
|
2021-08-04 22:32:17 +00:00
|
|
|
BrickTopBlock( int x, int y, std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class SidewayPipeEndTopBlock : public MarioBlock {
|
|
|
|
public:
|
|
|
|
SidewayPipeEndTopBlock( int x, int y,
|
2021-08-04 22:32:17 +00:00
|
|
|
std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class SidewayPipeEndBottomBlock : public MarioBlock {
|
|
|
|
public:
|
|
|
|
SidewayPipeEndBottomBlock( int x, int y,
|
2021-08-04 22:32:17 +00:00
|
|
|
std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class SidewayPipeMiddleTopBlock : public MarioBlock {
|
|
|
|
public:
|
|
|
|
SidewayPipeMiddleTopBlock( int x, int y,
|
2021-08-04 22:32:17 +00:00
|
|
|
std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class SidewayPipeMiddleBottomBlock : public MarioBlock {
|
|
|
|
public:
|
2021-08-04 22:32:17 +00:00
|
|
|
SidewayPipeMiddleBottomBlock(
|
|
|
|
int x, int y, std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class SidewayPipeConnectorTopBlock : public MarioBlock {
|
|
|
|
public:
|
2021-08-04 22:32:17 +00:00
|
|
|
SidewayPipeConnectorTopBlock(
|
|
|
|
int x, int y, std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class SidewayPipeConnectorBottomBlock : public MarioBlock {
|
|
|
|
public:
|
|
|
|
SidewayPipeConnectorBottomBlock(
|
2021-08-04 22:32:17 +00:00
|
|
|
int x, int y, std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class TreePlatformTopLeftBlock : public MarioBlock {
|
|
|
|
public:
|
|
|
|
TreePlatformTopLeftBlock( int x, int y,
|
2021-08-04 22:32:17 +00:00
|
|
|
std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class TreePlatformTopMiddleBlock : public MarioBlock {
|
|
|
|
public:
|
|
|
|
TreePlatformTopMiddleBlock( int x, int y,
|
2021-08-04 22:32:17 +00:00
|
|
|
std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class TreePlatformTopRightBlock : public MarioBlock {
|
|
|
|
public:
|
|
|
|
TreePlatformTopRightBlock( int x, int y,
|
2021-08-04 22:32:17 +00:00
|
|
|
std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class TreePlatformBarkBlock : public MarioBlock {
|
|
|
|
public:
|
|
|
|
TreePlatformBarkBlock( int x, int y,
|
2021-08-04 22:32:17 +00:00
|
|
|
std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class WaterTopBlock : public MarioBlock {
|
|
|
|
public:
|
2021-08-04 22:32:17 +00:00
|
|
|
WaterTopBlock( int x, int y, std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class WaterFillBlock : public MarioBlock {
|
|
|
|
public:
|
2021-08-04 22:32:17 +00:00
|
|
|
WaterFillBlock( int x, int y,
|
|
|
|
std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class MushroomPlatformTopLeftBlock : public MarioBlock {
|
|
|
|
public:
|
2021-08-04 22:32:17 +00:00
|
|
|
MushroomPlatformTopLeftBlock(
|
|
|
|
int x, int y, std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class MushroomPlatformTopMiddleBlock : public MarioBlock {
|
|
|
|
public:
|
|
|
|
MushroomPlatformTopMiddleBlock(
|
2021-08-04 22:32:17 +00:00
|
|
|
int x, int y, std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class MushroomPlatformTopRightBlock : public MarioBlock {
|
|
|
|
public:
|
|
|
|
MushroomPlatformTopRightBlock(
|
2021-08-04 22:32:17 +00:00
|
|
|
int x, int y, std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class MushroomPlatformBarkTopBlock : public MarioBlock {
|
|
|
|
public:
|
2021-08-04 22:32:17 +00:00
|
|
|
MushroomPlatformBarkTopBlock(
|
|
|
|
int x, int y, std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class MushroomPlatformBarkBottomBlock : public MarioBlock {
|
|
|
|
public:
|
|
|
|
MushroomPlatformBarkBottomBlock(
|
2021-08-04 22:32:17 +00:00
|
|
|
int x, int y, std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class TreeBarkBlock : public MarioBlock {
|
|
|
|
public:
|
2021-08-04 22:32:17 +00:00
|
|
|
TreeBarkBlock( int x, int y, std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class TreeLeavesSmallBlock : public MarioBlock {
|
|
|
|
public:
|
|
|
|
TreeLeavesSmallBlock( int x, int y,
|
2021-08-04 22:32:17 +00:00
|
|
|
std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class TreeLeavesTopBlock : public MarioBlock {
|
|
|
|
public:
|
|
|
|
TreeLeavesTopBlock( int x, int y,
|
2021-08-04 22:32:17 +00:00
|
|
|
std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class TreeLeavesBottomBlock : public MarioBlock {
|
|
|
|
public:
|
|
|
|
TreeLeavesBottomBlock( int x, int y,
|
2021-08-04 22:32:17 +00:00
|
|
|
std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class CannonTowerBlock : public MarioBlock {
|
|
|
|
public:
|
|
|
|
CannonTowerBlock( int x, int y,
|
2021-08-04 22:32:17 +00:00
|
|
|
std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class CannonPedestalBlock : public MarioBlock {
|
|
|
|
public:
|
|
|
|
CannonPedestalBlock( int x, int y,
|
2021-08-04 22:32:17 +00:00
|
|
|
std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class CannonBlock : public MarioBlock {
|
|
|
|
public:
|
2021-08-04 22:32:17 +00:00
|
|
|
CannonBlock( int x, int y, std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
//------------------ MODS------------------------------------------------------
|
|
|
|
class DestructibleModifierBlock : public MarioBlock {
|
|
|
|
public:
|
|
|
|
DestructibleModifierBlock( int x, int y,
|
2021-08-04 22:32:17 +00:00
|
|
|
std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class BackgroundModifierBlock : public MarioBlock {
|
|
|
|
public:
|
|
|
|
BackgroundModifierBlock( int x, int y,
|
2021-08-04 22:32:17 +00:00
|
|
|
std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
class MushroomModifierBlock : public MarioBlock {
|
|
|
|
public:
|
|
|
|
MushroomModifierBlock( int x, int y,
|
2021-08-04 22:32:17 +00:00
|
|
|
std::shared_ptr< SDLPP::Renderer > &renderer );
|
2021-07-22 22:08:05 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|