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

📄 changemap.cpp

📁 超级玛丽
💻 CPP
字号:
/*#include <stdio.h>

#include "src/GameState.h"
#include "src/TileMap.hpp"
#include "src/Scroller.hpp"
#include "src/GameObject.hpp"
#include "src/JumpingCoin.hpp"
#include "src/StaticCoin.hpp"
#include "src/JumpingBlock.hpp"
#include "src/Mario.hpp"
#include "src/Turtle.hpp"
#include "src/Mushroom.hpp"
#include "src/BadFlower.hpp"
#include "src/BadMush.hpp"
#include "src/Tunnel.hpp"
#include "src/Tunnel_1.hpp"


void format(mTileMap smTileMap, mBlock smBlock, mCoin smCoin, mTurtle[] smTurtle, mBadMush[] smBadMush, mMushroom smMushroom, mStaticCoins[] smStaticCoins, mTunnel[] smTunnel, mTunnel_1[] smTunnel_1){
	smTileMap->Load("Res/map.dat", "Res/mario.ent");

	smBlock = NULL;
	
	mCoin = NULL;

	for (i=0;i<10;i++)
		smTurtle[i] = NULL;

	for (i=0;i<10;i++)
		smBadMush[i] = NULL;

	smMushroom = NULL;

	for (i=0;i<MAX_STATIC_COIN;i++)
		smStaticCoins[i] = NULL;

	for (i=0;i<20;i++)
		smTunnel[i] = NULL;

	for (i=0;i<20;i++)
		smTunnel_1[i] = NULL;
	

	for (i=0;i<MAX_BAD_FLOWER;i++)
		mBadFlowers[i] = NULL;
}*/

⌨️ 快捷键说明

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