many sparse changes
This commit is contained in:
1 parent
2c26c6f795
commit
7aa4ea4425
23 files changed
+1317
-290
No files matched your search
@@ -77,6 +77,10 @@ GraphicSet *loadGraphicSet(const QString &name, bool transparency = true);
|
||||
|
||||
enum class FontType { Normal, Small, Tiny, Caption, Button, Count };
|
||||
|
||||
// ScreenTools.pas's LoadFonts(): fills UniFont[] from a Fonts.txt script
|
||||
// ("#SECTION" lines followed by "Name, <pixel height>[B][I]" lines).
|
||||
void loadFonts(const QString &scriptFileName);
|
||||
|
||||
// Fonts, the main background texture and the system sprite sheets are
|
||||
// populated by the application's asset-loading step (ScreenTools.pas's
|
||||
// UnitInit/LoadAssets in the original, not ported here); null/default until
|
||||
|
||||
@@ -42,10 +42,8 @@ public:
|
||||
Texture();
|
||||
|
||||
int age() const { return m_age; }
|
||||
// Updates the palette colors from Cevo::Colors; does not (re)load the
|
||||
// per-age background image, that stays an application-level concern
|
||||
// (Directories::getGraphicsDir() + image()->loadFromFile() is not
|
||||
// ported here). Call image().loadFromFile() explicitly afterwards.
|
||||
// Loads the age's background image ("Texture<age+1>.jpg" from
|
||||
// Cevo::graphicsDir) and updates the palette colors from Cevo::Colors.
|
||||
void setAge(int value);
|
||||
|
||||
int width() const { return m_image.width(); }
|
||||
|
||||
Reference in new issue
Block a user