remove unnecessary whitespace and comments in room_object and sprite files
This commit is contained in:
@@ -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