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

📄 globals.cpp

📁 After decades of war one company, who had gained powerful supplying both sides with weaponary, steps
💻 CPP
字号:
/*Copyright (C) 2003 Parallel RealitiesThis program is free software; you can redistribute it and/ormodify it under the terms of the GNU General Public Licenseas published by the Free Software Foundation; either version 2of the License, or (at your option) any later version.This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the GNU General Public License for more details.You should have received a copy of the GNU General Public Licensealong with this program; if not, write to the Free SoftwareFoundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.*/#include "globals.h"void defineGlobals(){	engine.musicVolume = 100;	engine.useAudio = 2;   engine.maxAliens = 9;   engine.ssx = 0;	engine.ssy = 0;   engine.bulletHead = new object;	engine.bulletHead->next = NULL;	engine.bulletTail = engine.bulletHead;	engine.explosionHead = new object;	engine.explosionHead->next = NULL;	engine.explosionTail = engine.explosionHead;	engine.collectableHead = new collectables;	engine.collectableHead->next = NULL;	engine.collectableTail = engine.collectableHead;	engine.debrisHead = new object;	engine.debrisHead->next = NULL;	engine.debrisTail = engine.debrisHead;	engine.commsSection = 0;   for (int i = 0 ; i < 350 ; i++)   	engine.keyState[i] = 0;   engine.eventTimer = 0;	engine.counter2 = 0;	engine.timeTaken = 0;	engine.timeMission = 0;	engine.counter = 0;	engine.seconds = 0;	engine.minutes = 0;	engine.paused = 0;	engine.gameSection = SECTION_TITLE;		engine.targetArrow = -1;	engine.targetArrowTimer = 0;	engine.cheat = 0;	engine.cheatShield = 0;	engine.cheatAmmo = 0;	engine.cheatCash = 0;   // All Development Stuff...	dev.moveAliens = 1;	dev.fireAliens = 1;}

⌨️ 快捷键说明

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