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

📄 status.h

📁 Linux游戏编程源码
💻 H
字号:
#ifndef STATUS_H#define STATUS_H#include <SDL/SDL.h>#include "gamedefs.h"int InitStatusDisplay(void);/* Initializes the status display system.   Returns 0 on success, -1 on failure.   Must be called after setting a video mode. */void CleanupStatusDisplay(void);/* Shuts down the status display system. */void SetStatusMessage(const char *msg);/* Sets the scrolling status message at the top   of the display. The message will scroll by once,   then disappear. */void SetPlayerStatusInfo(int score, int shields, int charge);void SetOpponentStatusInfo(int score, int shields);/* Sets the player or opponent's on-screen status   information. */void UpdateStatusDisplay(SDL_Surface *screen);/* Updates and redraws the status display. */#endif

⌨️ 快捷键说明

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