├── .gitignore
├── .travis.yml
├── LICENSE
├── MANIFEST.in
├── Makefile
├── README.md
├── doom_py
├── .gitignore
├── CMakeLists.txt
├── README.md
├── __init__.py
├── cmake_all.sh
├── cmake_clean.sh
├── cmake_modules
│ ├── CleanDirectoryList.cmake
│ ├── CreateLaunchers.cmake
│ ├── FindFluidSynth.cmake
│ ├── FindMPG123.cmake
│ ├── FindNumPy.cmake
│ ├── FindSDL2.cmake
│ ├── FindSndFile.cmake
│ └── launcher-templates
│ │ ├── genericlauncher.cmd.in
│ │ ├── launcher.env.cmd.in
│ │ ├── perconfig.vcproj.user.in
│ │ ├── perconfig.vcxproj.user.in
│ │ ├── targetlauncher.cmd.in
│ │ ├── vcproj.user.in
│ │ └── vcxproj.user.in
├── download_freedoom.sh
├── examples
│ ├── bin
│ │ └── vizdoom.so.dir
│ │ │ ├── DependInfo.cmake
│ │ │ ├── build.make
│ │ │ ├── cmake_clean.cmake
│ │ │ ├── depend.make
│ │ │ ├── flags.make
│ │ │ └── progress.make
│ ├── c++
│ │ ├── .gitignore
│ │ ├── Basic.cpp
│ │ ├── CIG.cpp
│ │ ├── CIGBots.cpp
│ │ ├── CIGHost.cpp
│ │ ├── CMakeLists.txt
│ │ ├── DeltaButtons.cpp
│ │ ├── Multiplayer.cpp
│ │ ├── MultiplayerHost.cpp
│ │ ├── README.md
│ │ ├── Seed.cpp
│ │ ├── Shaping.cpp
│ │ └── Spectator.cpp
│ ├── config
│ │ ├── basic.cfg
│ │ ├── bots.cfg
│ │ ├── cig.cfg
│ │ ├── deadly_corridor.cfg
│ │ ├── deathmatch.cfg
│ │ ├── defend_the_center.cfg
│ │ ├── defend_the_line.cfg
│ │ ├── health_gathering.cfg
│ │ ├── learning.cfg
│ │ ├── multi.cfg
│ │ ├── my_way_home.cfg
│ │ ├── predict_position.cfg
│ │ └── take_cover.cfg
│ ├── java
│ │ ├── Basic.java
│ │ ├── CIG.java
│ │ ├── CIGBots.java
│ │ ├── CIGHost.java
│ │ ├── CMakeLists.txt
│ │ ├── DeltaButtons.java
│ │ ├── Multiplayer.java
│ │ ├── MultiplayerHost.java
│ │ ├── README.md
│ │ ├── Seed.java
│ │ ├── Shaping.java
│ │ └── Spectator.java
│ └── python
│ │ ├── README.md
│ │ ├── basic.py
│ │ ├── bots.cfg
│ │ ├── cig.py
│ │ ├── cig_bots.py
│ │ ├── cig_host.py
│ │ ├── delta_buttons.py
│ │ ├── format.py
│ │ ├── fps.py
│ │ ├── learning.py
│ │ ├── scenarios.py
│ │ ├── seed.py
│ │ ├── shaping.py
│ │ └── spectator.py
├── include
│ ├── ViZDoom.h
│ ├── ViZDoomDefines.h
│ ├── ViZDoomExceptions.h
│ ├── ViZDoomGame.h
│ └── ViZDoomUtilities.h
├── run_cmake.sh
├── scenarios
│ ├── README
│ ├── README.md
│ ├── basic.wad
│ ├── cig.wad
│ ├── deadly_corridor.wad
│ ├── deathmatch.wad
│ ├── defend_the_center.wad
│ ├── defend_the_line.wad
│ ├── health_gathering.wad
│ ├── health_gathering_supreme.wad
│ ├── multi_deathmatch.wad
│ ├── my_way_home.wad
│ ├── predict_position.wad
│ └── take_cover.wad
└── src
│ ├── lib
│ ├── ViZDoomController.cpp
│ ├── ViZDoomController.h
│ ├── ViZDoomExceptions.cpp
│ ├── ViZDoomGame.cpp
│ ├── ViZDoomUtilities.cpp
│ └── boost
│ │ ├── process.hpp
│ │ └── process
│ │ ├── all.hpp
│ │ ├── child.hpp
│ │ ├── config.hpp
│ │ ├── create_pipe.hpp
│ │ ├── execute.hpp
│ │ ├── executor.hpp
│ │ ├── initializers.hpp
│ │ ├── mitigate.hpp
│ │ ├── pipe.hpp
│ │ ├── posix
│ │ ├── child.hpp
│ │ ├── create_pipe.hpp
│ │ ├── execute.hpp
│ │ ├── executor.hpp
│ │ ├── initializers.hpp
│ │ ├── initializers
│ │ │ ├── bind_fd.hpp
│ │ │ ├── bind_stderr.hpp
│ │ │ ├── bind_stdin.hpp
│ │ │ ├── bind_stdout.hpp
│ │ │ ├── close_fd.hpp
│ │ │ ├── close_fds.hpp
│ │ │ ├── close_fds_if.hpp
│ │ │ ├── close_stderr.hpp
│ │ │ ├── close_stdin.hpp
│ │ │ ├── close_stdout.hpp
│ │ │ ├── hide_console.hpp
│ │ │ ├── inherit_env.hpp
│ │ │ ├── initializer_base.hpp
│ │ │ ├── notify_io_service.hpp
│ │ │ ├── on_exec_error.hpp
│ │ │ ├── on_exec_setup.hpp
│ │ │ ├── on_fork_error.hpp
│ │ │ ├── on_fork_setup.hpp
│ │ │ ├── on_fork_success.hpp
│ │ │ ├── run_exe.hpp
│ │ │ ├── set_args.hpp
│ │ │ ├── set_cmd_line.hpp
│ │ │ ├── set_env.hpp
│ │ │ ├── set_on_error.hpp
│ │ │ ├── start_in_dir.hpp
│ │ │ └── throw_on_error.hpp
│ │ ├── pipe.hpp
│ │ ├── search_path.hpp
│ │ ├── shell_path.hpp
│ │ ├── terminate.hpp
│ │ └── wait_for_exit.hpp
│ │ ├── search_path.hpp
│ │ ├── shell_path.hpp
│ │ ├── terminate.hpp
│ │ ├── wait_for_exit.hpp
│ │ └── windows
│ │ ├── child.hpp
│ │ ├── create_pipe.hpp
│ │ ├── execute.hpp
│ │ ├── executor.hpp
│ │ ├── initializers.hpp
│ │ ├── initializers
│ │ ├── bind_stderr.hpp
│ │ ├── bind_stdin.hpp
│ │ ├── bind_stdout.hpp
│ │ ├── close_stderr.hpp
│ │ ├── close_stdin.hpp
│ │ ├── close_stdout.hpp
│ │ ├── hide_console.hpp
│ │ ├── inherit_env.hpp
│ │ ├── initializer_base.hpp
│ │ ├── on_CreateProcess_error.hpp
│ │ ├── on_CreateProcess_setup.hpp
│ │ ├── on_CreateProcess_success.hpp
│ │ ├── run_exe.hpp
│ │ ├── set_args.hpp
│ │ ├── set_cmd_line.hpp
│ │ ├── set_env.hpp
│ │ ├── set_on_error.hpp
│ │ ├── show_window.hpp
│ │ ├── start_in_dir.hpp
│ │ └── throw_on_error.hpp
│ │ ├── pipe.hpp
│ │ ├── search_path.hpp
│ │ ├── shell_path.hpp
│ │ ├── terminate.hpp
│ │ └── wait_for_exit.hpp
│ ├── lib_java
│ ├── ViZDoomGameJava.cpp
│ ├── ViZDoomGameJava.h
│ └── java_classes
│ │ ├── DoomGame.java
│ │ ├── GameState.java
│ │ ├── enums
│ │ ├── Button.java
│ │ ├── GameVariable.java
│ │ ├── Mode.java
│ │ ├── ScreenFormat.java
│ │ └── ScreenResolution.java
│ │ └── exceptions
│ │ ├── FileDoesNotExistException.java
│ │ ├── MessageQueueException.java
│ │ ├── SharedMemoryException.java
│ │ ├── ViZDoomErrorException.java
│ │ ├── ViZDoomIsNotRunningException.java
│ │ ├── ViZDoomMismatchedVersionException.java
│ │ └── ViZDoomUnexpectedExitException.java
│ ├── lib_python
│ ├── ViZDoomGamePython.cpp
│ ├── ViZDoomGamePython.h
│ └── ViZDoomPythonModule.cpp
│ └── vizdoom
│ ├── CMakeLists.txt
│ ├── bzip2
│ ├── CHANGES
│ ├── CMakeLists.txt
│ ├── LICENSE
│ ├── README
│ ├── blocksort.c
│ ├── bzip2.vcproj
│ ├── bzlib.c
│ ├── bzlib.h
│ ├── bzlib_private.h
│ ├── compress.c
│ ├── crctable.c
│ ├── decompress.c
│ ├── huffman.c
│ └── randtable.c
│ ├── dumb
│ ├── CMakeLists.txt
│ ├── cmake
│ │ ├── CMakeLists.txt
│ │ └── readme.txt
│ ├── include
│ │ ├── dumb.h
│ │ └── internal
│ │ │ ├── aldumb.h
│ │ │ ├── barray.h
│ │ │ ├── dumb.h
│ │ │ ├── dumbfile.h
│ │ │ ├── it.h
│ │ │ ├── lpc.h
│ │ │ ├── mulsc.h
│ │ │ ├── resampler.h
│ │ │ ├── riff.h
│ │ │ └── stack_alloc.h
│ ├── licence.txt
│ ├── prj
│ │ ├── .gitignore
│ │ └── dumb
│ │ │ └── dumb.pro
│ ├── readme.txt
│ ├── release.txt
│ ├── src
│ │ ├── core
│ │ │ ├── atexit.c
│ │ │ ├── duhlen.c
│ │ │ ├── duhtag.c
│ │ │ ├── dumbfile.c
│ │ │ ├── loadduh.c
│ │ │ ├── makeduh.c
│ │ │ ├── rawsig.c
│ │ │ ├── readduh.c
│ │ │ ├── register.c
│ │ │ ├── rendduh.c
│ │ │ ├── rendsig.c
│ │ │ └── unload.c
│ │ ├── helpers
│ │ │ ├── barray.c
│ │ │ ├── clickrem.c
│ │ │ ├── lpc.c
│ │ │ ├── memfile.c
│ │ │ ├── resamp2.inc
│ │ │ ├── resamp3.inc
│ │ │ ├── resample.c
│ │ │ ├── resample.inc
│ │ │ ├── resampler.c
│ │ │ ├── riff.c
│ │ │ ├── sampbuf.c
│ │ │ ├── silence.c
│ │ │ └── stdfile.c
│ │ └── it
│ │ │ ├── itload.c
│ │ │ ├── itload2.c
│ │ │ ├── itmisc.c
│ │ │ ├── itorder.c
│ │ │ ├── itread.c
│ │ │ ├── itread2.c
│ │ │ ├── itrender.c
│ │ │ ├── itunload.c
│ │ │ ├── load669.c
│ │ │ ├── load6692.c
│ │ │ ├── loadamf.c
│ │ │ ├── loadamf2.c
│ │ │ ├── loadany.c
│ │ │ ├── loadany2.c
│ │ │ ├── loadasy.c
│ │ │ ├── loadasy2.c
│ │ │ ├── loadmod.c
│ │ │ ├── loadmod2.c
│ │ │ ├── loadmtm.c
│ │ │ ├── loadmtm2.c
│ │ │ ├── loadokt.c
│ │ │ ├── loadokt2.c
│ │ │ ├── loadoldpsm.c
│ │ │ ├── loadoldpsm2.c
│ │ │ ├── loadpsm.c
│ │ │ ├── loadpsm2.c
│ │ │ ├── loadptm.c
│ │ │ ├── loadptm2.c
│ │ │ ├── loadriff.c
│ │ │ ├── loadriff2.c
│ │ │ ├── loads3m.c
│ │ │ ├── loads3m2.c
│ │ │ ├── loadstm.c
│ │ │ ├── loadstm2.c
│ │ │ ├── loadxm.c
│ │ │ ├── loadxm2.c
│ │ │ ├── ptmeffect.c
│ │ │ ├── read669.c
│ │ │ ├── read6692.c
│ │ │ ├── readam.c
│ │ │ ├── readamf.c
│ │ │ ├── readamf2.c
│ │ │ ├── readany.c
│ │ │ ├── readany2.c
│ │ │ ├── readasy.c
│ │ │ ├── readdsmf.c
│ │ │ ├── readmod.c
│ │ │ ├── readmod2.c
│ │ │ ├── readmtm.c
│ │ │ ├── readokt.c
│ │ │ ├── readokt2.c
│ │ │ ├── readoldpsm.c
│ │ │ ├── readpsm.c
│ │ │ ├── readptm.c
│ │ │ ├── readriff.c
│ │ │ ├── reads3m.c
│ │ │ ├── reads3m2.c
│ │ │ ├── readstm.c
│ │ │ ├── readstm2.c
│ │ │ ├── readxm.c
│ │ │ ├── readxm2.c
│ │ │ └── xmeffect.c
│ └── vc6
│ │ ├── dumb
│ │ ├── .gitignore
│ │ └── dumb.vcproj
│ │ └── dumb_static
│ │ └── dumb_static.vcproj
│ ├── game-music-emu
│ ├── CMakeLists.txt
│ ├── changes.txt
│ ├── design.txt
│ ├── game-music-emu.vcproj
│ ├── gme.txt
│ ├── gme
│ │ ├── Ay_Apu.cpp
│ │ ├── Ay_Apu.h
│ │ ├── Ay_Cpu.cpp
│ │ ├── Ay_Cpu.h
│ │ ├── Ay_Emu.cpp
│ │ ├── Ay_Emu.h
│ │ ├── Blip_Buffer.cpp
│ │ ├── Blip_Buffer.h
│ │ ├── CMakeLists.txt
│ │ ├── Classic_Emu.cpp
│ │ ├── Classic_Emu.h
│ │ ├── Data_Reader.cpp
│ │ ├── Data_Reader.h
│ │ ├── Dual_Resampler.cpp
│ │ ├── Dual_Resampler.h
│ │ ├── Effects_Buffer.cpp
│ │ ├── Effects_Buffer.h
│ │ ├── Fir_Resampler.cpp
│ │ ├── Fir_Resampler.h
│ │ ├── Gb_Apu.cpp
│ │ ├── Gb_Apu.h
│ │ ├── Gb_Cpu.cpp
│ │ ├── Gb_Cpu.h
│ │ ├── Gb_Oscs.cpp
│ │ ├── Gb_Oscs.h
│ │ ├── Gbs_Emu.cpp
│ │ ├── Gbs_Emu.h
│ │ ├── Gme_File.cpp
│ │ ├── Gme_File.h
│ │ ├── Gym_Emu.cpp
│ │ ├── Gym_Emu.h
│ │ ├── Hes_Apu.cpp
│ │ ├── Hes_Apu.h
│ │ ├── Hes_Cpu.cpp
│ │ ├── Hes_Cpu.h
│ │ ├── Hes_Emu.cpp
│ │ ├── Hes_Emu.h
│ │ ├── Kss_Cpu.cpp
│ │ ├── Kss_Cpu.h
│ │ ├── Kss_Emu.cpp
│ │ ├── Kss_Emu.h
│ │ ├── Kss_Scc_Apu.cpp
│ │ ├── Kss_Scc_Apu.h
│ │ ├── M3u_Playlist.cpp
│ │ ├── M3u_Playlist.h
│ │ ├── Multi_Buffer.cpp
│ │ ├── Multi_Buffer.h
│ │ ├── Music_Emu.cpp
│ │ ├── Music_Emu.h
│ │ ├── Nes_Apu.cpp
│ │ ├── Nes_Apu.h
│ │ ├── Nes_Cpu.cpp
│ │ ├── Nes_Cpu.h
│ │ ├── Nes_Fme7_Apu.cpp
│ │ ├── Nes_Fme7_Apu.h
│ │ ├── Nes_Namco_Apu.cpp
│ │ ├── Nes_Namco_Apu.h
│ │ ├── Nes_Oscs.cpp
│ │ ├── Nes_Oscs.h
│ │ ├── Nes_Vrc6_Apu.cpp
│ │ ├── Nes_Vrc6_Apu.h
│ │ ├── Nsf_Emu.cpp
│ │ ├── Nsf_Emu.h
│ │ ├── Nsfe_Emu.cpp
│ │ ├── Nsfe_Emu.h
│ │ ├── Sap_Apu.cpp
│ │ ├── Sap_Apu.h
│ │ ├── Sap_Cpu.cpp
│ │ ├── Sap_Cpu.h
│ │ ├── Sap_Emu.cpp
│ │ ├── Sap_Emu.h
│ │ ├── Sms_Apu.cpp
│ │ ├── Sms_Apu.h
│ │ ├── Sms_Oscs.h
│ │ ├── Snes_Spc.cpp
│ │ ├── Snes_Spc.h
│ │ ├── Spc_Cpu.cpp
│ │ ├── Spc_Cpu.h
│ │ ├── Spc_Dsp.cpp
│ │ ├── Spc_Dsp.h
│ │ ├── Spc_Emu.cpp
│ │ ├── Spc_Emu.h
│ │ ├── Spc_Filter.cpp
│ │ ├── Spc_Filter.h
│ │ ├── Vgm_Emu.cpp
│ │ ├── Vgm_Emu.h
│ │ ├── Vgm_Emu_Impl.cpp
│ │ ├── Vgm_Emu_Impl.h
│ │ ├── Ym2413_Emu.cpp
│ │ ├── Ym2413_Emu.h
│ │ ├── Ym2612_Emu.cpp
│ │ ├── Ym2612_Emu.h
│ │ ├── blargg_common.h
│ │ ├── blargg_config.h
│ │ ├── blargg_endian.h
│ │ ├── blargg_source.h
│ │ ├── gb_cpu_io.h
│ │ ├── gme.cpp
│ │ ├── gme.h
│ │ ├── gme_types.h
│ │ ├── gme_types.h.in
│ │ ├── hes_cpu_io.h
│ │ ├── nes_cpu_io.h
│ │ └── sap_cpu_io.h
│ ├── license.txt
│ └── readme.txt
│ ├── gdtoa
│ ├── CMakeLists.txt
│ ├── README
│ ├── arithchk.c
│ ├── dmisc.c
│ ├── dtoa.c
│ ├── g_Qfmt.c
│ ├── g__fmt.c
│ ├── g_ddfmt.c
│ ├── g_dfmt.c
│ ├── g_ffmt.c
│ ├── g_xLfmt.c
│ ├── g_xfmt.c
│ ├── gdtoa.c
│ ├── gdtoa.h
│ ├── gdtoa.vcproj
│ ├── gdtoa_fltrnds.h
│ ├── gdtoaimp.h
│ ├── gethex.c
│ ├── gmisc.c
│ ├── hd_init.c
│ ├── hexnan.c
│ ├── misc.c
│ ├── qnan.c
│ ├── qnan.obj
│ ├── smisc.c
│ ├── strtoIQ.c
│ ├── strtoId.c
│ ├── strtoIdd.c
│ ├── strtoIf.c
│ ├── strtoIg.c
│ ├── strtoIx.c
│ ├── strtoIxL.c
│ ├── strtod.c
│ ├── strtodI.c
│ ├── strtodg.c
│ ├── strtodnrp.c
│ ├── strtof.c
│ ├── strtopQ.c
│ ├── strtopd.c
│ ├── strtopdd.c
│ ├── strtopf.c
│ ├── strtopx.c
│ ├── strtopxL.c
│ ├── strtorQ.c
│ ├── strtord.c
│ ├── strtordd.c
│ ├── strtorf.c
│ ├── strtorx.c
│ ├── strtorxL.c
│ ├── sum.c
│ └── ulp.c
│ ├── jpeg-6b
│ ├── CMakeLists.txt
│ ├── README
│ ├── jcomapi.c
│ ├── jconfig.h
│ ├── jdapimin.c
│ ├── jdapistd.c
│ ├── jdatasrc.c
│ ├── jdcoefct.c
│ ├── jdcolor.c
│ ├── jdct.h
│ ├── jddctmgr.c
│ ├── jdhuff.c
│ ├── jdhuff.h
│ ├── jdinput.c
│ ├── jdmainct.c
│ ├── jdmarker.c
│ ├── jdmaster.c
│ ├── jdmerge.c
│ ├── jdphuff.c
│ ├── jdpostct.c
│ ├── jdsample.c
│ ├── jerror.c
│ ├── jerror.h
│ ├── jidctint.c
│ ├── jinclude.h
│ ├── jmemmgr.c
│ ├── jmorecfg.h
│ ├── jpeg-6b.vcproj
│ ├── jpegint.h
│ ├── jpeglib.h
│ ├── jutils.c
│ ├── jversion.h
│ └── readme-zdoom.txt
│ ├── lzma
│ ├── C
│ │ ├── 7z.h
│ │ ├── 7zArcIn.c
│ │ ├── 7zBuf.c
│ │ ├── 7zBuf.h
│ │ ├── 7zCrc.c
│ │ ├── 7zCrc.h
│ │ ├── 7zCrcOpt.c
│ │ ├── 7zDec.c
│ │ ├── 7zStream.c
│ │ ├── 7zTypes.h
│ │ ├── 7zVersion.h
│ │ ├── Bcj2.c
│ │ ├── Bcj2.h
│ │ ├── Bra.c
│ │ ├── Bra.h
│ │ ├── Bra86.c
│ │ ├── BraIA64.c
│ │ ├── Compiler.h
│ │ ├── CpuArch.c
│ │ ├── CpuArch.h
│ │ ├── Delta.c
│ │ ├── Delta.h
│ │ ├── LzFind.c
│ │ ├── LzFind.h
│ │ ├── LzFindMt.c
│ │ ├── LzFindMt.h
│ │ ├── LzHash.h
│ │ ├── Lzma2Dec.c
│ │ ├── Lzma2Dec.h
│ │ ├── LzmaDec.c
│ │ ├── LzmaDec.h
│ │ ├── LzmaEnc.c
│ │ ├── LzmaEnc.h
│ │ ├── Ppmd.h
│ │ ├── Ppmd7.c
│ │ ├── Ppmd7.h
│ │ ├── Ppmd7Dec.c
│ │ ├── Precomp.h
│ │ ├── Threads.c
│ │ └── Threads.h
│ ├── CMakeLists.txt
│ ├── history.txt
│ ├── lzma.txt
│ └── lzmalib.vcproj
│ ├── output_sdl
│ ├── CMakeLists.txt
│ └── output_sdl.c
│ ├── specs
│ ├── fmod_version.txt
│ ├── udmf.txt
│ ├── udmf_zdoom.txt
│ ├── usdf.txt
│ └── usdf_zdoom.txt
│ ├── src
│ ├── CMakeLists.txt
│ ├── GuillotineBinPack.cpp
│ ├── GuillotineBinPack.h
│ ├── Rect.h
│ ├── SkylineBinPack.cpp
│ ├── SkylineBinPack.h
│ ├── __autostart.cpp
│ ├── actionspecials.h
│ ├── actor.h
│ ├── actorptrselect.cpp
│ ├── actorptrselect.h
│ ├── am_map.cpp
│ ├── am_map.h
│ ├── announcer.h
│ ├── asm_ia32
│ │ ├── a.asm
│ │ ├── misc.asm
│ │ ├── tmap.asm
│ │ ├── tmap2.asm
│ │ └── tmap3.asm
│ ├── asm_x86_64
│ │ ├── tmap3.asm
│ │ └── tmap3.s
│ ├── autosegs.h
│ ├── b_bot.cpp
│ ├── b_bot.h
│ ├── b_func.cpp
│ ├── b_game.cpp
│ ├── b_move.cpp
│ ├── b_think.cpp
│ ├── basicinlines.h
│ ├── basictypes.h
│ ├── bbannouncer.cpp
│ ├── c_bind.cpp
│ ├── c_bind.h
│ ├── c_cmds.cpp
│ ├── c_console.cpp
│ ├── c_console.h
│ ├── c_consolebuffer.cpp
│ ├── c_consolebuffer.h
│ ├── c_cvars.cpp
│ ├── c_cvars.h
│ ├── c_dispatch.cpp
│ ├── c_dispatch.h
│ ├── c_expr.cpp
│ ├── cmdlib.cpp
│ ├── cmdlib.h
│ ├── colormatcher.cpp
│ ├── colormatcher.h
│ ├── compatibility.cpp
│ ├── compatibility.h
│ ├── configfile.cpp
│ ├── configfile.h
│ ├── ct_chat.cpp
│ ├── d_dehacked.cpp
│ ├── d_dehacked.h
│ ├── d_event.h
│ ├── d_gui.h
│ ├── d_iwad.cpp
│ ├── d_main.cpp
│ ├── d_main.h
│ ├── d_net.cpp
│ ├── d_net.h
│ ├── d_netinf.h
│ ├── d_netinfo.cpp
│ ├── d_player.h
│ ├── d_protocol.cpp
│ ├── d_protocol.h
│ ├── d_ticcmd.h
│ ├── decallib.cpp
│ ├── decallib.h
│ ├── dobject.cpp
│ ├── dobject.h
│ ├── dobjgc.cpp
│ ├── dobjtype.cpp
│ ├── dobjtype.h
│ ├── doomdata.h
│ ├── doomdef.cpp
│ ├── doomdef.h
│ ├── doomerrors.h
│ ├── doomstat.cpp
│ ├── doomstat.h
│ ├── doomtype.h
│ ├── dscript.h
│ ├── dsectoreffect.cpp
│ ├── dsectoreffect.h
│ ├── dthinker.cpp
│ ├── dthinker.h
│ ├── empty.cpp
│ ├── errors.h
│ ├── f_wipe.cpp
│ ├── f_wipe.h
│ ├── farchive.cpp
│ ├── farchive.h
│ ├── files.cpp
│ ├── files.h
│ ├── fragglescript
│ │ ├── t_cmd.cpp
│ │ ├── t_fs.h
│ │ ├── t_fspic.cpp
│ │ ├── t_func.cpp
│ │ ├── t_load.cpp
│ │ ├── t_oper.cpp
│ │ ├── t_parse.cpp
│ │ ├── t_prepro.cpp
│ │ ├── t_script.cpp
│ │ ├── t_script.h
│ │ ├── t_spec.cpp
│ │ └── t_variable.cpp
│ ├── g_doom
│ │ ├── a_arachnotron.cpp
│ │ ├── a_archvile.cpp
│ │ ├── a_bossbrain.cpp
│ │ ├── a_bruiser.cpp
│ │ ├── a_cacodemon.cpp
│ │ ├── a_cyberdemon.cpp
│ │ ├── a_demon.cpp
│ │ ├── a_doomglobal.h
│ │ ├── a_doomimp.cpp
│ │ ├── a_doommisc.cpp
│ │ ├── a_doomweaps.cpp
│ │ ├── a_fatso.cpp
│ │ ├── a_keen.cpp
│ │ ├── a_lostsoul.cpp
│ │ ├── a_painelemental.cpp
│ │ ├── a_possessed.cpp
│ │ ├── a_revenant.cpp
│ │ ├── a_scriptedmarine.cpp
│ │ └── a_spidermaster.cpp
│ ├── g_doomedmap.cpp
│ ├── g_game.cpp
│ ├── g_game.h
│ ├── g_heretic
│ │ ├── a_chicken.cpp
│ │ ├── a_dsparil.cpp
│ │ ├── a_hereticartifacts.cpp
│ │ ├── a_hereticimp.cpp
│ │ ├── a_hereticmisc.cpp
│ │ ├── a_hereticweaps.cpp
│ │ ├── a_ironlich.cpp
│ │ ├── a_knight.cpp
│ │ └── a_wizard.cpp
│ ├── g_hexen
│ │ ├── a_bats.cpp
│ │ ├── a_bishop.cpp
│ │ ├── a_blastradius.cpp
│ │ ├── a_boostarmor.cpp
│ │ ├── a_centaur.cpp
│ │ ├── a_clericflame.cpp
│ │ ├── a_clericholy.cpp
│ │ ├── a_clericmace.cpp
│ │ ├── a_clericstaff.cpp
│ │ ├── a_dragon.cpp
│ │ ├── a_fighteraxe.cpp
│ │ ├── a_fighterhammer.cpp
│ │ ├── a_fighterplayer.cpp
│ │ ├── a_fighterquietus.cpp
│ │ ├── a_firedemon.cpp
│ │ ├── a_flechette.cpp
│ │ ├── a_flies.cpp
│ │ ├── a_fog.cpp
│ │ ├── a_healingradius.cpp
│ │ ├── a_heresiarch.cpp
│ │ ├── a_hexenglobal.h
│ │ ├── a_hexenmisc.cpp
│ │ ├── a_hexenspecialdecs.cpp
│ │ ├── a_iceguy.cpp
│ │ ├── a_korax.cpp
│ │ ├── a_magecone.cpp
│ │ ├── a_magelightning.cpp
│ │ ├── a_magestaff.cpp
│ │ ├── a_pig.cpp
│ │ ├── a_serpent.cpp
│ │ ├── a_spike.cpp
│ │ ├── a_summon.cpp
│ │ ├── a_teleportother.cpp
│ │ └── a_wraith.cpp
│ ├── g_hub.cpp
│ ├── g_hub.h
│ ├── g_level.cpp
│ ├── g_level.h
│ ├── g_mapinfo.cpp
│ ├── g_raven
│ │ ├── a_artitele.cpp
│ │ ├── a_minotaur.cpp
│ │ └── ravenshared.h
│ ├── g_shared
│ │ ├── a_action.cpp
│ │ ├── a_action.h
│ │ ├── a_armor.cpp
│ │ ├── a_artifacts.cpp
│ │ ├── a_artifacts.h
│ │ ├── a_bridge.cpp
│ │ ├── a_camera.cpp
│ │ ├── a_debris.cpp
│ │ ├── a_decals.cpp
│ │ ├── a_fastprojectile.cpp
│ │ ├── a_flashfader.cpp
│ │ ├── a_fountain.cpp
│ │ ├── a_hatetarget.cpp
│ │ ├── a_keys.cpp
│ │ ├── a_keys.h
│ │ ├── a_lightning.cpp
│ │ ├── a_lightning.h
│ │ ├── a_mapmarker.cpp
│ │ ├── a_morph.cpp
│ │ ├── a_morph.h
│ │ ├── a_movingcamera.cpp
│ │ ├── a_pickups.cpp
│ │ ├── a_pickups.h
│ │ ├── a_puzzleitems.cpp
│ │ ├── a_quake.cpp
│ │ ├── a_randomspawner.cpp
│ │ ├── a_secrettrigger.cpp
│ │ ├── a_sectoraction.cpp
│ │ ├── a_setcolor.cpp
│ │ ├── a_sharedglobal.h
│ │ ├── a_skies.cpp
│ │ ├── a_soundenvironment.cpp
│ │ ├── a_soundsequence.cpp
│ │ ├── a_spark.cpp
│ │ ├── a_specialspot.cpp
│ │ ├── a_specialspot.h
│ │ ├── a_waterzone.cpp
│ │ ├── a_weaponpiece.cpp
│ │ ├── a_weaponpiece.h
│ │ ├── a_weapons.cpp
│ │ ├── hudmessages.cpp
│ │ ├── sbar.h
│ │ ├── sbar_mugshot.cpp
│ │ ├── sbarinfo.cpp
│ │ ├── sbarinfo.h
│ │ ├── sbarinfo_commands.cpp
│ │ ├── shared_hud.cpp
│ │ └── shared_sbar.cpp
│ ├── g_skill.cpp
│ ├── g_strife
│ │ ├── a_acolyte.cpp
│ │ ├── a_alienspectres.cpp
│ │ ├── a_coin.cpp
│ │ ├── a_crusader.cpp
│ │ ├── a_entityboss.cpp
│ │ ├── a_inquisitor.cpp
│ │ ├── a_loremaster.cpp
│ │ ├── a_oracle.cpp
│ │ ├── a_programmer.cpp
│ │ ├── a_reaver.cpp
│ │ ├── a_rebels.cpp
│ │ ├── a_sentinel.cpp
│ │ ├── a_spectral.cpp
│ │ ├── a_stalker.cpp
│ │ ├── a_strifeglobal.h
│ │ ├── a_strifeitems.cpp
│ │ ├── a_strifestuff.cpp
│ │ ├── a_strifeweapons.cpp
│ │ ├── a_templar.cpp
│ │ ├── a_thingstoblowup.cpp
│ │ └── strife_sbar.cpp
│ ├── gameconfigfile.cpp
│ ├── gameconfigfile.h
│ ├── gametype.h
│ ├── gccinlines.h
│ ├── gi.cpp
│ ├── gi.h
│ ├── gitinfo.cpp
│ ├── gitinfo.h
│ ├── gstrings.h
│ ├── hu_scores.cpp
│ ├── hu_stuff.h
│ ├── i_cd.h
│ ├── i_movie.h
│ ├── i_net.cpp
│ ├── i_net.h
│ ├── i_video.h
│ ├── info.cpp
│ ├── info.h
│ ├── intermission
│ │ ├── intermission.cpp
│ │ ├── intermission.h
│ │ └── intermission_parse.cpp
│ ├── keysections.cpp
│ ├── lists.h
│ ├── lumpconfigfile.cpp
│ ├── lumpconfigfile.h
│ ├── m_alloc.cpp
│ ├── m_alloc.h
│ ├── m_argv.cpp
│ ├── m_argv.h
│ ├── m_bbox.cpp
│ ├── m_bbox.h
│ ├── m_cheat.cpp
│ ├── m_cheat.h
│ ├── m_crc32.h
│ ├── m_fixed.h
│ ├── m_joy.cpp
│ ├── m_joy.h
│ ├── m_misc.cpp
│ ├── m_misc.h
│ ├── m_png.cpp
│ ├── m_png.h
│ ├── m_random.cpp
│ ├── m_random.h
│ ├── m_specialpaths.cpp
│ ├── m_swap.h
│ ├── md5.cpp
│ ├── md5.h
│ ├── memarena.cpp
│ ├── memarena.h
│ ├── menu
│ │ ├── colorpickermenu.cpp
│ │ ├── joystickmenu.cpp
│ │ ├── listmenu.cpp
│ │ ├── loadsavemenu.cpp
│ │ ├── menu.cpp
│ │ ├── menu.h
│ │ ├── menudef.cpp
│ │ ├── menuinput.cpp
│ │ ├── messagebox.cpp
│ │ ├── optionmenu.cpp
│ │ ├── optionmenuitems.h
│ │ ├── playerdisplay.cpp
│ │ ├── playermenu.cpp
│ │ ├── readthis.cpp
│ │ └── videomenu.cpp
│ ├── mscinlines.h
│ ├── mus2midi.cpp
│ ├── mus2midi.h
│ ├── name.cpp
│ ├── name.h
│ ├── namedef.h
│ ├── nodebuild.cpp
│ ├── nodebuild.h
│ ├── nodebuild_classify_nosse2.cpp
│ ├── nodebuild_classify_sse2.cpp
│ ├── nodebuild_events.cpp
│ ├── nodebuild_extract.cpp
│ ├── nodebuild_gl.cpp
│ ├── nodebuild_utility.cpp
│ ├── oplsynth
│ │ ├── OPL3.cpp
│ │ ├── deftypes.h
│ │ ├── dosbox
│ │ │ ├── opl.cpp
│ │ │ └── opl.h
│ │ ├── fmopl.cpp
│ │ ├── mlopl.cpp
│ │ ├── mlopl_io.cpp
│ │ ├── music_opl_mididevice.cpp
│ │ ├── music_opldumper_mididevice.cpp
│ │ ├── muslib.h
│ │ ├── nukedopl3.cpp
│ │ ├── nukedopl3.h
│ │ ├── opl.h
│ │ ├── opl_mus_player.cpp
│ │ └── opl_mus_player.h
│ ├── p_3dfloors.cpp
│ ├── p_3dfloors.h
│ ├── p_3dmidtex.cpp
│ ├── p_3dmidtex.h
│ ├── p_acs.cpp
│ ├── p_acs.h
│ ├── p_buildmap.cpp
│ ├── p_ceiling.cpp
│ ├── p_conversation.cpp
│ ├── p_conversation.h
│ ├── p_doors.cpp
│ ├── p_effect.cpp
│ ├── p_effect.h
│ ├── p_enemy.cpp
│ ├── p_enemy.h
│ ├── p_floor.cpp
│ ├── p_glnodes.cpp
│ ├── p_interaction.cpp
│ ├── p_lights.cpp
│ ├── p_linkedsectors.cpp
│ ├── p_lnspec.cpp
│ ├── p_lnspec.h
│ ├── p_local.h
│ ├── p_map.cpp
│ ├── p_maputl.cpp
│ ├── p_mobj.cpp
│ ├── p_pillar.cpp
│ ├── p_plats.cpp
│ ├── p_pspr.cpp
│ ├── p_pspr.h
│ ├── p_saveg.cpp
│ ├── p_saveg.h
│ ├── p_sectors.cpp
│ ├── p_setup.cpp
│ ├── p_setup.h
│ ├── p_sight.cpp
│ ├── p_slopes.cpp
│ ├── p_spec.cpp
│ ├── p_spec.h
│ ├── p_states.cpp
│ ├── p_switch.cpp
│ ├── p_tags.cpp
│ ├── p_tags.h
│ ├── p_teleport.cpp
│ ├── p_terrain.cpp
│ ├── p_terrain.h
│ ├── p_things.cpp
│ ├── p_tick.cpp
│ ├── p_tick.h
│ ├── p_trace.cpp
│ ├── p_trace.h
│ ├── p_udmf.cpp
│ ├── p_udmf.h
│ ├── p_usdf.cpp
│ ├── p_user.cpp
│ ├── p_writemap.cpp
│ ├── p_xlat.cpp
│ ├── parsecontext.cpp
│ ├── parsecontext.h
│ ├── pathexpander.cpp
│ ├── pathexpander.h
│ ├── po_man.cpp
│ ├── po_man.h
│ ├── posix
│ │ ├── cocoa
│ │ │ ├── critsec.cpp
│ │ │ ├── critsec.h
│ │ │ ├── i_common.h
│ │ │ ├── i_input.mm
│ │ │ ├── i_joystick.cpp
│ │ │ ├── i_main.mm
│ │ │ ├── i_system.mm
│ │ │ ├── i_timer.cpp
│ │ │ ├── i_video.mm
│ │ │ ├── st_console.h
│ │ │ ├── st_console.mm
│ │ │ └── st_start.mm
│ │ ├── dikeys.h
│ │ ├── hardware.h
│ │ ├── i_cd.cpp
│ │ ├── i_input.h
│ │ ├── i_movie.cpp
│ │ ├── i_steam.cpp
│ │ ├── i_system.h
│ │ ├── osx
│ │ │ ├── iwadpicker_cocoa.mm
│ │ │ ├── zdoom-info.plist
│ │ │ └── zdoom.icns
│ │ ├── readme.md
│ │ └── sdl
│ │ │ ├── crashcatcher.c
│ │ │ ├── critsec.h
│ │ │ ├── hardware.cpp
│ │ │ ├── i_gui.cpp
│ │ │ ├── i_input.cpp
│ │ │ ├── i_joystick.cpp
│ │ │ ├── i_main.cpp
│ │ │ ├── i_system.cpp
│ │ │ ├── i_system.mm
│ │ │ ├── i_timer.cpp
│ │ │ ├── sdlvideo.cpp
│ │ │ ├── sdlvideo.h
│ │ │ └── st_start.cpp
│ ├── r_3dfloors.cpp
│ ├── r_3dfloors.h
│ ├── r_bsp.cpp
│ ├── r_bsp.h
│ ├── r_data
│ │ ├── colormaps.cpp
│ │ ├── colormaps.h
│ │ ├── r_interpolate.cpp
│ │ ├── r_interpolate.h
│ │ ├── r_translate.cpp
│ │ ├── r_translate.h
│ │ ├── renderstyle.cpp
│ │ ├── renderstyle.h
│ │ ├── sprites.cpp
│ │ ├── sprites.h
│ │ ├── voxels.cpp
│ │ └── voxels.h
│ ├── r_defs.h
│ ├── r_draw.cpp
│ ├── r_draw.h
│ ├── r_drawt.cpp
│ ├── r_local.h
│ ├── r_main.cpp
│ ├── r_main.h
│ ├── r_plane.cpp
│ ├── r_plane.h
│ ├── r_renderer.h
│ ├── r_segs.cpp
│ ├── r_segs.h
│ ├── r_sky.cpp
│ ├── r_sky.h
│ ├── r_state.h
│ ├── r_swrenderer.cpp
│ ├── r_swrenderer.h
│ ├── r_things.cpp
│ ├── r_things.h
│ ├── r_utility.cpp
│ ├── r_utility.h
│ ├── resourcefiles
│ │ ├── ancientzip.cpp
│ │ ├── ancientzip.h
│ │ ├── file_7z.cpp
│ │ ├── file_directory.cpp
│ │ ├── file_grp.cpp
│ │ ├── file_lump.cpp
│ │ ├── file_pak.cpp
│ │ ├── file_rff.cpp
│ │ ├── file_wad.cpp
│ │ ├── file_zip.cpp
│ │ ├── resourcefile.cpp
│ │ └── resourcefile.h
│ ├── s_advsound.cpp
│ ├── s_environment.cpp
│ ├── s_playlist.cpp
│ ├── s_playlist.h
│ ├── s_sndseq.cpp
│ ├── s_sndseq.h
│ ├── s_sound.cpp
│ ├── s_sound.h
│ ├── sc_man.cpp
│ ├── sc_man.h
│ ├── sc_man_scanner.re
│ ├── sc_man_tokens.h
│ ├── sfmt
│ │ ├── LICENSE.txt
│ │ ├── SFMT-alti.h
│ │ ├── SFMT-params.h
│ │ ├── SFMT-params11213.h
│ │ ├── SFMT-params1279.h
│ │ ├── SFMT-params132049.h
│ │ ├── SFMT-params19937.h
│ │ ├── SFMT-params216091.h
│ │ ├── SFMT-params2281.h
│ │ ├── SFMT-params4253.h
│ │ ├── SFMT-params44497.h
│ │ ├── SFMT-params607.h
│ │ ├── SFMT-params86243.h
│ │ ├── SFMT-sse2.h
│ │ ├── SFMT.cpp
│ │ └── SFMT.h
│ ├── skins.cpp
│ ├── skins.h
│ ├── sound
│ │ ├── efx.h
│ │ ├── except.h
│ │ ├── fmod_wrap.h
│ │ ├── fmodsound.cpp
│ │ ├── fmodsound.h
│ │ ├── i_music.cpp
│ │ ├── i_music.h
│ │ ├── i_musicinterns.h
│ │ ├── i_sound.cpp
│ │ ├── i_sound.h
│ │ ├── i_soundinternal.h
│ │ ├── mpg123_decoder.cpp
│ │ ├── mpg123_decoder.h
│ │ ├── music_cd.cpp
│ │ ├── music_dumb.cpp
│ │ ├── music_fluidsynth_mididevice.cpp
│ │ ├── music_gme.cpp
│ │ ├── music_hmi_midiout.cpp
│ │ ├── music_midi_base.cpp
│ │ ├── music_midi_timidity.cpp
│ │ ├── music_midistream.cpp
│ │ ├── music_mus_midiout.cpp
│ │ ├── music_mus_opl.cpp
│ │ ├── music_pseudo_mididevice.cpp
│ │ ├── music_smf_midiout.cpp
│ │ ├── music_softsynth_mididevice.cpp
│ │ ├── music_stream.cpp
│ │ ├── music_timidity_mididevice.cpp
│ │ ├── music_wildmidi_mididevice.cpp
│ │ ├── music_win_mididevice.cpp
│ │ ├── music_xmi_midiout.cpp
│ │ ├── oaldef.h
│ │ ├── oalload.h
│ │ ├── oalsound.cpp
│ │ ├── oalsound.h
│ │ ├── sndfile_decoder.cpp
│ │ └── sndfile_decoder.h
│ ├── st_start.h
│ ├── st_stuff.cpp
│ ├── st_stuff.h
│ ├── statistics.cpp
│ ├── statnums.h
│ ├── stats.cpp
│ ├── stats.h
│ ├── stringtable.cpp
│ ├── stringtable.h
│ ├── strnatcmp.c
│ ├── strnatcmp.h
│ ├── tables.cpp
│ ├── tables.h
│ ├── tagitem.h
│ ├── tarray.h
│ ├── teaminfo.cpp
│ ├── teaminfo.h
│ ├── tempfiles.cpp
│ ├── tempfiles.h
│ ├── templates.h
│ ├── textures
│ │ ├── anim_switches.cpp
│ │ ├── animations.cpp
│ │ ├── automaptexture.cpp
│ │ ├── bitmap.cpp
│ │ ├── bitmap.h
│ │ ├── buildtexture.cpp
│ │ ├── canvastexture.cpp
│ │ ├── ddstexture.cpp
│ │ ├── emptytexture.cpp
│ │ ├── flattexture.cpp
│ │ ├── imgztexture.cpp
│ │ ├── jpegtexture.cpp
│ │ ├── multipatchtexture.cpp
│ │ ├── patchtexture.cpp
│ │ ├── pcxtexture.cpp
│ │ ├── pngtexture.cpp
│ │ ├── rawpagetexture.cpp
│ │ ├── texture.cpp
│ │ ├── texturemanager.cpp
│ │ ├── textures.h
│ │ ├── tgatexture.cpp
│ │ └── warptexture.cpp
│ ├── tflags.h
│ ├── thingdef
│ │ ├── olddecorations.cpp
│ │ ├── thingdef.cpp
│ │ ├── thingdef.h
│ │ ├── thingdef_codeptr.cpp
│ │ ├── thingdef_data.cpp
│ │ ├── thingdef_exp.cpp
│ │ ├── thingdef_exp.h
│ │ ├── thingdef_expression.cpp
│ │ ├── thingdef_function.cpp
│ │ ├── thingdef_parse.cpp
│ │ ├── thingdef_properties.cpp
│ │ ├── thingdef_states.cpp
│ │ └── thingdef_type.h
│ ├── timidity
│ │ ├── CHANGES
│ │ ├── COPYING
│ │ ├── FAQ
│ │ ├── README
│ │ ├── common.cpp
│ │ ├── dls1.h
│ │ ├── dls2.h
│ │ ├── gf1patch.h
│ │ ├── instrum.cpp
│ │ ├── instrum.obj
│ │ ├── instrum_dls.cpp
│ │ ├── instrum_font.cpp
│ │ ├── instrum_sf2.cpp
│ │ ├── mix.cpp
│ │ ├── playmidi.cpp
│ │ ├── resample.cpp
│ │ ├── sf2.h
│ │ ├── timidity.cpp
│ │ └── timidity.h
│ ├── v_blend.cpp
│ ├── v_collection.cpp
│ ├── v_collection.h
│ ├── v_draw.cpp
│ ├── v_font.cpp
│ ├── v_font.h
│ ├── v_palette.cpp
│ ├── v_palette.h
│ ├── v_pfx.cpp
│ ├── v_pfx.h
│ ├── v_text.cpp
│ ├── v_text.h
│ ├── v_video.cpp
│ ├── v_video.h
│ ├── valgrind.inc
│ ├── vectors.h
│ ├── version.h
│ ├── vizdoom_defines.h
│ ├── vizdoom_depth.cpp
│ ├── vizdoom_depth.h
│ ├── vizdoom_game.cpp
│ ├── vizdoom_game.h
│ ├── vizdoom_input.cpp
│ ├── vizdoom_input.h
│ ├── vizdoom_main.cpp
│ ├── vizdoom_main.h
│ ├── vizdoom_message_queue.cpp
│ ├── vizdoom_message_queue.h
│ ├── vizdoom_screen.cpp
│ ├── vizdoom_screen.h
│ ├── vizdoom_shared_memory.cpp
│ ├── vizdoom_shared_memory.h
│ ├── w_wad.cpp
│ ├── w_wad.h
│ ├── w_zip.h
│ ├── weightedlist.h
│ ├── wi_stuff.cpp
│ ├── wi_stuff.h
│ ├── wildmidi
│ │ ├── common.h
│ │ ├── file_io.cpp
│ │ ├── file_io.h
│ │ ├── gus_pat.cpp
│ │ ├── gus_pat.h
│ │ ├── reverb.cpp
│ │ ├── reverb.h
│ │ ├── wildmidi_lib.cpp
│ │ ├── wildmidi_lib.h
│ │ ├── wm_error.cpp
│ │ └── wm_error.h
│ ├── win32
│ │ ├── afxres.h
│ │ ├── boing1.ico
│ │ ├── boing2.ico
│ │ ├── boing3.ico
│ │ ├── boing4.ico
│ │ ├── boing5.ico
│ │ ├── boing6.ico
│ │ ├── boing7.ico
│ │ ├── boing8.ico
│ │ ├── critsec.h
│ │ ├── deadguy.bmp
│ │ ├── eaxedit.cpp
│ │ ├── fb_d3d9.cpp
│ │ ├── fb_d3d9_wipe.cpp
│ │ ├── fb_ddraw.cpp
│ │ ├── hardware.cpp
│ │ ├── hardware.h
│ │ ├── helperthread.cpp
│ │ ├── helperthread.h
│ │ ├── i_cd.cpp
│ │ ├── i_crash.cpp
│ │ ├── i_dijoy.cpp
│ │ ├── i_input.cpp
│ │ ├── i_input.h
│ │ ├── i_keyboard.cpp
│ │ ├── i_main.cpp
│ │ ├── i_mouse.cpp
│ │ ├── i_movie.cpp
│ │ ├── i_rawps2.cpp
│ │ ├── i_system.cpp
│ │ ├── i_system.h
│ │ ├── i_xinput.cpp
│ │ ├── icon1.ico
│ │ ├── rawinput.h
│ │ ├── resource.h
│ │ ├── st_start.cpp
│ │ ├── win32iface.h
│ │ ├── win32video.cpp
│ │ ├── winres.h
│ │ ├── zdoom.RES
│ │ ├── zdoom.exe.manifest
│ │ └── zdoom.rc
│ ├── x86.cpp
│ ├── x86.h
│ ├── xlat
│ │ ├── parse_xlat.cpp
│ │ ├── xlat.h
│ │ └── xlat_parser.y
│ ├── xs_Float.h
│ ├── zstrformat.cpp
│ ├── zstring.cpp
│ ├── zstring.h
│ └── zzautozend.cpp
│ ├── tools
│ ├── CMakeLists.txt
│ ├── fixrtext
│ │ ├── CMakeLists.txt
│ │ ├── fixrtext.c
│ │ └── fixrtext.vcproj
│ ├── lemon
│ │ ├── CMakeLists.txt
│ │ ├── lemon.c
│ │ ├── lemon.html
│ │ ├── lemon.vcproj
│ │ └── lempar.c
│ ├── re2c
│ │ ├── CHANGELOG
│ │ ├── CMakeLists.txt
│ │ ├── README
│ │ ├── actions.cc
│ │ ├── basics.h
│ │ ├── code.cc
│ │ ├── code.h
│ │ ├── code_names.h
│ │ ├── config.h
│ │ ├── config.h.in
│ │ ├── config_w32.h
│ │ ├── dfa.cc
│ │ ├── dfa.h
│ │ ├── doc
│ │ │ ├── loplas.ps
│ │ │ └── sample.bib
│ │ ├── examples
│ │ │ ├── basemmap.c
│ │ │ ├── c.re
│ │ │ ├── cmmap.re
│ │ │ ├── cnokw.re
│ │ │ ├── cunroll.re
│ │ │ ├── modula.re
│ │ │ ├── push.re
│ │ │ ├── repeater.re
│ │ │ ├── rexx
│ │ │ │ ├── README
│ │ │ │ ├── rexx.l
│ │ │ │ └── scanio.c
│ │ │ ├── sample.re
│ │ │ └── simple.re
│ │ ├── globals.h
│ │ ├── ins.h
│ │ ├── main.cc
│ │ ├── mbo_getopt.cc
│ │ ├── mbo_getopt.h
│ │ ├── parser.cc
│ │ ├── parser.h
│ │ ├── parser.y
│ │ ├── re.h
│ │ ├── re2c.1
│ │ ├── re2c.vcproj
│ │ ├── scanner.cc
│ │ ├── scanner.h
│ │ ├── scanner.re
│ │ ├── stream_lc.h
│ │ ├── substr.cc
│ │ ├── substr.h
│ │ ├── token.h
│ │ ├── translate.cc
│ │ └── y.tab.h
│ ├── updaterevision
│ │ ├── CMakeLists.txt
│ │ ├── trustinfo.rc
│ │ ├── trustinfo.txt
│ │ ├── updaterevision
│ │ ├── updaterevision.c
│ │ └── updaterevision.vcproj
│ └── zipdir
│ │ ├── CMakeLists.txt
│ │ ├── zipdir.c
│ │ └── zipdir.vcproj
│ ├── wadsrc
│ ├── CMakeLists.txt
│ ├── static
│ │ ├── actors
│ │ │ ├── actor.txt
│ │ │ ├── chex
│ │ │ │ ├── chexammo.txt
│ │ │ │ ├── chexdecorations.txt
│ │ │ │ ├── chexitems.txt
│ │ │ │ ├── chexkeys.txt
│ │ │ │ ├── chexmonsters.txt
│ │ │ │ ├── chexplayer.txt
│ │ │ │ └── chexweapons.txt
│ │ │ ├── constants.txt
│ │ │ ├── doom
│ │ │ │ ├── arachnotron.txt
│ │ │ │ ├── archvile.txt
│ │ │ │ ├── bossbrain.txt
│ │ │ │ ├── bruiser.txt
│ │ │ │ ├── cacodemon.txt
│ │ │ │ ├── cyberdemon.txt
│ │ │ │ ├── deadthings.txt
│ │ │ │ ├── demon.txt
│ │ │ │ ├── doomammo.txt
│ │ │ │ ├── doomarmor.txt
│ │ │ │ ├── doomartifacts.txt
│ │ │ │ ├── doomdecorations.txt
│ │ │ │ ├── doomhealth.txt
│ │ │ │ ├── doomimp.txt
│ │ │ │ ├── doomkeys.txt
│ │ │ │ ├── doommisc.txt
│ │ │ │ ├── doomplayer.txt
│ │ │ │ ├── doomweapons.txt
│ │ │ │ ├── fatso.txt
│ │ │ │ ├── keen.txt
│ │ │ │ ├── lostsoul.txt
│ │ │ │ ├── painelemental.txt
│ │ │ │ ├── possessed.txt
│ │ │ │ ├── revenant.txt
│ │ │ │ ├── scriptedmarine.txt
│ │ │ │ ├── spidermaster.txt
│ │ │ │ └── stealthmonsters.txt
│ │ │ ├── heretic
│ │ │ │ ├── beast.txt
│ │ │ │ ├── chicken.txt
│ │ │ │ ├── clink.txt
│ │ │ │ ├── dsparil.txt
│ │ │ │ ├── hereticammo.txt
│ │ │ │ ├── hereticarmor.txt
│ │ │ │ ├── hereticartifacts.txt
│ │ │ │ ├── hereticdecorations.txt
│ │ │ │ ├── hereticimp.txt
│ │ │ │ ├── heretickeys.txt
│ │ │ │ ├── hereticmisc.txt
│ │ │ │ ├── hereticplayer.txt
│ │ │ │ ├── hereticweaps.txt
│ │ │ │ ├── ironlich.txt
│ │ │ │ ├── knight.txt
│ │ │ │ ├── mummy.txt
│ │ │ │ ├── snake.txt
│ │ │ │ └── wizard.txt
│ │ │ ├── hexen
│ │ │ │ ├── baseweapons.txt
│ │ │ │ ├── bats.txt
│ │ │ │ ├── bishop.txt
│ │ │ │ ├── blastradius.txt
│ │ │ │ ├── boostarmor.txt
│ │ │ │ ├── centaur.txt
│ │ │ │ ├── clericboss.txt
│ │ │ │ ├── clericflame.txt
│ │ │ │ ├── clericholy.txt
│ │ │ │ ├── clericmace.txt
│ │ │ │ ├── clericplayer.txt
│ │ │ │ ├── clericstaff.txt
│ │ │ │ ├── demons.txt
│ │ │ │ ├── dragon.txt
│ │ │ │ ├── ettin.txt
│ │ │ │ ├── fighteraxe.txt
│ │ │ │ ├── fighterboss.txt
│ │ │ │ ├── fighterfist.txt
│ │ │ │ ├── fighterhammer.txt
│ │ │ │ ├── fighterplayer.txt
│ │ │ │ ├── fighterquietus.txt
│ │ │ │ ├── firedemon.txt
│ │ │ │ ├── flame.txt
│ │ │ │ ├── flechette.txt
│ │ │ │ ├── flies.txt
│ │ │ │ ├── fog.txt
│ │ │ │ ├── healingradius.txt
│ │ │ │ ├── heresiarch.txt
│ │ │ │ ├── hexenarmor.txt
│ │ │ │ ├── hexendecorations.txt
│ │ │ │ ├── hexenkeys.txt
│ │ │ │ ├── hexenspecialdecs.txt
│ │ │ │ ├── iceguy.txt
│ │ │ │ ├── korax.txt
│ │ │ │ ├── mageboss.txt
│ │ │ │ ├── magecone.txt
│ │ │ │ ├── magelightning.txt
│ │ │ │ ├── mageplayer.txt
│ │ │ │ ├── magestaff.txt
│ │ │ │ ├── magewand.txt
│ │ │ │ ├── mana.txt
│ │ │ │ ├── pig.txt
│ │ │ │ ├── puzzleitems.txt
│ │ │ │ ├── scriptprojectiles.txt
│ │ │ │ ├── serpent.txt
│ │ │ │ ├── speedboots.txt
│ │ │ │ ├── spike.txt
│ │ │ │ ├── summon.txt
│ │ │ │ ├── teleportother.txt
│ │ │ │ └── wraith.txt
│ │ │ ├── raven
│ │ │ │ ├── artiegg.txt
│ │ │ │ ├── artitele.txt
│ │ │ │ ├── minotaur.txt
│ │ │ │ ├── ravenambient.txt
│ │ │ │ ├── ravenartifacts.txt
│ │ │ │ └── ravenhealth.txt
│ │ │ ├── shared
│ │ │ │ ├── action.txt
│ │ │ │ ├── blood.txt
│ │ │ │ ├── botstuff.txt
│ │ │ │ ├── bridge.txt
│ │ │ │ ├── camera.txt
│ │ │ │ ├── damagetypes.txt
│ │ │ │ ├── debris.txt
│ │ │ │ ├── decal.txt
│ │ │ │ ├── dog.txt
│ │ │ │ ├── fountain.txt
│ │ │ │ ├── hatetarget.txt
│ │ │ │ ├── inventory.txt
│ │ │ │ ├── mapmarker.txt
│ │ │ │ ├── morph.txt
│ │ │ │ ├── movingcamera.txt
│ │ │ │ ├── pickups.txt
│ │ │ │ ├── player.txt
│ │ │ │ ├── secrettrigger.txt
│ │ │ │ ├── sectoraction.txt
│ │ │ │ ├── setcolor.txt
│ │ │ │ ├── sharedmisc.txt
│ │ │ │ ├── skies.txt
│ │ │ │ ├── soundenvironment.txt
│ │ │ │ ├── soundsequence.txt
│ │ │ │ ├── spark.txt
│ │ │ │ ├── specialspot.txt
│ │ │ │ ├── splashes.txt
│ │ │ │ ├── teleport.txt
│ │ │ │ └── waterzone.txt
│ │ │ └── strife
│ │ │ │ ├── acolyte.txt
│ │ │ │ ├── alienspectres.txt
│ │ │ │ ├── beggars.txt
│ │ │ │ ├── coin.txt
│ │ │ │ ├── crusader.txt
│ │ │ │ ├── entityboss.txt
│ │ │ │ ├── inquisitor.txt
│ │ │ │ ├── loremaster.txt
│ │ │ │ ├── macil.txt
│ │ │ │ ├── merchants.txt
│ │ │ │ ├── oracle.txt
│ │ │ │ ├── peasants.txt
│ │ │ │ ├── programmer.txt
│ │ │ │ ├── questitems.txt
│ │ │ │ ├── ratbuddy.txt
│ │ │ │ ├── reaver.txt
│ │ │ │ ├── rebels.txt
│ │ │ │ ├── sentinel.txt
│ │ │ │ ├── sigil.txt
│ │ │ │ ├── spectral.txt
│ │ │ │ ├── stalker.txt
│ │ │ │ ├── strifeammo.txt
│ │ │ │ ├── strifearmor.txt
│ │ │ │ ├── strifebishop.txt
│ │ │ │ ├── strifehumanoid.txt
│ │ │ │ ├── strifeitems.txt
│ │ │ │ ├── strifekeys.txt
│ │ │ │ ├── strifeplayer.txt
│ │ │ │ ├── strifestuff.txt
│ │ │ │ ├── strifeweapons.txt
│ │ │ │ ├── templar.txt
│ │ │ │ ├── thingstoblowup.txt
│ │ │ │ └── zombie.txt
│ │ ├── althudcf.txt
│ │ ├── animated.lmp
│ │ ├── animdefs.txt
│ │ ├── compatibility.txt
│ │ ├── confont.lmp
│ │ ├── dbigfont.lmp
│ │ ├── decaldef.txt
│ │ ├── decorate.txt
│ │ ├── defbinds.txt
│ │ ├── dehsupp.txt
│ │ ├── etc.h.txt
│ │ ├── filter
│ │ │ ├── doom.freedoom
│ │ │ │ └── decaldef.z
│ │ │ ├── game-doom
│ │ │ │ └── graphics
│ │ │ │ │ ├── stcfn191.lmp
│ │ │ │ │ ├── stcfn193.lmp
│ │ │ │ │ ├── stcfn196.lmp
│ │ │ │ │ ├── stcfn197.lmp
│ │ │ │ │ ├── stcfn201.lmp
│ │ │ │ │ ├── stcfn205.lmp
│ │ │ │ │ ├── stcfn209.lmp
│ │ │ │ │ ├── stcfn211.lmp
│ │ │ │ │ ├── stcfn214.lmp
│ │ │ │ │ ├── stcfn218.lmp
│ │ │ │ │ ├── stcfn220.lmp
│ │ │ │ │ └── stcfn223.lmp
│ │ │ ├── game-doomchex
│ │ │ │ └── sndinfo.txt
│ │ │ ├── game-heretic
│ │ │ │ ├── defbinds.txt
│ │ │ │ └── sndinfo.txt
│ │ │ ├── game-hexen
│ │ │ │ ├── defbinds.txt
│ │ │ │ └── sndinfo.txt
│ │ │ ├── game-raven
│ │ │ │ └── graphics
│ │ │ │ │ ├── fonta164.lmp
│ │ │ │ │ ├── fonta165.lmp
│ │ │ │ │ ├── fonta182.lmp
│ │ │ │ │ ├── fonta188.lmp
│ │ │ │ │ ├── fonta191.lmp
│ │ │ │ │ ├── fonta60.lmp
│ │ │ │ │ ├── fonta61.lmp
│ │ │ │ │ ├── fonta62.lmp
│ │ │ │ │ └── fonta63.lmp
│ │ │ ├── game-strife
│ │ │ │ ├── defbinds.txt
│ │ │ │ ├── loadacs.txt
│ │ │ │ └── sndinfo.txt
│ │ │ ├── strifeteaser1
│ │ │ │ └── mapinfo
│ │ │ │ │ └── conversationids.txt
│ │ │ └── strifeteaser2
│ │ │ │ └── mapinfo
│ │ │ │ └── conversationids.txt
│ │ ├── fontdefs.txt
│ │ ├── graphics
│ │ │ ├── -badpatc.lmp
│ │ │ ├── artibox.png
│ │ │ ├── bal7scr1.png
│ │ │ ├── bal7scr2.png
│ │ │ ├── bfglite1.png
│ │ │ ├── bfglite2.png
│ │ │ ├── bfgscrc1.png
│ │ │ ├── bfgscrc2.png
│ │ │ ├── blast1.png
│ │ │ ├── bsmear1.png
│ │ │ ├── bsmear2.png
│ │ │ ├── bsplat1.png
│ │ │ ├── bsplat2.png
│ │ │ ├── bsplat3.png
│ │ │ ├── bsplat4.png
│ │ │ ├── bsplat5.png
│ │ │ ├── bsplat6.png
│ │ │ ├── bsplat7.png
│ │ │ ├── cbalscr1.png
│ │ │ ├── cbalscr2.png
│ │ │ ├── cbowmark.png
│ │ │ ├── chexcurs.png
│ │ │ ├── chip1.png
│ │ │ ├── chip2.png
│ │ │ ├── chip3.png
│ │ │ ├── chip4.png
│ │ │ ├── chip5.png
│ │ │ ├── clerface.lmp
│ │ │ ├── cursor.png
│ │ │ ├── doomcurs.png
│ │ │ ├── fiteface.lmp
│ │ │ ├── hamoback.png
│ │ │ ├── herecurs.png
│ │ │ ├── hexncurs.png
│ │ │ ├── invgeml1.png
│ │ │ ├── invgeml2.png
│ │ │ ├── invgemr1.png
│ │ │ ├── invgemr2.png
│ │ │ ├── m_back_d.png
│ │ │ ├── m_back_h.png
│ │ │ ├── m_back_s.png
│ │ │ ├── m_back_x.png
│ │ │ ├── mageface.lmp
│ │ │ ├── plasma1.png
│ │ │ ├── plasma2.png
│ │ │ ├── readyico.png
│ │ │ ├── scorch1.png
│ │ │ ├── selectbo.png
│ │ │ ├── stfbany.lmp
│ │ │ ├── stkeys6.lmp
│ │ │ ├── stkeys7.lmp
│ │ │ ├── stkeys8.lmp
│ │ │ ├── stpbany.lmp
│ │ │ ├── strfcurs.png
│ │ │ ├── twirl.png
│ │ │ ├── wislash.lmp
│ │ │ ├── xhairb1.imgz
│ │ │ ├── xhairb2.png
│ │ │ ├── xhairb3.imgz
│ │ │ ├── xhairb4.imgz
│ │ │ ├── xhairb5.imgz
│ │ │ ├── xhairb6.imgz
│ │ │ ├── xhairb7.imgz
│ │ │ ├── xhairs1.imgz
│ │ │ ├── xhairs2.imgz
│ │ │ ├── xhairs3.imgz
│ │ │ ├── xhairs4.imgz
│ │ │ ├── xhairs5.imgz
│ │ │ ├── xhairs6.imgz
│ │ │ └── xhairs7.imgz
│ │ ├── in_epi1.txt
│ │ ├── in_epi2.txt
│ │ ├── in_epi3.txt
│ │ ├── in_htc1.txt
│ │ ├── in_htc2.txt
│ │ ├── in_htc3.txt
│ │ ├── indexfont
│ │ ├── iwadinfo.txt
│ │ ├── language.eng
│ │ ├── language.enu
│ │ ├── language.fr
│ │ ├── language.ita
│ │ ├── language.ptb
│ │ ├── lockdefs.txt
│ │ ├── maparrows
│ │ │ ├── arrow.txt
│ │ │ ├── dagger.txt
│ │ │ ├── ddtarrow.txt
│ │ │ ├── key.txt
│ │ │ └── ravenkey.txt
│ │ ├── mapinfo
│ │ │ ├── chex.txt
│ │ │ ├── chex3.txt
│ │ │ ├── common.txt
│ │ │ ├── conversationids.txt
│ │ │ ├── doom1.txt
│ │ │ ├── doom2.txt
│ │ │ ├── doom2bfg.txt
│ │ │ ├── doomcommon.txt
│ │ │ ├── doomitems.txt
│ │ │ ├── hacxharm.txt
│ │ │ ├── heretic.txt
│ │ │ ├── hereticsw.txt
│ │ │ ├── hexdd.txt
│ │ │ ├── hexen.txt
│ │ │ ├── mindefaults.txt
│ │ │ ├── plutonia.txt
│ │ │ ├── strife.txt
│ │ │ ├── tnt.txt
│ │ │ ├── ultdoom.txt
│ │ │ └── urbanbrawl.txt
│ │ ├── menudef.txt
│ │ ├── netnotch.dat
│ │ ├── notch.dat
│ │ ├── reverbs.txt
│ │ ├── sbarinfo.txt
│ │ ├── sbarinfo
│ │ │ ├── doom.txt
│ │ │ ├── heretic.txt
│ │ │ └── hexen.txt
│ │ ├── sbigfont.lmp
│ │ ├── shaders
│ │ │ └── d3d
│ │ │ │ ├── build.bat
│ │ │ │ ├── shaders.ps
│ │ │ │ ├── sm14
│ │ │ │ ├── BurnWipe.pso
│ │ │ │ ├── GammaCorrection.pso
│ │ │ │ ├── InGameColormap.pso
│ │ │ │ ├── InGameColormapDesat.pso
│ │ │ │ ├── InGameColormapInv.pso
│ │ │ │ ├── InGameColormapInvDesat.pso
│ │ │ │ ├── InGameColormapPal.pso
│ │ │ │ ├── InGameColormapPalDesat.pso
│ │ │ │ ├── InGameColormapPalInv.pso
│ │ │ │ ├── InGameColormapPalInvDesat.pso
│ │ │ │ ├── NormalColor.pso
│ │ │ │ ├── NormalColorInv.pso
│ │ │ │ ├── NormalColorPal.pso
│ │ │ │ ├── NormalColorPalInv.pso
│ │ │ │ ├── RedToAlpha.pso
│ │ │ │ ├── RedToAlphaInv.pso
│ │ │ │ ├── SpecialColormap.pso
│ │ │ │ ├── SpecialColormapPal.pso
│ │ │ │ ├── VertexColor.pso
│ │ │ │ └── build.bat
│ │ │ │ ├── sm20
│ │ │ │ ├── BurnWipe.pso
│ │ │ │ ├── GammaCorrection.pso
│ │ │ │ ├── InGameColormap.pso
│ │ │ │ ├── InGameColormapDesat.pso
│ │ │ │ ├── InGameColormapInv.pso
│ │ │ │ ├── InGameColormapInvDesat.pso
│ │ │ │ ├── InGameColormapPal.pso
│ │ │ │ ├── InGameColormapPalDesat.pso
│ │ │ │ ├── InGameColormapPalInv.pso
│ │ │ │ ├── InGameColormapPalInvDesat.pso
│ │ │ │ ├── NormalColor.pso
│ │ │ │ ├── NormalColorInv.pso
│ │ │ │ ├── NormalColorPal.pso
│ │ │ │ ├── NormalColorPalInv.pso
│ │ │ │ ├── RedToAlpha.pso
│ │ │ │ ├── RedToAlphaInv.pso
│ │ │ │ ├── SpecialColormap.pso
│ │ │ │ ├── SpecialColormapPal.pso
│ │ │ │ ├── VertexColor.pso
│ │ │ │ └── build.bat
│ │ │ │ └── sm30
│ │ │ │ ├── BurnWipe.pso
│ │ │ │ ├── GammaCorrection.pso
│ │ │ │ ├── InGameColormap.pso
│ │ │ │ ├── InGameColormapDesat.pso
│ │ │ │ ├── InGameColormapInv.pso
│ │ │ │ ├── InGameColormapInvDesat.pso
│ │ │ │ ├── InGameColormapPal.pso
│ │ │ │ ├── InGameColormapPalDesat.pso
│ │ │ │ ├── InGameColormapPalInv.pso
│ │ │ │ ├── InGameColormapPalInvDesat.pso
│ │ │ │ ├── NormalColor.pso
│ │ │ │ ├── NormalColorInv.pso
│ │ │ │ ├── NormalColorPal.pso
│ │ │ │ ├── NormalColorPalInv.pso
│ │ │ │ ├── RedToAlpha.pso
│ │ │ │ ├── RedToAlphaInv.pso
│ │ │ │ ├── SpecialColormap.pso
│ │ │ │ ├── SpecialColormapPal.pso
│ │ │ │ ├── VertexColor.pso
│ │ │ │ └── build.bat
│ │ ├── sndinfo.txt
│ │ ├── sndseq.txt
│ │ ├── sounds
│ │ │ ├── DSDGACT.flac
│ │ │ ├── DSDGATK.flac
│ │ │ ├── DSDGDTH.flac
│ │ │ ├── DSDGPAIN.flac
│ │ │ ├── DSDGSIT.flac
│ │ │ ├── dsempty.lmp
│ │ │ ├── dsquake.flac
│ │ │ ├── dssecret.flac
│ │ │ ├── icebrk1a.flac
│ │ │ ├── icedth1.flac
│ │ │ ├── railgf1.flac
│ │ │ ├── spark1.flac
│ │ │ ├── spark2.flac
│ │ │ └── spark3.flac
│ │ ├── spaldoom.lmp
│ │ ├── spalhtic.lmp
│ │ ├── sprites
│ │ │ ├── AFLYA0.png
│ │ │ ├── AFLYB0.png
│ │ │ ├── AFLYC0.png
│ │ │ ├── AFLYD0.png
│ │ │ ├── GWANA0.png
│ │ │ ├── PLS1A0.png
│ │ │ ├── PLS1B0.png
│ │ │ ├── PLS1C0.png
│ │ │ ├── PLS1D0.png
│ │ │ ├── PLS1E0.png
│ │ │ ├── PLS1F0.png
│ │ │ ├── PLS1G0.png
│ │ │ ├── PLS2A0.png
│ │ │ ├── PLS2B0.png
│ │ │ ├── PLS2C0.png
│ │ │ ├── PLS2D0.png
│ │ │ ├── PLS2E0.png
│ │ │ ├── amrka0.png
│ │ │ ├── dogs
│ │ │ │ ├── DOGSA1.png
│ │ │ │ ├── DOGSA2A8.png
│ │ │ │ ├── DOGSA3A7.png
│ │ │ │ ├── DOGSA4A6.png
│ │ │ │ ├── DOGSA5.png
│ │ │ │ ├── DOGSB1.png
│ │ │ │ ├── DOGSB2B8.png
│ │ │ │ ├── DOGSB3B7.png
│ │ │ │ ├── DOGSB4B6.png
│ │ │ │ ├── DOGSB5.png
│ │ │ │ ├── DOGSC1.png
│ │ │ │ ├── DOGSC2C8.png
│ │ │ │ ├── DOGSC3C7.png
│ │ │ │ ├── DOGSC4C6.png
│ │ │ │ ├── DOGSC5.png
│ │ │ │ ├── DOGSD1.png
│ │ │ │ ├── DOGSD2D8.png
│ │ │ │ ├── DOGSD3D7.png
│ │ │ │ ├── DOGSD4D6.png
│ │ │ │ ├── DOGSD5.png
│ │ │ │ ├── DOGSE1.png
│ │ │ │ ├── DOGSE2.png
│ │ │ │ ├── DOGSE3.png
│ │ │ │ ├── DOGSE4.png
│ │ │ │ ├── DOGSE5.png
│ │ │ │ ├── DOGSE6.png
│ │ │ │ ├── DOGSE7.png
│ │ │ │ ├── DOGSE8.png
│ │ │ │ ├── DOGSF1.png
│ │ │ │ ├── DOGSF2.png
│ │ │ │ ├── DOGSF3.png
│ │ │ │ ├── DOGSF4.png
│ │ │ │ ├── DOGSF5.png
│ │ │ │ ├── DOGSF6.png
│ │ │ │ ├── DOGSF7.png
│ │ │ │ ├── DOGSF8.png
│ │ │ │ ├── DOGSG1.png
│ │ │ │ ├── DOGSG2.png
│ │ │ │ ├── DOGSG3.png
│ │ │ │ ├── DOGSG4.png
│ │ │ │ ├── DOGSG5.png
│ │ │ │ ├── DOGSG6.png
│ │ │ │ ├── DOGSG7.png
│ │ │ │ ├── DOGSG8.png
│ │ │ │ ├── DOGSH1.png
│ │ │ │ ├── DOGSH2.png
│ │ │ │ ├── DOGSH3.png
│ │ │ │ ├── DOGSH4.png
│ │ │ │ ├── DOGSH5.png
│ │ │ │ ├── DOGSH6.png
│ │ │ │ ├── DOGSH7.png
│ │ │ │ ├── DOGSH8.png
│ │ │ │ ├── DOGSI0.png
│ │ │ │ ├── DOGSJ0.png
│ │ │ │ ├── DOGSK0.png
│ │ │ │ ├── DOGSL0.png
│ │ │ │ ├── DOGSM0.png
│ │ │ │ └── DOGSN0.png
│ │ │ ├── iceca0.png
│ │ │ ├── icecb0.png
│ │ │ ├── icecc0.png
│ │ │ ├── icecd0.png
│ │ │ ├── minza0.png
│ │ │ ├── pista0.png
│ │ │ ├── plyc
│ │ │ │ ├── plyca1.lmp
│ │ │ │ ├── plyca2a8.lmp
│ │ │ │ ├── plyca3a7.lmp
│ │ │ │ ├── plyca4a6.lmp
│ │ │ │ ├── plyca5.lmp
│ │ │ │ ├── plycb1.lmp
│ │ │ │ ├── plycb2b8.lmp
│ │ │ │ ├── plycb3b7.lmp
│ │ │ │ ├── plycb4b6.lmp
│ │ │ │ ├── plycb5.lmp
│ │ │ │ ├── plycc1.lmp
│ │ │ │ ├── plycc2c8.lmp
│ │ │ │ ├── plycc3c7.lmp
│ │ │ │ ├── plycc4c6.lmp
│ │ │ │ ├── plycc5.lmp
│ │ │ │ ├── plycd1.lmp
│ │ │ │ ├── plycd2d8.lmp
│ │ │ │ ├── plycd3d7.lmp
│ │ │ │ ├── plycd4d6.lmp
│ │ │ │ ├── plycd5.lmp
│ │ │ │ ├── plyce1.lmp
│ │ │ │ ├── plyce2e8.lmp
│ │ │ │ ├── plyce3e7.lmp
│ │ │ │ ├── plyce4e6.lmp
│ │ │ │ ├── plyce5.lmp
│ │ │ │ ├── plycf1.lmp
│ │ │ │ ├── plycf2f8.lmp
│ │ │ │ ├── plycf3f7.lmp
│ │ │ │ ├── plycf4f6.lmp
│ │ │ │ ├── plycf5.lmp
│ │ │ │ ├── plycg1.lmp
│ │ │ │ ├── plycg2g8.lmp
│ │ │ │ ├── plycg3g7.lmp
│ │ │ │ ├── plycg4g6.lmp
│ │ │ │ ├── plycg5.lmp
│ │ │ │ ├── plych0.lmp
│ │ │ │ ├── plyci0.lmp
│ │ │ │ ├── plycj0.lmp
│ │ │ │ ├── plyck0.lmp
│ │ │ │ ├── plycl0.lmp
│ │ │ │ ├── plycm0.lmp
│ │ │ │ ├── plycn0.lmp
│ │ │ │ ├── plyco0.lmp
│ │ │ │ ├── plycp0.lmp
│ │ │ │ ├── plycq0.lmp
│ │ │ │ ├── plycr0.lmp
│ │ │ │ ├── plycs0.lmp
│ │ │ │ ├── plyct0.lmp
│ │ │ │ ├── plycu0.lmp
│ │ │ │ ├── plycv0.lmp
│ │ │ │ └── plycw0.lmp
│ │ │ ├── rsmka0.png
│ │ │ ├── rsmkb0.png
│ │ │ ├── rsmkc0.png
│ │ │ ├── rsmkd0.png
│ │ │ ├── rsmke0.png
│ │ │ ├── sgrna1.png
│ │ │ ├── sgrna5.png
│ │ │ ├── sgrna6a4.png
│ │ │ ├── sgrna7a3.png
│ │ │ ├── sgrna8a2.png
│ │ │ ├── spkra0.png
│ │ │ ├── tlgla0.png
│ │ │ ├── tlglb0.png
│ │ │ ├── tlglc0.png
│ │ │ ├── tlgld0.png
│ │ │ ├── tlgle0.png
│ │ │ ├── tnt1a0.png
│ │ │ └── unkna0.png
│ │ ├── teaminfo.txt
│ │ ├── terrain.txt
│ │ ├── textcolors.txt
│ │ ├── textures.txt
│ │ ├── textures
│ │ │ └── -noflat-.png
│ │ ├── things.h.txt
│ │ ├── vga-rom-font.16
│ │ ├── x11r6rgb.txt
│ │ ├── xhairs.txt
│ │ └── xlat
│ │ │ ├── base.txt
│ │ │ ├── defines.i
│ │ │ ├── doom.txt
│ │ │ ├── doom_base.txt
│ │ │ ├── eternity.txt
│ │ │ ├── heretic.txt
│ │ │ ├── heretic_base.txt
│ │ │ ├── strife.txt
│ │ │ └── strife_base.txt
│ └── wadsrc.vcproj
│ └── zlib
│ ├── CMakeLists.txt
│ ├── ChangeLog
│ ├── FAQ
│ ├── INDEX
│ ├── README
│ ├── adler32.c
│ ├── algorithm.txt
│ ├── compress.c
│ ├── crc32.c
│ ├── crc32.h
│ ├── deflate.c
│ ├── deflate.h
│ ├── example.c
│ ├── gzguts.h
│ ├── infback.c
│ ├── inffast.c
│ ├── inffast.h
│ ├── inffixed.h
│ ├── inflate.c
│ ├── inflate.h
│ ├── inftrees.c
│ ├── inftrees.h
│ ├── trees.c
│ ├── trees.h
│ ├── uncompr.c
│ ├── win32
│ ├── zlib.def
│ └── zlib1.rc
│ ├── zconf.h
│ ├── zlib.3
│ ├── zlib.3.pdf
│ ├── zlib.h
│ ├── zlib.vcproj
│ ├── zutil.c
│ └── zutil.h
├── setup.py
└── tox.ini
/.gitignore:
--------------------------------------------------------------------------------
1 | *.swp
2 | *.pyc
3 | *.py~
4 | .DS_Store
5 |
6 | # Setuptools distribution and build folders.
7 | /dist/
8 | /build
9 |
10 | # Virtualenv
11 | /env
12 |
13 | # Python egg metadata, regenerated from source files by setuptools.
14 | /*.egg-info
15 |
16 | *.sublime-project
17 | *.sublime-workspace
18 |
19 | /vizdoom.ini
20 |
--------------------------------------------------------------------------------
/MANIFEST.in:
--------------------------------------------------------------------------------
1 | recursive-include doom_py *
2 |
--------------------------------------------------------------------------------
/Makefile:
--------------------------------------------------------------------------------
1 | .PHONY: build clean
2 |
3 | clean:
4 | rm -rf dist doom_py.egg-info build doom_py/build doom_py/*.so
5 |
6 | upload: clean
7 | rm -rf dist
8 | python setup.py sdist
9 | twine upload dist/*
10 |
--------------------------------------------------------------------------------
/doom_py/__init__.py:
--------------------------------------------------------------------------------
1 | from doom_py.vizdoom import *
2 | import os
3 |
4 | class Loader():
5 | """
6 | This class converts file name to full paths to be imported
7 | by the DoomGame
8 | """
9 | def get_vizdoom_path(self):
10 | package_directory = os.path.dirname(os.path.abspath(__file__))
11 | return os.path.join(package_directory, 'bin/vizdoom')
12 |
13 | def get_freedoom_path(self):
14 | package_directory = os.path.dirname(os.path.abspath(__file__))
15 | return os.path.join(package_directory, 'scenarios/freedoom2.wad')
16 |
17 | def get_scenario_path(self, name):
18 | package_directory = os.path.dirname(os.path.abspath(__file__))
19 | return os.path.join(package_directory, 'scenarios/{}'.format(name))
20 |
--------------------------------------------------------------------------------
/doom_py/cmake_all.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_PYTHON=ON -DBUILD_JAVA=ON
--------------------------------------------------------------------------------
/doom_py/cmake_clean.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | for NAME in Makefile CMakeCache.txt CMakeFiles cmake_install.cmake
3 | do
4 | find . -name "$NAME" -exec rm -rf {} 2>/dev/null \;
5 | done
6 |
--------------------------------------------------------------------------------
/doom_py/cmake_modules/launcher-templates/genericlauncher.cmd.in:
--------------------------------------------------------------------------------
1 | cd @USERFILE_WORKING_DIRECTORY@
2 | @USERFILE_ENV_COMMANDS@
3 |
4 | IF NOT [x%1]==[x--debugger] GOTO SkipDebuggingMess
5 |
6 | ECHO Need to ditch the debugger!
7 | SHIFT /1
8 | %1 %2 %3 %4 %5 %6 %7 %8 %9
9 | GOTO EOF
10 |
11 | :SkipDebuggingMess
12 | %*
13 |
14 | :EOF
--------------------------------------------------------------------------------
/doom_py/cmake_modules/launcher-templates/launcher.env.cmd.in:
--------------------------------------------------------------------------------
1 | set @_arg@
2 |
--------------------------------------------------------------------------------
/doom_py/cmake_modules/launcher-templates/perconfig.vcproj.user.in:
--------------------------------------------------------------------------------
1 |
4 |
28 |
29 |
--------------------------------------------------------------------------------
/doom_py/cmake_modules/launcher-templates/perconfig.vcxproj.user.in:
--------------------------------------------------------------------------------
1 |
2 | @USERFILE_ENVIRONMENT@
3 | WindowsLocalDebugger
4 | ${USERFILE_@USERFILE_CONFIGNAME@_COMMAND}
5 | @USERFILE_COMMAND_ARGUMENTS@
6 | @USERFILE_WORKING_DIRECTORY@
7 |
8 |
--------------------------------------------------------------------------------
/doom_py/cmake_modules/launcher-templates/targetlauncher.cmd.in:
--------------------------------------------------------------------------------
1 | cd @USERFILE_WORKING_DIRECTORY@
2 | @USERFILE_ENV_COMMANDS@
3 | if [%1]==[--debugger] (
4 | SHIFT
5 | )
6 |
7 | "@USERFILE_COMMAND@" @LAUNCHERSCRIPT_COMMAND_ARGUMENTS@
8 | pause
9 |
--------------------------------------------------------------------------------
/doom_py/cmake_modules/launcher-templates/vcproj.user.in:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 | @USERFILE_CONFIGSECTIONS@
9 |
10 |
11 |
--------------------------------------------------------------------------------
/doom_py/cmake_modules/launcher-templates/vcxproj.user.in:
--------------------------------------------------------------------------------
1 |
2 |
3 | @USERFILE_CONFIGSECTIONS@
4 |
5 |
--------------------------------------------------------------------------------
/doom_py/download_freedoom.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | # Checks if scenarios/freedoom2.wad is in place and downloads and extracts it if not.
3 |
4 | FREEDOM_LINK="https://github.com/freedoom/freedoom/releases/download/v0.10.1/freedoom-0.10.1.zip"
5 |
6 | if [ ! -e "./scenarios/freedoom2.wad" ]
7 | then
8 | if [ ! -e "./bin/freedoom-0.10.1.zip" ]
9 | then
10 | wget $FREEDOM_LINK -P ./bin
11 | fi
12 | unzip -j -d ./scenarios ./bin/freedoom-0.10.1.zip freedoom-0.10.1/freedoom2.wad
13 | fi
14 |
15 |
--------------------------------------------------------------------------------
/doom_py/examples/bin/vizdoom.so.dir/DependInfo.cmake:
--------------------------------------------------------------------------------
1 | # The set of languages for which implicit dependencies are needed:
2 | set(CMAKE_DEPENDS_LANGUAGES
3 | )
4 | # The set of files for implicit dependencies of each language:
5 |
6 | # Targets to which this target links.
7 | set(CMAKE_TARGET_LINKED_INFO_FILES
8 | )
9 |
10 | # The include file search paths:
11 | set(CMAKE_C_TARGET_INCLUDE_PATH
12 | "../../vizdoom_api_src"
13 | )
14 | set(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
15 | set(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
16 | set(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
17 |
--------------------------------------------------------------------------------
/doom_py/examples/bin/vizdoom.so.dir/cmake_clean.cmake:
--------------------------------------------------------------------------------
1 |
2 | # Per-language clean rules from dependency scanning.
3 | foreach(lang)
4 | include(CMakeFiles/../../bin/vizdoom.so.dir/cmake_clean_${lang}.cmake OPTIONAL)
5 | endforeach()
6 |
--------------------------------------------------------------------------------
/doom_py/examples/bin/vizdoom.so.dir/depend.make:
--------------------------------------------------------------------------------
1 | # Empty dependencies file for ../../bin/vizdoom.so.
2 | # This may be replaced when dependencies are built.
3 |
--------------------------------------------------------------------------------
/doom_py/examples/bin/vizdoom.so.dir/flags.make:
--------------------------------------------------------------------------------
1 | # CMAKE generated file: DO NOT EDIT!
2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.2
3 |
4 |
--------------------------------------------------------------------------------
/doom_py/examples/bin/vizdoom.so.dir/progress.make:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/doom_py/examples/c++/.gitignore:
--------------------------------------------------------------------------------
1 | bin
2 |
--------------------------------------------------------------------------------
/doom_py/examples/config/learning.cfg:
--------------------------------------------------------------------------------
1 |
2 | vizdoom_path = ../../bin/vizdoom
3 | #doom_game_path = ../../scenarios/doom2.wad
4 | doom_game_path = ../../scenarios/freedoom2.wad
5 | doom_scenario_path = ../../scenarios/basic.wad
6 |
7 | # Rewards
8 | living_reward = -1
9 |
10 | # Rendering options
11 | screen_resolution = RES_640X480
12 | screen_format = GRAY8
13 | render_hud = false
14 | render_crosshair = false
15 | render_weapon = true
16 | render_decals = false
17 | render_particles = false
18 | window_visible = false
19 |
20 | # make episodes start after 20 tics (after unholstering the gun)
21 | episode_start_time = 14
22 |
23 | # make episodes finish after 300 actions (tics)
24 | episode_timeout = 300
25 |
26 | # Available buttons
27 | available_buttons =
28 | {
29 | MOVE_LEFT
30 | MOVE_RIGHT
31 | ATTACK
32 | }
33 |
34 | mode = PLAYER
35 |
36 |
37 |
--------------------------------------------------------------------------------
/doom_py/examples/python/bots.cfg:
--------------------------------------------------------------------------------
1 | /Users/jietang/Projects/doom-py-clone/doom_py/examples/config/bots.cfg
--------------------------------------------------------------------------------
/doom_py/run_cmake.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_PYTHON=ON -DBUILD_JAVA=ON
--------------------------------------------------------------------------------
/doom_py/scenarios/basic.wad:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openai/doom-py/85ada06dc9603e2f0768a06e4fcae637cf1c3931/doom_py/scenarios/basic.wad
--------------------------------------------------------------------------------
/doom_py/scenarios/cig.wad:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openai/doom-py/85ada06dc9603e2f0768a06e4fcae637cf1c3931/doom_py/scenarios/cig.wad
--------------------------------------------------------------------------------
/doom_py/scenarios/deadly_corridor.wad:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openai/doom-py/85ada06dc9603e2f0768a06e4fcae637cf1c3931/doom_py/scenarios/deadly_corridor.wad
--------------------------------------------------------------------------------
/doom_py/scenarios/deathmatch.wad:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openai/doom-py/85ada06dc9603e2f0768a06e4fcae637cf1c3931/doom_py/scenarios/deathmatch.wad
--------------------------------------------------------------------------------
/doom_py/scenarios/defend_the_center.wad:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openai/doom-py/85ada06dc9603e2f0768a06e4fcae637cf1c3931/doom_py/scenarios/defend_the_center.wad
--------------------------------------------------------------------------------
/doom_py/scenarios/defend_the_line.wad:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openai/doom-py/85ada06dc9603e2f0768a06e4fcae637cf1c3931/doom_py/scenarios/defend_the_line.wad
--------------------------------------------------------------------------------
/doom_py/scenarios/health_gathering.wad:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openai/doom-py/85ada06dc9603e2f0768a06e4fcae637cf1c3931/doom_py/scenarios/health_gathering.wad
--------------------------------------------------------------------------------
/doom_py/scenarios/health_gathering_supreme.wad:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openai/doom-py/85ada06dc9603e2f0768a06e4fcae637cf1c3931/doom_py/scenarios/health_gathering_supreme.wad
--------------------------------------------------------------------------------
/doom_py/scenarios/multi_deathmatch.wad:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openai/doom-py/85ada06dc9603e2f0768a06e4fcae637cf1c3931/doom_py/scenarios/multi_deathmatch.wad
--------------------------------------------------------------------------------
/doom_py/scenarios/my_way_home.wad:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openai/doom-py/85ada06dc9603e2f0768a06e4fcae637cf1c3931/doom_py/scenarios/my_way_home.wad
--------------------------------------------------------------------------------
/doom_py/scenarios/predict_position.wad:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openai/doom-py/85ada06dc9603e2f0768a06e4fcae637cf1c3931/doom_py/scenarios/predict_position.wad
--------------------------------------------------------------------------------
/doom_py/scenarios/take_cover.wad:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openai/doom-py/85ada06dc9603e2f0768a06e4fcae637cf1c3931/doom_py/scenarios/take_cover.wad
--------------------------------------------------------------------------------
/doom_py/src/lib/boost/process.hpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2006, 2007 Julio M. Merino Vidal
2 | // Copyright (c) 2008 Ilya Sokolov, Boris Schaeling
3 | // Copyright (c) 2009 Boris Schaeling
4 | // Copyright (c) 2010 Felipe Tanus, Boris Schaeling
5 | // Copyright (c) 2011 Jeff Flinn, Boris Schaeling
6 | // Copyright (c) 2012 Boris Schaeling
7 | //
8 | // Distributed under the Boost Software License, Version 1.0. (See accompanying
9 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
10 |
11 | /**
12 | * \file boost/process.hpp
13 | *
14 | * Convenience header which includes all public Boost.Process header files.
15 | */
16 |
17 | #ifndef BOOST_PROCESS_HPP
18 | #define BOOST_PROCESS_HPP
19 |
20 | #include
21 |
22 | #endif
23 |
--------------------------------------------------------------------------------
/doom_py/src/lib/boost/process/posix/child.hpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2006, 2007 Julio M. Merino Vidal
2 | // Copyright (c) 2008 Ilya Sokolov, Boris Schaeling
3 | // Copyright (c) 2009 Boris Schaeling
4 | // Copyright (c) 2010 Felipe Tanus, Boris Schaeling
5 | // Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling
6 | //
7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying
8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9 |
10 | #ifndef BOOST_PROCESS_POSIX_CHILD_HPP
11 | #define BOOST_PROCESS_POSIX_CHILD_HPP
12 |
13 | #include
14 |
15 | namespace boost { namespace process { namespace posix {
16 |
17 | struct child
18 | {
19 | pid_t pid;
20 |
21 | explicit child(pid_t p) : pid(p) {}
22 | };
23 |
24 | }}}
25 |
26 | #endif
27 |
--------------------------------------------------------------------------------
/doom_py/src/lib/boost/process/posix/initializers/hide_console.hpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2006, 2007 Julio M. Merino Vidal
2 | // Copyright (c) 2008 Ilya Sokolov, Boris Schaeling
3 | // Copyright (c) 2009 Boris Schaeling
4 | // Copyright (c) 2010 Felipe Tanus, Boris Schaeling
5 | // Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling
6 | //
7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying
8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9 |
10 | #ifndef BOOST_PROCESS_POSIX_INITIALIZERS_HIDE_CONSOLE_HPP
11 | #define BOOST_PROCESS_POSIX_INITIALIZERS_HIDE_CONSOLE_HPP
12 |
13 | #include
14 |
15 | namespace boost { namespace process { namespace posix { namespace initializers {
16 |
17 | class hide_console : public initializer_base
18 | {
19 | public:
20 | };
21 |
22 | }}}}
23 |
24 | #endif
25 |
--------------------------------------------------------------------------------
/doom_py/src/lib/boost/process/posix/pipe.hpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2006, 2007 Julio M. Merino Vidal
2 | // Copyright (c) 2008 Ilya Sokolov, Boris Schaeling
3 | // Copyright (c) 2009 Boris Schaeling
4 | // Copyright (c) 2010 Felipe Tanus, Boris Schaeling
5 | // Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling
6 | //
7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying
8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9 |
10 | #ifndef BOOST_PROCESS_POSIX_PIPE_HPP
11 | #define BOOST_PROCESS_POSIX_PIPE_HPP
12 |
13 | namespace boost { namespace process { namespace posix {
14 |
15 | struct pipe
16 | {
17 | int source;
18 | int sink;
19 |
20 | pipe(int source, int sink) : source(source), sink(sink) {}
21 | };
22 |
23 | inline pipe make_pipe(int source, int sink)
24 | {
25 | return pipe(source, sink);
26 | }
27 |
28 | }}}
29 |
30 | #endif
31 |
--------------------------------------------------------------------------------
/doom_py/src/lib/boost/process/windows/initializers/inherit_env.hpp:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2006, 2007 Julio M. Merino Vidal
2 | // Copyright (c) 2008 Ilya Sokolov, Boris Schaeling
3 | // Copyright (c) 2009 Boris Schaeling
4 | // Copyright (c) 2010 Felipe Tanus, Boris Schaeling
5 | // Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling
6 | //
7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying
8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9 |
10 | #ifndef BOOST_PROCESS_WINDOWS_INITIALIZERS_INHERIT_ENV_HPP
11 | #define BOOST_PROCESS_WINDOWS_INITIALIZERS_INHERIT_ENV_HPP
12 |
13 | #include
14 |
15 | namespace boost { namespace process { namespace windows { namespace initializers {
16 |
17 | class inherit_env : public initializer_base
18 | {
19 | public:
20 | };
21 |
22 | }}}}
23 |
24 | #endif
25 |
--------------------------------------------------------------------------------
/doom_py/src/lib_java/java_classes/GameState.java:
--------------------------------------------------------------------------------
1 | package vizdoom;
2 |
3 | import java.util.ArrayList;
4 | import java.util.List;
5 |
6 | public class GameState{
7 | public int number;
8 | public int[] gameVariables;
9 | public int[] imageBuffer;
10 | public GameState(){
11 | this.number=-1;
12 | this.gameVariables=null;
13 | this.imageBuffer=null;
14 | };
15 | public GameState(int number, int[] vars , int[] imageBuffer){
16 | this.number=number;
17 | this.gameVariables=vars;
18 | this.imageBuffer=imageBuffer;
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/doom_py/src/lib_java/java_classes/enums/Mode.java:
--------------------------------------------------------------------------------
1 | package vizdoom;
2 | public enum Mode{
3 | PLAYER,
4 | SPECTATOR,
5 | ASYNC_PLAYER,
6 | ASYNC_SPECTATOR;
7 | }
8 |
9 |
--------------------------------------------------------------------------------
/doom_py/src/lib_java/java_classes/enums/ScreenFormat.java:
--------------------------------------------------------------------------------
1 | package vizdoom;
2 | public enum ScreenFormat {
3 | CRCGCB,
4 | CRCGCBDB,
5 | RGB24,
6 | RGBA32,
7 | ARGB32,
8 | CBCGCR,
9 | CBCGCRDB,
10 | BGR24,
11 | BGRA32,
12 | ABGR32,
13 | GRAY8,
14 | DEPTH_BUFFER8,
15 | DOOM_256_COLORS8;
16 | }
17 |
--------------------------------------------------------------------------------
/doom_py/src/lib_java/java_classes/exceptions/FileDoesNotExistException.java:
--------------------------------------------------------------------------------
1 | package vizdoom;
2 | public class FileDoesNotExistException extends Exception {
3 | public FileDoesNotExistException(String message) {
4 | super(message);
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/doom_py/src/lib_java/java_classes/exceptions/MessageQueueException.java:
--------------------------------------------------------------------------------
1 | package vizdoom;
2 | public class MessageQueueException extends Exception {
3 | public MessageQueueException(String message) {
4 | super(message);
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/doom_py/src/lib_java/java_classes/exceptions/SharedMemoryException.java:
--------------------------------------------------------------------------------
1 | package vizdoom;
2 | public class SharedMemoryException extends Exception {
3 | public SharedMemoryException(String message) {
4 | super(message);
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/doom_py/src/lib_java/java_classes/exceptions/ViZDoomErrorException.java:
--------------------------------------------------------------------------------
1 | package vizdoom;
2 | public class ViZDoomErrorException extends Exception {
3 | public ViZDoomErrorException(String message) {
4 | super(message);
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/doom_py/src/lib_java/java_classes/exceptions/ViZDoomIsNotRunningException.java:
--------------------------------------------------------------------------------
1 | package vizdoom;
2 | public class ViZDoomIsNotRunningException extends Exception {
3 | public ViZDoomIsNotRunningException(String message) {
4 | super(message);
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/doom_py/src/lib_java/java_classes/exceptions/ViZDoomMismatchedVersionException.java:
--------------------------------------------------------------------------------
1 | package vizdoom;
2 | public class ViZDoomMismatchedVersionException extends Exception {
3 | public ViZDoomMismatchedVersionException(String message) {
4 | super(message);
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/doom_py/src/lib_java/java_classes/exceptions/ViZDoomUnexpectedExitException.java:
--------------------------------------------------------------------------------
1 | package vizdoom;
2 | public class ViZDoomUnexpectedExitException extends Exception {
3 | public ViZDoomUnexpectedExitException(String message) {
4 | super(message);
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/bzip2/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | cmake_minimum_required( VERSION 2.4 )
2 |
3 | make_release_only()
4 |
5 | if( ZD_CMAKE_COMPILER_IS_GNUC_COMPATIBLE )
6 | set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -fomit-frame-pointer" )
7 | endif( ZD_CMAKE_COMPILER_IS_GNUC_COMPATIBLE )
8 |
9 | add_definitions( -DBZ_NO_STDIO )
10 | add_library( bz2
11 | blocksort.c
12 | bzlib.c
13 | compress.c
14 | crctable.c
15 | decompress.c
16 | huffman.c
17 | randtable.c )
18 | target_link_libraries( bz2 )
19 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/dumb/include/internal/dumbfile.h:
--------------------------------------------------------------------------------
1 | #ifndef DUMBFILE_H
2 | #define DUMBFILE_H
3 |
4 | #include "../dumb.h"
5 |
6 | struct DUMBFILE
7 | {
8 | const DUMBFILE_SYSTEM *dfs;
9 | void *file;
10 | long pos;
11 | };
12 |
13 | #endif // DUMBFILE_H
14 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/dumb/include/internal/riff.h:
--------------------------------------------------------------------------------
1 | #ifndef RIFF_H
2 | #define RIFF_H
3 |
4 | struct riff;
5 |
6 | struct riff_chunk
7 | {
8 | unsigned type;
9 | int32 offset;
10 | unsigned size;
11 | struct riff * nested;
12 | };
13 |
14 | struct riff
15 | {
16 | unsigned type;
17 | unsigned chunk_count;
18 | struct riff_chunk * chunks;
19 | };
20 |
21 | struct riff * riff_parse( DUMBFILE * f, int32 offset, int32 size, unsigned proper );
22 | void riff_free( struct riff * );
23 |
24 | #endif
25 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/dumb/prj/.gitignore:
--------------------------------------------------------------------------------
1 | dumb-build-Desktop-Release
2 | dumb-build-Desktop-Debug
3 | *.user
4 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/dumb/vc6/dumb/.gitignore:
--------------------------------------------------------------------------------
1 | *.user
2 | Debug
3 | Release
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/game-music-emu/gme/Ym2413_Emu.cpp:
--------------------------------------------------------------------------------
1 |
2 | // Use in place of Ym2413_Emu.cpp and ym2413.c to disable support for this chip
3 |
4 | // Game_Music_Emu 0.6.0. http://www.slack.net/~ant/
5 |
6 | #include "Ym2413_Emu.h"
7 |
8 | Ym2413_Emu::Ym2413_Emu() { }
9 |
10 | Ym2413_Emu::~Ym2413_Emu() { }
11 |
12 | int Ym2413_Emu::set_rate( double, double ) { return 2; }
13 |
14 | void Ym2413_Emu::reset() { }
15 |
16 | void Ym2413_Emu::write( int, int ) { }
17 |
18 | void Ym2413_Emu::mute_voices( int ) { }
19 |
20 | void Ym2413_Emu::run( int, sample_t* ) { }
21 |
22 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/game-music-emu/gme/Ym2413_Emu.h:
--------------------------------------------------------------------------------
1 | // YM2413 FM sound chip emulator interface
2 |
3 | // Game_Music_Emu 0.6.0
4 | #ifndef YM2413_EMU_H
5 | #define YM2413_EMU_H
6 |
7 | class Ym2413_Emu {
8 | struct OPLL* opll;
9 | public:
10 | Ym2413_Emu();
11 | ~Ym2413_Emu();
12 |
13 | // Set output sample rate and chip clock rates, in Hz. Returns non-zero
14 | // if error.
15 | int set_rate( double sample_rate, double clock_rate );
16 |
17 | // Reset to power-up state
18 | void reset();
19 |
20 | // Mute voice n if bit n (1 << n) of mask is set
21 | enum { channel_count = 14 };
22 | void mute_voices( int mask );
23 |
24 | // Write 'data' to 'addr'
25 | void write( int addr, int data );
26 |
27 | // Run and write pair_count samples to output
28 | typedef short sample_t;
29 | enum { out_chan_count = 2 }; // stereo
30 | void run( int pair_count, sample_t* out );
31 | };
32 |
33 | #endif
34 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/game-music-emu/gme/Ym2612_Emu.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openai/doom-py/85ada06dc9603e2f0768a06e4fcae637cf1c3931/doom_py/src/vizdoom/game-music-emu/gme/Ym2612_Emu.cpp
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/game-music-emu/gme/gme_types.h:
--------------------------------------------------------------------------------
1 | #ifndef GME_TYPES_H
2 | #define GME_TYPES_H
3 |
4 | /* CMake will either define the following to 1, or #undef it,
5 | * depending on the options passed to CMake. This is used to
6 | * conditionally compile in the various emulator types.
7 | *
8 | * See gme_type_list() in gme.cpp
9 | */
10 |
11 | #define USE_GME_AY
12 | #define USE_GME_GBS
13 | #define USE_GME_GYM
14 | #define USE_GME_HES
15 | #define USE_GME_KSS
16 | #define USE_GME_NSF
17 | #define USE_GME_NSFE
18 | #define USE_GME_SAP
19 | #define USE_GME_SPC
20 | /* VGM and VGZ are a package deal */
21 | #define USE_GME_VGM
22 |
23 | #endif /* GME_TYPES_H */
24 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/game-music-emu/gme/gme_types.h.in:
--------------------------------------------------------------------------------
1 | #ifndef GME_TYPES_H
2 | #define GME_TYPES_H
3 |
4 | /* CMake will either define the following to 1, or #undef it,
5 | * depending on the options passed to CMake. This is used to
6 | * conditionally compile in the various emulator types.
7 | *
8 | * See gme_type_list() in gme.cpp
9 | */
10 |
11 | #cmakedefine USE_GME_AY
12 | #cmakedefine USE_GME_GBS
13 | #cmakedefine USE_GME_GYM
14 | #cmakedefine USE_GME_HES
15 | #cmakedefine USE_GME_KSS
16 | #cmakedefine USE_GME_NSF
17 | #cmakedefine USE_GME_NSFE
18 | #cmakedefine USE_GME_SAP
19 | #cmakedefine USE_GME_SPC
20 | /* VGM and VGZ are a package deal */
21 | #cmakedefine USE_GME_VGM
22 |
23 | #endif /* GME_TYPES_H */
24 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/game-music-emu/gme/sap_cpu_io.h:
--------------------------------------------------------------------------------
1 |
2 | #include "Sap_Emu.h"
3 |
4 | #include "blargg_source.h"
5 |
6 | #define CPU_WRITE( cpu, addr, data, time ) STATIC_CAST(Sap_Emu&,*cpu).cpu_write( addr, data )
7 |
8 | void Sap_Emu::cpu_write( sap_addr_t addr, int data )
9 | {
10 | mem.ram [addr] = data;
11 | if ( (addr >> 8) == 0xD2 )
12 | cpu_write_( addr, data );
13 | }
14 |
15 | #ifdef NDEBUG
16 | #define CPU_READ( cpu, addr, time ) READ_LOW( addr )
17 | #else
18 | #define CPU_READ( cpu, addr, time ) STATIC_CAST(Sap_Emu&,*cpu).cpu_read( addr )
19 |
20 | int Sap_Emu::cpu_read( sap_addr_t addr )
21 | {
22 | if ( (addr & 0xF900) == 0xD000 )
23 | debug_printf( "Unmapped read $%04X\n", addr );
24 | return mem.ram [addr];
25 | }
26 | #endif
27 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/gdtoa/gdtoa_fltrnds.h:
--------------------------------------------------------------------------------
1 | FPI *fpi, fpi1;
2 | int Rounding;
3 | #ifdef Trust_FLT_ROUNDS /*{{ only define this if FLT_ROUNDS really works! */
4 | Rounding = Flt_Rounds;
5 | #else /*}{*/
6 | Rounding = 1;
7 | switch(fegetround()) {
8 | case FE_TOWARDZERO: Rounding = 0; break;
9 | case FE_UPWARD: Rounding = 2; break;
10 | case FE_DOWNWARD: Rounding = 3;
11 | }
12 | #endif /*}}*/
13 | fpi = &fpi0;
14 | if (Rounding != 1) {
15 | fpi1 = fpi0;
16 | fpi = &fpi1;
17 | fpi1.rounding = Rounding;
18 | }
19 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/gdtoa/qnan.obj:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openai/doom-py/85ada06dc9603e2f0768a06e4fcae637cf1c3931/doom_py/src/vizdoom/gdtoa/qnan.obj
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/jpeg-6b/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | cmake_minimum_required( VERSION 2.4 )
2 |
3 | make_release_only()
4 |
5 | if( ZD_CMAKE_COMPILER_IS_GNUC_COMPATIBLE )
6 | set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wno-unused-parameter -fomit-frame-pointer" )
7 | endif( ZD_CMAKE_COMPILER_IS_GNUC_COMPATIBLE )
8 |
9 | add_library( jpeg
10 | jcomapi.c
11 | jdapimin.c
12 | jdapistd.c
13 | jdatasrc.c
14 | jdcoefct.c
15 | jdcolor.c
16 | jddctmgr.c
17 | jdhuff.c
18 | jdinput.c
19 | jdmainct.c
20 | jdmarker.c
21 | jdmaster.c
22 | jdmerge.c
23 | jdphuff.c
24 | jdpostct.c
25 | jdsample.c
26 | jerror.c
27 | jidctint.c
28 | jmemmgr.c
29 | jutils.c )
30 | target_link_libraries( jpeg )
31 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/jpeg-6b/jconfig.h:
--------------------------------------------------------------------------------
1 | /* jconfig.vc --- jconfig.h for Microsoft Visual C++ on Windows 95 or NT. */
2 | /* see jconfig.doc for explanations */
3 |
4 | #define HAVE_PROTOTYPES
5 | #define HAVE_UNSIGNED_CHAR
6 | #define HAVE_UNSIGNED_SHORT
7 | /* #define void char */
8 | /* #define const */
9 | #undef CHAR_IS_UNSIGNED
10 | #define HAVE_STDDEF_H
11 | #define HAVE_STDLIB_H
12 | #undef NEED_BSD_STRINGS
13 | #undef NEED_SYS_TYPES_H
14 |
15 | /* Define "boolean" as unsigned char, not int, per Windows custom */
16 | #ifndef __RPCNDR_H__ /* don't conflict if rpcndr.h already read */
17 | typedef unsigned char boolean;
18 | #endif
19 | #define HAVE_BOOLEAN /* prevent jmorecfg.h from redefining it */
20 |
21 |
22 | #ifdef JPEG_INTERNALS
23 |
24 | #undef RIGHT_SHIFT_IS_UNSIGNED
25 |
26 | #endif /* JPEG_INTERNALS */
27 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/jpeg-6b/jversion.h:
--------------------------------------------------------------------------------
1 | /*
2 | * jversion.h
3 | *
4 | * Copyright (C) 1991-1998, Thomas G. Lane.
5 | * This file is part of the Independent JPEG Group's software.
6 | * For conditions of distribution and use, see the accompanying README file.
7 | *
8 | * This file contains software version identification.
9 | */
10 |
11 |
12 | #define JVERSION "6b 27-Mar-1998"
13 |
14 | #define JCOPYRIGHT "Copyright (C) 1998, Thomas G. Lane"
15 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/lzma/C/7zBuf.c:
--------------------------------------------------------------------------------
1 | /* 7zBuf.c -- Byte Buffer
2 | 2013-01-21 : Igor Pavlov : Public domain */
3 |
4 | #include "Precomp.h"
5 |
6 | #include "7zBuf.h"
7 |
8 | void Buf_Init(CBuf *p)
9 | {
10 | p->data = 0;
11 | p->size = 0;
12 | }
13 |
14 | int Buf_Create(CBuf *p, size_t size, ISzAlloc *alloc)
15 | {
16 | p->size = 0;
17 | if (size == 0)
18 | {
19 | p->data = 0;
20 | return 1;
21 | }
22 | p->data = (Byte *)alloc->Alloc(alloc, size);
23 | if (p->data != 0)
24 | {
25 | p->size = size;
26 | return 1;
27 | }
28 | return 0;
29 | }
30 |
31 | void Buf_Free(CBuf *p, ISzAlloc *alloc)
32 | {
33 | alloc->Free(alloc, p->data);
34 | p->data = 0;
35 | p->size = 0;
36 | }
37 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/lzma/C/7zBuf.h:
--------------------------------------------------------------------------------
1 | /* 7zBuf.h -- Byte Buffer
2 | 2013-01-18 : Igor Pavlov : Public domain */
3 |
4 | #ifndef __7Z_BUF_H
5 | #define __7Z_BUF_H
6 |
7 | #include "7zTypes.h"
8 |
9 | EXTERN_C_BEGIN
10 |
11 | typedef struct
12 | {
13 | Byte *data;
14 | size_t size;
15 | } CBuf;
16 |
17 | void Buf_Init(CBuf *p);
18 | int Buf_Create(CBuf *p, size_t size, ISzAlloc *alloc);
19 | void Buf_Free(CBuf *p, ISzAlloc *alloc);
20 |
21 | typedef struct
22 | {
23 | Byte *data;
24 | size_t size;
25 | size_t pos;
26 | } CDynBuf;
27 |
28 | void DynBuf_Construct(CDynBuf *p);
29 | void DynBuf_SeekToBeg(CDynBuf *p);
30 | int DynBuf_Write(CDynBuf *p, const Byte *buf, size_t size, ISzAlloc *alloc);
31 | void DynBuf_Free(CDynBuf *p, ISzAlloc *alloc);
32 |
33 | EXTERN_C_END
34 |
35 | #endif
36 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/lzma/C/7zCrc.h:
--------------------------------------------------------------------------------
1 | /* 7zCrc.h -- CRC32 calculation
2 | 2013-01-18 : Igor Pavlov : Public domain */
3 |
4 | #ifndef __7Z_CRC_H
5 | #define __7Z_CRC_H
6 |
7 | #include "7zTypes.h"
8 |
9 | EXTERN_C_BEGIN
10 |
11 | extern UInt32 g_CrcTable[];
12 |
13 | /* Call CrcGenerateTable one time before other CRC functions */
14 | void MY_FAST_CALL CrcGenerateTable(void);
15 |
16 | #define CRC_INIT_VAL 0xFFFFFFFF
17 | #define CRC_GET_DIGEST(crc) ((crc) ^ CRC_INIT_VAL)
18 | #define CRC_UPDATE_BYTE(crc, b) (g_CrcTable[((crc) ^ (b)) & 0xFF] ^ ((crc) >> 8))
19 |
20 | UInt32 MY_FAST_CALL CrcUpdate(UInt32 crc, const void *data, size_t size);
21 | UInt32 MY_FAST_CALL CrcCalc(const void *data, size_t size);
22 |
23 | EXTERN_C_END
24 |
25 | #endif
26 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/lzma/C/7zVersion.h:
--------------------------------------------------------------------------------
1 | #define MY_VER_MAJOR 15
2 | #define MY_VER_MINOR 14
3 | #define MY_VER_BUILD 0
4 | #define MY_VERSION_NUMBERS "15.14"
5 | #define MY_VERSION "15.14"
6 | #define MY_DATE "2015-12-31"
7 | #undef MY_COPYRIGHT
8 | #undef MY_VERSION_COPYRIGHT_DATE
9 | #define MY_AUTHOR_NAME "Igor Pavlov"
10 | #define MY_COPYRIGHT_PD "Igor Pavlov : Public domain"
11 | #define MY_COPYRIGHT_CR "Copyright (c) 1999-2015 Igor Pavlov"
12 |
13 | #ifdef USE_COPYRIGHT_CR
14 | #define MY_COPYRIGHT MY_COPYRIGHT_CR
15 | #else
16 | #define MY_COPYRIGHT MY_COPYRIGHT_PD
17 | #endif
18 |
19 | #define MY_VERSION_COPYRIGHT_DATE MY_VERSION " : " MY_COPYRIGHT " : " MY_DATE
20 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/lzma/C/Delta.h:
--------------------------------------------------------------------------------
1 | /* Delta.h -- Delta converter
2 | 2013-01-18 : Igor Pavlov : Public domain */
3 |
4 | #ifndef __DELTA_H
5 | #define __DELTA_H
6 |
7 | #include "7zTypes.h"
8 |
9 | EXTERN_C_BEGIN
10 |
11 | #define DELTA_STATE_SIZE 256
12 |
13 | void Delta_Init(Byte *state);
14 | void Delta_Encode(Byte *state, unsigned delta, Byte *data, SizeT size);
15 | void Delta_Decode(Byte *state, unsigned delta, Byte *data, SizeT size);
16 |
17 | EXTERN_C_END
18 |
19 | #endif
20 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/lzma/C/Precomp.h:
--------------------------------------------------------------------------------
1 | /* Precomp.h -- StdAfx
2 | 2013-11-12 : Igor Pavlov : Public domain */
3 |
4 | #ifndef __7Z_PRECOMP_H
5 | #define __7Z_PRECOMP_H
6 |
7 | #include "Compiler.h"
8 | /* #include "7zTypes.h" */
9 |
10 | #endif
11 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/lzma/history.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openai/doom-py/85ada06dc9603e2f0768a06e4fcae637cf1c3931/doom_py/src/vizdoom/lzma/history.txt
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/output_sdl/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | cmake_minimum_required( VERSION 2.4 )
2 | if( NOT NO_FMOD AND FMOD_INCLUDE_DIR )
3 | add_library( output_sdl MODULE output_sdl.c )
4 | include_directories( ${FMOD_INCLUDE_DIR} ${SDL2_INCLUDE_DIR} )
5 | target_link_libraries( output_sdl ${SDL2_LIBRARY} )
6 |
7 | FILE( WRITE ${CMAKE_CURRENT_BINARY_DIR}/link-make "if [ ! -e ${ZDOOM_OUTPUT_DIR}/liboutput_sdl.so ]; then ln -sf output_sdl/liboutput_sdl.so ${ZDOOM_OUTPUT_DIR}/liboutput_sdl.so; fi" )
8 | add_custom_command( TARGET output_sdl POST_BUILD
9 | COMMAND chmod +x ${CMAKE_CURRENT_BINARY_DIR}/link-make
10 | COMMAND /bin/sh -c ${CMAKE_CURRENT_BINARY_DIR}/link-make )
11 | endif( NOT NO_FMOD AND FMOD_INCLUDE_DIR )
12 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/specs/fmod_version.txt:
--------------------------------------------------------------------------------
1 | This version of ZDoom must be compiled with any version between 4.22 and 4.28 inclusive or 4.34.
2 | Use of the latest 4.26 is recommended though due to technical issues with 4.28.
3 |
4 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/GuillotineBinPack.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openai/doom-py/85ada06dc9603e2f0768a06e4fcae637cf1c3931/doom_py/src/vizdoom/src/GuillotineBinPack.cpp
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/GuillotineBinPack.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openai/doom-py/85ada06dc9603e2f0768a06e4fcae637cf1c3931/doom_py/src/vizdoom/src/GuillotineBinPack.h
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/Rect.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openai/doom-py/85ada06dc9603e2f0768a06e4fcae637cf1c3931/doom_py/src/vizdoom/src/Rect.h
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/SkylineBinPack.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openai/doom-py/85ada06dc9603e2f0768a06e4fcae637cf1c3931/doom_py/src/vizdoom/src/SkylineBinPack.cpp
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/SkylineBinPack.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openai/doom-py/85ada06dc9603e2f0768a06e4fcae637cf1c3931/doom_py/src/vizdoom/src/SkylineBinPack.h
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/asm_ia32/a.asm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openai/doom-py/85ada06dc9603e2f0768a06e4fcae637cf1c3931/doom_py/src/vizdoom/src/asm_ia32/a.asm
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/dscript.h:
--------------------------------------------------------------------------------
1 | enum
2 | {
3 | EX_Return = 0x00,
4 | EX_EndFuncParms = 0x01,
5 | EX_ByteConst = 0x02,
6 | EX_WordConst = 0x03,
7 | EX_DWordConst = 0x04,
8 | EX_FixedConst = 0x05, // To become FloatConst whenever I move to floats
9 | EX_StringConst = 0x06,
10 |
11 | EX_Extended1 = 0xF1,
12 | EX_Extended2 = 0xF2,
13 | EX_Extended3 = 0xF3,
14 | EX_Extended4 = 0xF4,
15 | EX_Extended5 = 0xF5,
16 | EX_Extended6 = 0xF6,
17 | EX_Extended7 = 0xF7,
18 | EX_Extended8 = 0xF8,
19 | EX_Extended9 = 0xF9,
20 | EX_ExtendedA = 0xFA,
21 | EX_ExtendedB = 0xFB,
22 | EX_ExtendedC = 0xFC,
23 | EX_ExtendedD = 0xFD,
24 | EX_ExtendedE = 0xFE,
25 | EX_ExtendedF = 0xFF
26 | };
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/errors.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openai/doom-py/85ada06dc9603e2f0768a06e4fcae637cf1c3931/doom_py/src/vizdoom/src/errors.h
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/fragglescript/t_fs.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef T_FS_H
3 | #define T_FS_H
4 |
5 | // global FS interface
6 |
7 | struct MapData;
8 | class AActor;
9 |
10 | void T_PreprocessScripts();
11 | void T_LoadScripts(MapData * map);
12 | void T_AddSpawnedThing(AActor * );
13 |
14 | #endif
15 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/g_doom/a_arachnotron.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | #include "actor.h"
3 | #include "s_sound.h"
4 | #include "p_local.h"
5 | #include "p_enemy.h"
6 | #include "a_action.h"
7 | #include "thingdef/thingdef.h"
8 | */
9 |
10 | DEFINE_ACTION_FUNCTION(AActor, A_BspiAttack)
11 | {
12 | if (!self->target)
13 | return;
14 |
15 | A_FaceTarget (self);
16 |
17 | // launch a missile
18 | P_SpawnMissile (self, self->target, PClass::FindClass("ArachnotronPlasma"));
19 | }
20 |
21 | DEFINE_ACTION_FUNCTION(AActor, A_BabyMetal)
22 | {
23 | S_Sound (self, CHAN_BODY, "baby/walk", 1, ATTN_IDLE);
24 | A_Chase (self);
25 | }
26 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/g_doom/a_bruiser.cpp:
--------------------------------------------------------------------------------
1 | static FRandom pr_bruisattack ("BruisAttack");
2 |
3 |
4 | DEFINE_ACTION_FUNCTION(AActor, A_BruisAttack)
5 | {
6 | if (!self->target)
7 | return;
8 |
9 | if (self->CheckMeleeRange ())
10 | {
11 | int damage = (pr_bruisattack()%8+1)*10;
12 | S_Sound (self, CHAN_WEAPON, "baron/melee", 1, ATTN_NORM);
13 | int newdam = P_DamageMobj (self->target, self, self, damage, NAME_Melee);
14 | P_TraceBleed (newdam > 0 ? newdam : damage, self->target, self);
15 | return;
16 | }
17 |
18 | // launch a missile
19 | P_SpawnMissile (self, self->target, PClass::FindClass("BaronBall"));
20 | }
21 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/g_doom/a_cyberdemon.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | #include "actor.h"
3 | #include "p_local.h"
4 | #include "s_sound.h"
5 | #include "p_enemy.h"
6 | #include "a_action.h"
7 | #include "thingdef/thingdef.h"
8 | */
9 |
10 | DEFINE_ACTION_FUNCTION(AActor, A_CyberAttack)
11 | {
12 | if (!self->target)
13 | return;
14 |
15 | A_FaceTarget (self);
16 | P_SpawnMissile (self, self->target, PClass::FindClass("Rocket"));
17 | }
18 |
19 | DEFINE_ACTION_FUNCTION(AActor, A_Hoof)
20 | {
21 | S_Sound (self, CHAN_BODY, "cyber/hoof", 1, ATTN_IDLE);
22 | A_Chase (self);
23 | }
24 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/g_doom/a_demon.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | #include "actor.h"
3 | #include "info.h"
4 | #include "m_random.h"
5 | #include "p_local.h"
6 | #include "p_enemy.h"
7 | #include "gstrings.h"
8 | #include "a_action.h"
9 | #include "thingdef/thingdef.h"
10 | */
11 |
12 | static FRandom pr_sargattack ("SargAttack");
13 |
14 | DEFINE_ACTION_FUNCTION(AActor, A_SargAttack)
15 | {
16 | if (!self->target)
17 | return;
18 |
19 | A_FaceTarget (self);
20 | if (self->CheckMeleeRange ())
21 | {
22 | int damage = ((pr_sargattack()%10)+1)*4;
23 | int newdam = P_DamageMobj (self->target, self, self, damage, NAME_Melee);
24 | P_TraceBleed (newdam > 0 ? newdam : damage, self->target, self);
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/g_hexen/a_centaur.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | #include "actor.h"
3 | #include "p_enemy.h"
4 | #include "a_action.h"
5 | #include "m_random.h"
6 | #include "thingdef/thingdef.h"
7 | */
8 |
9 | static FRandom pr_centaurdefend ("CentaurDefend");
10 |
11 | //============================================================================
12 | //
13 | // A_CentaurDefend
14 | //
15 | //============================================================================
16 |
17 | DEFINE_ACTION_FUNCTION(AActor, A_CentaurDefend)
18 | {
19 | A_FaceTarget (self);
20 | if (self->CheckMeleeRange() && pr_centaurdefend() < 32)
21 | {
22 | // This should unset REFLECTIVE as well
23 | // (unless you want the Centaur to reflect projectiles forever!)
24 | self->flags2&=~(MF2_REFLECTIVE|MF2_INVULNERABLE);
25 | self->SetState (self->MeleeState);
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/g_hexen/a_hexenglobal.h:
--------------------------------------------------------------------------------
1 | #ifndef __A_HEXENGLOBAL_H__
2 | #define __A_HEXENGLOBAL_H__
3 |
4 | #include "d_player.h"
5 |
6 | class AHolySpirit : public AActor
7 | {
8 | DECLARE_CLASS (AHolySpirit, AActor)
9 | public:
10 | bool Slam (AActor *thing);
11 | bool SpecialBlastHandling (AActor *source, fixed_t strength);
12 | };
13 |
14 | class AFighterWeapon : public AWeapon
15 | {
16 | DECLARE_CLASS (AFighterWeapon, AWeapon);
17 | public:
18 | };
19 |
20 | class AClericWeapon : public AWeapon
21 | {
22 | DECLARE_CLASS (AClericWeapon, AWeapon);
23 | public:
24 | };
25 |
26 | class AMageWeapon : public AWeapon
27 | {
28 | DECLARE_CLASS (AMageWeapon, AWeapon);
29 | public:
30 | };
31 |
32 | #endif //__A_HEXENGLOBAL_H__
33 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/g_hub.h:
--------------------------------------------------------------------------------
1 | #ifndef __G_HUB_H
2 | #define __G_HUB_H
3 |
4 | #include
5 |
6 | struct PNGHandle;
7 | struct cluster_info_t;
8 | struct wbstartstruct_t;
9 |
10 | void G_WriteHubInfo (FILE *file);
11 | void G_ReadHubInfo (PNGHandle *png);
12 | void G_LeavingHub(int mode, cluster_info_t * cluster, struct wbstartstruct_t * wbs);
13 |
14 | #endif
15 |
16 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/g_raven/ravenshared.h:
--------------------------------------------------------------------------------
1 | #ifndef __RAVENSHARED_H__
2 | #define __RAVENSHARED_H__
3 |
4 | class AActor;
5 |
6 | class AMinotaur : public AActor
7 | {
8 | DECLARE_CLASS (AMinotaur, AActor)
9 | public:
10 | int DoSpecialDamage (AActor *target, int damage, FName damagetype);
11 |
12 | public:
13 | bool Slam (AActor *);
14 | void Tick ();
15 | };
16 |
17 | class AMinotaurFriend : public AMinotaur
18 | {
19 | DECLARE_CLASS (AMinotaurFriend, AMinotaur)
20 | public:
21 | int StartTime;
22 |
23 | void Die (AActor *source, AActor *inflictor, int dmgflags);
24 | bool OkayToSwitchTarget (AActor *other);
25 | void BeginPlay ();
26 | void Serialize (FArchive &arc);
27 | };
28 |
29 | #endif //__RAVENSHARED_H__
30 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/g_shared/a_bridge.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openai/doom-py/85ada06dc9603e2f0768a06e4fcae637cf1c3931/doom_py/src/vizdoom/src/g_shared/a_bridge.cpp
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/g_shared/a_keys.h:
--------------------------------------------------------------------------------
1 | #ifndef A_KEYS_H
2 | #define A_KEYS_H
3 |
4 | #include "a_pickups.h"
5 |
6 | class AKey : public AInventory
7 | {
8 | DECLARE_CLASS (AKey, AInventory)
9 | public:
10 | virtual bool HandlePickup (AInventory *item);
11 |
12 | BYTE KeyNumber;
13 |
14 | protected:
15 | virtual bool ShouldStay ();
16 | };
17 |
18 | bool P_CheckKeys (AActor *owner, int keynum, bool remote);
19 | void P_InitKeyMessages ();
20 | void P_DeinitKeyMessages ();
21 | int P_GetMapColorForLock (int lock);
22 | int P_GetMapColorForKey (AInventory *key);
23 |
24 | #endif
25 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/g_shared/a_lightning.h:
--------------------------------------------------------------------------------
1 | #ifndef __A_LIGHTNING_H__
2 | #define __A_LIGHTNING_H__
3 |
4 | #ifdef _MSC_VER
5 | #pragma once
6 | #endif
7 |
8 | #include "dthinker.h"
9 |
10 | class DLightningThinker : public DThinker
11 | {
12 | DECLARE_CLASS (DLightningThinker, DThinker);
13 | public:
14 | DLightningThinker ();
15 | ~DLightningThinker ();
16 | void Serialize (FArchive &arc);
17 | void Tick ();
18 | void ForceLightning (int mode);
19 | void TerminateLightning();
20 |
21 | protected:
22 | void LightningFlash ();
23 |
24 | int NextLightningFlash;
25 | int LightningFlashCount;
26 | bool Stopped;
27 | short *LightningLightLevels;
28 | };
29 |
30 | void P_StartLightning ();
31 | void P_ForceLightning (int mode);
32 |
33 | #endif //__A_LIGHTNING_H__
34 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/g_shared/a_setcolor.cpp:
--------------------------------------------------------------------------------
1 | #include "r_defs.h"
2 | #include "actor.h"
3 | #include "info.h"
4 |
5 | class AColorSetter : public AActor
6 | {
7 | DECLARE_CLASS(AColorSetter, AActor)
8 |
9 | void PostBeginPlay()
10 | {
11 | Super::PostBeginPlay();
12 | Sector->SetColor(args[0], args[1], args[2], args[3]);
13 | Destroy();
14 | }
15 |
16 | };
17 |
18 | IMPLEMENT_CLASS(AColorSetter)
19 |
20 | class AFadeSetter : public AActor
21 | {
22 | DECLARE_CLASS(AFadeSetter, AActor)
23 |
24 | void PostBeginPlay()
25 | {
26 | Super::PostBeginPlay();
27 | Sector->SetFade(args[0], args[1], args[2]);
28 | Destroy();
29 | }
30 |
31 | };
32 |
33 | IMPLEMENT_CLASS(AFadeSetter)
34 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/g_strife/a_oracle.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | #include "actor.h"
3 | #include "a_action.h"
4 | #include "a_strifeglobal.h"
5 | #include "p_enemy.h"
6 | #include "r_defs.h"
7 | #include "thingdef/thingdef.h"
8 | */
9 |
10 |
11 | DEFINE_ACTION_FUNCTION(AActor, A_WakeOracleSpectre)
12 | {
13 | TThinkerIterator it(NAME_AlienSpectre3);
14 | AActor *spectre = it.Next();
15 |
16 | if (spectre != NULL && spectre->health > 0 && self->target != spectre)
17 | {
18 | spectre->Sector->SoundTarget = spectre->LastHeard = self->LastHeard;
19 | spectre->target = self->target;
20 | spectre->SetState (spectre->SeeState);
21 | }
22 | }
23 |
24 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/gametype.h:
--------------------------------------------------------------------------------
1 | #ifndef EGAMETYPE
2 | #define EGAMETYPE
3 | enum EGameType
4 | {
5 | GAME_Any = 0,
6 | GAME_Doom = 1,
7 | GAME_Heretic = 2,
8 | GAME_Hexen = 4,
9 | GAME_Strife = 8,
10 | GAME_Chex = 16, //Chex is basically Doom, but we need to have a different set of actors.
11 |
12 | GAME_Raven = GAME_Heretic|GAME_Hexen,
13 | GAME_DoomChex = GAME_Doom|GAME_Chex,
14 | GAME_DoomStrifeChex = GAME_Doom|GAME_Strife|GAME_Chex
15 | };
16 | #endif
17 |
18 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/gitinfo.h:
--------------------------------------------------------------------------------
1 | #define GIT_DESCRIPTION ""
2 | #define GIT_HASH ""
3 | #define GIT_TIME ""
4 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/oplsynth/deftypes.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Name: General Use Types Definitions -- Header Include file
3 | * Version: 1.24
4 | * Author: Vladimir Arnost (QA-Software)
5 | * Last revision: Sep-4-1995
6 | * Compiler: Borland C++ 3.1, Watcom C/C++ 10.0
7 | *
8 | */
9 |
10 | #ifndef __DEFTYPES_H_
11 | #define __DEFTYPES_H_
12 |
13 | /* Global type declarations */
14 |
15 | #include "doomtype.h"
16 |
17 | /* machine dependent types */
18 | typedef unsigned char uchar;
19 | typedef unsigned short ushort;
20 | typedef unsigned int uint;
21 | typedef unsigned long ulong;
22 |
23 | typedef signed char schar;
24 | typedef signed short sshort;
25 | typedef signed int sint;
26 | typedef signed long slong;
27 |
28 | #endif // __DEFTYPES_H_
29 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/oplsynth/opl.h:
--------------------------------------------------------------------------------
1 | #ifndef OPL_H
2 | #define OPL_H
3 |
4 | #include "zstring.h"
5 |
6 | // Abstract base class for OPL emulators
7 |
8 | class OPLEmul
9 | {
10 | public:
11 | OPLEmul() {}
12 | virtual ~OPLEmul() {}
13 |
14 | virtual void Reset() = 0;
15 | virtual void WriteReg(int reg, int v) = 0;
16 | virtual void Update(float *buffer, int length) = 0;
17 | virtual void SetPanning(int c, float left, float right) = 0;
18 | };
19 |
20 | OPLEmul *YM3812Create(bool stereo);
21 | OPLEmul *DBOPLCreate(bool stereo);
22 | OPLEmul *JavaOPLCreate(bool stereo);
23 | OPLEmul *NukedOPL3Create(bool stereo);
24 |
25 | #define OPL_SAMPLE_RATE 49716.0
26 | #define CENTER_PANNING_POWER 0.70710678118 /* [RH] volume at center for EQP */
27 |
28 |
29 | #endif
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/p_udmf.h:
--------------------------------------------------------------------------------
1 | #ifndef __P_UDMF_H
2 | #define __P_UDMF_H
3 |
4 | #include "sc_man.h"
5 | #include "m_fixed.h"
6 | #include "tables.h"
7 |
8 | class UDMFParserBase
9 | {
10 | protected:
11 | FScanner sc;
12 | FName namespc;
13 | int namespace_bits;
14 | FString parsedString;
15 |
16 | void Skip();
17 | FName ParseKey(bool checkblock = false, bool *isblock = NULL);
18 | int CheckInt(const char *key);
19 | double CheckFloat(const char *key);
20 | fixed_t CheckFixed(const char *key);
21 | angle_t CheckAngle(const char *key);
22 | bool CheckBool(const char *key);
23 | const char *CheckString(const char *key);
24 |
25 | template
26 | void Flag(T &value, int mask, const char *key)
27 | {
28 | if (CheckBool(key))
29 | value |= mask;
30 | else
31 | value &= ~mask;
32 | }
33 |
34 | };
35 |
36 | #define BLOCK_ID (ENamedName)-1
37 |
38 | #endif
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/pathexpander.h:
--------------------------------------------------------------------------------
1 | #ifndef __PATHEXPANDER_H
2 | #define __PATHEXPANDER_H
3 |
4 | #include "tarray.h"
5 | #include "zstring.h"
6 | #include "files.h"
7 |
8 | class PathExpander
9 | {
10 | TArray PathList;
11 |
12 | public:
13 | int openmode;
14 |
15 | enum
16 | {
17 | OM_FILEORLUMP = 0,
18 | OM_LUMP,
19 | OM_FILE
20 | };
21 |
22 | PathExpander(int om = OM_FILEORLUMP)
23 | {
24 | openmode = om;
25 | }
26 | void addToPathlist(const char *s);
27 | void clearPathlist();
28 | FileReader *openFileReader(const char *name, int *plumpnum);
29 | };
30 |
31 | #endif
32 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/posix/i_input.h:
--------------------------------------------------------------------------------
1 | #ifndef __I_INPUT_H__
2 | #define __I_INPUT_H__
3 |
4 | void I_PutInClipboard (const char *str);
5 | FString I_GetFromClipboard (bool use_primary_selection);
6 | void I_SetMouseCapture();
7 | void I_ReleaseMouseCapture();
8 |
9 | #endif
10 |
11 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/posix/i_movie.cpp:
--------------------------------------------------------------------------------
1 | #include "i_movie.h"
2 |
3 | int I_PlayMovie (const char *movie)
4 | {
5 | return MOVIE_Failed;
6 | }
7 |
8 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/posix/osx/zdoom.icns:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openai/doom-py/85ada06dc9603e2f0768a06e4fcae637cf1c3931/doom_py/src/vizdoom/src/posix/osx/zdoom.icns
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/posix/readme.md:
--------------------------------------------------------------------------------
1 | This directory contains files required to support POSIX-compatible OSes, like GNU/Linux, OS X or BSD.
2 |
3 | Common files are placed in this directory directly.
4 | SDL backend files are in `sdl` subdirectory.
5 | Native OS X backend files are in `cocoa` subdirectory.
6 | Shared files for both OS X backends are in `osx` subdirectory.
7 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/posix/sdl/i_system.mm:
--------------------------------------------------------------------------------
1 | #include
2 | #include "SDL.h"
3 |
4 | void Mac_I_FatalError(const char* errortext)
5 | {
6 | // Close window or exit fullscreen and release mouse capture
7 | SDL_Quit();
8 |
9 | const CFStringRef errorString = CFStringCreateWithCStringNoCopy( kCFAllocatorDefault,
10 | errortext, kCFStringEncodingASCII, kCFAllocatorNull );
11 | if ( NULL != errorString )
12 | {
13 | CFOptionFlags dummy;
14 |
15 | CFUserNotificationDisplayAlert( 0, kCFUserNotificationStopAlertLevel, NULL, NULL, NULL,
16 | CFSTR( "Fatal Error" ), errorString, CFSTR( "Exit" ), NULL, NULL, &dummy );
17 | CFRelease( errorString );
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/posix/sdl/sdlvideo.h:
--------------------------------------------------------------------------------
1 | #include "hardware.h"
2 | #include "v_video.h"
3 |
4 | class SDLVideo : public IVideo
5 | {
6 | public:
7 | SDLVideo (int parm);
8 | ~SDLVideo ();
9 |
10 | EDisplayType GetDisplayType () { return DISPLAY_Both; }
11 | void SetWindowedScale (float scale);
12 |
13 | DFrameBuffer *CreateFrameBuffer (int width, int height, bool fs, DFrameBuffer *old);
14 |
15 | void StartModeIterator (int bits, bool fs);
16 | bool NextMode (int *width, int *height, bool *letterbox);
17 |
18 | private:
19 | int IteratorMode;
20 | int IteratorBits;
21 | };
22 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/skins.h:
--------------------------------------------------------------------------------
1 | #ifndef __SKINS_H__
2 | #define __SKINS_H__
3 |
4 | #endif //__SKINS_H__
5 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/tagitem.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openai/doom-py/85ada06dc9603e2f0768a06e4fcae637cf1c3931/doom_py/src/vizdoom/src/tagitem.h
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/textures/bitmap.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openai/doom-py/85ada06dc9603e2f0768a06e4fcae637cf1c3931/doom_py/src/vizdoom/src/textures/bitmap.cpp
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/timidity/instrum.obj:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openai/doom-py/85ada06dc9603e2f0768a06e4fcae637cf1c3931/doom_py/src/vizdoom/src/timidity/instrum.obj
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/timidity/instrum_sf2.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openai/doom-py/85ada06dc9603e2f0768a06e4fcae637cf1c3931/doom_py/src/vizdoom/src/timidity/instrum_sf2.cpp
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/valgrind.inc:
--------------------------------------------------------------------------------
1 | %ifdef VALGRIND_AWARE
2 |
3 | %define VG_USERREQ__DISCARD_TRANSLATIONS 0x1002
4 |
5 | %macro selfmod 2
6 | pusha
7 | sub esp,6*4
8 | mov dword [esp], VG_USERREQ__DISCARD_TRANSLATIONS
9 | mov dword [esp+4], %1
10 | mov dword [esp+8], %2 - %1
11 | mov dword [esp+12], 0
12 | mov dword [esp+16], 0
13 | mov dword [esp+20], 0
14 | mov eax, esp
15 | ; special instruction preamble
16 | rol edi, 3
17 | rol edi, 13
18 | rol edi, 29
19 | rol edi, 19
20 | xchg ebx, ebx
21 | ; restore state
22 | add esp,6*4
23 | popa
24 | %endmacro
25 |
26 | %else
27 |
28 | %macro selfmod 2
29 | %endmacro
30 |
31 | %endif
32 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/win32/boing1.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openai/doom-py/85ada06dc9603e2f0768a06e4fcae637cf1c3931/doom_py/src/vizdoom/src/win32/boing1.ico
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/win32/boing2.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openai/doom-py/85ada06dc9603e2f0768a06e4fcae637cf1c3931/doom_py/src/vizdoom/src/win32/boing2.ico
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/win32/boing3.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openai/doom-py/85ada06dc9603e2f0768a06e4fcae637cf1c3931/doom_py/src/vizdoom/src/win32/boing3.ico
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/win32/boing4.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openai/doom-py/85ada06dc9603e2f0768a06e4fcae637cf1c3931/doom_py/src/vizdoom/src/win32/boing4.ico
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/win32/boing5.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openai/doom-py/85ada06dc9603e2f0768a06e4fcae637cf1c3931/doom_py/src/vizdoom/src/win32/boing5.ico
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/win32/boing6.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openai/doom-py/85ada06dc9603e2f0768a06e4fcae637cf1c3931/doom_py/src/vizdoom/src/win32/boing6.ico
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/win32/boing7.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openai/doom-py/85ada06dc9603e2f0768a06e4fcae637cf1c3931/doom_py/src/vizdoom/src/win32/boing7.ico
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/win32/boing8.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openai/doom-py/85ada06dc9603e2f0768a06e4fcae637cf1c3931/doom_py/src/vizdoom/src/win32/boing8.ico
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/win32/critsec.h:
--------------------------------------------------------------------------------
1 | // Wraps a Windows critical section object.
2 |
3 | #ifndef CRITSEC_H
4 | #define CRITSEC_H
5 |
6 | #ifndef _WINNT_
7 | #define WIN32_LEAN_AND_MEAN
8 | #include
9 | #define USE_WINDOWS_DWORD
10 | #endif
11 |
12 | class FCriticalSection
13 | {
14 | public:
15 | FCriticalSection()
16 | {
17 | InitializeCriticalSection(&CritSec);
18 | }
19 | ~FCriticalSection()
20 | {
21 | DeleteCriticalSection(&CritSec);
22 | }
23 | void Enter()
24 | {
25 | EnterCriticalSection(&CritSec);
26 | }
27 | void Leave()
28 | {
29 | LeaveCriticalSection(&CritSec);
30 | }
31 | #if 0
32 | // SDL has no equivalent functionality, so better not use it on Windows.
33 | bool TryEnter()
34 | {
35 | return TryEnterCriticalSection(&CritSec) != 0;
36 | }
37 | #endif
38 | private:
39 | CRITICAL_SECTION CritSec;
40 | };
41 |
42 | #endif
43 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/win32/deadguy.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openai/doom-py/85ada06dc9603e2f0768a06e4fcae637cf1c3931/doom_py/src/vizdoom/src/win32/deadguy.bmp
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/win32/icon1.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openai/doom-py/85ada06dc9603e2f0768a06e4fcae637cf1c3931/doom_py/src/vizdoom/src/win32/icon1.ico
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/win32/zdoom.RES:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openai/doom-py/85ada06dc9603e2f0768a06e4fcae637cf1c3931/doom_py/src/vizdoom/src/win32/zdoom.RES
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/src/zstring.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/openai/doom-py/85ada06dc9603e2f0768a06e4fcae637cf1c3931/doom_py/src/vizdoom/src/zstring.cpp
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/tools/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | cmake_minimum_required( VERSION 2.4 )
2 |
3 | add_subdirectory( lemon )
4 | add_subdirectory( re2c )
5 | if( WIN32 AND NOT CMAKE_SIZEOF_VOID_P MATCHES "8" )
6 | add_subdirectory( fixrtext )
7 | endif( WIN32 AND NOT CMAKE_SIZEOF_VOID_P MATCHES "8" )
8 | add_subdirectory( updaterevision )
9 | add_subdirectory( zipdir )
10 |
11 | set( CROSS_EXPORTS ${CROSS_EXPORTS} PARENT_SCOPE )
12 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/tools/fixrtext/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | cmake_minimum_required( VERSION 2.4 )
2 |
3 | if( NOT CMAKE_CROSSCOMPILING )
4 | add_executable( fixrtext fixrtext.c )
5 | set( CROSS_EXPORTS ${CROSS_EXPORTS} fixrtext PARENT_SCOPE )
6 | endif( NOT CMAKE_CROSSCOMPILING )
7 |
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/tools/lemon/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | cmake_minimum_required( VERSION 2.4 )
2 |
3 | if( NOT CMAKE_CROSSCOMPILING )
4 | set( CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -D_DEBUG" )
5 |
6 | add_executable( lemon lemon.c )
7 | set( CROSS_EXPORTS ${CROSS_EXPORTS} lemon PARENT_SCOPE )
8 | endif( NOT CMAKE_CROSSCOMPILING )
9 |
10 | # Lemon wants lempar.c in its directory
11 | if( NOT NO_GENERATOR_EXPRESSIONS )
12 | add_custom_command( TARGET lemon
13 | POST_BUILD
14 | COMMAND echo $
15 | COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_CURRENT_SOURCE_DIR}/lempar.c $ )
16 | else( NOT NO_GENERATOR_EXPRESSIONS )
17 | add_custom_command( TARGET lemon
18 | POST_BUILD
19 | COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_CURRENT_SOURCE_DIR}/lempar.c ${CMAKE_CURRENT_BINARY_DIR} )
20 | endif( NOT NO_GENERATOR_EXPRESSIONS )
--------------------------------------------------------------------------------
/doom_py/src/vizdoom/tools/re2c/code_names.h:
--------------------------------------------------------------------------------
1 | /* $Id: token.h 547 2006-05-25 13:40:35Z helly $ */
2 | #ifndef _code_names_h
3 | #define _code_names_h
4 |
5 | #include
6 | #include