Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

mapEditor.h

Go to the documentation of this file.
00001 /* 00002 Copyright (C) 2004 Parallel Realities 00003 00004 This program is free software; you can redistribute it and/or 00005 modify it under the terms of the GNU General Public License 00006 as published by the Free Software Foundation; either version 2 00007 of the License, or (at your option) any later version. 00008 00009 This program is distributed in the hope that it will be useful, 00010 but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00012 00013 See the GNU General Public License for more details. 00014 00015 You should have received a copy of the GNU General Public License 00016 along with this program; if not, write to the Free Software 00017 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00018 00019 */ 00020 00021 #include "headers.h" 00022 00023 extern void initSystem(); 00024 extern void cleanup(); 00025 extern void loadResources(); 00026 00027 extern void doItems(); 00028 extern void doPlayer(); 00029 extern void doTrains(); 00030 extern void doSwitches(); 00031 extern void doBullets(); 00032 extern void doEffects(); 00033 extern void doParticles(); 00034 extern void doMIAs(); 00035 extern void doObstacles(); 00036 extern void doTeleporters(); 00037 extern void doLineDefs(); 00038 extern void doTraps(); 00039 00040 extern void addEnemy(char *name, int x, int y, int flags); 00041 extern void addItem(int itemType, char *name, int x, int y, char *spriteName, int health, int value, int flags, bool randomMovement); 00042 00043 class String { 00044 00045 public: 00046 00047 char string[1024]; 00048 String *next; 00049 00050 String() 00051 { 00052 strcpy(string, ""); 00053 next = NULL; 00054 } 00055 00056 }; 00057 00058 String *stringHead = new String; 00059 String *stringTail = stringHead; 00060 00061 Audio audio; 00062 Engine engine; 00063 Game game; 00064 GameData gameData; 00065 Graphics graphics; 00066 Map map; 00067 00068 Entity defEnemy[MAX_ENEMIES]; 00069 Entity defItem[MAX_ITEMS]; 00070 Entity player; 00071 Weapon weapon[MAX_WEAPONS];

Generated on Thu Dec 2 20:26:03 2004 for Blob Wars : Metal Blob Solid by doxygen 1.3.7