📄 writer.h
字号:
// Writer.h
//
// Handles all text operations
//
/////////////////////////////////////////////////////////////////////////////
#ifndef _WRITER_H_
#define _WRITER_H_
class Writer
{
struct stringEntry {
int position;
char *string;
int attrNormal, attrDelete;
};
static stringEntry stringTable[0x37];
// methods
protected:
static void printDigit(int digit, int dest, bool &hasPrinted, bool skipable);
static void print1UP();
static void print2UP();
static void hide1UP();
static void hide2UP();
public:
static void printString(int stringNumber);
static void printScore(int score, int dest, int digits, int skipableDigits);
static void printCredits();
static void printBonusLifeMSB();
static void initAndPrintScores();
static void showOrHide1UP2UP();
};
#endif // _WRITER_H_
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -