mirror of
https://github.com/id-Software/DOOM-iOS.git
synced 2024-11-10 06:31:53 +00:00
106 lines
2.4 KiB
Text
106 lines
2.4 KiB
Text
/*
|
|
* doomiphone.h
|
|
* doom
|
|
*
|
|
* Created by John Carmack on 3/13/09.
|
|
* Copyright 2009 idSoftware. All rights reserved.
|
|
*
|
|
*/
|
|
|
|
#include <string.h>
|
|
#include <stdarg.h>
|
|
#include <assert.h>
|
|
#include <setjmp.h>
|
|
#include <math.h>
|
|
#include <unistd.h>
|
|
#include <stdio.h>
|
|
#include <dlfcn.h>
|
|
#include <dlfcn.h>
|
|
#include <time.h>
|
|
#include <sys/time.h>
|
|
#include <sys/stat.h>
|
|
#include <sys/mman.h>
|
|
#include <dirent.h>
|
|
#include <stdlib.h>
|
|
#include <errno.h>
|
|
#include <fcntl.h>
|
|
#include <pthread.h>
|
|
#include <semaphore.h>
|
|
|
|
#include <sys/socket.h>
|
|
#include <netinet/in.h>
|
|
#include <sys/ioctl.h>
|
|
#include <ifaddrs.h>
|
|
|
|
#include <OpenGLES/ES1/gl.h>
|
|
#include <OpenGLES/ES1/glext.h>
|
|
#include "iphone/gles_glue.h"
|
|
|
|
#include <OpenAL/al.h>
|
|
#include <OpenAL/alc.h>
|
|
#include <OpenAL/oalStaticBufferExtension.h>
|
|
#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/ipak.h"
|
|
#include "iphone/iphone_doom.h"
|
|
|