remove unnecessary whitespace and comments in room_object and sprite files
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
namespace yaze {
|
||||
namespace zelda3 {
|
||||
|
||||
|
||||
ObjectOption operator|(ObjectOption lhs, ObjectOption rhs) {
|
||||
return static_cast<ObjectOption>(static_cast<int>(lhs) |
|
||||
static_cast<int>(rhs));
|
||||
@@ -130,8 +129,5 @@ void RoomObject::DrawTile(gfx::Tile16 t, int xx, int yy,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
} // namespace zelda3
|
||||
|
||||
} // namespace yaze
|
||||
|
||||
@@ -201,10 +201,7 @@ class Subtype3 : public RoomObject {
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
} // namespace zelda3
|
||||
|
||||
} // namespace yaze
|
||||
|
||||
#endif // YAZE_APP_ZELDA3_DUNGEON_ROOM_OBJECT_H
|
||||
|
||||
@@ -36,6 +36,6 @@ static const std::string kOverlordNames[] = {
|
||||
};
|
||||
|
||||
}
|
||||
} // namespace yaze
|
||||
} // namespace yaze
|
||||
|
||||
#endif // YAZE_APP_ZELDA3_SPRITE_OVERLORD_H
|
||||
#endif // YAZE_APP_ZELDA3_SPRITE_OVERLORD_H
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#include "sprite.h"
|
||||
|
||||
#include "app/zelda3/overworld/overworld.h"
|
||||
#include <cstdint>
|
||||
#include <iostream>
|
||||
|
||||
namespace yaze {
|
||||
namespace zelda3 {
|
||||
@@ -16,13 +17,6 @@ void Sprite::UpdateCoordinates(int map_x, int map_y) {
|
||||
map_y_ = map_y;
|
||||
}
|
||||
|
||||
void Sprite::UpdateBoundaryBox() {
|
||||
lower_x_ = 1;
|
||||
lower_y_ = 1;
|
||||
higher_x_ = 15;
|
||||
higher_x_ = 15;
|
||||
}
|
||||
|
||||
void Sprite::Draw() {
|
||||
uint8_t x = nx_;
|
||||
uint8_t y = ny_;
|
||||
|
||||
@@ -325,7 +325,6 @@ class Sprite : public GameEntity {
|
||||
map_y_ = map_y;
|
||||
preview_gfx_.resize(64 * 64, 0xFF);
|
||||
}
|
||||
void UpdateBoundaryBox();
|
||||
|
||||
void Draw();
|
||||
void DrawSpriteTile(int x, int y, int srcx, int srcy, int pal,
|
||||
@@ -333,8 +332,6 @@ class Sprite : public GameEntity {
|
||||
int sizex = 2, int sizey = 2);
|
||||
|
||||
void UpdateMapProperties(uint16_t map_id) override;
|
||||
|
||||
// New methods
|
||||
void UpdateCoordinates(int map_x, int map_y);
|
||||
|
||||
auto PreviewGraphics() const { return preview_gfx_; }
|
||||
|
||||
Reference in New Issue
Block a user