亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? intermission.cpp

?? After decades of war one company, who had gained powerful supplying both sides with weaponary, steps
?? CPP
?? 第 1 頁 / 共 2 頁
字號:
				Mix_PauseMusic();		}		if (Collision::collision(engine.cursor_x + 13, engine.cursor_y + 13, 6, 6, 417, 272, 45, 22))		{			if (!currentGame.fullScreen)			{				#if LINUX				SDL_WM_ToggleFullScreen(graphics.screen);				#else				graphics.screen = SDL_SetVideoMode(800, 600, 16, SDL_HWSURFACE|SDL_HWPALETTE|SDL_FULLSCREEN);				graphics.drawBackground();				flushBuffer();				#endif				currentGame.fullScreen = 1;			}		}		if (Collision::collision(engine.cursor_x + 13, engine.cursor_y + 13, 6, 6, 478, 272, 45, 22))		{			if (currentGame.fullScreen)			{				#if LINUX				SDL_WM_ToggleFullScreen(graphics.screen);				#else				graphics.screen = SDL_SetVideoMode(800, 600, 0, SDL_HWSURFACE|SDL_HWPALETTE);				graphics.drawBackground();				flushBuffer();				#endif				currentGame.fullScreen = 0;			}		}				if (Collision::collision(engine.cursor_x + 13, engine.cursor_y + 13, 6, 6, 417, 322, 100, 22))		{			Math::wrapChar(&(++currentGame.autoSaveSlot), -1, 4);			engine.keyState[SDLK_LCTRL] = engine.keyState[SDLK_RCTRL] = 0;		}		createOptions(optionsSurface);	}}/*Oddly named function that controls the entire intermissionscreen. This simply draws a background, stars, gridlines and the iconsat the bottom of the screen. Will call (and continue to call) the specifiedfunctions when the player has selected an icon.*/int galaxyMap(){	graphics.freeGraphics();	checkForBossMission(); // double check just to make sure!	// Tell the game we are not in a mission so	// do not perform certain keyboard actions	engine.gameSection = SECTION_INTERMISSION;	graphics.clearScreen(graphics.black);	graphics.updateScreen();	graphics.clearScreen(graphics.black);	initSaveSlots();	SDL_Delay(1000);	loadMusic("music/3DParadise.mod");	loadBackground((char *)systemBackground[currentGame.system]);	char string[25];	engine.cursor_x = engine.cursor_y = 500;	graphics.shape[0] = loadImage("gfx/cursor.bmp");	// Icons 1 - 29	for (int i = 0 ; i < 26 ; i++)	{		sprintf(string, "gfx/icon%d.bmp", (i + 1));		graphics.shape[i + 1] = loadImage(string);	}	graphics.shape[27] = loadImage("gfx/buyIcon.bmp");	graphics.shape[28] = loadImage("gfx/sellIcon.bmp");	graphics.shape[29] = loadImage("gfx/firefly1.png");	// Planets 30 - 39	graphics.shape[30] = loadImage("gfx/planet_sun.gif");	graphics.shape[31] = loadImage("gfx/planet_green.gif");	graphics.shape[32] = loadImage("gfx/planet_blue.gif");	graphics.shape[33] = loadImage("gfx/planet_red.gif");	graphics.shape[34] = loadImage("gfx/planet_orange.gif");	// Faces (as defines)	graphics.shape[FACE_CHRIS] = loadImage("gfx/face_chris.png");	graphics.shape[FACE_SID] = loadImage("gfx/face_sid.png");	graphics.shape[FACE_KRASS] = loadImage("gfx/face_krass.png");	graphics.shape[FACE_PHOEBE] = loadImage("gfx/face_phoebe.png");	graphics.shape[FACE_URSULA] = loadImage("gfx/face_ursula.png");	graphics.shape[FACE_KLINE] = loadImage("gfx/face_kline.png");	engine.done = 0;	engine.keyState[SDLK_LCTRL] = engine.keyState[SDLK_RCTRL] = 0;	engine.ssx = engine.ssy = 0;	SDL_Rect r;	SDL_Rect destRect;	int distance = 0;	int interceptionChance = 0;	setStatusLines();	initShop();	setSystemPlanets();	SDL_Surface *statsSurface = graphics.alphaRect(600, 330, 0x00, 0x00, 0x99);	SDL_Surface *savesSurface = graphics.createSurface(350, 300);	SDL_Surface *optionsSurface = graphics.createSurface(320, 240);	SDL_Surface *commsSurface = graphics.createSurface(450, 400);	createSavesSurface(savesSurface, -1);	createOptions(optionsSurface);	createCommsSurface(commsSurface);	signed char section = 1;	float sinX = 300;	float cosY = 300;	signed char movePlanets = 1;	signed char saveSlot = -1;	if (currentGame.system > 0)		interceptionChance = (300 / currentGame.system);	// There is no chance of being interceptted after the final attack on Earth	if ((currentGame.system == 3) && (systemPlanet[2].missionCompleted))		interceptionChance = 0;	int rtn = 0;	if ((engine.useAudio) && (currentGame.useMusic))		Mix_PlayMusic(engine.music, -1);	textObject iconInfo[12];	iconInfo[0].image = graphics.textSurface("Start Next Mission", FONT_WHITE);	iconInfo[1].image = graphics.textSurface("View System Map", FONT_WHITE);	iconInfo[2].image = graphics.textSurface("Current Status", FONT_WHITE);	iconInfo[3].image = graphics.textSurface("Save Game", FONT_WHITE);	iconInfo[4].image = graphics.textSurface("Upgrade FIREFLY", FONT_WHITE);	iconInfo[5].image = graphics.textSurface("Comms", FONT_WHITE);	iconInfo[6].image = graphics.textSurface("Options", FONT_WHITE);	iconInfo[7].image = graphics.textSurface("Exit to Title Screen", FONT_WHITE);	sprintf(string, "System : %s", systemNames[currentGame.system]);	iconInfo[8].image = graphics.textSurface(string, FONT_WHITE);	sprintf(string, "Stationed At: %s", systemPlanet[currentGame.stationedPlanet].name);	iconInfo[9].image = graphics.textSurface(string, FONT_WHITE);	strcpy(string, "Destination: None");	if (currentGame.destinationPlanet > -1)		sprintf(string, "Destination: %s", systemPlanet[currentGame.destinationPlanet].name);	iconInfo[10].image = graphics.textSurface(string, FONT_WHITE);	for (int i = 0 ; i < 9 ; i++)		iconInfo[i].x = (800 - iconInfo[i].image->w) / 2;	iconInfo[11].image = graphics.textSurface("Go to Destination Planet", FONT_WHITE);	signed char redrawBackGround = 1;	player.maxShield = (25 * currentGame.shieldUnits);	if (currentGame.distanceCovered > 0)		section = 0;	else		player.shield = player.maxShield;	unsigned long frameLimit = SDL_GetTicks();	flushInput();	engine.keyState[SDLK_LCTRL] = engine.keyState[SDLK_RCTRL] = engine.keyState[SDLK_SPACE] = 0;	engine.done = 0;	while (!engine.done)	{		graphics.updateScreen();		if (redrawBackGround)		{			graphics.drawBackGround();			redrawBackGround = 0;		}		else		{			graphics.unBuffer();		}  		doStarfield();		r.x = 0;		r.y = 0;		r.h = 600;		r.w = 1;		for (int i = 40 ; i < 800 ; i+= 40)		{			r.x = i;			SDL_FillRect(graphics.screen, &r, graphics.darkerBlue);		}		r.x = 0;		r.y = 0;		r.h = 1;		r.w = 800;		for (int i = 40 ; i < 600 ; i+= 40)		{			r.y = i;			SDL_FillRect(graphics.screen, &r, graphics.darkerBlue);		}		if (rand() % 1000 < 2)		{			engine.ssx = Math::rrand(100, 100);			engine.ssy = Math::rrand(100, 100);			engine.ssx /= 100;			engine.ssy /= 100;		}		graphics.blit(iconInfo[8].image, (int)iconInfo[8].x, 15);		switch(section)		{			case 0:				if (currentGame.stationedPlanet == currentGame.destinationPlanet)				{					currentGame.area = systemPlanet[currentGame.stationedPlanet].missionNumber;					rtn = 2;					engine.done = 1;				}				else				{					distance = abs(currentGame.stationedPlanet - currentGame.destinationPlanet);					distance = (5 / distance);					if (distance < 1)						distance = 1;					SDL_FreeSurface(iconInfo[9].image);					iconInfo[9].image = graphics.textSurface(systemPlanet[currentGame.stationedPlanet].name, FONT_WHITE);					SDL_FreeSurface(iconInfo[10].image);					iconInfo[10].image = graphics.textSurface(systemPlanet[currentGame.destinationPlanet].name, FONT_WHITE);					section = 8;					destRect.x = 180;					destRect.y = 450;					destRect.w = 1;					if (currentGame.distanceCovered > 0)						destRect.w = currentGame.distanceCovered;					destRect.h = 20;				}				break;			case 1:				if (engine.keyState[SDLK_SPACE])				{					movePlanets = !movePlanets;					engine.keyState[SDLK_SPACE] = 0;				}				if (movePlanets)				{					sinX += 0.01;					cosY += 0.01;				}				if (showSystem(sinX, cosY))				{					if (currentGame.system == 0)					{						sprintf(string, "Stationed At: %s", systemPlanet[currentGame.stationedPlanet].name);						SDL_FreeSurface(iconInfo[9].image);						iconInfo[9].image = graphics.textSurface(string, FONT_WHITE);						updateCommsSurface(commsSurface);					}					else					{						sprintf(string, "Destination: %s", systemPlanet[currentGame.destinationPlanet].name);						SDL_FreeSurface(iconInfo[10].image);						iconInfo[10].image = graphics.textSurface(string, FONT_WHITE);					}				}				graphics.blit(iconInfo[9].image, 90, 450);				if ((currentGame.system > 0) && (currentGame.stationedPlanet != currentGame.destinationPlanet))					graphics.blit(iconInfo[10].image, 550, 450);				break;			case 2:				showStatus(statsSurface);				break;			case 3:				graphics.blit(savesSurface, 200, 100);				saveSlot = showSaveSlots(savesSurface, saveSlot);				break;         case 4:         	showShop();         	break;			case 5:				graphics.blit(commsSurface, 170, 70);				doComms(commsSurface);				break;			case 6:				graphics.blit(optionsSurface, 230, 130);				showOptions(optionsSurface);				break;         case 7:         	rtn = 0;				engine.done = 1;				break;			case 8:				showSystem(sinX, cosY);				graphics.blit(systemPlanet[currentGame.stationedPlanet].image, 150, 450);				graphics.blit(iconInfo[9].image, 135, 480);				graphics.blit(systemPlanet[currentGame.destinationPlanet].image, 650, 450);				graphics.blit(iconInfo[10].image, 635, 480);				destRect.w += distance;				SDL_FillRect(graphics.screen, &destRect, graphics.red);				if (destRect.w >= 450)				{					currentGame.stationedPlanet = currentGame.destinationPlanet;					currentGame.distanceCovered = 0;					player.shield = player.maxShield;					sprintf(string, "Stationed At: %s", systemPlanet[currentGame.stationedPlanet].name);					strcpy(currentGame.stationedName, systemPlanet[currentGame.stationedPlanet].name);					SDL_FreeSurface(iconInfo[9].image);					iconInfo[9].image = graphics.textSurface(string, FONT_WHITE);					updateCommsSurface(commsSurface);					section = 1;					redrawBackGround = 1;				}				if (interceptionChance > 0)				{					if ((rand() % interceptionChance) == 0)					{						currentGame.area = MAX_MISSIONS - 1;						rtn = 2;						engine.done = 1;						currentGame.distanceCovered = destRect.w;					}				}				break;		}		graphics.addBuffer(300, 545, 200, 15);		if (section != 8)		{			for (int i = 0 ; i < 8 ; i++)			{				// if the mission has been completed, there is no "Start Next Mission" icon				if (i == 0)				{					if ((currentGame.stationedPlanet == currentGame.destinationPlanet) && (systemPlanet[currentGame.stationedPlanet].missionCompleted != 0))						continue;					else if (currentGame.stationedPlanet == currentGame.destinationPlanet)						graphics.blit(graphics.shape[1], 80 + (i * 90), 500);					else if (currentGame.stationedPlanet != currentGame.destinationPlanet)						graphics.blit(graphics.shape[26], 80 + (i * 90), 500);				}				else				{					graphics.blit(graphics.shape[i + 1], 80 + (i * 90), 500);				}				if (Collision::collision(engine.cursor_x + 13, engine.cursor_y + 13, 6, 6, 80 + (i * 90), 500, 32, 32))				{					if (i != 0)					{						graphics.blit(iconInfo[i].image, (int)iconInfo[i].x, 545);					}					else					{						if (currentGame.stationedPlanet == currentGame.destinationPlanet)							graphics.blit(iconInfo[0].image, (int)iconInfo[i].x, 545);						else							graphics.blit(iconInfo[11].image, (int)iconInfo[i].x, 545);					}					if ((engine.keyState[SDLK_LCTRL]) || (engine.keyState[SDLK_RCTRL]))					{						redrawBackGround = 1;						section = i;						engine.keyState[SDLK_LCTRL] = engine.keyState[SDLK_RCTRL] = 0;					}				}			}		}		engine.keyState[SDLK_LCTRL] = engine.keyState[SDLK_RCTRL] = engine.keyState[SDLK_SPACE] = 0;		doCursor();		// Limit us to 60 frame a second		while (SDL_GetTicks() < (frameLimit + 16)){}		frameLimit = SDL_GetTicks();	}	Mix_HaltMusic();	SDL_FreeSurface(statsSurface);	SDL_FreeSurface(savesSurface);	SDL_FreeSurface(optionsSurface);	SDL_FreeSurface(commsSurface);	for (int i = 0 ; i < 12 ; i++)		SDL_FreeSurface(iconInfo[i].image);	player.maxShield = (25 * currentGame.shieldUnits);	if (currentGame.distanceCovered == 0)		player.shield = player.maxShield;	return rtn;}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产寡妇亲子伦一区二区| 国产成人夜色高潮福利影视| 国产成人久久精品77777最新版本| 91麻豆精品国产91久久久使用方法 | 欧美一级xxx| 麻豆精品视频在线观看| 日韩欧美在线网站| 国产成人精品免费在线| 中文字幕一区二区三区在线播放 | 久久精品国产99| 337p粉嫩大胆色噜噜噜噜亚洲| 麻豆成人久久精品二区三区红 | 91成人在线免费观看| 亚洲成av人片一区二区| 日韩一区二区免费在线观看| 激情图片小说一区| 国产精品不卡一区二区三区| 欧美亚洲国产bt| 久久疯狂做爰流白浆xx| 国产精品久久久久久久浪潮网站| 一本到高清视频免费精品| 日韩精品乱码免费| 日本一区二区三区四区在线视频| 一本大道久久a久久综合婷婷| 亚洲成av人片www| 欧美va天堂va视频va在线| 成人国产精品免费网站| 午夜精品福利视频网站| 久久久不卡影院| 在线免费观看视频一区| 国内精品在线播放| 一区二区三区四区精品在线视频| 成人av网站在线观看免费| 欧美一区二区三区色| 国产成人av电影在线播放| 亚洲小说欧美激情另类| www国产精品av| 在线观看日韩精品| 国产精品2024| 婷婷丁香激情综合| 中文字幕永久在线不卡| 精品久久久久久久久久久久包黑料| 成人免费观看av| 美女看a上一区| 亚洲在线中文字幕| 国产精品午夜久久| 日韩一区二区免费视频| 日本高清不卡视频| 成人精品鲁一区一区二区| 日本在线不卡一区| 一区二区理论电影在线观看| 久久网这里都是精品| 欧美日本视频在线| 色激情天天射综合网| 国产精品白丝jk白祙喷水网站| 午夜精品福利一区二区三区av| 成人免费一区二区三区在线观看| 日韩免费电影一区| 69堂精品视频| 色噜噜狠狠成人网p站| 高清成人在线观看| 国产乱码精品一区二区三 | 亚洲va在线va天堂| 亚洲人一二三区| 中文成人综合网| 久久久久久久久99精品| 欧美大尺度电影在线| 欧美日韩高清影院| 欧美日韩一区高清| 91福利精品视频| 色婷婷综合五月| 91丨九色丨蝌蚪富婆spa| av在线不卡电影| 99久久久国产精品| 99久久久久久99| 91小视频在线免费看| 成人免费高清视频| 成人a级免费电影| 成人看片黄a免费看在线| 国产精品一二三区在线| 国产激情视频一区二区在线观看 | 久久99精品国产麻豆不卡| 蜜臀久久99精品久久久画质超高清 | 奇米精品一区二区三区在线观看一 | 日韩综合一区二区| 日韩电影在线一区| 日本va欧美va瓶| 久久97超碰色| 国产高清不卡二三区| 福利一区福利二区| 不卡一区在线观看| 色婷婷狠狠综合| 欧美三级电影精品| 日韩一区二区三区视频在线| 欧美一区二区三区在线视频| 精品久久久久一区| 国产人久久人人人人爽| 亚洲欧洲性图库| 亚洲一级在线观看| 捆绑变态av一区二区三区| 国产一区欧美一区| 成人av一区二区三区| 91国在线观看| 欧美一区二视频| 国产视频一区在线播放| 亚洲人精品一区| 日韩成人伦理电影在线观看| 国产在线视频一区二区| 成人18精品视频| 欧美日韩国产123区| 精品国一区二区三区| 一色屋精品亚洲香蕉网站| 午夜视频一区二区| 国产不卡高清在线观看视频| 在线视频一区二区免费| 日韩欧美www| 亚洲精品成人在线| 久久成人久久爱| 99v久久综合狠狠综合久久| 欧美三级在线看| 中文字幕的久久| 视频一区二区三区在线| 成人久久久精品乱码一区二区三区| 欧亚洲嫩模精品一区三区| 精品国产1区2区3区| 亚洲精品高清在线| 国产ts人妖一区二区| 欧美日韩国产高清一区| 国产精品高潮呻吟| 蜜桃视频在线一区| 在线影视一区二区三区| 26uuu色噜噜精品一区| 亚洲国产精品嫩草影院| 成人黄色电影在线 | 欧美精品自拍偷拍动漫精品| 国产日产亚洲精品系列| 日韩av中文字幕一区二区| 99精品国产一区二区三区不卡| 日韩欧美国产电影| 亚洲一二三四久久| eeuss鲁片一区二区三区在线观看| 555www色欧美视频| 亚洲人成网站精品片在线观看| 激情欧美日韩一区二区| 欧美日韩国产一区| 亚洲精选视频免费看| 岛国精品在线播放| 久久综合av免费| 热久久久久久久| 欧美理论电影在线| 一区二区三区高清在线| 不卡一区二区中文字幕| 日本一区二区在线不卡| 国内精品久久久久影院色| 欧美一区国产二区| 午夜精品久久久久影视| 欧美亚洲动漫精品| 亚洲精品国产精品乱码不99 | 国产精品午夜免费| 国产精品77777竹菊影视小说| 日韩一级免费观看| 亚洲国产精品一区二区久久恐怖片 | 亚洲国产精品成人综合色在线婷婷 | 日韩精品在线看片z| 首页欧美精品中文字幕| 欧美美女网站色| 天天影视网天天综合色在线播放| 在线视频一区二区免费| 亚洲一区在线看| 欧美视频一二三区| 天天做天天摸天天爽国产一区 | 成人h动漫精品一区二区| 国产精品久久久久久亚洲伦| 成人18视频在线播放| 亚洲日本一区二区| 色哟哟一区二区三区| 亚洲一区二区三区精品在线| 欧美三级视频在线观看| 日本不卡视频一二三区| 欧美mv日韩mv亚洲| 韩国一区二区三区| 国产视频一区在线播放| 99在线精品免费| 91麻豆精品国产91| 亚洲精品免费在线| 欧美唯美清纯偷拍| 蜜臀久久久99精品久久久久久| 日韩欧美在线影院| 成人深夜视频在线观看| 亚洲天堂a在线| 欧美精品丝袜久久久中文字幕| 日韩avvvv在线播放| 久久毛片高清国产| 91视频免费播放| 性久久久久久久久| 久久伊99综合婷婷久久伊| av午夜一区麻豆| 午夜国产精品一区| 国产亚洲精品7777| 欧美影院午夜播放|