?? statustext.h
字號(hào):
/*************************************************************************** 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
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -