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

📄 map.h

📁 symbian 的一个 二维飞行游戏 源码 及相关技术文章
💻 H
字号:
// Copyright 2002 Kenneth Guy,
// 
#include "TMapLineType.h"

TInt16 Map[]={
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,

KHomingBadGuy,17,300,100,1,1,1,0,
KHomingBadGuy,17,300,120,1,1,1,0,
KHomingBadGuy,17,300,140,1,1,1,0,
KHomingBadGuy,17,300,160,1,1,1,0,
KHomingBadGuy,17,300,180,1,1,1,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,

KPathBadGuy,16,285,6,3,6,0,0, // cloning bad guy
KPathBadGuy,16,285,170,3,6,0,0, // cloning bad guy

EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
KPathBadGuy,16,200,100,3,3,0,0, // bouncing animated bad guy
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
KBouncingBadGuy,16,270,10,2,-2,+2,0,
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
KBouncingBadGuy,17,250,30,1,-2,-1,0,
EMapLineBackground,0,2,4,6,0,0,0,
KPathBadGuy,35,270,30,3,5,0,0,  // homing then rocket bad guy
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
KBouncingBadGuy,17,230,10,1,+1,-1,0,
EMapLineBackground,0,2,4,6,0,0,0,
KPathBadGuy,35,270,30,3,5,0,0,  // homing then rocket bad guy
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
KBouncingBadGuy,18,210,20,1,-4,+2,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
KPathBadGuy,16,285,100,3,6,0,0, // cloning bad guy
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
KBouncingBadGuy,18,200,15,1,-2,+2,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
KCollectable,25,300,20,2,-4,+2,0,  // extra health
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
KPathBadGuy,35,270,30,3,5,0,0,  // homing then rocket bad guy
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
KBouncingBadGuy,17,260,170,1,-2,-1,0,
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
KBouncingBadGuy,16,280,110,2,+1,-1,0,
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
KPathBadGuy,35,270,30,3,5,0,0,  // homing then rocket bad guy
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
KPathBadGuy,35,270,30,3,5,0,0,  // homing then rocket bad guy
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
KBounceTopBottomBadGuy,17,270,80,1,-4,+2,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
KBouncingBadGuy,16,270,10,2,-2,+2,0,
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
KBouncingBadGuy,17,250,30,1,-2,-1,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
KBouncingBadGuy,17,230,10,1,+1,-1,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
KPathBadGuy,35,270,30,3,5,0,0,  // homing then rocket bad guy
EMapLineBackground,1,3,5,7,0,0,0,
KBouncingBadGuy,18,210,20,1,-4,+2,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
KBouncingBadGuy,18,200,15,1,-2,+2,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
KPathBadGuy,35,270,30,3,5,0,0,  // homing then rocket bad guy
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
KHomingBadGuy,17,300,100,1,1,1,0,
KHomingBadGuy,17,300,120,1,1,1,0,
KHomingBadGuy,17,300,140,1,1,1,0,
KHomingBadGuy,17,300,160,1,1,1,0,
KHomingBadGuy,17,300,180,1,1,1,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
KBouncingBadGuy,16,280,110,2,+1,-1,0,
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
KBounceTopBottomBadGuy,17,230,10,1,+1,-1,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
KPathBadGuy,35,270,30,3,5,0,0,   // homing then rocket bad guy
EMapLineBackground,0,2,4,6,0,0,0,
KPathCollectable,19,10,10,1,4,0,2,
EMapLineBackground,1,3,5,7,0,0,0,
KBouncingBadGuy,18,210,20,1,-4,+2,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
KPathBadGuy,35,270,30,3,5,0,0,  // homing then rocket bad guy
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
KBouncingBadGuy,18,200,15,1,-2,+2,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
KBouncingBadGuy,17,260,170,1,-2,-1,0,
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
KBouncingBadGuy,16,280,110,2,+1,-1,0,
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
KBouncingBadGuy,17,230,10,1,+1,-1,0,
EMapLineBackground,0,2,4,6,0,0,0,
KPathBadGuy,35,270,30,3,5,0,0, // homing then rocket bad guy
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
KBouncingBadGuy,18,210,20,1,-4,+2,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
KCollectable,25,300,20,2,-4,+2,0, // extra health
EMapLineBackground,1,3,5,7,0,0,0,
KBouncingBadGuy,18,200,15,1,-2,+2,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
KBouncingBadGuy,17,260,170,1,-2,-1,0,
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
KPathBadGuy,35,270,30,3,5,0,0,   // homing then rocket bad guy
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
KBouncingBadGuy,16,280,110,2,+1,-1,0,
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
KBouncingBadGuy,17,230,10,1,+1,-1,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
KPathBadGuy,35,270,30,3,5,0,0,   // homing then rocket bad guy
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
KBounceTopBottomBadGuy,18,210,20,1,-4,+2,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
KBouncingBadGuy,18,200,15,1,-2,+2,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
KHomingBadGuy,17,300,100,1,1,1,0,
KHomingBadGuy,17,300,120,1,1,1,0,
KHomingBadGuy,17,300,140,1,1,1,0,
KPathCollectable,19,10,10,1,4,0,2,   // homing bullet powerup
KHomingBadGuy,17,300,160,1,1,1,0,
KHomingBadGuy,17,300,180,1,1,1,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
KCollectable,24,300,20,2,-2,+2,1,  // extra life
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
KPathBadGuy,35,270,30,3,5,0,0,   // homing then rocket bad guy
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
KPathBadGuy,35,270,30,3,5,0,0,   // homing then rocket bad guy
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
KPathBadGuy,35,270,30,3,5,0,0,   // homing then rocket bad guy
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,0,2,4,6,0,0,0,
EMapLineBackground,1,3,5,7,0,0,0,
EMapLineBackground,12,13,14,15,0,0,0,

// three bad guys, destroy them all to remove the shields
KBouncingBadGuy,16,300,100,6,-1,-1,-2,
KHomingBadGuy,16,300,100,6,+1,+1,-2,
KBouncingBadGuy,16,300,100,6,-1,+1,-2,
KBadGuy | EMapLineObjectMovementMapRelative,22,298,14,-12,0,0,2,
KBadGuy | EMapLineObjectMovementMapRelative,22,298,38,-18,0,0,2,
KBadGuy | EMapLineObjectMovementMapRelative,22,298,62,-18,0,0,2,
KBadGuy | EMapLineObjectMovementMapRelative,22,298,86,-18,0,0,2,
KBadGuy | EMapLineObjectMovementMapRelative,22,298,110,-18,0,0,2,
KBadGuy | EMapLineObjectMovementMapRelative,22,298,134,-18,0,0,2,
KBadGuy | EMapLineObjectMovementMapRelative,22,298,158,-12,0,0,2,


KPathBadGuy | EMapLineObjectMovementMapRelative,16,310,6,6,6,0,3,  // cloning bad guy 
KPathBadGuy | EMapLineObjectMovementMapRelative,16,310,170,6,6,0,3,  // cloning bad guy 
KBadGuy | EMapLineObjectMovementMapRelative,22,336,14,-6,0,0,3,
KBadGuy | EMapLineObjectMovementMapRelative,22,336,38,-6,0,0,3,
KBadGuy | EMapLineObjectMovementMapRelative,22,336,62,-6,0,0,3,
KBadGuy | EMapLineObjectMovementMapRelative,22,336,86,-6,0,0,3,
KBadGuy | EMapLineObjectMovementMapRelative,22,336,110,-6,0,0,3,
KBadGuy | EMapLineObjectMovementMapRelative,22,336,134,-6,0,0,3,
KBadGuy | EMapLineObjectMovementMapRelative,22,336,158,-6,0,0,3,

EMapLineEndOfMap,0,0,0,0,0,0,0

};

⌨️ 快捷键说明

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