mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-03-01 23:20:44 +00:00
Added support for precompiled headers for MSVC which reduced the compiled time from 4 minutes to 67 seconds.
This commit is contained in:
parent
865ee792c0
commit
dd9b8a8710
369 changed files with 508 additions and 397 deletions
|
@ -73,7 +73,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
|
||||
#include "d_main.h"
|
||||
|
||||
//#include "../idlib/precompiled.h"
|
||||
//#include "precompiled.h"
|
||||
//#include "../Main/PlayerProfile.h"
|
||||
//#include "../Main/PSN/PS3_Session.h"
|
||||
#include "d3xp/Game_local.h"
|
||||
|
|
|
@ -896,22 +896,22 @@ source_group("tools\\sound" FILES ${EDITOR_SOUND_INCLUDES})
|
|||
source_group("tools\\sound" FILES ${EDITOR_SOUND_SOURCES})
|
||||
|
||||
|
||||
set(RBDOOM3_SOURCES
|
||||
${AAS_INCLUDES} ${AAS_SOURCES}
|
||||
${CM_INCLUDES} ${CM_SOURCES}
|
||||
${FRAMEWORK_INCLUDES} ${FRAMEWORK_SOURCES}
|
||||
${FRAMEWORK_ASYNC_INCLUDES} ${FRAMEWORK_ASYNC_SOURCES}
|
||||
${RENDERER_INCLUDES} ${RENDERER_SOURCES}
|
||||
#${IRRXML_INCLUDES} ${IRRXML_SOURCES}
|
||||
${JPEG_INCLUDES} ${JPEG_SOURCES}
|
||||
#${PNG_INCLUDES} ${PNG_SOURCES}
|
||||
${ZLIB_INCLUDES} ${ZLIB_SOURCES}
|
||||
#${GLEW_INCLUDES} ${GLEW_SOURCES}
|
||||
set(RBDOOM3_INCLUDES
|
||||
${AAS_INCLUDES}
|
||||
${CM_INCLUDES}
|
||||
${FRAMEWORK_INCLUDES}
|
||||
${FRAMEWORK_ASYNC_INCLUDES}
|
||||
${RENDERER_INCLUDES}
|
||||
#${IRRXML_INCLUDES}
|
||||
${JPEG_INCLUDES}
|
||||
#${PNG_INCLUDES}
|
||||
${ZLIB_INCLUDES}
|
||||
#${GLEW_INCLUDES}
|
||||
#${FREETYPE_SOURCES}
|
||||
${SOUND_INCLUDES} ${SOUND_SOURCES}
|
||||
#${OGGVORBIS_INCLUDES} ${OGGVORBIS_SOURCES}
|
||||
${UI_INCLUDES} ${UI_SOURCES}
|
||||
${SWF_INCLUDES} ${SWF_SOURCES}
|
||||
${SOUND_INCLUDES}
|
||||
#${OGGVORBIS_INCLUDES}
|
||||
${UI_INCLUDES}
|
||||
${SWF_INCLUDES}
|
||||
|
||||
#${COMPILER_INCLUDES}
|
||||
#${COMPILER_AAS_INCLUDES} ${COMPILER_AAS_SOURCES}
|
||||
|
@ -919,6 +919,29 @@ set(RBDOOM3_SOURCES
|
|||
#${COMPILER_RENDERBUMP_INCLUDES} ${COMPILER_RENDERBUMP_SOURCES}
|
||||
#${COMPILER_ROQVQ_INCLUDES} ${COMPILER_ROQVQ_SOURCES}
|
||||
)
|
||||
|
||||
set(RBDOOM3_SOURCES
|
||||
${AAS_SOURCES}
|
||||
${CM_SOURCES}
|
||||
${FRAMEWORK_SOURCES}
|
||||
${FRAMEWORK_ASYNC_SOURCES}
|
||||
${RENDERER_SOURCES}
|
||||
#${IRRXML_SOURCES}
|
||||
${JPEG_SOURCES}
|
||||
#${PNG_SOURCES}
|
||||
${ZLIB_SOURCES}
|
||||
#${GLEW_SOURCES}
|
||||
#${FREETYPE_SOURCES}
|
||||
${SOUND_SOURCES}
|
||||
#${OGGVORBIS_INCLUDES} ${OGGVORBIS_SOURCES}
|
||||
${UI_SOURCES}
|
||||
${SWF_SOURCES}
|
||||
|
||||
#${COMPILER_AAS_SOURCES}
|
||||
#${COMPILER_DMAP_SOURCES}
|
||||
#${COMPILER_RENDERBUMP_SOURCES}
|
||||
#${COMPILER_ROQVQ_SOURCES}
|
||||
)
|
||||
|
||||
add_definitions(-D__DOOM__
|
||||
#-DGLEW_STATIC
|
||||
|
@ -927,20 +950,30 @@ add_definitions(-D__DOOM__
|
|||
)
|
||||
|
||||
if(MONOLITH)
|
||||
list(APPEND RBDOOM3_INCLUDES
|
||||
${GAMED3XP_INCLUDES}
|
||||
${GAMED3XP_AI_INCLUDES}
|
||||
${GAMED3XP_ANIM_INCLUDES}
|
||||
${GAMED3XP_GAMESYS_INCLUDES}
|
||||
${GAMED3XP_MENUS_INCLUDES}
|
||||
${GAMED3XP_PHYSICS_INCLUDES}
|
||||
${GAMED3XP_SCRIPT_INCLUDES})
|
||||
|
||||
list(APPEND RBDOOM3_SOURCES
|
||||
${GAMED3XP_INCLUDES} ${GAMED3XP_SOURCES}
|
||||
${GAMED3XP_AI_INCLUDES} ${GAMED3XP_AI_SOURCES}
|
||||
${GAMED3XP_ANIM_INCLUDES} ${GAMED3XP_ANIM_SOURCES}
|
||||
${GAMED3XP_GAMESYS_INCLUDES} ${GAMED3XP_GAMESYS_SOURCES}
|
||||
${GAMED3XP_MENUS_INCLUDES} ${GAMED3XP_MENUS_SOURCES}
|
||||
${GAMED3XP_PHYSICS_INCLUDES} ${GAMED3XP_PHYSICS_SOURCES}
|
||||
${GAMED3XP_SCRIPT_INCLUDES} ${GAMED3XP_SCRIPT_SOURCES})
|
||||
${GAMED3XP_SOURCES}
|
||||
${GAMED3XP_AI_SOURCES}
|
||||
${GAMED3XP_ANIM_SOURCES}
|
||||
${GAMED3XP_GAMESYS_SOURCES}
|
||||
${GAMED3XP_MENUS_SOURCES}
|
||||
${GAMED3XP_PHYSICS_SOURCES}
|
||||
${GAMED3XP_SCRIPT_SOURCES})
|
||||
else()
|
||||
add_definitions(-D__DOOM_DLL__)
|
||||
endif()
|
||||
|
||||
include_directories(
|
||||
.
|
||||
idlib
|
||||
#libs/curl/include
|
||||
#libs/openal/include
|
||||
#libs/glew/include
|
||||
|
@ -1000,18 +1033,54 @@ if(MSVC)
|
|||
${EDITOR_SOUND_INCLUDES} ${EDITOR_SOUND_SOURCES})
|
||||
endif()
|
||||
|
||||
list(APPEND RBDOOM3_INLCUDES
|
||||
${DOOMCLASSIC_INCLUDES}
|
||||
${TIMIDITY_INCLUDES}
|
||||
|
||||
${SYS_INCLUDES}
|
||||
${XAUDIO2_INCLUDES}
|
||||
${WIN32_INCLUDES})
|
||||
|
||||
list(APPEND RBDOOM3_SOURCES
|
||||
${DOOMCLASSIC_INCLUDES} ${DOOMCLASSIC_SOURCES}
|
||||
${TIMIDITY_INCLUDES} ${TIMIDITY_SOURCES}
|
||||
|
||||
${SYS_INCLUDES} ${SYS_SOURCES}
|
||||
${XAUDIO2_INCLUDES} ${XAUDIO2_SOURCES}
|
||||
${WIN32_INCLUDES} ${WIN32_SOURCES} ${WIN32_RESOURCES})
|
||||
${DOOMCLASSIC_SOURCES}
|
||||
${TIMIDITY_SOURCES}
|
||||
|
||||
${SYS_SOURCES}
|
||||
${XAUDIO2_SOURCES}
|
||||
${WIN32_SOURCES})
|
||||
|
||||
list(REMOVE_DUPLICATES RBDOOM3_SOURCES)
|
||||
|
||||
add_executable(RBDoom3BFG WIN32 ${RBDOOM3_SOURCES})
|
||||
set(RBDOOM3_PRECOMPILED_SOURCES ${RBDOOM3_SOURCES})
|
||||
list(REMOVE_ITEM RBDOOM3_PRECOMPILED_SOURCES ${TIMIDITY_SOURCES} ${JPEG_SOURCES} ${ZLIB_SOURCES})
|
||||
list(REMOVE_ITEM RBDOOM3_PRECOMPILED_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/renderer/DXT/DXTDecoder.cpp)
|
||||
list(REMOVE_ITEM RBDOOM3_PRECOMPILED_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/renderer/DXT/DXTEncoder.cpp)
|
||||
list(REMOVE_ITEM RBDOOM3_PRECOMPILED_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/renderer/DXT/DXTEncoder_SSE2.cpp)
|
||||
list(REMOVE_ITEM RBDOOM3_PRECOMPILED_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/renderer/jobs/dynamicshadowvolume/DynamicShadowVolume.cpp)
|
||||
list(REMOVE_ITEM RBDOOM3_PRECOMPILED_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/renderer/jobs/prelightshadowvolume/PreLightShadowVolume.cpp)
|
||||
list(REMOVE_ITEM RBDOOM3_PRECOMPILED_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/renderer/jobs/staticshadowvolume/StaticShadowVolume.cpp)
|
||||
list(REMOVE_ITEM RBDOOM3_PRECOMPILED_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/renderer/jobs/ShadowShared.cpp)
|
||||
list(REMOVE_ITEM RBDOOM3_PRECOMPILED_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/renderer/RenderLog.cpp)
|
||||
list(REMOVE_ITEM RBDOOM3_PRECOMPILED_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/../doomclassic/doom/i_sound_stub.cpp)
|
||||
list(REMOVE_ITEM RBDOOM3_PRECOMPILED_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/../doomclassic/doom/i_sound_win32.cpp)
|
||||
|
||||
foreach( src_file ${RBDOOM3_PRECOMPILED_SOURCES} )
|
||||
message(STATUS "/Yuprecompiled.h for ${src_file}")
|
||||
set_source_files_properties(
|
||||
${src_file}
|
||||
PROPERTIES
|
||||
COMPILE_FLAGS "/Yuprecompiled.h"
|
||||
)
|
||||
endforeach()
|
||||
|
||||
set_source_files_properties(framework/precompiled.cpp
|
||||
PROPERTIES
|
||||
COMPILE_FLAGS "/Ycprecompiled.h"
|
||||
)
|
||||
|
||||
list(APPEND RBDOOM3_SOURCES ${WIN32_RESOURCES})
|
||||
|
||||
add_executable(RBDoom3BFG WIN32 ${RBDOOM3_INCLUDES} ${RBDOOM3_SOURCES})
|
||||
|
||||
#add_custom_command(TARGET RBDoom3BFG
|
||||
# PRE_BUILD
|
||||
|
@ -1033,6 +1102,16 @@ if(MSVC)
|
|||
winmm
|
||||
wsock32.lib
|
||||
)
|
||||
|
||||
#CMAKE_BINARY_DIR
|
||||
# if(CMAKE_CL_64)
|
||||
# install(TARGETS RBDoom3BFG
|
||||
# RUNTIME DESTINATION ../bin/win64)
|
||||
# else()
|
||||
# install(TARGETS RBDoom3BFG
|
||||
# RUNTIME DESTINATION ../bin/win32)
|
||||
# endif()
|
||||
|
||||
else()
|
||||
|
||||
list(APPEND RBDOOM3_SOURCES
|
||||
|
|
|
@ -27,7 +27,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
*/
|
||||
|
||||
#pragma hdrstop
|
||||
#include "../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
|
||||
|
||||
#include "AASFile.h"
|
||||
|
|
|
@ -27,7 +27,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
*/
|
||||
|
||||
#pragma hdrstop
|
||||
#include "../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
|
||||
|
||||
#include "AASFile.h"
|
||||
|
|
|
@ -27,7 +27,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
*/
|
||||
|
||||
#pragma hdrstop
|
||||
#include "../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
|
||||
|
||||
#include "AASFile.h"
|
||||
|
|
|
@ -27,7 +27,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
*/
|
||||
|
||||
#pragma hdrstop
|
||||
#include "../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
|
||||
|
||||
#include "AASFile.h"
|
||||
|
|
|
@ -35,7 +35,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
*/
|
||||
|
||||
#pragma hdrstop
|
||||
#include "../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
|
||||
|
||||
#include "CollisionModel_local.h"
|
||||
|
|
|
@ -35,7 +35,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
*/
|
||||
|
||||
#pragma hdrstop
|
||||
#include "../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
|
||||
|
||||
#include "CollisionModel_local.h"
|
||||
|
|
|
@ -35,7 +35,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
*/
|
||||
|
||||
#pragma hdrstop
|
||||
#include "../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
|
||||
|
||||
#include "CollisionModel_local.h"
|
||||
|
|
|
@ -35,7 +35,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
*/
|
||||
|
||||
#pragma hdrstop
|
||||
#include "../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
|
||||
|
||||
#include "CollisionModel_local.h"
|
||||
|
|
|
@ -46,7 +46,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
*/
|
||||
|
||||
#pragma hdrstop
|
||||
#include "../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
|
||||
|
||||
#include "CollisionModel_local.h"
|
||||
|
|
|
@ -35,7 +35,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
*/
|
||||
|
||||
#pragma hdrstop
|
||||
#include "../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
|
||||
|
||||
#include "CollisionModel_local.h"
|
||||
|
|
|
@ -35,7 +35,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
*/
|
||||
|
||||
#pragma hdrstop
|
||||
#include "../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
|
||||
|
||||
#include "CollisionModel_local.h"
|
||||
|
|
|
@ -35,7 +35,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
*/
|
||||
|
||||
#pragma hdrstop
|
||||
#include "../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
|
||||
|
||||
#include "CollisionModel_local.h"
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "Game_local.h"
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "Game_local.h"
|
||||
|
|
|
@ -25,7 +25,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
|
||||
===========================================================================
|
||||
*/
|
||||
#include "../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "Game_local.h"
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "Game_local.h"
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "Game_local.h"
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "Game_local.h"
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "Game_local.h"
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "Game_local.h"
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "Game_local.h"
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "Game_local.h"
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "Game_local.h"
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "Game_local.h"
|
||||
|
|
|
@ -25,7 +25,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
|
||||
===========================================================================
|
||||
*/
|
||||
#include "../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#pragma hdrstop
|
||||
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "Game_local.h"
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "Game_local.h"
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "Game_local.h"
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "Game_local.h"
|
||||
|
|
|
@ -31,7 +31,7 @@ Various utility objects and functions.
|
|||
|
||||
*/
|
||||
|
||||
#include "../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "Game_local.h"
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "Game_local.h"
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "Game_local.h"
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "Game_local.h"
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "Game_local.h"
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "Game_local.h"
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "Game_local.h"
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "Game_local.h"
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "Game_local.h"
|
||||
|
|
|
@ -33,7 +33,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
|
||||
*/
|
||||
|
||||
#include "../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "Game_local.h"
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "Game_local.h"
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "Game_local.h"
|
||||
|
|
|
@ -31,7 +31,7 @@ Invisible entities that affect other entities or the world when activated.
|
|||
|
||||
*/
|
||||
|
||||
#include "../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "Game_local.h"
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "Game_local.h"
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
|
||||
#include "../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "Game_local.h"
|
||||
|
|
|
@ -32,7 +32,7 @@ Worldspawn class. Each map has one worldspawn which handles global spawnargs.
|
|||
|
||||
*/
|
||||
|
||||
#include "../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include "Game_local.h"
|
||||
|
|
|
@ -27,7 +27,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
*/
|
||||
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
|
||||
|
||||
#include "AAS_local.h"
|
||||
|
|
|
@ -27,7 +27,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
*/
|
||||
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
|
||||
#include "AAS_local.h"
|
||||
#include "../Game_local.h" // for cvars and debug drawing
|
||||
|
|
|
@ -27,7 +27,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
*/
|
||||
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
|
||||
|
||||
#include "AAS_local.h"
|
||||
|
|
|
@ -27,7 +27,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
*/
|
||||
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
|
||||
|
||||
#include "AAS_local.h"
|
||||
|
|
|
@ -27,7 +27,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
*/
|
||||
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
|
||||
|
||||
#include "../Game_local.h"
|
||||
|
|
|
@ -34,7 +34,7 @@ Vagary specific AI code
|
|||
***********************************************************************/
|
||||
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
|
||||
|
||||
#include "../Game_local.h"
|
||||
|
|
|
@ -27,7 +27,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
*/
|
||||
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
|
||||
|
||||
#include "../Game_local.h"
|
||||
|
|
|
@ -27,7 +27,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
*/
|
||||
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
|
||||
|
||||
#include "../Game_local.h"
|
||||
|
|
|
@ -27,7 +27,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
*/
|
||||
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
|
||||
|
||||
#include "../Game_local.h"
|
||||
|
|
|
@ -27,7 +27,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
*/
|
||||
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
|
||||
|
||||
#include "../Game_local.h"
|
||||
|
|
|
@ -49,7 +49,7 @@ move around it to view it from different angles.
|
|||
*/
|
||||
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
|
||||
|
||||
#include "../Game_local.h"
|
||||
|
|
|
@ -34,7 +34,7 @@ instancing of objects.
|
|||
*/
|
||||
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
|
||||
|
||||
#include "../Game_local.h"
|
||||
|
|
|
@ -34,7 +34,7 @@ Event are used for scheduling tasks and for linking script commands.
|
|||
*/
|
||||
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
|
||||
|
||||
#include "../Game_local.h"
|
||||
|
|
|
@ -27,7 +27,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
*/
|
||||
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
|
||||
|
||||
#include "../Game_local.h"
|
||||
|
|
|
@ -27,7 +27,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
*/
|
||||
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
|
||||
|
||||
#include "../Game_local.h"
|
||||
|
|
|
@ -27,7 +27,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
*/
|
||||
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
|
||||
|
||||
#include "../Game_local.h"
|
||||
|
|
|
@ -27,7 +27,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
*/
|
||||
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#include "../Game_local.h"
|
||||
|
||||
extern idCVar in_useJoystick;
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#include "../Game_local.h"
|
||||
|
||||
static const int TIP_DISPLAY_TIME = 5000;
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#include "../Game_local.h"
|
||||
|
||||
static const int MAX_PDA_ITEMS = 15;
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#include "../Game_local.h"
|
||||
|
||||
/*
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#include "../Game_local.h"
|
||||
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#include "../Game_local.h"
|
||||
|
||||
idMenuScreen::idMenuScreen()
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#include "../Game_local.h"
|
||||
|
||||
extern idCVar pm_stamina;
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#include "../Game_local.h"
|
||||
|
||||
static const int NUM_INVENTORY_ITEMS_VISIBLE = 9;
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#include "../Game_local.h"
|
||||
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#include "../Game_local.h"
|
||||
|
||||
/*
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#include "../Game_local.h"
|
||||
|
||||
static const int MAX_VIDEO_ITEMS = 5;
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#include "../Game_local.h"
|
||||
|
||||
//***************************************************************
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#include "../Game_local.h"
|
||||
|
||||
typedef struct
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#include "../Game_local.h"
|
||||
|
||||
enum browserCommand_t
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#include "../Game_local.h"
|
||||
|
||||
const static int NUM_LAYOUT_OPTIONS = 1;
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#include "../Game_local.h"
|
||||
|
||||
const static int NUM_CONTROLS_OPTIONS = 8;
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#include "../Game_local.h"
|
||||
|
||||
static const int NUM_CREDIT_LINES = 16;
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#include "../Game_local.h"
|
||||
|
||||
const static int NUM_DEV_OPTIONS = 8;
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#include "../Game_local.h"
|
||||
|
||||
const static int NUM_SETTING_OPTIONS = 8;
|
||||
|
|
|
@ -27,7 +27,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#include "../Game_local.h"
|
||||
|
||||
const static int NUM_LOBBY_OPTIONS = 8;
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#include "../Game_local.h"
|
||||
|
||||
const static int NUM_GAME_OPTIONS_OPTIONS = 8;
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#include "../Game_local.h"
|
||||
|
||||
const static int NUM_CONTROLS_OPTIONS = 8;
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#include "../Game_local.h"
|
||||
|
||||
const static int NUM_LEADERBOARD_ITEMS = 16;
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#include "../Game_local.h"
|
||||
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#include "../Game_local.h"
|
||||
|
||||
const static int NUM_GAME_OPTIONS_OPTIONS = 8;
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#include "../Game_local.h"
|
||||
|
||||
const static int NUM_SETTING_OPTIONS = 8;
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#include "../Game_local.h"
|
||||
|
||||
const static int NUM_NEW_GAME_OPTIONS = 8;
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#include "../Game_local.h"
|
||||
|
||||
const static int NUM_LOBBY_OPTIONS = 8;
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#include "../Game_local.h"
|
||||
|
||||
extern idCVar g_demoMode;
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#include "../Game_local.h"
|
||||
|
||||
const static int NUM_SETTING_OPTIONS = 8;
|
||||
|
|
|
@ -27,7 +27,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#include "../Game_local.h"
|
||||
#include "../../framework/Common_local.h"
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#include "../Game_local.h"
|
||||
#include "../../renderer/tr_local.h"
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#include "../Game_local.h"
|
||||
|
||||
extern idCVar g_demoMode;
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#include "../Game_local.h"
|
||||
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#include "../Game_local.h"
|
||||
|
||||
const static int NUM_SETTING_OPTIONS = 8;
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#include "../Game_local.h"
|
||||
|
||||
const static int NUM_SINGLEPLAYER_OPTIONS = 8;
|
||||
|
|
|
@ -26,7 +26,7 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===========================================================================
|
||||
*/
|
||||
#pragma hdrstop
|
||||
#include "../../idlib/precompiled.h"
|
||||
#include "precompiled.h"
|
||||
#include "../Game_local.h"
|
||||
|
||||
const static int NUM_SYSTEM_OPTIONS_OPTIONS = 4;
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue