mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-02-24 14:51:46 -05:00

* skip z_title with button press * use `RegisterShipInitFunc` * rip out a bunch of custom ztitle code * ok now it's almost fully back to vanilla * titles are back for a limited time enjoy #Skipping * move old customizations into new custom draw * finally getting the hang of this shipinit thing * vb should let it snow * boot sequence logic * clean up logic to better handle changing boot sequence settings * remove fast file select stuff * remove authentic logo screen setting * about window - not super pretty but not ugly imo * maybe this fixes windows * maybe alloca? idk why it's working in other files * just pulling in every include hoping something works * Revert This reverts commit c1d02c9a40a7b8c617a131cc5b0d7fd6f81fe1b4. * try some macro fixing magic * fix another c vs cpp thing * do it without an extra var * make `GitCommitHashTruncated` a private member on `AboutWindow` instead of truncating on draw * move logo asset defs to `soh_assets.h` * Apply suggestions from code review Co-authored-by: Archez <Archez@users.noreply.github.com> * VB_SHOULDN'T --------- Co-authored-by: Archez <Archez@users.noreply.github.com>
21 lines
426 B
C++
21 lines
426 B
C++
#pragma once
|
|
|
|
#include <libultraship/libultraship.h>
|
|
|
|
class AboutWindow : public Ship::GuiWindow {
|
|
public:
|
|
using GuiWindow::GuiWindow;
|
|
~AboutWindow();
|
|
|
|
private:
|
|
void InitElement() override;
|
|
void Draw() override;
|
|
void DrawElement() override;
|
|
void UpdateElement() override {};
|
|
|
|
const char* GetGameVersionString(uint32_t index);
|
|
|
|
bool mIsTaggedVersion;
|
|
char mGitCommitHashTruncated[8];
|
|
};
|