mirror of
https://github.com/birth1mark/orbis8.git
synced 2026-10-28 20:00:34 +01:00
- Added integrated 🌐 BBS Store tab to arcade BIOS interface (DefaultCart.h)
- Implemented C++ Lua API bindings: __bbs_listfeatured, __bbs_download, __bbs_isdownloaded, __refreshcarts
- Curated top-rated community games catalog with 1-click download & play
- Added custom BBS Cartridge ID downloader with on-screen character picker
- Added robust magic-byte verification (PNG/p8) on downloaded cartridges
- Updated README.md and ARCHITECTURE.md documentation
25 lines
798 B
C++
25 lines
798 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
struct BBSCartItem {
|
|
std::string id;
|
|
std::string title;
|
|
std::string author;
|
|
std::string category;
|
|
std::string filename;
|
|
std::string url;
|
|
bool downloaded;
|
|
};
|
|
|
|
class BBSClient {
|
|
public:
|
|
static std::string CleanLid(const std::string& rawLid);
|
|
static std::string GetCartUrlFromLid(const std::string& lid);
|
|
static bool DownloadCart(const std::string& url, const std::string& destinationPath);
|
|
static std::vector<BBSCartItem> GetFeaturedCarts(const std::string& cartsDirectory);
|
|
static bool DownloadCartByLid(const std::string& lid, const std::string& targetFilename, const std::string& cartsDirectory);
|
|
static bool IsCartDownloaded(const std::string& filename, const std::string& cartsDirectory);
|
|
};
|