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

📄 level.h

📁 FC上的超级玛丽C++移植版
💻 H
字号:
/***************************************************************************                level.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 __LEVEL_H__#define __LEVEL_H__#include "include/globals.h"/* *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** */class cLevel
{   public:	void ShowError(char* errortext);	bool is_valid_number(char* c);	void GetMap(char* command, int line);	cLevel(void);	~cLevel(void);	void LoadLevel(char* filename);	char* GetFilename(SDL_Surface* surface);	void SaveLevel(void);	void UnloadLevel(void);	void DrawMap(int flag=1);

	// Music info
	char Musicfile[120];
	bool Music_force,Music_is_forced;
	bool Music_default_Vol;

	// Camera Modification
	int Mod_Camera_up,Mod_Camera_left,Mod_Camera_right;

	// Background Color
	int Back_red,Back_green,Back_blue;

	// in game Leveleditor Menu's // new in 0.70 beta 9
	ShowMainMenu();
	ShowSpecialMenu();
	ShowEnemyMenu();
	ShowStoneMenu();
	ShowGreenMenu();
	ShowHillMenu();
	ShowWoodMenu();
	ShowPipeMenu();
	ShowExtraMenu();
	ShowMiscMenu();

	// Savegame Loading and Saving
	bool Load_Savegame(int Save_file);
	bool Save_Savegame(int Save_file,std :: string Description);};/* *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** */#endif

⌨️ 快捷键说明

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