Patch - TODO : Serialized / Deserialized Component DATA - V12.7.1

This commit is contained in:
2025-06-26 21:44:28 +02:00
parent 763ecff93d
commit 2c005592f0
5 changed files with 23 additions and 12 deletions

View File

@@ -16,25 +16,25 @@ DockId=0x00000005,0
[Window][render Stats]
Pos=0,630
Size=1584,231
Size=792,231
Collapsed=0
DockId=0x00000009,0
[Window][Objects]
Pos=0,19
Size=234,842
Size=234,609
Collapsed=0
DockId=0x0000000B,0
[Window][Terrain]
Pos=236,19
Size=266,842
Size=266,609
Collapsed=0
DockId=0x00000007,0
[Window][Log Window]
Pos=0,630
Size=1584,231
Pos=794,630
Size=790,231
Collapsed=0
DockId=0x0000000A,0
@@ -42,7 +42,7 @@ DockId=0x0000000A,0
Pos=0,19
Size=234,609
Collapsed=0
DockId=0x0000000B,0
DockId=0x0000000B,1
[Window][Engine Settings]
Pos=1267,462
@@ -53,7 +53,7 @@ DockId=0x00000006,0
[Docking][Data]
DockSpace ID=0xCCBD8CF7 Window=0x3DA2F1DE Pos=0,19 Size=1584,842 Split=Y
DockNode ID=0x00000003 Parent=0xCCBD8CF7 SizeRef=1584,609 Split=X
DockNode ID=0x0000000B Parent=0x00000003 SizeRef=234,842 Selected=0x031DC75C
DockNode ID=0x0000000B Parent=0x00000003 SizeRef=234,842 Selected=0x321620B2
DockNode ID=0x0000000C Parent=0x00000003 SizeRef=1348,842 Split=X
DockNode ID=0x00000007 Parent=0x0000000C SizeRef=266,842 Selected=0x393905AB
DockNode ID=0x00000008 Parent=0x0000000C SizeRef=1316,842 Split=X

View File

@@ -24,6 +24,9 @@ public:
// Fonction virtuelle pour la mise <20> jour du composant
virtual void Update(float deltaTime) {}
// virtual std::string Serialize() {}
// virtual void Deserialize(const std::string& data) {}
};
// Alias utiles

View File

@@ -20,7 +20,7 @@ public:
~IdentityComponent() = default;
void Initialize() override {}
void Update(float deltaTime) override {}
//void Update(float deltaTime) override {}
// Getters et setters
int GetId() const { return m_id; }

View File

@@ -294,7 +294,7 @@ bool scene_manager::load_scene() {
bool scene_manager::save_scene() {
entity_ = app_->get_entity_manager()->GetAllEntities();
entity_ = app_->get_entity_manager()->GetAllEntities();
if (scene_path_.empty()) {
Logger::Get().Log("Scene path is empty. Cannot save scene.", __FILE__, __LINE__, Logger::LogLevel::Error);
@@ -355,8 +355,6 @@ bool scene_manager::save_scene() {
boundingRadius = physics->GetBoundingRadius();
}
// <20>crire les donn<6E>es de base de l'objet
outFile << id << " "
<< name << " "