/* Copyright (C) 2009-2011 id Software LLC, a ZeniMax Media company. Copyright (C) 2009 Id Software, Inc. 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. */ #ifndef _DOOM_IPHONE_H_ #define _DOOM_IPHONE_H_ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "iphone/gles_glue.h" #include #include #include #undef ALCAPI #define ALCAPI #undef false #undef true #include "prboom/SDL_opengl.h" // prBoom code #include "prboom/m_fixed.h" #include "prboom/doomdef.h" #include "prboom/doomtype.h" #include "prboom/doomstat.h" #include "prboom/d_net.h" #include "prboom/dstrings.h" #include "prboom/sounds.h" #include "prboom/z_zone.h" #include "prboom/w_wad.h" #include "prboom/s_sound.h" #include "prboom/v_video.h" #include "prboom/f_finale.h" #include "prboom/f_wipe.h" #include "prboom/m_argv.h" #include "prboom/m_misc.h" #include "prboom/m_menu.h" #include "prboom/p_checksum.h" #include "prboom/i_main.h" #include "prboom/i_system.h" #include "prboom/i_sound.h" #include "prboom/i_video.h" #include "prboom/g_game.h" #include "prboom/hu_stuff.h" #include "prboom/wi_stuff.h" #include "prboom/st_stuff.h" #include "prboom/am_map.h" #include "prboom/p_setup.h" #include "prboom/r_draw.h" #include "prboom/r_main.h" #include "prboom/r_fps.h" #include "prboom/d_main.h" #include "prboom/d_deh.h" #include "prboom/lprintf.h" #include "prboom/am_map.h" #include "prboom/gl_intern.h" #include "prboom/p_mobj.h" #include "prboom/p_maputl.h" #include "prboom/p_map.h" // open / close name collision problem... #include "prboom/p_spec.h" #include "prboom/p_inter.h" #include "prboom/m_random.h" #include "prboom/m_bbox.h" #include "prboom/m_cheat.h" // we will now define landscapeViewport / landscapeScissor to rotate the coords #undef glViewport #undef glScissor // our vestigial system environment #include "iphone/misc.h" #include "iphone/cvar.h" // new iphone code #include "iphone/IBGlue.h" #include "iphone/ipak.h" #include "iphone/iphone_doom.h" #include "iphone/iphone_email.h" //gsh, adds support for emailing the console to id #endif