/* Copyright (C) 2006 Parallel Realities This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of 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 of MERCHANTABILITY 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 License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "headers.h" class SceneInstruction { public: String name; void (*function)(char *args); SceneInstruction() { function = NULL; } void set(char *name, void (*function)(char *args)) { this->name = name; this->function = function; } }; SceneInstruction sceneInstruction[256]; extern void doGameObjects(); extern void drawGameObjects(); extern void resetEnemyThinkTimes(); extern void fireTriggers(char *name, int type); extern void handleStructureStateChange(char *name, bool active); extern void toggleLaserTrap(char *name); extern void drawGameObjects(); extern void faceLocation(Unit *unit, Vector location); extern void addTeleportParticles(Vector position); extern Texture *getRequiredTexture(char *textureFileName); extern void renderScaledTexture(Texture *texture); extern Audio *audio; extern BSP *bsp; extern BoundingBoxManager *bbManager; extern Camera *camera; extern Engine *engine; extern EntityManager *entityManager; extern Game *game; extern Graphics *graphics; extern Map *map; extern Mission *mission; extern ModelManager *modelManager; extern Mouse *mouse; extern ParticleManager *particleManager; extern TextureManager *textureManager; extern TextureSpecManager *textureSpecManager; extern Trace *tracer; extern UIManager *uiManager; extern Unit *player;