⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 statustext.h

📁 FC上的超级玛丽C++移植版
💻 H
字号:
/***************************************************************************                statustext.h  -  headers for the corresponding cpp file                             -------------------    copyright            : (C) 2003 by Artur Hallmann, (C) 2003 by FluXy    email                : mail@arturh.com	website				 : http://www.arturh.com ***************************************************************************//*************************************************************************** *                                                                         * *   This program is free software; you can redistribute it and/or modify  * *   it under the terms of the GNU General Public License as published by  * *   the Free Software Foundation; either version 2 of the License, or     * *   (at your option) any later version.                                   * *                                                                         * ***************************************************************************/ #ifndef __STATUSTEXT_H__#define __STATUSTEXT_H__#include "include/globals.h"/* *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** */class cMenuBackground : public cActiveSprite
{public:	cMenuBackground(float x, float y);	virtual ~cMenuBackground();	virtual cSprite* Clone( );	virtual void Draw(SDL_Surface *);	virtual void Update(void);		SDL_Surface* mario_head;	SDL_Surface* goldpiece;};/* *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** */class cStatusText : public cSprite
{public:	cStatusText(float x, float y);	virtual ~cStatusText (void);	virtual cSprite* Clone( );		virtual void Draw(SDL_Surface *target);	virtual void Update(void);};/* *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** */class cPunktestand : public cStatusText
{public:	cPunktestand(float x, float y);	virtual ~cPunktestand(void);	virtual cSprite* Clone( );	void SetPoints(int p);	void AddPoints(int c);	char text[70];	int counter;	virtual void Update(void);};/* *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** */class cGoldDisplay : public cStatusText
{public:	cGoldDisplay(float x, float y);	virtual ~cGoldDisplay(void);	virtual cSprite* Clone( );	void SetGold(int p);	void AddGold(int c);	char text[50];	int counter;	virtual void Update(void);};/* *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** */class cLifeDisplay : public cStatusText
{public:	cLifeDisplay(float x, float y);	virtual ~cLifeDisplay(void);	virtual cSprite* Clone( );	void SetLifes(int p);	void AddLifes(int c);	char text[50];	int counter;	virtual void Update(void);};/* *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** */class cSpielzeitAnzeige : public cStatusText
{public:	cSpielzeitAnzeige(float x, float y);	virtual ~cSpielzeitAnzeige(void);	virtual cSprite* Clone( );	char text[50],text_old[50];	int counter;	virtual void Update(void);};/* *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** */class cDebugAnzeige : public cStatusText
{public:	cDebugAnzeige(float x, float y);	virtual ~cDebugAnzeige(void);	virtual cSprite* Clone( );	char text[500],text_old[500]; // changed	int counter;	virtual void Update(void);};/* *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** */#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -