Refactor graphics loading: simplify function calls by removing namespace prefixes and improve header organization in scad_format
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
#include <SDL.h>
|
||||
|
||||
#include <span>
|
||||
#include <cstdint>
|
||||
#include <memory>
|
||||
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
|
||||
namespace yaze {
|
||||
namespace gfx {
|
||||
namespace scad_format {
|
||||
|
||||
void FindMetastamp() {
|
||||
int matching_position = -1;
|
||||
@@ -275,6 +274,5 @@ absl::Status DecodeObjFile(
|
||||
return absl::OkStatus();
|
||||
}
|
||||
|
||||
} // namespace scad_format
|
||||
} // namespace gfx
|
||||
} // namespace yaze
|
||||
|
||||
@@ -15,14 +15,10 @@
|
||||
namespace yaze {
|
||||
namespace gfx {
|
||||
|
||||
/**
|
||||
* @namespace yaze::gfx::scad_format
|
||||
* @brief Loading from prototype SCAD format
|
||||
*/
|
||||
namespace scad_format {
|
||||
|
||||
/**
|
||||
* @brief Cgx file header
|
||||
*
|
||||
* @details
|
||||
* キャラクタ(.SCH)ファイル
|
||||
* ヘッダー情報
|
||||
* アドレス 説明
|
||||
@@ -91,7 +87,6 @@ absl::Status DecodeObjFile(
|
||||
std::unordered_map<std::string, std::vector<uint8_t>> decoded_obj,
|
||||
std::vector<uint8_t>& decoded_extra_obj, int& obj_loaded);
|
||||
|
||||
} // namespace scad_format
|
||||
} // namespace gfx
|
||||
} // namespace yaze
|
||||
|
||||
|
||||
@@ -221,7 +221,6 @@ class GraphicsBuffer {
|
||||
};
|
||||
|
||||
} // namespace gfx
|
||||
|
||||
} // namespace yaze
|
||||
|
||||
#endif // YAZE_APP_GFX_SNES_TILE_H
|
||||
|
||||
Reference in New Issue
Block a user