diff options
| author | robojumper <robojumper@gmail.com> | 2025-08-02 09:19:04 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-02 09:19:04 +0200 |
| commit | 899f86a57111df7545e5ab031e92d8564faa112a (patch) | |
| tree | ac293990b33eb3f4be87b505d538ffc47929362f /include/d/d_sys.h | |
| parent | e2bba3730bff60d4174f4b8add74913b0aa53d3a (diff) | |
| parent | b5f05db18226c795a92a55788c7bd36c8985b9af (diff) | |
Merge pull request #225 from robojumper/d_gfx
d_gfx mostly OK
Diffstat (limited to 'include/d/d_sys.h')
| -rw-r--r-- | include/d/d_sys.h | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/include/d/d_sys.h b/include/d/d_sys.h index a9d6ff9c..7557307d 100644 --- a/include/d/d_sys.h +++ b/include/d/d_sys.h @@ -2,14 +2,19 @@ #define D_SYS_H #include "common.h" -#include "m/m_color.h" +#include "egg/core/eggHeap.h" +#include "nw4r/ut/ut_Color.h" -namespace dSys { +class dSys_c { +public: + /* Frame rate values: 1 - 60fps, 2 - 30fps */ + static void setFrameRate(u8); + static u8 getFrameRate(); -void setFrameRate(u32); -u8 getFrameRate(); -void setClearColor(mColor clr); + static void setClearColor(nw4r::ut::Color clr); -} // namespace dSys_c + static EGG::Heap *ms_RootHeapMem1; + static EGG::Heap *ms_RootHeapMem2; +}; #endif |
