Made the Space Invaders game. Argh matey! (#2709)

* Made the Space Invaders game. Argh matey!
* Format code, sigh.
This commit is contained in:
RocketGod 2025-06-20 23:35:52 -07:00 committed by GitHub
parent c0aa4a1738
commit 7b91103118
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 1039 additions and 0 deletions

View file

@ -0,0 +1,69 @@
/*
* ------------------------------------------------------------
* | Made by RocketGod |
* | Find me at https://betaskynet.com |
* | Argh matey! |
* ------------------------------------------------------------
*/
#include "ui.hpp"
#include "ui_spaceinv.hpp"
#include "ui_navigation.hpp"
#include "external_app.hpp"
namespace ui::external_app::spaceinv {
void initialize_app(ui::NavigationView& nav) {
nav.push<SpaceInvadersView>();
}
} // namespace ui::external_app::spaceinv
extern "C" {
__attribute__((section(".external_app.app_spaceinv.application_information"), used)) application_information_t _application_information_spaceinv = {
(uint8_t*)0x00000000,
ui::external_app::spaceinv::initialize_app,
CURRENT_HEADER_VERSION,
VERSION_MD5,
"Space Invaders",
{
0x18,
0x3C,
0x7E,
0xDB,
0xFF,
0xFF,
0x24,
0x66,
0x42,
0x00,
0x24,
0x18,
0x24,
0x42,
0x81,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
},
ui::Color::yellow().v,
app_location_t::GAMES,
-1,
{0, 0, 0, 0},
0x00000000,
};
} // namespace ui::external_app::spaceinv