-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
267 changed files
with
10,533 additions
and
4,033 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -135,6 +135,7 @@ void Atta::loop() { | |
|
||
file::update(); | ||
graphics::update(); | ||
resource::update(); | ||
} | ||
|
||
void Atta::step() { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
src/atta/event/events/materialLoad.h → src/atta/event/events/materialCreate.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
//-------------------------------------------------- | ||
// Atta Event Module | ||
// materialLoad.h | ||
// materialCreate.h | ||
// Date: 2022-08-13 | ||
// By Breno Cunha Queiroz | ||
//-------------------------------------------------- | ||
#ifndef ATTA_EVENT_EVENTS_MATERIAL_LOAD_H | ||
#define ATTA_EVENT_EVENTS_MATERIAL_LOAD_H | ||
#ifndef ATTA_EVENT_EVENTS_MATERIAL_CREATE_H | ||
#define ATTA_EVENT_EVENTS_MATERIAL_CREATE_H | ||
#include <atta/event/event.h> | ||
|
||
namespace atta::event { | ||
|
||
class MaterialLoad : public EventTyped<SID("MaterialLoad")> { | ||
class MaterialCreate : public EventTyped<SID("MaterialCreate")> { | ||
public: | ||
MaterialLoad(StringId sid_) : sid(sid_) {} | ||
MaterialCreate(StringId sid_) : sid(sid_) {} | ||
|
||
const StringId sid; | ||
}; | ||
|
||
} // namespace atta::event | ||
|
||
#endif // ATTA_EVENT_EVENTS_MATERIAL_LOAD_H | ||
#endif // ATTA_EVENT_EVENTS_MATERIAL_CREATE_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
//-------------------------------------------------- | ||
// Atta Event Module | ||
// materialDestroy.h | ||
// Date: 2022-08-13 | ||
// By Breno Cunha Queiroz | ||
//-------------------------------------------------- | ||
#ifndef ATTA_EVENT_EVENTS_MATERIAL_DESTROY_H | ||
#define ATTA_EVENT_EVENTS_MATERIAL_DESTROY_H | ||
#include <atta/event/event.h> | ||
|
||
namespace atta::event { | ||
|
||
class MaterialDestroy : public EventTyped<SID("MaterialDestroy")> { | ||
public: | ||
MaterialDestroy(StringId sid_) : sid(sid_) {} | ||
|
||
const StringId sid; | ||
}; | ||
|
||
} // namespace atta::event | ||
|
||
#endif // ATTA_EVENT_EVENTS_MATERIAL_DESTROY_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
//-------------------------------------------------- | ||
// Atta Event Module | ||
// materialUpdate.h | ||
// Date: 2022-08-13 | ||
// By Breno Cunha Queiroz | ||
//-------------------------------------------------- | ||
#ifndef ATTA_EVENT_EVENTS_MATERIAL_UPDATE_H | ||
#define ATTA_EVENT_EVENTS_MATERIAL_UPDATE_H | ||
#include <atta/event/event.h> | ||
|
||
namespace atta::event { | ||
|
||
class MaterialUpdate : public EventTyped<SID("MaterialUpdate")> { | ||
public: | ||
MaterialUpdate(StringId sid_) : sid(sid_) {} | ||
|
||
const StringId sid; | ||
}; | ||
|
||
} // namespace atta::event | ||
|
||
#endif // ATTA_EVENT_EVENTS_MATERIAL_UPDATE_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
//-------------------------------------------------- | ||
// Atta Event Module | ||
// meshUpdate.h | ||
// Date: 2023-12-30 | ||
// By Breno Cunha Queiroz | ||
//-------------------------------------------------- | ||
#ifndef ATTA_EVENT_EVENTS_MESH_UPDATE_H | ||
#define ATTA_EVENT_EVENTS_MESH_UPDATE_H | ||
#include <atta/event/event.h> | ||
|
||
namespace atta::event { | ||
|
||
class MeshUpdate : public EventTyped<SID("MeshUpdate")> { | ||
public: | ||
MeshUpdate(StringId sid_) : sid(sid_) {} | ||
|
||
const StringId sid; | ||
}; | ||
|
||
} // namespace atta::event | ||
|
||
#endif // ATTA_EVENT_EVENTS_MESH_UPDATE_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.