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

📄 map.h

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

TInt16 Map[]={
EMapLineBackground,11,3,5,7,0,0,0,
EMapLineBackground,10,2,4,6,0,0,0,
EMapLineBackground,11,3,5,7,0,0,0,
EMapLineBackground,10,2,4,6,0,0,0,
EMapLineBackground,11,3,5,7,0,0,0,
EMapLineBackground,10,2,4,6,0,0,0,
EMapLineBackground,11,3,5,7,0,0,0,
EMapLineBackground,10,2,4,6,0,0,0,
EMapLineBackground,11,3,5,7,0,0,0,
EMapLineBackground,10,2,4,6,0,0,0,
EMapLineBackground,11,3,5,7,0,0,0,
EMapLineBackground,10,2,4,6,0,0,0,
EMapLineBackground,11,3,5,7,0,0,0,
EMapLineBackground,10,2,4,6,0,0,0,
EMapLineBackground,11,3,5,7,0,0,0,
EMapLineBackground,10,2,4,6,0,0,0,
EMapLineBackground,11,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,10,2,4,6,0,0,0,
KPathBadGuy,17,318,200,1,7,0,0,  // stream of 10 bad guys

EMapLineBackground,11,3,5,7,0,0,0,
KPathBadGuy,16,285,100,3,6,0,0, // cloning bad guy
EMapLineBackground,10,2,4,6,0,0,0,
EMapLineBackground,11,3,5,7,0,0,0,
KPathBadGuy,16,200,100,3,0,0,0,  // zig zag bad guy
EMapLineBackground,10,2,4,6,0,0,0,
EMapLineBackground,11,3,5,7,0,0,0,
EMapLineBackground,10,2,4,6,0,0,0,
EMapLineBackground,11,3,5,7,0,0,0,
KPathBadGuy,16,302,100,3,3,0,0, // bouncing animated bad guy
EMapLineBackground,10,2,4,6,0,0,0,
EMapLineBackground,11,3,5,7,0,0,0,
EMapLineBackground,10,2,4,6,0,0,0,
EMapLineBackground,11,3,5,7,0,0,0,
KPathCollectable,19,10,10,1,4,0,2, // bullet powerup
EMapLineBackground,10,2,4,6,0,0,0,
EMapLineBackground,11,3,5,7,0,0,0,
EMapLineBackground,10,2,4,6,0,0,0,
EMapLineBackground,11,3,5,7,0,0,0,
KPathBadGuy,16,200,100,3,2,0,0,  // zag zig bad guy
EMapLineBackground,10,2,4,6,0,0,0,
EMapLineBackground,11,3,5,7,0,0,0,
EMapLineBackground,10,2,4,6,0,0,0,
KPathBadGuy,55,302,80,3,1,0,0, // growing bad guy
EMapLineBackground,11,3,5,7,0,0,0,
EMapLineBackground,10,2,4,6,0,0,0,
EMapLineBackground,11,3,5,7,0,0,0,
KPathBadGuy,35,270,30,3,5,0,0,  // homing then rocket bad guy
EMapLineBackground,10,2,4,6,0,0,0,
EMapLineBackground,11,3,5,7,0,0,0,
EMapLineBackground,10,2,4,6,0,0,0,
KPathBadGuy,16,302,100,3,3,0,0, // bouncing animated bad guy
EMapLineBackground,11,3,5,7,0,0,0,
EMapLineBackground,10,2,4,6,0,0,0,
EMapLineBackground,11,3,5,7,0,0,0,
KBouncingBadGuy,17,250,30,1,-2,-1,0,
EMapLineBackground,10,2,4,6,0,0,0,
KPathBadGuy,35,270,30,3,5,0,0,  // homing then rocket bad guy
EMapLineBackground,11,3,5,7,0,0,0,
EMapLineBackground,10,2,4,6,0,0,0,
EMapLineBackground,11,3,5,7,0,0,0,
KBouncingBadGuy,17,230,10,1,+1,-1,0,
EMapLineBackground,10,2,4,6,0,0,0,
KPathBadGuy,35,270,30,3,5,0,0,  // homing then rocket bad guy
EMapLineBackground,11,3,5,7,0,0,0,
EMapLineBackground,10,2,4,6,0,0,0,
EMapLineBackground,11,3,5,7,0,0,0,
KBouncingBadGuy,18,210,20,1,-4,+2,0,
EMapLineBackground,10,2,4,6,0,0,0,
EMapLineBackground,11,3,5,7,0,0,0,
KPathBadGuy,16,285,100,3,6,0,0, // cloning bad guy
EMapLineBackground,10,2,4,6,0,0,0,
EMapLineBackground,11,3,5,7,0,0,0,
KBouncingBadGuy,18,200,15,1,-2,+2,0,
EMapLineBackground,10,2,4,6,0,0,0,
EMapLineBackground,11,3,5,7,0,0,0,
EMapLineBackground,10,2,4,6,0,0,0,
KCollectable,25,300,20,2,-4,+2,0,  // extra health
EMapLineBackground,11,3,5,7,0,0,0,
EMapLineBackground,10,2,4,6,0,0,0,
KPathBadGuy,35,270,30,3,5,0,0,  // homing then rocket bad guy
EMapLineBackground,11,3,5,7,0,0,0,
EMapLineBackground,10,2,4,6,0,0,0,
KBouncingBadGuy,17,260,170,1,-2,-1,0,
EMapLineBackground,11,3,5,7,0,0,0,
EMapLineBackground,10,2,4,6,0,0,0,
EMapLineBackground,11,3,5,7,0,0,0,
EMapLineBackground,10,2,4,6,0,0,0,
KPathBadGuy,16,302,100,3,3,0,0, // bouncing animated bad guy
EMapLineBackground,11,3,5,7,0,0,0,
EMapLineBackground,10,2,4,6,0,0,0,
KPathBadGuy,35,270,30,3,5,0,0,  // homing then rocket bad guy
EMapLineBackground,11,3,5,7,0,0,0,
EMapLineBackground,10,2,4,6,0,0,0,
EMapLineBackground,11,3,5,7,0,0,0,
KPathBadGuy,35,270,30,3,5,0,0,  // homing then rocket bad guy
EMapLineBackground,10,2,4,6,0,0,0,
EMapLineBackground,11,3,5,7,0,0,0,
KBounceTopBottomBadGuy,17,270,80,1,-4,+2,0,
EMapLineBackground,10,2,4,6,0,0,0,
EMapLineBackground,11,3,5,7,0,0,0,
EMapLineBackground,10,2,4,6,0,0,0,
KPathBadGuy,16,302,100,3,3,0,0, // bouncing animated bad guy
EMapLineBackground,11,3,5,7,0,0,0,
EMapLineBackground,10,2,4,6,0,0,0,
EMapLineBackground,11,3,5,7,0,0,0,
KBouncingBadGuy,17,250,30,1,-2,-1,0,
EMapLineBackground,10,2,4,6,0,0,0,
EMapLineBackground,11,3,5,7,0,0,0,
EMapLineBackground,8,2,4,9,0,0,0,

// shield, multi part with id 1
KBadGuy | EMapLineObjectMovementMapRelative,21,329,14,4,0,0,1,
KBadGuy | EMapLineObjectMovementMapRelative,22,326,38,-4,0,0,1,
KBadGuy | EMapLineObjectMovementMapRelative,22,326,62,-4,0,0,1,
KBadGuy | EMapLineObjectMovementMapRelative,22,326,86,-4,0,0,1,
KBadGuy | EMapLineObjectMovementMapRelative,22,326,110,-4,0,0,1,
KBadGuy | EMapLineObjectMovementMapRelative,22,326,134,-4,0,0,1,
KBadGuy | EMapLineObjectMovementMapRelative,23,329,158,4,0,0,1,

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,
KPathBadGuy,16,302,100,3,3,0,0, // bouncing animated 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,
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,
KPathBadGuy,17,318,200,1,7,0,0,  // stream of 10 bad guys
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,
KPathBadGuy,16,302,100,3,3,0,0, // bouncing animated 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,
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,
KPathBadGuy,16,302,100,3,3,0,0, // bouncing animated 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,
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,

// three bad guys, destroy them all to remove the shields
KPathBadGuy,16,303,0,6,3,0,-2, // bouncing animated bad guy
KHomingBadGuy,16,300,100,6,+1,+1,-2,
KPathBadGuy,16,303,176,6,3,0,-2, // bouncing animated bad guy
KBadGuy | EMapLineObjectMovementMapRelative,22,298,18,-18,0,0,2,
KBadGuy | EMapLineObjectMovementMapRelative,22,298,42,-18,0,0,2,
KBadGuy | EMapLineObjectMovementMapRelative,22,298,66,-18,0,0,2,
KBadGuy | EMapLineObjectMovementMapRelative,22,298,90,-18,0,0,2,
KBadGuy | EMapLineObjectMovementMapRelative,22,298,114,-18,0,0,2,
KBadGuy | EMapLineObjectMovementMapRelative,22,298,138,-18,0,0,2,
KBadGuy | EMapLineObjectMovementMapRelative,22,298,162,-18,0,0,2,


KPathBadGuy | EMapLineObjectMovementMapRelative,16,320,100,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 + -