mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-21 19:51:12 +00:00
- transitioned project to CMake and deleted most of the old build system.
The EDuke32 and RedNukem frontends are working, Blood isn't yet. Notes: many of the CMake variables and its output still refer to zdoom. Before changing that I wanted to make sure to be able to commit something that works. support code for Windows XP has been entirely removed. On Windows this will only target Vista and up. the crc32.h header had to be renamed to deconflict from zlib. several Windows API calls were changed to call the A-versions directly. Weirdly enough there were places that defined their parameters as T types but in a non-working way. removed some remaining editor files and support for the native software rendering only Windows backend. in a few simple cases, replaced 'char' with 'uint8_t'. The code as-is depends on chars being unsigned which is non-portable. This needs to be carefully reviewed.
This commit is contained in:
parent
dbd333f6f3
commit
2cbe211e7c
153 changed files with 4424 additions and 42777 deletions
2
.gitattributes
vendored
Normal file
2
.gitattributes
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
* text=false
|
||||
|
5
.gitignore
vendored
5
.gitignore
vendored
|
@ -63,6 +63,5 @@ project.xcworkspace/
|
|||
/*.DEM
|
||||
/game*.sav
|
||||
|
||||
Platform/Windows/Build
|
||||
Platform/Windows/Win32
|
||||
Platform/Windows/x64
|
||||
build-vs2019/
|
||||
/source/gitinfo.h
|
||||
|
|
159
Android.mk
159
Android.mk
|
@ -1,159 +0,0 @@
|
|||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
ifeq ($(findstring clang,$(NDK_TOOLCHAIN_VERSION)),)
|
||||
FOUND_CLANG := 0
|
||||
else
|
||||
FOUND_CLANG := 1
|
||||
endif
|
||||
|
||||
LOCAL_MODULE := duke3d
|
||||
|
||||
COMMONFLAGS := -x c++ -std=gnu++11 -fvisibility=hidden -fPIC -funsigned-char -fno-strict-aliasing -pthread \
|
||||
-W -Wall -Wextra -Wpointer-arith -Wno-char-subscripts -Wno-missing-braces -Wwrite-strings -Wuninitialized \
|
||||
-Wno-attributes -Wno-strict-overflow -Wno-unused-result -Wlogical-op -Wcast-qual -Werror=return-type \
|
||||
-DHAVE_VORBIS -DHAVE_JWZGLES -DHAVE_ANDROID -DRENDERTYPESDL=1 -DMIXERTYPESDL=1 -DUSE_OPENGL -DNETCODE_DISABLE -DUSE_LIBVPX \
|
||||
-D_GNU_SOURCE=1 -D_REENTRANT
|
||||
|
||||
ifeq ($(FOUND_CLANG),1)
|
||||
COMMONFLAGS += -Wno-unknown-warning-option -Wno-deprecated-register
|
||||
endif
|
||||
|
||||
LOCAL_LDFLAGS := -fuse-ld=bfd
|
||||
LOCAL_ARM_NEON = true
|
||||
|
||||
ifeq ($(NDK_DEBUG), 1)
|
||||
COMMONFLAGS += -O0 -ggdb -fno-omit-frame-pointer -fno-stack-protector -D_FORTIFY_SOURCE=0 -DDEBUGGINGAIDS=0
|
||||
else
|
||||
COMMONFLAGS += -O2 -DNDEBUG -D_FORTIFY_SOURCE=2
|
||||
ifeq ($(FOUND_CLANG),0)
|
||||
COMMONFLAGS += -DUSING_LTO -flto
|
||||
LOCAL_LDFLAGS += -flto
|
||||
endif
|
||||
endif
|
||||
|
||||
LOCAL_CFLAGS = $(COMMONFLAGS)
|
||||
LOCAL_CPPFLAGS = $(COMMONFLAGS)
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/source/duke3d/src $(LOCAL_PATH)/source/mact/include $(LOCAL_PATH)/source/audiolib/include $(LOCAL_PATH)/source/enet/include $(LOCAL_PATH)/source/build/include
|
||||
LOCAL_C_INCLUDES += $(LOCAL_PATH)/source/etcpak/include
|
||||
LOCAL_C_INCLUDES += $(TOP_DIR)/ $(TOP_DIR)/Libraries/liboggvorbis/include $(TOP_DIR)/Libraries/ $(TOP_DIR)/Libraries/SDL2/include $(TOP_DIR)/Libraries/SDL2_mixer/include $(TOP_DIR)/Libraries/TinyXML/include $(TOP_DIR)/TouchControls $(TOP_DIR)/Libraries/libvpx/include
|
||||
|
||||
ANDROID_SRC = \
|
||||
source/build/src/jwzgles.c \
|
||||
platform/Android/Duke3d/jni/android-jni.cpp \
|
||||
source/etcpak/src/ProcessRGB.cpp \
|
||||
source/etcpak/src/Tables.cpp \
|
||||
source/duke3d/src/in_android.cpp \
|
||||
|
||||
BUILD_SRC = \
|
||||
source/build/src/2d.cpp \
|
||||
source/build/src/a-c.cpp \
|
||||
source/build/src/animvpx.cpp \
|
||||
source/build/src/baselayer.cpp \
|
||||
source/build/src/cache1d.cpp \
|
||||
source/build/src/compat.cpp \
|
||||
source/build/src/common.cpp \
|
||||
source/build/src/crc32.cpp \
|
||||
source/build/src/defs.cpp \
|
||||
source/build/src/clip.cpp \
|
||||
source/build/src/colmatch.cpp \
|
||||
source/build/src/engine.cpp \
|
||||
source/build/src/hash.cpp \
|
||||
source/build/src/glbuild.cpp \
|
||||
source/build/src/polymost.cpp \
|
||||
source/build/src/mdsprite.cpp \
|
||||
source/build/src/texcache.cpp \
|
||||
source/build/src/dxtfilter.cpp \
|
||||
source/build/src/hightile.cpp \
|
||||
source/build/src/textfont.cpp \
|
||||
source/build/src/smalltextfont.cpp \
|
||||
source/build/src/kplib.cpp \
|
||||
source/build/src/mmulti_null.cpp \
|
||||
source/build/src/lz4.c \
|
||||
source/build/src/osd.cpp \
|
||||
source/build/src/md4.cpp \
|
||||
source/build/src/pragmas.cpp \
|
||||
source/build/src/scriptfile.cpp \
|
||||
source/build/src/mutex.cpp \
|
||||
source/build/src/xxhash.c \
|
||||
source/build/src/voxmodel.cpp \
|
||||
source/build/src/rev.cpp \
|
||||
source/build/src/sdlayer.cpp \
|
||||
source/build/src/screenshot.cpp \
|
||||
source/build/src/tiles.cpp \
|
||||
source/build/src/mhk.cpp \
|
||||
source/build/src/palette.cpp \
|
||||
|
||||
MACT_SRC = \
|
||||
source/mact/src/control.cpp \
|
||||
source/mact/src/keyboard.cpp \
|
||||
source/mact/src/joystick.cpp \
|
||||
source/mact/src/scriplib.cpp \
|
||||
source/mact/src/animlib.cpp \
|
||||
|
||||
GAME_SRC = \
|
||||
source/duke3d/src/game.cpp \
|
||||
source/duke3d/src/actors.cpp \
|
||||
source/duke3d/src/anim.cpp \
|
||||
source/duke3d/src/common.cpp \
|
||||
source/duke3d/src/config.cpp \
|
||||
source/duke3d/src/demo.cpp \
|
||||
source/duke3d/src/gamedef.cpp \
|
||||
source/duke3d/src/gameexec.cpp \
|
||||
source/duke3d/src/gamevars.cpp \
|
||||
source/duke3d/src/global.cpp \
|
||||
source/duke3d/src/input.cpp \
|
||||
source/duke3d/src/menus.cpp \
|
||||
source/duke3d/src/namesdyn.cpp \
|
||||
source/duke3d/src/network.cpp \
|
||||
source/duke3d/src/player.cpp \
|
||||
source/duke3d/src/premap.cpp \
|
||||
source/duke3d/src/savegame.cpp \
|
||||
source/duke3d/src/sector.cpp \
|
||||
source/duke3d/src/rts.cpp \
|
||||
source/duke3d/src/osdfuncs.cpp \
|
||||
source/duke3d/src/osdcmds.cpp \
|
||||
source/duke3d/src/grpscan.cpp \
|
||||
source/duke3d/src/sounds.cpp \
|
||||
source/duke3d/src/soundsdyn.cpp \
|
||||
source/duke3d/src/sdlmusic.cpp \
|
||||
source/duke3d/src/cmdline.cpp \
|
||||
source/duke3d/src/screens.cpp \
|
||||
source/duke3d/src/screentext.cpp \
|
||||
source/duke3d/src/cheats.cpp \
|
||||
source/duke3d/src/sbar.cpp \
|
||||
|
||||
AUDIOLIB_SRC = \
|
||||
source/audiolib/src/drivers.cpp \
|
||||
source/audiolib/src/fx_man.cpp \
|
||||
source/audiolib/src/multivoc.cpp \
|
||||
source/audiolib/src/mix.cpp \
|
||||
source/audiolib/src/mixst.cpp \
|
||||
source/audiolib/src/pitch.cpp \
|
||||
source/audiolib/src/formats.cpp \
|
||||
source/audiolib/src/vorbis.cpp \
|
||||
source/audiolib/src/flac.cpp \
|
||||
source/audiolib/src/xa.cpp \
|
||||
source/audiolib/src/xmp.cpp \
|
||||
source/audiolib/src/driver_nosound.cpp \
|
||||
source/audiolib/src/driver_sdl.cpp \
|
||||
|
||||
ENET_SRC = \
|
||||
source/enet/src/callbacks.c \
|
||||
source/enet/src/host.c \
|
||||
source/enet/src/list.c \
|
||||
source/enet/src/packet.c \
|
||||
source/enet/src/peer.c \
|
||||
source/enet/src/protocol.c \
|
||||
source/enet/src/compress.c \
|
||||
source/enet/src/unix.c \
|
||||
|
||||
LOCAL_SRC_FILES = $(ANDROID_SRC) $(AUDIOLIB_SRC) $(MACT_SRC) $(GAME_SRC) $(BUILD_SRC)
|
||||
|
||||
LOCAL_LDLIBS := -lGLESv1_CM -lEGL -ldl -llog
|
||||
LOCAL_STATIC_LIBRARIES := touch
|
||||
LOCAL_SHARED_LIBRARIES := ogg vorbis SDL2 SDL2_mixer libvpx
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
420
CMakeLists.txt
Normal file
420
CMakeLists.txt
Normal file
|
@ -0,0 +1,420 @@
|
|||
cmake_minimum_required( VERSION 2.8.7 )
|
||||
project(Demolition)
|
||||
|
||||
if( COMMAND cmake_policy )
|
||||
if( POLICY CMP0011 )
|
||||
cmake_policy( SET CMP0011 NEW )
|
||||
endif()
|
||||
if( POLICY CMP0054 )
|
||||
cmake_policy( SET CMP0054 NEW )
|
||||
endif()
|
||||
endif()
|
||||
|
||||
list( APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake )
|
||||
include( FindPackageHandleStandardArgs )
|
||||
|
||||
# Support cross compiling
|
||||
option( FORCE_CROSSCOMPILE "Turn on cross compiling." NO )
|
||||
if( FORCE_CROSSCOMPILE )
|
||||
set( CMAKE_CROSSCOMPILING TRUE )
|
||||
endif()
|
||||
|
||||
if(CMAKE_CROSSCOMPILING)
|
||||
set(IMPORT_EXECUTABLES "IMPORTFILE-NOTFOUND" CACHE FILEPATH "Export file from native build.")
|
||||
include(${IMPORT_EXECUTABLES})
|
||||
endif()
|
||||
|
||||
# Recursive function to place PK3 archive source files into a hierarchy of source file in the IDE
|
||||
function( assort_pk3_source_folder FOLDER_NAME PK3_DIR )
|
||||
# Assort source files into folders in the IDE
|
||||
file(GLOB PK3_SRCS ${PK3_DIR}/*) # Create list of all files in this folder
|
||||
foreach(PK3_SRC ${PK3_SRCS})
|
||||
# If there are subfolders, recurse into them
|
||||
if(IS_DIRECTORY ${PK3_SRC})
|
||||
get_filename_component(DIRNAME ${PK3_SRC} NAME)
|
||||
# Exclude folder from list of source files
|
||||
list(REMOVE_ITEM PK3_SRCS ${PK3_SRC})
|
||||
# Recurse deeper into the filesystem folder tree
|
||||
assort_pk3_source_folder( ${FOLDER_NAME}\\${DIRNAME} ${PK3_SRC} )
|
||||
endif()
|
||||
# Assign IDE group for current top-level source files
|
||||
source_group(${FOLDER_NAME} FILES ${PK3_SRCS})
|
||||
endforeach()
|
||||
endfunction()
|
||||
|
||||
option( PK3_QUIET_ZIPDIR "Do not list files processed by zipdir" NO )
|
||||
if( PK3_QUIET_ZIPDIR )
|
||||
set( PK3_ZIPDIR_OPTIONS "-q" )
|
||||
endif()
|
||||
|
||||
# Simplify pk3 building, add_pk3(filename srcdirectory)
|
||||
function( add_pk3 PK3_NAME PK3_DIR )
|
||||
# Generate target name. Just use "pk3" for main pk3 target.
|
||||
string( REPLACE "." "_" PK3_TARGET ${PK3_NAME} )
|
||||
|
||||
if( NOT ZDOOM_OUTPUT_OLDSTYLE )
|
||||
add_custom_command( OUTPUT ${ZDOOM_OUTPUT_DIR}/${PK3_NAME}
|
||||
COMMAND zipdir -udf ${PK3_ZIPDIR_OPTIONS} ${ZDOOM_OUTPUT_DIR}/${PK3_NAME} ${PK3_DIR}
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${ZDOOM_OUTPUT_DIR}/${PK3_NAME} $<TARGET_FILE_DIR:zdoom>/${PK3_NAME}
|
||||
DEPENDS zipdir )
|
||||
else()
|
||||
add_custom_command( OUTPUT ${ZDOOM_OUTPUT_DIR}/${PK3_NAME}
|
||||
COMMAND zipdir -udf ${PK3_ZIPDIR_OPTIONS} ${ZDOOM_OUTPUT_DIR}/${PK3_NAME} ${PK3_DIR}
|
||||
DEPENDS zipdir )
|
||||
endif()
|
||||
# Create a list of source files for this PK3, for use in the IDE
|
||||
# Phase 1: Create a list of all source files for this PK3 archive, except
|
||||
# for a couple of strife image file names that confuse CMake.
|
||||
file(GLOB_RECURSE PK3_SRCS ${PK3_DIR}/*)
|
||||
# Exclude from the source list some gzdoom .png files with brackets in the
|
||||
# file names here, because they confuse CMake.
|
||||
# This only affects the list of source files shown in the IDE.
|
||||
# It does not actually remove the files from the PK3 archive.
|
||||
# First replace that toxic bracket character with something we can handle
|
||||
string(REPLACE "[" confusing_bracket PK3_SRCS "${PK3_SRCS}")
|
||||
string(REPLACE "]" confusing_bracket PK3_SRCS "${PK3_SRCS}")
|
||||
foreach(PK3_SRC ${PK3_SRCS}) # All source files at all levels
|
||||
# Exclude those quarantined source file source file names that once had a bracket
|
||||
if(${PK3_SRC} MATCHES confusing_bracket)
|
||||
# message(STATUS "Ignoring PK3 file name containing brackets "${PK3_SRC})
|
||||
list(REMOVE_ITEM PK3_SRCS ${PK3_SRC})
|
||||
endif()
|
||||
endforeach()
|
||||
# Phase 2: Create the PK3 build rule, including the source file list for the IDE
|
||||
# Touch the zipdir executable here so that the pk3s are forced to
|
||||
# rebuild each time since their dependency has "changed."
|
||||
add_custom_target( ${PK3_TARGET} ALL
|
||||
COMMAND ${CMAKE_COMMAND} -E touch $<TARGET_FILE:zipdir>
|
||||
DEPENDS ${ZDOOM_OUTPUT_DIR}/${PK3_NAME}
|
||||
SOURCES ${PK3_SRCS})
|
||||
# Phase 3: Assign source files to a nice folder structure in the IDE
|
||||
assort_pk3_source_folder("Source Files" ${PK3_DIR})
|
||||
# Phase 4: Add the resulting PK3 to the install target.
|
||||
if( WIN32 )
|
||||
set( INSTALL_PK3_PATH . CACHE STRING "Directory where zdoom.pk3 will be placed during install." )
|
||||
else()
|
||||
set( INSTALL_PK3_PATH share/games/doom CACHE STRING "Directory where zdoom.pk3 will be placed during install." )
|
||||
endif()
|
||||
install(FILES "${PROJECT_BINARY_DIR}/${PK3_NAME}"
|
||||
DESTINATION ${INSTALL_PK3_PATH}
|
||||
COMPONENT "Game resources")
|
||||
endfunction()
|
||||
|
||||
# Macro for building libraries without debugging information
|
||||
macro( make_release_only )
|
||||
set( CMAKE_C_FLAGS_MINSIZEREL ${CMAKE_C_FLAGS_RELEASE} )
|
||||
set( CMAKE_C_FLAGS_RELWITHDEBINFO ${CMAKE_C_FLAGS_RELEASE} )
|
||||
string( REPLACE "/MT " "/MTd " CMAKE_C_FLAGS_DEBUG ${CMAKE_C_FLAGS_RELEASE} )
|
||||
set( CMAKE_CXX_FLAGS_MINSIZEREL ${CMAKE_CXX_FLAGS_RELEASE} )
|
||||
set( CMAKE_CXX_FLAGS_RELWITHDEBINFO ${CMAKE_CXX_FLAGS_RELEASE} )
|
||||
string( REPLACE "/MT " "/MTd " CMAKE_CXX_FLAGS_DEBUG ${CMAKE_CXX_FLAGS_RELEASE} )
|
||||
endmacro()
|
||||
|
||||
IF( NOT CMAKE_BUILD_TYPE )
|
||||
SET( CMAKE_BUILD_TYPE Debug CACHE STRING
|
||||
"Choose the type of build, options are: Debug Release RelWithDebInfo MinSizeRel."
|
||||
FORCE )
|
||||
ENDIF()
|
||||
|
||||
set( ZDOOM_OUTPUT_DIR ${CMAKE_BINARY_DIR} CACHE PATH "Directory where demolition.pk3 and the executable will be created." )
|
||||
set( ZDOOM_EXE_NAME "demolition" CACHE FILEPATH "Name of the executable to create" )
|
||||
if( MSVC )
|
||||
# Allow the user to use ZDOOM_OUTPUT_DIR as a single release point.
|
||||
# Use zdoom, zdoomd, zdoom64, and zdoomd64 for the binary names
|
||||
option( ZDOOM_OUTPUT_OLDSTYLE "Don't use Release/Debug directories." OFF )
|
||||
else()
|
||||
set( ZDOOM_OUTPUT_OLDSTYLE OFF )
|
||||
endif()
|
||||
|
||||
# Replacement variables for a possible long list of C/C++ compilers compatible with GCC
|
||||
if( "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" )
|
||||
set( ZD_CMAKE_COMPILER_IS_GNUC_COMPATIBLE TRUE )
|
||||
else()
|
||||
set( ZD_CMAKE_COMPILER_IS_GNUC_COMPATIBLE FALSE )
|
||||
endif()
|
||||
|
||||
if( "${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" )
|
||||
set( ZD_CMAKE_COMPILER_IS_GNUCXX_COMPATIBLE TRUE )
|
||||
else()
|
||||
set( ZD_CMAKE_COMPILER_IS_GNUCXX_COMPATIBLE FALSE )
|
||||
endif()
|
||||
|
||||
if( ZD_CMAKE_COMPILER_IS_GNUCXX_COMPATIBLE )
|
||||
set( PROFILE 0 CACHE BOOL "Enable profiling with gprof for Debug and RelWithDebInfo build types." )
|
||||
endif()
|
||||
|
||||
option( NO_OPENAL "Disable OpenAL sound support" OFF )
|
||||
|
||||
find_package( BZip2 )
|
||||
find_package( JPEG )
|
||||
find_package( ZLIB )
|
||||
|
||||
include( TargetArch )
|
||||
|
||||
target_architecture(ZDOOM_TARGET_ARCH)
|
||||
|
||||
# Things for later. Currently we have no VM and no Vulkan
|
||||
#if( ${ZDOOM_TARGET_ARCH} MATCHES "x86_64" )
|
||||
# set( HAVE_VM_JIT ON )
|
||||
# option (HAVE_VULKAN "Enable Vulkan support" ON)
|
||||
#endif()
|
||||
|
||||
# no, we're not using external asmjit for now, we made too many modifications to our's.
|
||||
# if the asmjit author uses our changes then we'll update this.
|
||||
|
||||
#if( ${HAVE_VM_JIT} )
|
||||
# find_package( asmjit )
|
||||
#endif()
|
||||
|
||||
# GME
|
||||
#find_path( GME_INCLUDE_DIR gme/gme.h )
|
||||
#find_library( GME_LIBRARIES gme )
|
||||
#mark_as_advanced( GME_INCLUDE_DIR GME_LIBRARIES )
|
||||
#FIND_PACKAGE_HANDLE_STANDARD_ARGS( GME
|
||||
# REQUIRED_VARS GME_LIBRARIES GME_INCLUDE_DIR
|
||||
#)
|
||||
|
||||
if( MSVC )
|
||||
# Eliminate unreferenced functions and data
|
||||
# Perform identical COMDAT folding
|
||||
set( REL_LINKER_FLAGS "/opt:ref /opt:icf /nodefaultlib:msvcrt /TSAWARE /LARGEADDRESSAWARE" )
|
||||
|
||||
# String pooling
|
||||
# Function-level linking
|
||||
# Disable run-time type information
|
||||
if ( HAVE_VULKAN )
|
||||
set( ALL_C_FLAGS "/GF /Gy /GR- /permissive- /DHAVE_VULKAN" )
|
||||
else()
|
||||
set( ALL_C_FLAGS "/GF /Gy /GR- /permissive-" )
|
||||
endif()
|
||||
|
||||
# Use SSE 2 as minimum always as the true color drawers needs it for __vectorcall
|
||||
#set( ALL_C_FLAGS "${ALL_C_FLAGS} /arch:SSE2") # This is already the default
|
||||
|
||||
|
||||
# if( CMAKE_SIZEOF_VOID_P MATCHES "4")
|
||||
# # SSE2 option (to allow x87 in 32 bit and disallow extended feature sets which have not yet been checked for precision)
|
||||
# option (ZDOOM_USE_SSE2 "Use SSE2 instruction set")
|
||||
# if (ZDOOM_USE_SSE2)
|
||||
# set( ALL_C_FLAGS "${ALL_C_FLAGS} /arch:SSE2")
|
||||
# else ()
|
||||
# if (MSVC_VERSION GREATER 1699)
|
||||
# # On Visual C++ 2012 and later SSE2 is the default, so we need to switch it off explicitly
|
||||
# set( ALL_C_FLAGS "${ALL_C_FLAGS} /arch:IA32")
|
||||
# endif ()
|
||||
# endif ()
|
||||
# else()
|
||||
# set( ALL_C_FLAGS "${ALL_C_FLAGS} /arch:SSE2")
|
||||
# endif()
|
||||
|
||||
# Avoid CRT DLL dependancies in release builds, optionally generate assembly output for checking crash locations.
|
||||
option( ZDOOM_GENERATE_ASM "Generate assembly output." OFF )
|
||||
if( ZDOOM_GENERATE_ASM )
|
||||
set( REL_C_FLAGS "/MT /Oy /Oi /FAcs /GS-" )
|
||||
else()
|
||||
set( REL_C_FLAGS "/MT /Oy /Oi /GS-" )
|
||||
endif()
|
||||
|
||||
|
||||
# Debug allocations in debug builds
|
||||
set( DEB_C_FLAGS "/D _CRTDBG_MAP_ALLOC /MTd" )
|
||||
|
||||
# Disable warnings for unsecure CRT functions from VC8+
|
||||
set( ALL_C_FLAGS "${ALL_C_FLAGS} /wd4996 /DUNICODE /D_UNICODE /D_WIN32_WINNT=0x0600" )
|
||||
|
||||
# These must be silenced because the code is full of them. Expect some of undefined behavior hidden in this mess. :(
|
||||
set( ALL_C_FLAGS "${ALL_C_FLAGS} /wd4244 /wd4018 /wd4267" )
|
||||
|
||||
|
||||
# Most of these need to be cleaned out. The source is currently infested with far too much conditional compilation which is a constant source of problems.
|
||||
set( ALL_C_FLAGS "${ALL_C_FLAGS} /DRENDERTYPESDL=1 /DMIXERTYPEWIN=1 /DSDL_USEFOLDER /DSDL_TARGET=2 /DUSE_OPENGL=1 /DSTARTUP_WINDOW /DUSE_LIBVPX /DHAVE_VORBIS /DHAVE_XMP /DNOASM=1 /DWIN32 /DLIBXMP_CORE_PLAYER" )
|
||||
|
||||
# The CMake configurations set /GR and /MD by default, which conflict with our settings.
|
||||
string(REPLACE "/MD " " " CMAKE_CXX_FLAGS_RELEASE ${CMAKE_CXX_FLAGS_RELEASE} )
|
||||
string(REPLACE "/MD " " " CMAKE_CXX_FLAGS_MINSIZEREL ${CMAKE_CXX_FLAGS_MINSIZEREL} )
|
||||
string(REPLACE "/MD " " " CMAKE_CXX_FLAGS_RELWITHDEBINFO ${CMAKE_CXX_FLAGS_RELWITHDEBINFO} )
|
||||
string(REPLACE "/Ob1 " "/Ob2 " CMAKE_CXX_FLAGS_RELWITHDEBINFO ${CMAKE_CXX_FLAGS_RELWITHDEBINFO} )
|
||||
string(REPLACE "/MDd " " " CMAKE_CXX_FLAGS_DEBUG ${CMAKE_CXX_FLAGS_DEBUG} )
|
||||
string(REPLACE "/MD " " " CMAKE_C_FLAGS_RELEASE ${CMAKE_C_FLAGS_RELEASE} )
|
||||
string(REPLACE "/MD " " " CMAKE_C_FLAGS_MINSIZEREL ${CMAKE_C_FLAGS_MINSIZEREL} )
|
||||
string(REPLACE "/MD " " " CMAKE_C_FLAGS_RELWITHDEBINFO ${CMAKE_C_FLAGS_RELWITHDEBINFO} )
|
||||
string(REPLACE "/MDd " " " CMAKE_C_FLAGS_DEBUG ${CMAKE_C_FLAGS_DEBUG} )
|
||||
string(REPLACE " /GR" " " CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} )
|
||||
else()
|
||||
set( REL_LINKER_FLAGS "" )
|
||||
if ( HAVE_VULKAN )
|
||||
set( ALL_C_FLAGS "-ffp-contract=off -DHAVE_VULKAN" )
|
||||
else()
|
||||
set( ALL_C_FLAGS "-ffp-contract=off" )
|
||||
endif()
|
||||
|
||||
if ( UNIX )
|
||||
include(CheckSymbolExists)
|
||||
check_symbol_exists( "fts_set" "fts.h" HAVE_FTS )
|
||||
if ( NOT HAVE_FTS )
|
||||
include ( FindPkgConfig )
|
||||
pkg_check_modules( MUSL_FTS musl-fts )
|
||||
if ( MUSL_FTS_FOUND )
|
||||
set ( ALL_C_FLAGS "${ALL_C_FLAGS} ${MUSL_FTS_LDFLAGS}" )
|
||||
else ( MUSL_FTS_FOUND )
|
||||
message (ERROR "fts_* functions not found in the system" )
|
||||
endif ( MUSL_FTS_FOUND )
|
||||
endif ( NOT HAVE_FTS )
|
||||
endif ( UNIX )
|
||||
|
||||
set( REL_C_FLAGS "" )
|
||||
set( DEB_C_FLAGS "" )
|
||||
|
||||
|
||||
if( APPLE )
|
||||
if( CMAKE_CXX_COMPILER_ID STREQUAL "Clang" )
|
||||
# With standard Apple tools -stdlib=libc++ needs to be specified in order to get
|
||||
# C++11 support using SDKs 10.7 and 10.8.
|
||||
set( CMAKE_CXX_FLAGS "-stdlib=libc++ ${CMAKE_CXX_FLAGS}" )
|
||||
set( CMAKE_EXE_LINKER_FLAGS "-stdlib=libc++ ${CMAKE_EXE_LINKER_FLAGS}" )
|
||||
elseif( CMAKE_CXX_COMPILER_ID STREQUAL "GNU" )
|
||||
# If we're compiling with a custom GCC on the Mac (which we know since g++-4.2 doesn't support C++11) statically link libgcc.
|
||||
set( ALL_C_FLAGS "-static-libgcc" )
|
||||
endif()
|
||||
elseif( NOT MINGW )
|
||||
# Generic GCC/Clang requires position independent executable to be enabled explicitly
|
||||
set( ALL_C_FLAGS "${ALL_C_FLAGS} -fPIE" )
|
||||
set( CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pie" )
|
||||
endif( APPLE )
|
||||
endif()
|
||||
|
||||
set( CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} ${REL_LINKER_FLAGS}" )
|
||||
set( CMAKE_EXE_LINKER_FLAGS_MINSIZEREL "${CMAKE_EXE_LINKER_FLAGS_MINSIZEREL} ${REL_LINKER_FLAGS}" )
|
||||
set( CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO "${CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO} ${REL_LINKER_FLAGS}" )
|
||||
|
||||
set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${ALL_C_FLAGS}" )
|
||||
set( CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} ${REL_C_FLAGS}" )
|
||||
set( CMAKE_C_FLAGS_MINSIZEREL "${CMAKE_C_FLAGS_MINSIZEREL} ${REL_C_FLAGS}" )
|
||||
set( CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELWITHDEBINFO} ${REL_C_FLAGS}" )
|
||||
set( CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} ${DEB_C_FLAGS} -D_DEBUG" )
|
||||
|
||||
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${ALL_C_FLAGS}" )
|
||||
set( CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} ${REL_C_FLAGS}" )
|
||||
set( CMAKE_CXX_FLAGS_MINSIZEREL "${CMAKE_CXX_FLAGS_MINSIZEREL} ${REL_C_FLAGS}" )
|
||||
set( CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} ${REL_C_FLAGS}" )
|
||||
set( CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} ${DEB_C_FLAGS} -D_DEBUG" )
|
||||
|
||||
option(FORCE_INTERNAL_ZLIB "Use internal zlib")
|
||||
option(FORCE_INTERNAL_JPEG "Use internal jpeg")
|
||||
option(FORCE_INTERNAL_BZIP2 "Use internal bzip2")
|
||||
option(FORCE_INTERNAL_GME "Use internal gme" ON)
|
||||
mark_as_advanced( FORCE_INTERNAL_GME )
|
||||
option(FORCE_INTERNAL_ASMJIT "Use internal asmjit" ON)
|
||||
mark_as_advanced( FORCE_INTERNAL_ASMJIT )
|
||||
|
||||
if (HAVE_VULKAN)
|
||||
add_subdirectory( libraries/glslang/glslang)
|
||||
add_subdirectory( libraries/glslang/spirv )
|
||||
add_subdirectory( libraries/glslang/OGLCompilersDLL )
|
||||
endif()
|
||||
|
||||
# Fast math flags, required by some subprojects
|
||||
set( ZD_FASTMATH_FLAG "" )
|
||||
if( ZD_CMAKE_COMPILER_IS_GNUCXX_COMPATIBLE )
|
||||
set( ZD_FASTMATH_FLAG "-ffast-math -ffp-contract=fast" )
|
||||
elseif( MSVC )
|
||||
set( ZD_FASTMATH_FLAG "/fp:fast" )
|
||||
endif()
|
||||
|
||||
if( ZLIB_FOUND AND NOT FORCE_INTERNAL_ZLIB )
|
||||
message( STATUS "Using system zlib, includes found at ${ZLIB_INCLUDE_DIR}" )
|
||||
else()
|
||||
message( STATUS "Using internal zlib" )
|
||||
set( SKIP_INSTALL_ALL TRUE ) # Avoid installing zlib alongside zdoom
|
||||
add_subdirectory( libraries/zlib )
|
||||
set( ZLIB_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/libraries/zlib )
|
||||
set( ZLIB_LIBRARIES z )
|
||||
set( ZLIB_LIBRARY z )
|
||||
endif()
|
||||
|
||||
#if( HAVE_VM_JIT AND UNIX )
|
||||
# check_symbol_exists( "backtrace" "execinfo.h" HAVE_BACKTRACE )
|
||||
# if( NOT HAVE_BACKTRACE )
|
||||
# set( CMAKE_REQUIRED_FLAGS "-lexecinfo" )
|
||||
# check_symbol_exists( "backtrace" "execinfo.h" HAVE_LIBEXECINFO )
|
||||
# if( HAVE_LIBEXECINFO )
|
||||
# set( ALL_C_FLAGS "${ALL_C_FLAGS} -lexecinfo" )
|
||||
# else( HAVE_LIBEXECINFO )
|
||||
# set( HAVE_VM_JIT NO )
|
||||
# endif( HAVE_LIBEXECINFO )
|
||||
# endif( NOT HAVE_BACKTRACE )
|
||||
#endif( HAVE_VM_JIT AND UNIX )
|
||||
|
||||
#if( ${HAVE_VM_JIT} )
|
||||
# if( ASMJIT_FOUND AND NOT FORCE_INTERNAL_ASMJIT )
|
||||
# message( STATUS "Using system asmjit, includes found at ${ASMJIT_INCLUDE_DIR}" )
|
||||
# else()
|
||||
# message( STATUS "Using internal asmjit" )
|
||||
# set( SKIP_INSTALL_ALL TRUE ) # Avoid installing asmjit alongside zdoom
|
||||
# add_subdirectory( libraries/asmjit )
|
||||
# set( ASMJIT_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/libraries/asmjit )
|
||||
# set( ASMJIT_LIBRARIES asmjit )
|
||||
# set( ASMJIT_LIBRARY asmjit )
|
||||
# endif()
|
||||
#endif()
|
||||
|
||||
if( JPEG_FOUND AND NOT FORCE_INTERNAL_JPEG )
|
||||
message( STATUS "Using system jpeg library, includes found at ${JPEG_INCLUDE_DIR}" )
|
||||
else()
|
||||
message( STATUS "Using internal jpeg library" )
|
||||
add_subdirectory( libraries/jpeg )
|
||||
set( JPEG_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/libraries/jpeg )
|
||||
set( JPEG_LIBRARIES jpeg )
|
||||
set( JPEG_LIBRARY jpeg )
|
||||
endif()
|
||||
|
||||
if( BZIP2_FOUND AND NOT FORCE_INTERNAL_BZIP2 )
|
||||
message( STATUS "Using system bzip2 library, includes found at ${BZIP2_INCLUDE_DIR}" )
|
||||
else()
|
||||
message( STATUS "Using internal bzip2 library" )
|
||||
add_subdirectory( libraries/bzip2 )
|
||||
set( BZIP2_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/libraries/bzip2" )
|
||||
set( BZIP2_LIBRARIES bz2 )
|
||||
set( BZIP2_LIBRARY bz2 )
|
||||
endif()
|
||||
|
||||
if( GME_FOUND AND NOT FORCE_INTERNAL_GME )
|
||||
message( STATUS "Using system gme library, includes found at ${GME_INCLUDE_DIR}" )
|
||||
else()
|
||||
message( STATUS "Using internal gme library" )
|
||||
# Use MAME as it's balanced emulator: well-accurate, but doesn't eats lot of CPU
|
||||
# Nuked OPN2 is very accurate emulator, but it eats too much CPU for the workflow
|
||||
set( GME_YM2612_EMU "MAME" )
|
||||
add_subdirectory( libraries/game-music-emu )
|
||||
set( GME_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/libraries/game-music-emu" )
|
||||
set( GME_LIBRARIES gme )
|
||||
endif()
|
||||
|
||||
set( LZMA_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/libraries/lzma/C" )
|
||||
|
||||
if( NOT CMAKE_CROSSCOMPILING )
|
||||
if( NOT CROSS_EXPORTS )
|
||||
set( CROSS_EXPORTS "" )
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Install the entire docs directory in the distributed zip package
|
||||
#if( WIN32 )
|
||||
# set( INSTALL_DOCS_PATH docs CACHE STRING "Directory where the documentation will be placed during install." )
|
||||
#else()
|
||||
# set( INSTALL_DOCS_PATH share/doc/${ZDOOM_EXE_NAME} CACHE STRING "Directory where the zdoom documentation will be placed during install." )
|
||||
#endif()
|
||||
#install(DIRECTORY docs/
|
||||
# DESTINATION ${INSTALL_DOCS_PATH}
|
||||
# COMPONENT "Documentation")
|
||||
|
||||
add_subdirectory( libraries/lzma )
|
||||
add_subdirectory( tools )
|
||||
add_subdirectory( libraries/dumb )
|
||||
add_subdirectory( libraries/gdtoa )
|
||||
#add_subdirectory( wadsrc )
|
||||
add_subdirectory( source )
|
||||
|
||||
if( NOT CMAKE_CROSSCOMPILING )
|
||||
export(TARGETS ${CROSS_EXPORTS} FILE "${CMAKE_BINARY_DIR}/ImportExecutables.cmake" )
|
||||
endif()
|
1104
Common.mak
1104
Common.mak
File diff suppressed because it is too large
Load diff
23
cmake/FindFluidSynth.cmake
Normal file
23
cmake/FindFluidSynth.cmake
Normal file
|
@ -0,0 +1,23 @@
|
|||
# - Find fluidsynth
|
||||
# Find the native fluidsynth includes and library
|
||||
#
|
||||
# FLUIDSYNTH_INCLUDE_DIR - where to find fluidsynth.h
|
||||
# FLUIDSYNTH_LIBRARIES - List of libraries when using fluidsynth.
|
||||
# FLUIDSYNTH_FOUND - True if fluidsynth found.
|
||||
|
||||
|
||||
IF (FLUIDSYNTH_INCLUDE_DIR AND FLUIDSYNTH_LIBRARIES)
|
||||
# Already in cache, be silent
|
||||
SET(FluidSynth_FIND_QUIETLY TRUE)
|
||||
ENDIF (FLUIDSYNTH_INCLUDE_DIR AND FLUIDSYNTH_LIBRARIES)
|
||||
|
||||
FIND_PATH(FLUIDSYNTH_INCLUDE_DIR fluidsynth.h)
|
||||
|
||||
FIND_LIBRARY(FLUIDSYNTH_LIBRARIES NAMES fluidsynth )
|
||||
MARK_AS_ADVANCED( FLUIDSYNTH_LIBRARIES FLUIDSYNTH_INCLUDE_DIR )
|
||||
|
||||
# handle the QUIETLY and REQUIRED arguments and set FLUIDSYNTH_FOUND to TRUE if
|
||||
# all listed variables are TRUE
|
||||
INCLUDE(FindPackageHandleStandardArgs)
|
||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(FluidSynth DEFAULT_MSG FLUIDSYNTH_LIBRARIES FLUIDSYNTH_INCLUDE_DIR)
|
||||
|
28
cmake/FindMPG123.cmake
Normal file
28
cmake/FindMPG123.cmake
Normal file
|
@ -0,0 +1,28 @@
|
|||
# - Find mpg123
|
||||
# Find the native mpg123 includes and library
|
||||
#
|
||||
# MPG123_INCLUDE_DIR - where to find mpg123.h
|
||||
# MPG123_LIBRARIES - List of libraries when using mpg123.
|
||||
# MPG123_FOUND - True if mpg123 found.
|
||||
|
||||
IF(MPG123_INCLUDE_DIR AND MPG123_LIBRARIES)
|
||||
# Already in cache, be silent
|
||||
SET(MPG123_FIND_QUIETLY TRUE)
|
||||
ENDIF(MPG123_INCLUDE_DIR AND MPG123_LIBRARIES)
|
||||
|
||||
FIND_PATH(MPG123_INCLUDE_DIR mpg123.h
|
||||
PATHS "${MPG123_DIR}"
|
||||
PATH_SUFFIXES include
|
||||
)
|
||||
|
||||
FIND_LIBRARY(MPG123_LIBRARIES NAMES mpg123 mpg123-0
|
||||
PATHS "${MPG123_DIR}"
|
||||
PATH_SUFFIXES lib
|
||||
)
|
||||
|
||||
# MARK_AS_ADVANCED(MPG123_LIBRARIES MPG123_INCLUDE_DIR)
|
||||
|
||||
# handle the QUIETLY and REQUIRED arguments and set MPG123_FOUND to TRUE if
|
||||
# all listed variables are TRUE
|
||||
INCLUDE(FindPackageHandleStandardArgs)
|
||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(MPG123 DEFAULT_MSG MPG123_LIBRARIES MPG123_INCLUDE_DIR)
|
182
cmake/FindSDL2.cmake
Normal file
182
cmake/FindSDL2.cmake
Normal file
|
@ -0,0 +1,182 @@
|
|||
# Locate SDL2 library
|
||||
# This module defines
|
||||
# SDL2_LIBRARY, the name of the library to link against
|
||||
# SDL2_FOUND, if false, do not try to link to SDL2
|
||||
# SDL2_INCLUDE_DIR, where to find SDL.h
|
||||
#
|
||||
# This module responds to the the flag:
|
||||
# SDL2_BUILDING_LIBRARY
|
||||
# If this is defined, then no SDL2_main will be linked in because
|
||||
# only applications need main().
|
||||
# Otherwise, it is assumed you are building an application and this
|
||||
# module will attempt to locate and set the the proper link flags
|
||||
# as part of the returned SDL2_LIBRARY variable.
|
||||
#
|
||||
# Don't forget to include SDL2main.h and SDL2main.m your project for the
|
||||
# OS X framework based version. (Other versions link to -lSDL2main which
|
||||
# this module will try to find on your behalf.) Also for OS X, this
|
||||
# module will automatically add the -framework Cocoa on your behalf.
|
||||
#
|
||||
#
|
||||
# Additional Note: If you see an empty SDL2_LIBRARY_TEMP in your configuration
|
||||
# and no SDL2_LIBRARY, it means CMake did not find your SDL2 library
|
||||
# (SDL2.dll, libsdl2.so, SDL2.framework, etc).
|
||||
# Set SDL2_LIBRARY_TEMP to point to your SDL2 library, and configure again.
|
||||
# Similarly, if you see an empty SDL2MAIN_LIBRARY, you should set this value
|
||||
# as appropriate. These values are used to generate the final SDL2_LIBRARY
|
||||
# variable, but when these values are unset, SDL2_LIBRARY does not get created.
|
||||
#
|
||||
#
|
||||
# $SDL2DIR is an environment variable that would
|
||||
# correspond to the ./configure --prefix=$SDL2DIR
|
||||
# used in building SDL2.
|
||||
# l.e.galup 9-20-02
|
||||
#
|
||||
# Modified by Eric Wing.
|
||||
# Added code to assist with automated building by using environmental variables
|
||||
# and providing a more controlled/consistent search behavior.
|
||||
# Added new modifications to recognize OS X frameworks and
|
||||
# additional Unix paths (FreeBSD, etc).
|
||||
# Also corrected the header search path to follow "proper" SDL2 guidelines.
|
||||
# Added a search for SDL2main which is needed by some platforms.
|
||||
# Added a search for threads which is needed by some platforms.
|
||||
# Added needed compile switches for MinGW.
|
||||
#
|
||||
# On OSX, this will prefer the Framework version (if found) over others.
|
||||
# People will have to manually change the cache values of
|
||||
# SDL2_LIBRARY to override this selection or set the CMake environment
|
||||
# CMAKE_INCLUDE_PATH to modify the search paths.
|
||||
#
|
||||
# Note that the header path has changed from SDL2/SDL.h to just SDL.h
|
||||
# This needed to change because "proper" SDL2 convention
|
||||
# is #include "SDL.h", not <SDL2/SDL.h>. This is done for portability
|
||||
# reasons because not all systems place things in SDL2/ (see FreeBSD).
|
||||
#
|
||||
# Ported by Johnny Patterson. This is a literal port for SDL2 of the FindSDL.cmake
|
||||
# module with the minor edit of changing "SDL" to "SDL2" where necessary. This
|
||||
# was not created for redistribution, and exists temporarily pending official
|
||||
# SDL2 CMake modules.
|
||||
|
||||
#=============================================================================
|
||||
# Copyright 2003-2009 Kitware, Inc.
|
||||
#
|
||||
# Distributed under the OSI-approved BSD License (the "License");
|
||||
# see accompanying file Copyright.txt for details.
|
||||
#
|
||||
# This software is distributed WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the License for more information.
|
||||
#=============================================================================
|
||||
# (To distribute this file outside of CMake, substitute the full
|
||||
# License text for the above reference.)
|
||||
|
||||
FIND_PATH(SDL2_INCLUDE_DIR SDL.h
|
||||
HINTS
|
||||
$ENV{SDL2DIR}
|
||||
PATH_SUFFIXES include/SDL2 include
|
||||
PATHS
|
||||
~/Library/Frameworks
|
||||
/Library/Frameworks
|
||||
/usr/local/include/SDL2
|
||||
/usr/include/SDL2
|
||||
/sw # Fink
|
||||
/opt/local # DarwinPorts
|
||||
/opt/csw # Blastwave
|
||||
/opt
|
||||
/boot/system/develop/headers/SDL2 #Hiaku OS
|
||||
)
|
||||
#MESSAGE("SDL2_INCLUDE_DIR is ${SDL2_INCLUDE_DIR}")
|
||||
|
||||
FIND_LIBRARY(SDL2_LIBRARY_TEMP
|
||||
NAMES SDL2
|
||||
HINTS
|
||||
$ENV{SDL2DIR}
|
||||
PATH_SUFFIXES lib64 lib
|
||||
PATHS
|
||||
/sw
|
||||
/opt/local
|
||||
/opt/csw
|
||||
/opt
|
||||
/system/lib #Hiaku OS
|
||||
)
|
||||
|
||||
#MESSAGE("SDL2_LIBRARY_TEMP is ${SDL2_LIBRARY_TEMP}")
|
||||
|
||||
IF(NOT SDL2_BUILDING_LIBRARY)
|
||||
IF(NOT ${SDL2_INCLUDE_DIR} MATCHES ".framework")
|
||||
# Non-OS X framework versions expect you to also dynamically link to
|
||||
# SDL2main. This is mainly for Windows and OS X. Other (Unix) platforms
|
||||
# seem to provide SDL2main for compatibility even though they don't
|
||||
# necessarily need it.
|
||||
FIND_LIBRARY(SDL2MAIN_LIBRARY
|
||||
NAMES SDL2main
|
||||
HINTS
|
||||
$ENV{SDL2DIR}
|
||||
PATH_SUFFIXES lib64 lib
|
||||
PATHS
|
||||
/sw
|
||||
/opt/local
|
||||
/opt/csw
|
||||
/opt
|
||||
)
|
||||
ENDIF(NOT ${SDL2_INCLUDE_DIR} MATCHES ".framework")
|
||||
ENDIF(NOT SDL2_BUILDING_LIBRARY)
|
||||
|
||||
# SDL2 may require threads on your system.
|
||||
# The Apple build may not need an explicit flag because one of the
|
||||
# frameworks may already provide it.
|
||||
# But for non-OSX systems, I will use the CMake Threads package.
|
||||
IF(NOT APPLE)
|
||||
FIND_PACKAGE(Threads)
|
||||
ENDIF(NOT APPLE)
|
||||
|
||||
# MinGW needs an additional library, mwindows
|
||||
# It's total link flags should look like -lmingw32 -lSDL2main -lSDL2 -lmwindows
|
||||
# (Actually on second look, I think it only needs one of the m* libraries.)
|
||||
IF(MINGW)
|
||||
SET(MINGW32_LIBRARY mingw32 CACHE STRING "mwindows for MinGW")
|
||||
ENDIF(MINGW)
|
||||
|
||||
SET(SDL2_FOUND "NO")
|
||||
IF(SDL2_LIBRARY_TEMP)
|
||||
# For SDL2main
|
||||
IF(NOT SDL2_BUILDING_LIBRARY)
|
||||
IF(SDL2MAIN_LIBRARY)
|
||||
SET(SDL2_LIBRARY_TEMP ${SDL2MAIN_LIBRARY} ${SDL2_LIBRARY_TEMP})
|
||||
ENDIF(SDL2MAIN_LIBRARY)
|
||||
ENDIF(NOT SDL2_BUILDING_LIBRARY)
|
||||
|
||||
# For OS X, SDL2 uses Cocoa as a backend so it must link to Cocoa.
|
||||
# CMake doesn't display the -framework Cocoa string in the UI even
|
||||
# though it actually is there if I modify a pre-used variable.
|
||||
# I think it has something to do with the CACHE STRING.
|
||||
# So I use a temporary variable until the end so I can set the
|
||||
# "real" variable in one-shot.
|
||||
IF(APPLE)
|
||||
SET(SDL2_LIBRARY_TEMP ${SDL2_LIBRARY_TEMP} "-framework Cocoa")
|
||||
ENDIF(APPLE)
|
||||
|
||||
# For threads, as mentioned Apple doesn't need this.
|
||||
# In fact, there seems to be a problem if I used the Threads package
|
||||
# and try using this line, so I'm just skipping it entirely for OS X.
|
||||
IF(NOT APPLE)
|
||||
SET(SDL2_LIBRARY_TEMP ${SDL2_LIBRARY_TEMP} ${CMAKE_THREAD_LIBS_INIT})
|
||||
ENDIF(NOT APPLE)
|
||||
|
||||
# For MinGW library
|
||||
IF(MINGW)
|
||||
SET(SDL2_LIBRARY_TEMP ${MINGW32_LIBRARY} ${SDL2_LIBRARY_TEMP})
|
||||
ENDIF(MINGW)
|
||||
|
||||
# Set the final string here so the GUI reflects the final state.
|
||||
SET(SDL2_LIBRARY ${SDL2_LIBRARY_TEMP} CACHE STRING "Where the SDL2 Library can be found")
|
||||
# Set the temp variable to INTERNAL so it is not seen in the CMake GUI
|
||||
SET(SDL2_LIBRARY_TEMP "${SDL2_LIBRARY_TEMP}" CACHE INTERNAL "")
|
||||
|
||||
SET(SDL2_FOUND "YES")
|
||||
ENDIF(SDL2_LIBRARY_TEMP)
|
||||
|
||||
INCLUDE(FindPackageHandleStandardArgs)
|
||||
|
||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(SDL2
|
||||
REQUIRED_VARS SDL2_LIBRARY SDL2_INCLUDE_DIR)
|
29
cmake/FindSndFile.cmake
Normal file
29
cmake/FindSndFile.cmake
Normal file
|
@ -0,0 +1,29 @@
|
|||
# - Try to find SndFile
|
||||
# Once done this will define
|
||||
#
|
||||
# SNDFILE_FOUND - system has SndFile
|
||||
# SNDFILE_INCLUDE_DIRS - the SndFile include directory
|
||||
# SNDFILE_LIBRARIES - Link these to use SndFile
|
||||
#
|
||||
# Copyright © 2006 Wengo
|
||||
# Copyright © 2009 Guillaume Martres
|
||||
#
|
||||
# Redistribution and use is allowed according to the terms of the New
|
||||
# BSD license.
|
||||
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
|
||||
#
|
||||
|
||||
find_path(SNDFILE_INCLUDE_DIR NAMES sndfile.h)
|
||||
|
||||
find_library(SNDFILE_LIBRARY NAMES sndfile sndfile-1)
|
||||
|
||||
set(SNDFILE_INCLUDE_DIRS ${SNDFILE_INCLUDE_DIR})
|
||||
set(SNDFILE_LIBRARIES ${SNDFILE_LIBRARY})
|
||||
|
||||
INCLUDE(FindPackageHandleStandardArgs)
|
||||
# handle the QUIETLY and REQUIRED arguments and set SNDFILE_FOUND to TRUE if
|
||||
# all listed variables are TRUE
|
||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(SndFile DEFAULT_MSG SNDFILE_LIBRARY SNDFILE_INCLUDE_DIR)
|
||||
|
||||
# show the SNDFILE_INCLUDE_DIRS and SNDFILE_LIBRARIES variables only in the advanced view
|
||||
mark_as_advanced(SNDFILE_INCLUDE_DIRS SNDFILE_LIBRARIES)
|
157
cmake/TargetArch.cmake
Normal file
157
cmake/TargetArch.cmake
Normal file
|
@ -0,0 +1,157 @@
|
|||
|
||||
# Copyright (c) 2012 Petroules Corporation. All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without modification,
|
||||
# are permitted provided that the following conditions are met:
|
||||
#
|
||||
# 1. Redistributions of source code must retain the above copyright notice,
|
||||
# this list of conditions and the following disclaimer.
|
||||
# 2. Redistributions in binary form must reproduce the above copyright notice,
|
||||
# this list of conditions and the following disclaimer in the documentation and/or
|
||||
# other materials provided with the distribution.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
# IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
||||
# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
||||
# OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
|
||||
# OF SUCH DAMAGE.
|
||||
|
||||
# Based on the Qt 5 processor detection code, so should be very accurate
|
||||
# https://qt.gitorious.org/qt/qtbase/blobs/master/src/corelib/global/qprocessordetection.h
|
||||
# Currently handles arm (v5, v6, v7), x86 (32/64), ia64, and ppc (32/64)
|
||||
|
||||
# Regarding POWER/PowerPC, just as is noted in the Qt source,
|
||||
# "There are many more known variants/revisions that we do not handle/detect."
|
||||
|
||||
set(archdetect_c_code "
|
||||
#if defined(__arm__) || defined(__TARGET_ARCH_ARM)
|
||||
#if defined(__ARM_ARCH_7__) \\
|
||||
|| defined(__ARM_ARCH_7A__) \\
|
||||
|| defined(__ARM_ARCH_7R__) \\
|
||||
|| defined(__ARM_ARCH_7M__) \\
|
||||
|| (defined(__TARGET_ARCH_ARM) && __TARGET_ARCH_ARM-0 >= 7)
|
||||
#error cmake_ARCH armv7
|
||||
#elif defined(__ARM_ARCH_6__) \\
|
||||
|| defined(__ARM_ARCH_6J__) \\
|
||||
|| defined(__ARM_ARCH_6T2__) \\
|
||||
|| defined(__ARM_ARCH_6Z__) \\
|
||||
|| defined(__ARM_ARCH_6K__) \\
|
||||
|| defined(__ARM_ARCH_6ZK__) \\
|
||||
|| defined(__ARM_ARCH_6M__) \\
|
||||
|| (defined(__TARGET_ARCH_ARM) && __TARGET_ARCH_ARM-0 >= 6)
|
||||
#error cmake_ARCH armv6
|
||||
#elif defined(__ARM_ARCH_5TEJ__) \\
|
||||
|| (defined(__TARGET_ARCH_ARM) && __TARGET_ARCH_ARM-0 >= 5)
|
||||
#error cmake_ARCH armv5
|
||||
#else
|
||||
#error cmake_ARCH arm
|
||||
#endif
|
||||
#elif defined(__i386) || defined(__i386__) || defined(_M_IX86)
|
||||
#error cmake_ARCH i386
|
||||
#elif defined(__x86_64) || defined(__x86_64__) || defined(__amd64) || defined(_M_X64)
|
||||
#error cmake_ARCH x86_64
|
||||
#elif defined(__ia64) || defined(__ia64__) || defined(_M_IA64)
|
||||
#error cmake_ARCH ia64
|
||||
#elif defined(__ppc__) || defined(__ppc) || defined(__powerpc__) \\
|
||||
|| defined(_ARCH_COM) || defined(_ARCH_PWR) || defined(_ARCH_PPC) \\
|
||||
|| defined(_M_MPPC) || defined(_M_PPC)
|
||||
#if defined(__ppc64__) || defined(__powerpc64__) || defined(__64BIT__)
|
||||
#error cmake_ARCH ppc64
|
||||
#else
|
||||
#error cmake_ARCH ppc
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#error cmake_ARCH unknown
|
||||
")
|
||||
|
||||
# Set ppc_support to TRUE before including this file or ppc and ppc64
|
||||
# will be treated as invalid architectures since they are no longer supported by Apple
|
||||
|
||||
function(target_architecture output_var)
|
||||
if(APPLE AND CMAKE_OSX_ARCHITECTURES)
|
||||
# On OS X we use CMAKE_OSX_ARCHITECTURES *if* it was set
|
||||
# First let's normalize the order of the values
|
||||
|
||||
# Note that it's not possible to compile PowerPC applications if you are using
|
||||
# the OS X SDK version 10.6 or later - you'll need 10.4/10.5 for that, so we
|
||||
# disable it by default
|
||||
# See this page for more information:
|
||||
# http://stackoverflow.com/questions/5333490/how-can-we-restore-ppc-ppc64-as-well-as-full-10-4-10-5-sdk-support-to-xcode-4
|
||||
|
||||
# Architecture defaults to i386 or ppc on OS X 10.5 and earlier, depending on the CPU type detected at runtime.
|
||||
# On OS X 10.6+ the default is x86_64 if the CPU supports it, i386 otherwise.
|
||||
|
||||
foreach(osx_arch ${CMAKE_OSX_ARCHITECTURES})
|
||||
if("${osx_arch}" STREQUAL "ppc" AND ppc_support)
|
||||
set(osx_arch_ppc TRUE)
|
||||
elseif("${osx_arch}" STREQUAL "i386")
|
||||
set(osx_arch_i386 TRUE)
|
||||
elseif("${osx_arch}" STREQUAL "x86_64")
|
||||
set(osx_arch_x86_64 TRUE)
|
||||
elseif("${osx_arch}" STREQUAL "ppc64" AND ppc_support)
|
||||
set(osx_arch_ppc64 TRUE)
|
||||
else()
|
||||
message(FATAL_ERROR "Invalid OS X arch name: ${osx_arch}")
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
# Now add all the architectures in our normalized order
|
||||
if(osx_arch_ppc)
|
||||
list(APPEND ARCH ppc)
|
||||
endif()
|
||||
|
||||
if(osx_arch_i386)
|
||||
list(APPEND ARCH i386)
|
||||
endif()
|
||||
|
||||
if(osx_arch_x86_64)
|
||||
list(APPEND ARCH x86_64)
|
||||
endif()
|
||||
|
||||
if(osx_arch_ppc64)
|
||||
list(APPEND ARCH ppc64)
|
||||
endif()
|
||||
else()
|
||||
file(WRITE "${CMAKE_BINARY_DIR}/arch.c" "${archdetect_c_code}")
|
||||
|
||||
enable_language(C)
|
||||
|
||||
# Detect the architecture in a rather creative way...
|
||||
# This compiles a small C program which is a series of ifdefs that selects a
|
||||
# particular #error preprocessor directive whose message string contains the
|
||||
# target architecture. The program will always fail to compile (both because
|
||||
# file is not a valid C program, and obviously because of the presence of the
|
||||
# #error preprocessor directives... but by exploiting the preprocessor in this
|
||||
# way, we can detect the correct target architecture even when cross-compiling,
|
||||
# since the program itself never needs to be run (only the compiler/preprocessor)
|
||||
try_run(
|
||||
run_result_unused
|
||||
compile_result_unused
|
||||
"${CMAKE_BINARY_DIR}"
|
||||
"${CMAKE_BINARY_DIR}/arch.c"
|
||||
COMPILE_OUTPUT_VARIABLE ARCH
|
||||
CMAKE_FLAGS CMAKE_OSX_ARCHITECTURES=${CMAKE_OSX_ARCHITECTURES}
|
||||
)
|
||||
|
||||
# Parse the architecture name from the compiler output
|
||||
string(REGEX MATCH "cmake_ARCH ([a-zA-Z0-9_]+)" ARCH "${ARCH}")
|
||||
|
||||
# Get rid of the value marker leaving just the architecture name
|
||||
string(REPLACE "cmake_ARCH " "" ARCH "${ARCH}")
|
||||
|
||||
# If we are compiling with an unknown architecture this variable should
|
||||
# already be set to "unknown" but in the case that it's empty (i.e. due
|
||||
# to a typo in the code), then set it to unknown
|
||||
if (NOT ARCH)
|
||||
set(ARCH unknown)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
set(${output_var} "${ARCH}" PARENT_SCOPE)
|
||||
endfunction()
|
45
cmake/precompiled_headers.cmake
Normal file
45
cmake/precompiled_headers.cmake
Normal file
|
@ -0,0 +1,45 @@
|
|||
#
|
||||
# Christoph Heindl 2010
|
||||
# Precompiled Headers Demo
|
||||
# http://cheind.wordpress.com
|
||||
#
|
||||
|
||||
# Instructs the MSVC toolset to use the precompiled header PRECOMPILED_HEADER
|
||||
# for each source file given in the collection named by SOURCE_VARIABLE_NAME.
|
||||
function(enable_precompiled_headers PRECOMPILED_HEADER SOURCE_VARIABLE_NAME)
|
||||
if(MSVC)
|
||||
set(files ${${SOURCE_VARIABLE_NAME}})
|
||||
|
||||
# Generate precompiled header translation unit
|
||||
get_filename_component(pch_basename ${PRECOMPILED_HEADER} NAME_WE)
|
||||
set(pch_abs ${CMAKE_CURRENT_SOURCE_DIR}/${PRECOMPILED_HEADER})
|
||||
set(pch_unity ${CMAKE_CURRENT_BINARY_DIR}/${pch_basename}.cpp)
|
||||
set(pch_content "// Precompiled header unity generated by CMake\n#include <${pch_abs}>\n")
|
||||
# Read .cpp if exists
|
||||
if(EXISTS ${pch_unity})
|
||||
file(READ ${pch_unity} pch_content_prev)
|
||||
endif()
|
||||
# Compare existing .cpp content with the actual one
|
||||
if (pch_content_prev AND pch_content STREQUAL pch_content_prev)
|
||||
unset(pch_content)
|
||||
endif()
|
||||
# Write .cpp if it's out-of-date
|
||||
if (pch_content)
|
||||
FILE(WRITE ${pch_unity} "${pch_content}")
|
||||
endif()
|
||||
set_source_files_properties(${pch_unity} PROPERTIES COMPILE_FLAGS "/Yc\"${pch_abs}\"")
|
||||
|
||||
# Update properties of source files to use the precompiled header.
|
||||
# Additionally, force the inclusion of the precompiled header at beginning of each source file.
|
||||
foreach(source_file ${files} )
|
||||
set_source_files_properties(
|
||||
${source_file}
|
||||
PROPERTIES COMPILE_FLAGS
|
||||
"/Yu\"${pch_abs}\" /FI\"${pch_abs}\""
|
||||
)
|
||||
endforeach(source_file)
|
||||
|
||||
# Finally, update the source file collection to contain the precompiled header translation unit
|
||||
set(${SOURCE_VARIABLE_NAME} ${${SOURCE_VARIABLE_NAME}} ${pch_unity} PARENT_SCOPE)
|
||||
endif(MSVC)
|
||||
endfunction(enable_precompiled_headers)
|
File diff suppressed because it is too large
Load diff
|
@ -1,241 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<VCProjectVersion>15.0</VCProjectVersion>
|
||||
<ProjectGuid>{0029C61B-B63D-4E61-99F2-F4E49AABFC47}</ProjectGuid>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<RootNamespace>audiolib</RootNamespace>
|
||||
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="Shared">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<Import Project="props\build_x64.props" />
|
||||
<Import Project="props\build_common.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<Import Project="props\build_x64.props" />
|
||||
<Import Project="props\build_common.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<Import Project="props\build_x86.props" />
|
||||
<Import Project="props\build_common.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<Import Project="props\build_x86.props" />
|
||||
<Import Project="props\build_common.props" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>$(SolutionDir)Build\$(ProjectName)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>$(Platform)\Build\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>$(SolutionDir)Build\$(ProjectName)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>$(Platform)\Build\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>$(SolutionDir)Build\$(ProjectName)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>$(Platform)\Build\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>$(SolutionDir)Build\$(ProjectName)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>$(Platform)\Build\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<PreprocessorDefinitions>NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
||||
<OmitFramePointers>true</OmitFramePointers>
|
||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||
<ExceptionHandling>SyncCThrow</ExceptionHandling>
|
||||
<DebugInformationFormat>None</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||
<ExceptionHandling>SyncCThrow</ExceptionHandling>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<OmitFramePointers>false</OmitFramePointers>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||
<ExceptionHandling>SyncCThrow</ExceptionHandling>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<PreprocessorDefinitions>NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
||||
<OmitFramePointers>true</OmitFramePointers>
|
||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||
<ExceptionHandling>SyncCThrow</ExceptionHandling>
|
||||
<DebugInformationFormat>None</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\source\audiolib\src\drivers.cpp" />
|
||||
<ClCompile Include="..\..\source\audiolib\src\driver_directsound.cpp" />
|
||||
<ClCompile Include="..\..\source\audiolib\src\driver_nosound.cpp" />
|
||||
<ClCompile Include="..\..\source\audiolib\src\driver_sdl.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\audiolib\src\flac.cpp" />
|
||||
<ClCompile Include="..\..\source\audiolib\src\formats.cpp" />
|
||||
<ClCompile Include="..\..\source\audiolib\src\fx_man.cpp" />
|
||||
<ClCompile Include="..\..\source\audiolib\src\gmtimbre.cpp" />
|
||||
<ClCompile Include="..\..\source\audiolib\src\midi.cpp" />
|
||||
<ClCompile Include="..\..\source\audiolib\src\mix.cpp" />
|
||||
<ClCompile Include="..\..\source\audiolib\src\mixst.cpp" />
|
||||
<ClCompile Include="..\..\source\audiolib\src\mpu401.cpp" />
|
||||
<ClCompile Include="..\..\source\audiolib\src\multivoc.cpp" />
|
||||
<ClCompile Include="..\..\source\audiolib\src\music.cpp" />
|
||||
<ClCompile Include="..\..\source\audiolib\src\pitch.cpp" />
|
||||
<ClCompile Include="..\..\source\audiolib\src\sdlmusic.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\audiolib\src\vorbis.cpp" />
|
||||
<ClCompile Include="..\..\source\audiolib\src\xa.cpp" />
|
||||
<ClCompile Include="..\..\source\audiolib\src\xmp.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\source\audiolib\include\drivers.h" />
|
||||
<ClInclude Include="..\..\source\audiolib\include\fx_man.h" />
|
||||
<ClInclude Include="..\..\source\audiolib\include\midi.h" />
|
||||
<ClInclude Include="..\..\source\audiolib\include\mpu401.h" />
|
||||
<ClInclude Include="..\..\source\audiolib\include\multivoc.h" />
|
||||
<ClInclude Include="..\..\source\audiolib\include\music.h" />
|
||||
<ClInclude Include="..\..\source\audiolib\src\driver_directsound.h" />
|
||||
<ClInclude Include="..\..\source\audiolib\src\driver_nosound.h" />
|
||||
<ClInclude Include="..\..\source\audiolib\src\driver_sdl.h" />
|
||||
<ClInclude Include="..\..\source\audiolib\src\linklist.h" />
|
||||
<ClInclude Include="..\..\source\audiolib\src\pitch.h" />
|
||||
<ClInclude Include="..\..\source\audiolib\src\_midi.h" />
|
||||
<ClInclude Include="..\..\source\audiolib\src\_multivc.h" />
|
||||
<ClInclude Include="..\..\source\audiolib\src\_oplmidi.h" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
|
@ -1,116 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Source Files">
|
||||
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
||||
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Header Files">
|
||||
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
||||
<Extensions>h;hh;hpp;hxx;hm;inl;inc;ipp;xsd</Extensions>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\source\audiolib\src\driver_directsound.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\audiolib\src\driver_nosound.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\audiolib\src\driver_sdl.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\audiolib\src\drivers.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\audiolib\src\flac.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\audiolib\src\formats.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\audiolib\src\fx_man.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\audiolib\src\mix.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\audiolib\src\mixst.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\audiolib\src\multivoc.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\audiolib\src\pitch.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\audiolib\src\vorbis.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\audiolib\src\xa.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\audiolib\src\xmp.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\audiolib\src\sdlmusic.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\audiolib\src\gmtimbre.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\audiolib\src\midi.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\audiolib\src\mpu401.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\audiolib\src\music.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\source\audiolib\src\pitch.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\audiolib\src\_multivc.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\audiolib\src\driver_directsound.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\audiolib\src\driver_nosound.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\audiolib\src\driver_sdl.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\audiolib\include\drivers.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\audiolib\include\fx_man.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\audiolib\src\linklist.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\audiolib\include\multivoc.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\audiolib\include\music.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\audiolib\src\_midi.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\audiolib\src\_oplmidi.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\audiolib\include\midi.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\audiolib\include\mpu401.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -1,413 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<VCProjectVersion>15.0</VCProjectVersion>
|
||||
<ProjectGuid>{DBECB851-5624-4FA8-9A9D-7169D0F12FF1}</ProjectGuid>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<RootNamespace>build</RootNamespace>
|
||||
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
<Import Project="$(VCTargetsPath)\BuildCustomizations\masm.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="Shared">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<Import Project="props\build_x64.props" />
|
||||
<Import Project="props\build_common.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<Import Project="props\build_x64.props" />
|
||||
<Import Project="props\build_common.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<Import Project="props\build_x86.props" />
|
||||
<Import Project="props\build_common.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<Import Project="props\build_x86.props" />
|
||||
<Import Project="props\build_common.props" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>$(SolutionDir)Build\$(ProjectName)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>$(Platform)\Build\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
<CustomBuildBeforeTargets>BuildGenerateSources</CustomBuildBeforeTargets>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>$(SolutionDir)Build\$(ProjectName)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>$(Platform)\Build\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
<CustomBuildBeforeTargets>BuildGenerateSources</CustomBuildBeforeTargets>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>$(SolutionDir)Build\$(ProjectName)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>$(Platform)\Build\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
<CustomBuildBeforeTargets>BuildGenerateSources</CustomBuildBeforeTargets>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>$(SolutionDir)Build\$(ProjectName)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>$(Platform)\Build\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
<CustomBuildBeforeTargets>BuildGenerateSources</CustomBuildBeforeTargets>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<PreprocessorDefinitions>NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
||||
<OmitFramePointers>true</OmitFramePointers>
|
||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||
<ExceptionHandling>SyncCThrow</ExceptionHandling>
|
||||
<DebugInformationFormat>None</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||
<ExceptionHandling>SyncCThrow</ExceptionHandling>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<OmitFramePointers>false</OmitFramePointers>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||
<ExceptionHandling>SyncCThrow</ExceptionHandling>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<PreprocessorDefinitions>NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
||||
<OmitFramePointers>true</OmitFramePointers>
|
||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||
<ExceptionHandling>SyncCThrow</ExceptionHandling>
|
||||
<DebugInformationFormat>None</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\source\build\src\2d.cpp" />
|
||||
<ClCompile Include="..\..\source\build\src\a-c.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\animvpx.cpp" />
|
||||
<ClCompile Include="..\..\source\build\src\baselayer.cpp" />
|
||||
<ClCompile Include="..\..\source\build\src\cache1d.cpp" />
|
||||
<ClCompile Include="..\..\source\build\src\clip.cpp" />
|
||||
<ClCompile Include="..\..\source\build\src\colmatch.cpp" />
|
||||
<ClCompile Include="..\..\source\build\src\common.cpp" />
|
||||
<ClCompile Include="..\..\source\build\src\compat.cpp" />
|
||||
<ClCompile Include="..\..\source\thirdparty\src\crc32.cpp" />
|
||||
<ClCompile Include="..\..\source\build\src\defs.cpp" />
|
||||
<ClCompile Include="..\..\source\build\src\dynamicgtk.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\engine.cpp" />
|
||||
<ClCompile Include="..\..\source\thirdparty\src\fix16.cpp" />
|
||||
<ClCompile Include="..\..\source\thirdparty\src\fix16_str.cpp" />
|
||||
<ClCompile Include="..\..\source\build\src\glbuild.cpp" />
|
||||
<ClCompile Include="..\..\source\build\src\glsurface.cpp" />
|
||||
<ClCompile Include="..\..\source\build\src\gtkbits.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\hash.cpp" />
|
||||
<ClCompile Include="..\..\source\build\src\hightile.cpp" />
|
||||
<ClCompile Include="..\..\source\build\src\klzw.cpp" />
|
||||
<ClCompile Include="..\..\source\build\src\kplib.cpp" />
|
||||
<ClCompile Include="..\..\source\thirdparty\src\lz4.c" />
|
||||
<ClCompile Include="..\..\source\thirdparty\src\md4.cpp" />
|
||||
<ClCompile Include="..\..\source\build\src\mdsprite.cpp" />
|
||||
<ClCompile Include="..\..\source\build\src\mhk.cpp" />
|
||||
<ClCompile Include="..\..\source\build\src\mingw_main.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\thirdparty\src\miniz.c">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\thirdparty\src\miniz_tdef.c" />
|
||||
<ClCompile Include="..\..\source\thirdparty\src\miniz_tinfl.c" />
|
||||
<ClCompile Include="..\..\source\build\src\mmulti_null.cpp" />
|
||||
<ClCompile Include="..\..\source\build\src\mutex.cpp" />
|
||||
<ClCompile Include="..\..\source\build\src\osd.cpp" />
|
||||
<ClCompile Include="..\..\source\build\src\palette.cpp" />
|
||||
<ClCompile Include="..\..\source\build\src\pngwrite.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\polymost.cpp" />
|
||||
<ClCompile Include="..\..\source\build\src\pragmas.cpp" />
|
||||
<ClCompile Include="..\..\source\build\src\rawinput.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\rev.cpp" />
|
||||
<ClCompile Include="..\..\source\build\src\screenshot.cpp" />
|
||||
<ClCompile Include="..\..\source\build\src\scriptfile.cpp" />
|
||||
<ClCompile Include="..\..\source\build\src\sdlayer.cpp" />
|
||||
<ClCompile Include="..\..\source\build\src\sdlkeytrans.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\sjson.cpp" />
|
||||
<ClCompile Include="..\..\source\build\src\smalltextfont.cpp" />
|
||||
<ClCompile Include="..\..\source\build\src\softsurface.cpp" />
|
||||
<ClCompile Include="..\..\source\build\src\texcache.cpp" />
|
||||
<ClCompile Include="..\..\source\build\src\textfont.cpp" />
|
||||
<ClCompile Include="..\..\source\build\src\tiles.cpp" />
|
||||
<ClCompile Include="..\..\source\build\src\timer.cpp" />
|
||||
<ClCompile Include="..\..\source\build\src\voxmodel.cpp" />
|
||||
<ClCompile Include="..\..\source\build\src\winbits.cpp" />
|
||||
<ClCompile Include="..\..\source\thirdparty\src\xxhash.c" />
|
||||
<ClCompile Include="..\..\source\glbackend\glbackend.cpp" />
|
||||
<ClCompile Include="..\..\source\glbackend\gl_hwtexture.cpp" />
|
||||
<ClCompile Include="..\..\source\glbackend\gl_samplers.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\source\build\include\a.h" />
|
||||
<ClInclude Include="..\..\source\build\include\animvpx.h" />
|
||||
<ClInclude Include="..\..\source\build\include\baselayer.h" />
|
||||
<ClInclude Include="..\..\source\build\include\build.h" />
|
||||
<ClInclude Include="..\..\source\build\include\buildtypes.h" />
|
||||
<ClInclude Include="..\..\source\build\include\cache1d.h" />
|
||||
<ClInclude Include="..\..\source\build\include\clip.h" />
|
||||
<ClInclude Include="..\..\source\build\include\collections.h" />
|
||||
<ClInclude Include="..\..\source\build\include\colmatch.h" />
|
||||
<ClInclude Include="..\..\source\build\include\common.h" />
|
||||
<ClInclude Include="..\..\source\build\include\compat.h" />
|
||||
<ClInclude Include="..\..\source\thirdparty\include\crc32.h" />
|
||||
<ClInclude Include="..\..\source\build\include\debugbreak.h" />
|
||||
<ClInclude Include="..\..\source\build\include\dxdidf.h" />
|
||||
<ClInclude Include="..\..\source\build\include\dynamicgtk.h" />
|
||||
<ClInclude Include="..\..\source\thirdparty\include\fix16.h" />
|
||||
<ClInclude Include="..\..\source\thirdparty\include\fix16.hpp" />
|
||||
<ClInclude Include="..\..\source\thirdparty\include\fix16_int64.h" />
|
||||
<ClInclude Include="..\..\source\build\include\glbuild.h" />
|
||||
<ClInclude Include="..\..\source\build\include\glsurface.h" />
|
||||
<ClInclude Include="..\..\source\build\include\gtkbits.h" />
|
||||
<ClInclude Include="..\..\source\build\include\hash.h" />
|
||||
<ClInclude Include="..\..\source\build\include\hightile.h" />
|
||||
<ClInclude Include="..\..\source\build\include\klzw.h" />
|
||||
<ClInclude Include="..\..\source\build\include\kplib.h" />
|
||||
<ClInclude Include="..\..\source\thirdparty\include\libdivide.h" />
|
||||
<ClInclude Include="..\..\source\thirdparty\include\lz4.h" />
|
||||
<ClInclude Include="..\..\source\thirdparty\include\md4.h" />
|
||||
<ClInclude Include="..\..\source\build\include\mdsprite.h" />
|
||||
<ClInclude Include="..\..\source\thirdparty\include\miniz.h" />
|
||||
<ClInclude Include="..\..\source\build\include\mmulti.h" />
|
||||
<ClInclude Include="..\..\source\build\include\osd.h" />
|
||||
<ClInclude Include="..\..\source\build\include\osxbits.h" />
|
||||
<ClInclude Include="..\..\source\build\include\palette.h" />
|
||||
<ClInclude Include="..\..\source\build\include\pngwrite.h" />
|
||||
<ClInclude Include="..\..\source\build\include\polymer.h" />
|
||||
<ClInclude Include="..\..\source\build\include\polymost.h" />
|
||||
<ClInclude Include="..\..\source\build\include\pragmas.h" />
|
||||
<ClInclude Include="..\..\source\build\include\print.h" />
|
||||
<ClInclude Include="..\..\source\build\include\prlights.h" />
|
||||
<ClInclude Include="..\..\source\build\include\rawinput.h" />
|
||||
<ClInclude Include="..\..\source\build\include\renderlayer.h" />
|
||||
<ClInclude Include="..\..\source\build\include\scancodes.h" />
|
||||
<ClInclude Include="..\..\source\build\include\scriptfile.h" />
|
||||
<ClInclude Include="..\..\source\build\include\sdlayer.h" />
|
||||
<ClInclude Include="..\..\source\build\include\sdl_inc.h" />
|
||||
<ClInclude Include="..\..\source\thirdparty\include\sjson.h" />
|
||||
<ClInclude Include="..\..\source\build\include\softsurface.h" />
|
||||
<ClInclude Include="..\..\source\build\include\texcache.h" />
|
||||
<ClInclude Include="..\..\source\build\include\timer.h" />
|
||||
<ClInclude Include="..\..\source\build\include\tracker.hpp" />
|
||||
<ClInclude Include="..\..\source\build\include\vfs.h" />
|
||||
<ClInclude Include="..\..\source\build\include\winbits.h" />
|
||||
<ClInclude Include="..\..\source\build\include\winlayer.h" />
|
||||
<ClInclude Include="..\..\source\thirdparty\include\xxhash.h" />
|
||||
<ClInclude Include="..\..\source\build\src\engine_priv.h" />
|
||||
<ClInclude Include="..\..\source\glbackend\glbackend.h" />
|
||||
<ClInclude Include="..\..\source\glbackend\gl_hwtexture.h" />
|
||||
<ClInclude Include="..\..\source\glbackend\gl_samplers.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<CustomBuild Include="..\..\source\build\src\polymost1Frag.glsl">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">echo char const *%(Filename) = R^"shader( > $(IntermediateOutputPath)%(Filename)%(Extension).cpp
|
||||
type %(Identity) >> $(IntermediateOutputPath)%(Filename)%(Extension).cpp
|
||||
echo )shader^"; >> $(IntermediateOutputPath)%(Filename)%(Extension).cpp
|
||||
cl /c /MP /GS /GL /analyze- /W3 /wd"4996" /wd"4244" /wd"4018" /wd"4267" /Gy /Zc:wchar_t /I"./include" /I"./include/vpx/" /I"./include/sdl2/" /I"../../source/build/include" /I"../../source/mact/include" /I"../../source/audiolib/include" /I"../../source/enet/include" /I"../../source/glad/include" /I"../../source/libxmp-lite/include" /I"../../source/libxmp-lite/include/libxmp-lite" /Gm- /O2 /Fd"Win32\Build\build\Release\build.pdb" /Zc:inline /fp:precise /D "NDEBUG" /D "_LIB" /D "_CRT_SECURE_NO_WARNINGS" /D "WIN32" /D "RENDERTYPESDL=1" /D "MIXERTYPEWIN=1" /D "SDL_USEFOLDER" /D "SDL_TARGET=2" /D "USE_OPENGL=1" /D "POLYMER=1" /D "STARTUP_WINDOW" /D "USE_LIBVPX" /D "HAVE_VORBIS" /D "HAVE_XMP" /errorReport:prompt /WX- /Zc:forScope /arch:SSE2 /Gd /Oy /Oi /MD /Fa"Win32\Build\build\Release\\" /EHs /nologo /Fo"Win32\Build\build\Release\\" /Ot /Fp"Win32\Build\build\Release\build.pch" "$(IntermediateOutputPath)%(Filename)%(Extension).cpp"</Command>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">echo char const *%(Filename) = R^"shader( > $(IntermediateOutputPath)%(Filename)%(Extension).cpp
|
||||
type %(Identity) >> $(IntermediateOutputPath)%(Filename)%(Extension).cpp
|
||||
echo )shader^"; >> $(IntermediateOutputPath)%(Filename)%(Extension).cpp
|
||||
cl /c /MP /GS- /analyze- /W3 /wd"4996" /wd"4244" /wd"4018" /wd"4267" /Gy /Zc:wchar_t /I"./include" /I"./include/vpx/" /I"./include/sdl2/" /I"../../source/build/include" /I"../../source/mact/include" /I"../../source/audiolib/include" /I"../../source/enet/include" /I"../../source/glad/include" /I"../../source/libxmp-lite/include" /I"../../source/libxmp-lite/include/libxmp-lite" /Zi /Gm /Od /Fd"Win32\Build\build\Debug\build.pdb" /Zc:inline /fp:precise /D "_DEBUG" /D "_LIB" /D "_CRT_SECURE_NO_WARNINGS" /D "WIN32" /D "RENDERTYPESDL=1" /D "MIXERTYPEWIN=1" /D "SDL_USEFOLDER" /D "SDL_TARGET=2" /D "USE_OPENGL=1" /D "POLYMER=1" /D "STARTUP_WINDOW" /D "USE_LIBVPX" /D "HAVE_VORBIS" /D "HAVE_XMP" /errorReport:prompt /WX- /Zc:forScope /RTC1 /arch:SSE2 /Gd /Oy- /MDd /Fa"Win32\Build\build\Debug\\" /EHs /nologo /Fo"Win32\Build\build\Debug\\" /Fp"Win32\Build\build\Debug\build.pch" $(IntermediateOutputPath)%(Filename)%(Extension).cpp</Command>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Compiling shader to %(Identity).obj</Message>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Compiling shader to %(Identity).obj</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">echo char const *%(Filename) = R^"shader( > $(IntermediateOutputPath)%(Filename)%(Extension).cpp
|
||||
type %(Identity) >> $(IntermediateOutputPath)%(Filename)%(Extension).cpp
|
||||
echo )shader^"; >> $(IntermediateOutputPath)%(Filename)%(Extension).cpp
|
||||
cl /c /MP /GS /GL /W3 /wd"4996" /wd"4244" /wd"4018" /wd"4267" /Gy /Zc:wchar_t /I"./include" /I"./include/vpx/" /I"./include/sdl2/" /I"../../source/build/include" /I"../../source/mact/include" /I"../../source/audiolib/include" /I"../../source/enet/include" /I"../../source/glad/include" /I"../../source/libxmp-lite/include" /I"../../source/libxmp-lite/include/libxmp-lite" /Gm- /O2 /Fd"x64\Build\build\Release\build.pdb" /Zc:inline /fp:precise /D "NDEBUG" /D "_LIB" /D "_CRT_SECURE_NO_WARNINGS" /D "WIN32" /D "RENDERTYPESDL=1" /D "MIXERTYPEWIN=1" /D "SDL_USEFOLDER" /D "SDL_TARGET=2" /D "USE_OPENGL=1" /D "POLYMER=1" /D "STARTUP_WINDOW" /D "USE_LIBVPX" /D "HAVE_VORBIS" /D "HAVE_XMP" /D "NOASM=1" /errorReport:prompt /WX- /Zc:forScope /Gd /Oy /Oi /MD /Fa"x64\Build\build\Release\\" /EHs /nologo /Fo"x64\Build\build\Release\\" /Ot /Fp"x64\Build\build\Release\build.pch" $(IntermediateOutputPath)%(Filename)%(Extension).cpp</Command>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">echo char const *%(Filename) = R^"shader( > $(IntermediateOutputPath)%(Filename)%(Extension).cpp
|
||||
type %(Identity) >> $(IntermediateOutputPath)%(Filename)%(Extension).cpp
|
||||
echo )shader^"; >> $(IntermediateOutputPath)%(Filename)%(Extension).cpp
|
||||
cl /c /MP /GS- /W3 /wd"4996" /wd"4244" /wd"4018" /wd"4267" /Gy /Zc:wchar_t /I"./include" /I"./include/vpx/" /I"./include/sdl2/" /I"../../source/build/include" /I"../../source/mact/include" /I"../../source/audiolib/include" /I"../../source/enet/include" /I"../../source/glad/include" /I"../../source/libxmp-lite/include" /I"../../source/libxmp-lite/include/libxmp-lite" /Zi /Gm /Od /Fd"x64\Build\build\Debug\build.pdb" /Zc:inline /fp:precise /D "_DEBUG" /D "_LIB" /D "_CRT_SECURE_NO_WARNINGS" /D "WIN32" /D "RENDERTYPESDL=1" /D "MIXERTYPEWIN=1" /D "SDL_USEFOLDER" /D "SDL_TARGET=2" /D "USE_OPENGL=1" /D "POLYMER=1" /D "STARTUP_WINDOW" /D "USE_LIBVPX" /D "HAVE_VORBIS" /D "HAVE_XMP" /D "NOASM=1" /errorReport:prompt /WX- /Zc:forScope /RTC1 /Gd /Oy- /MDd /Fa"x64\Build\build\Debug\\" /EHs /nologo /Fo"x64\Build\build\Debug\\" /Fp"x64\Build\build\Debug\build.pch" $(IntermediateOutputPath)%(Filename)%(Extension).cpp</Command>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Compiling shader to %(Identity).obj</Message>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Compiling shader to %(Identity).obj</Message>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(IntermediateOutputPath)%(Filename)%(Extension).obj;$(IntermediateOutputPath)%(Filename)%(Extension).cpp</Outputs>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(IntermediateOutputPath)%(Filename)%(Extension).obj;$(IntermediateOutputPath)%(Filename)%(Extension).cpp</Outputs>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntermediateOutputPath)%(Filename)%(Extension).obj;$(IntermediateOutputPath)%(Filename)%(Extension).cpp</Outputs>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntermediateOutputPath)%(Filename)%(Extension).obj;$(IntermediateOutputPath)%(Filename)%(Extension).cpp</Outputs>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\source\build\src\polymost1Vert.glsl">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">echo char const *%(Filename) = R^"shader( > $(IntermediateOutputPath)%(Filename)%(Extension).cpp
|
||||
type %(Identity) >> $(IntermediateOutputPath)%(Filename)%(Extension).cpp
|
||||
echo )shader^"; >> $(IntermediateOutputPath)%(Filename)%(Extension).cpp
|
||||
cl /c /MP /GS /GL /analyze- /W3 /wd"4996" /wd"4244" /wd"4018" /wd"4267" /Gy /Zc:wchar_t /I"./include" /I"./include/vpx/" /I"./include/sdl2/" /I"../../source/build/include" /I"../../source/mact/include" /I"../../source/audiolib/include" /I"../../source/enet/include" /I"../../source/glad/include" /I"../../source/libxmp-lite/include" /I"../../source/libxmp-lite/include/libxmp-lite" /Gm- /O2 /Fd"Win32\Build\build\Release\build.pdb" /Zc:inline /fp:precise /D "NDEBUG" /D "_LIB" /D "_CRT_SECURE_NO_WARNINGS" /D "WIN32" /D "RENDERTYPESDL=1" /D "MIXERTYPEWIN=1" /D "SDL_USEFOLDER" /D "SDL_TARGET=2" /D "USE_OPENGL=1" /D "POLYMER=1" /D "STARTUP_WINDOW" /D "USE_LIBVPX" /D "HAVE_VORBIS" /D "HAVE_XMP" /errorReport:prompt /WX- /Zc:forScope /arch:SSE2 /Gd /Oy /Oi /MD /Fa"Win32\Build\build\Release\\" /EHs /nologo /Fo"Win32\Build\build\Release\\" /Ot /Fp"Win32\Build\build\Release\build.pch" "$(IntermediateOutputPath)%(Filename)%(Extension).cpp"</Command>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">echo char const *%(Filename) = R^"shader( > $(IntermediateOutputPath)%(Filename)%(Extension).cpp
|
||||
type %(Identity) >> $(IntermediateOutputPath)%(Filename)%(Extension).cpp
|
||||
echo )shader^"; >> $(IntermediateOutputPath)%(Filename)%(Extension).cpp
|
||||
cl /c /MP /GS- /analyze- /W3 /wd"4996" /wd"4244" /wd"4018" /wd"4267" /Gy /Zc:wchar_t /I"./include" /I"./include/vpx/" /I"./include/sdl2/" /I"../../source/build/include" /I"../../source/mact/include" /I"../../source/audiolib/include" /I"../../source/enet/include" /I"../../source/glad/include" /I"../../source/libxmp-lite/include" /I"../../source/libxmp-lite/include/libxmp-lite" /Zi /Gm /Od /Fd"Win32\Build\build\Debug\build.pdb" /Zc:inline /fp:precise /D "_DEBUG" /D "_LIB" /D "_CRT_SECURE_NO_WARNINGS" /D "WIN32" /D "RENDERTYPESDL=1" /D "MIXERTYPEWIN=1" /D "SDL_USEFOLDER" /D "SDL_TARGET=2" /D "USE_OPENGL=1" /D "POLYMER=1" /D "STARTUP_WINDOW" /D "USE_LIBVPX" /D "HAVE_VORBIS" /D "HAVE_XMP" /errorReport:prompt /WX- /Zc:forScope /RTC1 /arch:SSE2 /Gd /Oy- /MDd /Fa"Win32\Build\build\Debug\\" /EHs /nologo /Fo"Win32\Build\build\Debug\\" /Fp"Win32\Build\build\Debug\build.pch" $(IntermediateOutputPath)%(Filename)%(Extension).cpp</Command>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Compiling shader to %(Identity).obj</Message>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Compiling shader to %(Identity).obj</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">echo char const *%(Filename) = R^"shader( > $(IntermediateOutputPath)%(Filename)%(Extension).cpp
|
||||
type %(Identity) >> $(IntermediateOutputPath)%(Filename)%(Extension).cpp
|
||||
echo )shader^"; >> $(IntermediateOutputPath)%(Filename)%(Extension).cpp
|
||||
cl /c /MP /GS /GL /W3 /wd"4996" /wd"4244" /wd"4018" /wd"4267" /Gy /Zc:wchar_t /I"./include" /I"./include/vpx/" /I"./include/sdl2/" /I"../../source/build/include" /I"../../source/mact/include" /I"../../source/audiolib/include" /I"../../source/enet/include" /I"../../source/glad/include" /I"../../source/libxmp-lite/include" /I"../../source/libxmp-lite/include/libxmp-lite" /Gm- /O2 /Fd"x64\Build\build\Release\build.pdb" /Zc:inline /fp:precise /D "NDEBUG" /D "_LIB" /D "_CRT_SECURE_NO_WARNINGS" /D "WIN32" /D "RENDERTYPESDL=1" /D "MIXERTYPEWIN=1" /D "SDL_USEFOLDER" /D "SDL_TARGET=2" /D "USE_OPENGL=1" /D "POLYMER=1" /D "STARTUP_WINDOW" /D "USE_LIBVPX" /D "HAVE_VORBIS" /D "HAVE_XMP" /D "NOASM=1" /errorReport:prompt /WX- /Zc:forScope /Gd /Oy /Oi /MD /Fa"x64\Build\build\Release\\" /EHs /nologo /Fo"x64\Build\build\Release\\" /Ot /Fp"x64\Build\build\Release\build.pch" $(IntermediateOutputPath)%(Filename)%(Extension).cpp</Command>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">echo char const *%(Filename) = R^"shader( > $(IntermediateOutputPath)%(Filename)%(Extension).cpp
|
||||
type %(Identity) >> $(IntermediateOutputPath)%(Filename)%(Extension).cpp
|
||||
echo )shader^"; >> $(IntermediateOutputPath)%(Filename)%(Extension).cpp
|
||||
cl /c /MP /GS- /W3 /wd"4996" /wd"4244" /wd"4018" /wd"4267" /Gy /Zc:wchar_t /I"./include" /I"./include/vpx/" /I"./include/sdl2/" /I"../../source/build/include" /I"../../source/mact/include" /I"../../source/audiolib/include" /I"../../source/enet/include" /I"../../source/glad/include" /I"../../source/libxmp-lite/include" /I"../../source/libxmp-lite/include/libxmp-lite" /Zi /Gm /Od /Fd"x64\Build\build\Debug\build.pdb" /Zc:inline /fp:precise /D "_DEBUG" /D "_LIB" /D "_CRT_SECURE_NO_WARNINGS" /D "WIN32" /D "RENDERTYPESDL=1" /D "MIXERTYPEWIN=1" /D "SDL_USEFOLDER" /D "SDL_TARGET=2" /D "USE_OPENGL=1" /D "POLYMER=1" /D "STARTUP_WINDOW" /D "USE_LIBVPX" /D "HAVE_VORBIS" /D "HAVE_XMP" /D "NOASM=1" /errorReport:prompt /WX- /Zc:forScope /RTC1 /Gd /Oy- /MDd /Fa"x64\Build\build\Debug\\" /EHs /nologo /Fo"x64\Build\build\Debug\\" /Fp"x64\Build\build\Debug\build.pch" $(IntermediateOutputPath)%(Filename)%(Extension).cpp</Command>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Compiling shader to %(Identity).obj</Message>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Compiling shader to %(Identity).obj</Message>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(IntermediateOutputPath)%(Filename)%(Extension).obj;$(IntermediateOutputPath)%(Filename)%(Extension).cpp</Outputs>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(IntermediateOutputPath)%(Filename)%(Extension).obj;$(IntermediateOutputPath)%(Filename)%(Extension).cpp</Outputs>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntermediateOutputPath)%(Filename)%(Extension).obj;$(IntermediateOutputPath)%(Filename)%(Extension).cpp</Outputs>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntermediateOutputPath)%(Filename)%(Extension).obj;$(IntermediateOutputPath)%(Filename)%(Extension).cpp</Outputs>
|
||||
</CustomBuild>
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
<Import Project="$(VCTargetsPath)\BuildCustomizations\masm.targets" />
|
||||
</ImportGroup>
|
||||
</Project>
|
|
@ -1,422 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Source Files">
|
||||
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
||||
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Header Files">
|
||||
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
||||
<Extensions>h;hh;hpp;hxx;hm;inl;inc;ipp;xsd</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Header Files\MSVC">
|
||||
<UniqueIdentifier>{4afb83fc-a68c-4ed0-9ff2-7def56e98cb6}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="GL Interface">
|
||||
<UniqueIdentifier>{0f5687fd-82dc-4f52-89ef-0264c994211c}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\source\build\src\2d.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\a-c.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\animvpx.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\baselayer.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\cache1d.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\clip.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\colmatch.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\compat.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\crc32.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\defs.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\dynamicgtk.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\engine.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\fix16.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\fix16_str.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\glbuild.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\glsurface.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\gtkbits.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\hash.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\hightile.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\klzw.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\kplib.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\lunatic.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\lz4.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\md4.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\mdsprite.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\mhk.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\mingw_main.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\miniz.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\mmulti_null.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\mutex.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\osd.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\palette.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\pngwrite.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\polymer.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\polymost.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\pragmas.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\rawinput.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\rev.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\screenshot.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\scriptfile.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\sdlayer.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\sdlayer12.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\sdlkeytrans.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\sjson.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\smalltextfont.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\softsurface.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\texcache.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\textfont.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\tiles.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\voxmodel.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\wiibits.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\winbits.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\winlayer.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\xxhash.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\miniz_tdef.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\miniz_tinfl.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\common.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\vfs.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\glbackend\glbackend.cpp">
|
||||
<Filter>GL Interface</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\timer.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
<ClCompile Include="..\..\source\glbackend\gl_samplers.cpp">
|
||||
<Filter>GL Interface</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\glbackend\gl_hwtexture.cpp">
|
||||
<Filter>GL Interface</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\source\build\include\msvc\inttypes.h">
|
||||
<Filter>Header Files\MSVC</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\msvc\stdint.h">
|
||||
<Filter>Header Files\MSVC</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\a.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\animvpx.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\baselayer.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\build.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\buildtypes.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\cache1d.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\clip.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\colmatch.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\common.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\compat.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\crc32.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\dxdidf.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\dynamicgtk.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\editor.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\src\engine_priv.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\fix16.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\fix16.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\fix16_int64.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\glbuild.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\glsurface.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\gtkbits.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\hash.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\hightile.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\jwzgles.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\jwzglesI.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\klzw.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\kplib.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\thirdparty\include\libdivide.h">
|
||||
<Filter>Third Party</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\thirdparty\include\lz4.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\thirdparty\include\md4.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\mdsprite.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\thirdparty\include\miniz.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\mmulti.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\mutex.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\osd.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\osxbits.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\palette.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\pngwrite.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\polymer.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\polymost.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\pragmas.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\pragmas_arm.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\pragmas_ppc.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\pragmas_x86_gcc.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\pragmas_x86_msvc.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\prlights.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\rawinput.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\renderlayer.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\scancodes.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\scriptfile.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\sdl_inc.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\sdlayer.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\thirdparty\include\sjson.h">
|
||||
<Filter>Third Party</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\softsurface.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\texcache.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\tracker.hpp">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\winbits.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\winlayer.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\xxhash.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\debugbreak.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\collections.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\print.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\vfs.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\timer.h">
|
||||
<Filter>Header Files</Filter>
|
||||
|
||||
<Filter>GL Interface</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\glbackend\gl_samplers.h">
|
||||
<Filter>GL Interface</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\glbackend\gl_hwtexture.h">
|
||||
<Filter>GL Interface</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<CustomBuild Include="..\..\source\build\src\polymost1Frag.glsl">
|
||||
<Filter>Source Files</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\source\build\src\polymost1Vert.glsl">
|
||||
<Filter>Source Files</Filter>
|
||||
</CustomBuild>
|
||||
</ItemGroup>
|
||||
</Project>
|
139
platform/Windows/build.vcxproj.filters_
Normal file
139
platform/Windows/build.vcxproj.filters_
Normal file
|
@ -0,0 +1,139 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Source Files">
|
||||
<UniqueIdentifier>{dd93df66-1ed9-4b54-fd54-18abf46d2773}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Header Files">
|
||||
<UniqueIdentifier>{82d4000f-cd8c-4737-f8dc-4ada5775a68e}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="GL Backend">
|
||||
<UniqueIdentifier>{52ce6149-4982-41a4-fadf-c7a9468421fd}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Third Party">
|
||||
<UniqueIdentifier>{598e3748-14c8-47c3-fbb6-eea06f762413}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\source\build\src\2d.cpp" ><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\a-c.cpp" ><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\animvpx.cpp" ><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\baselayer.cpp" ><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\cache1d.cpp" ><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\clip.cpp" ><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\colmatch.cpp" ><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\common.cpp" ><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\compat.cpp" ><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\defs.cpp" ><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\dynamicgtk.cpp" ><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\engine.cpp" ><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\glbuild.cpp" ><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\glsurface.cpp" ><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\gtkbits.cpp" ><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\hash.cpp" ><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\hightile.cpp" ><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\klzw.cpp" ><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\kplib.cpp" ><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\mdsprite.cpp" ><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\mhk.cpp" ><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\mingw_main.cpp" ><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\mmulti_null.cpp" ><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\mutex.cpp" ><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\osd.cpp" ><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\palette.cpp" ><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\pngwrite.cpp" ><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\polymost.cpp" ><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\pragmas.cpp" ><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\rawinput.cpp" ><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\rev.cpp" ><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\screenshot.cpp" ><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\scriptfile.cpp" ><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\sdlayer.cpp" ><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\sdlkeytrans.cpp" ><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\smalltextfont.cpp" ><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\softsurface.cpp" ><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\texcache.cpp" ><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\textfont.cpp" ><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\tiles.cpp" ><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\timer.cpp" ><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\voxmodel.cpp" ><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\winbits.cpp" ><Filter>Source Files</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\thirdparty\src\xxhash.c" ><Filter>Third Party</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\thirdparty\src\crc32.cpp" ><Filter>Third Party</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\thirdparty\src\fix16.cpp" ><Filter>Third Party</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\thirdparty\src\fix16_str.cpp" ><Filter>Third Party</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\thirdparty\src\lz4.c" ><Filter>Third Party</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\thirdparty\src\md4.cpp" ><Filter>Third Party</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\thirdparty\src\miniz.c" ><Filter>Third Party</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\thirdparty\src\miniz_tdef.c" ><Filter>Third Party</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\thirdparty\src\miniz_tinfl.c" ><Filter>Third Party</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\glbackend\glbackend.cpp" ><Filter>GL Backend</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\glbackend\gl_hwtexture.cpp" ><Filter>GL Backend</Filter></ClCompile>
|
||||
<ClCompile Include="..\..\source\glbackend\gl_samplers.cpp" ><Filter>GL Backend</Filter></ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\source\build\include\a.h" ><Filter>Header Files</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\animvpx.h" ><Filter>Header Files</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\baselayer.h" ><Filter>Header Files</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\build.h" ><Filter>Header Files</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\buildtypes.h" ><Filter>Header Files</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\cache1d.h" ><Filter>Header Files</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\clip.h" ><Filter>Header Files</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\collections.h" ><Filter>Header Files</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\colmatch.h" ><Filter>Header Files</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\common.h" ><Filter>Header Files</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\compat.h" ><Filter>Header Files</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\debugbreak.h" ><Filter>Header Files</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\dxdidf.h" ><Filter>Header Files</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\dynamicgtk.h" ><Filter>Header Files</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\glbuild.h" ><Filter>Header Files</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\glsurface.h" ><Filter>Header Files</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\gtkbits.h" ><Filter>Header Files</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\hash.h" ><Filter>Header Files</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\hightile.h" ><Filter>Header Files</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\klzw.h" ><Filter>Header Files</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\kplib.h" ><Filter>Header Files</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\mdsprite.h" ><Filter>Header Files</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\mmulti.h" ><Filter>Header Files</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\osd.h" ><Filter>Header Files</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\osxbits.h" ><Filter>Header Files</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\palette.h" ><Filter>Header Files</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\pngwrite.h" ><Filter>Header Files</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\polymer.h" ><Filter>Header Files</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\polymost.h" ><Filter>Header Files</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\pragmas.h" ><Filter>Header Files</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\print.h" ><Filter>Header Files</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\prlights.h" ><Filter>Header Files</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\rawinput.h" ><Filter>Header Files</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\renderlayer.h" ><Filter>Header Files</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\scancodes.h" ><Filter>Header Files</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\scriptfile.h" ><Filter>Header Files</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\sdlayer.h" ><Filter>Header Files</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\sdl_inc.h" ><Filter>Header Files</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\softsurface.h" ><Filter>Header Files</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\texcache.h" ><Filter>Header Files</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\timer.h" ><Filter>Header Files</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\tracker.hpp" ><Filter>Header Files</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\vfs.h" ><Filter>Header Files</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\winbits.h" ><Filter>Header Files</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\winlayer.h" ><Filter>Header Files</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\build\src\engine_priv.h" ><Filter>Header Files</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\thirdparty\include\crc32.h" ><Filter>Third Party</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\thirdparty\include\fix16.h" ><Filter>Third Party</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\thirdparty\include\fix16.hpp" ><Filter>Third Party</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\thirdparty\include\fix16_int64.h" ><Filter>Third Party</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\thirdparty\include\libdivide.h" ><Filter>Third Party</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\thirdparty\include\lz4.h" ><Filter>Third Party</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\thirdparty\include\md4.h" ><Filter>Third Party</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\thirdparty\include\miniz.h" ><Filter>Third Party</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\thirdparty\include\sjson.h" ><Filter>Third Party</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\thirdparty\include\xxhash.h" ><Filter>Third Party</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\glbackend\glbackend.h" ><Filter>GL Backend</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\glbackend\gl_hwtexture.h" ><Filter>GL Backend</Filter></ClInclude>
|
||||
<ClInclude Include="..\..\source\glbackend\gl_samplers.h" ><Filter>GL Backend</Filter></ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<CustomBuild Include="..\..\source\build\src\polymost1Frag.glsl" ><Filter>GLSL Shaders</Filter></CustomBuilld>
|
||||
<CustomBuild Include="..\..\source\build\src\polymost1Vert.glsl" ><Filter>GLSL Shaders</Filter></CustomBuilld>
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -1,143 +0,0 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.29306.81
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "eduke32", "eduke32.vcxproj", "{8E7A6179-0B72-4073-8A4C-E8682D481DAE}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Game", "Game", "{18C3CB5F-1DE6-4CFE-B7F7-ABE824222E1C}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Engine", "Engine", "{8BD117A0-7FA2-44B0-88A5-29D6C220601E}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "build", "build.vcxproj", "{DBECB851-5624-4FA8-9A9D-7169D0F12FF1}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{6AC1D997-8DAE-4343-8DD8-DA2A1CA63212} = {6AC1D997-8DAE-4343-8DD8-DA2A1CA63212}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "enet", "enet.vcxproj", "{A68CC5E4-567A-44C8-94FE-C1DE09AEEB40}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "audiolib", "audiolib.vcxproj", "{0029C61B-B63D-4E61-99F2-F4E49AABFC47}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{32D4CF70-A3D6-4CEA-81D7-64C743980276} = {32D4CF70-A3D6-4CEA-81D7-64C743980276}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mact", "mact.vcxproj", "{BCDE1852-E2C6-4ABB-84FB-5CD431764A9A}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libxmp-lite", "libxmp-lite.vcxproj", "{32D4CF70-A3D6-4CEA-81D7-64C743980276}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "glad", "glad.vcxproj", "{6AC1D997-8DAE-4343-8DD8-DA2A1CA63212}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "rednukem", "rednukem.vcxproj", "{44C4B4F0-B489-4612-B9C7-A38503B7FB67}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libsmackerdec", "libsmackerdec.vcxproj", "{598F0D83-2C1B-4F7C-B04D-7FDD471C8C45}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "nblood", "nblood.vcxproj", "{5407CB5A-4B15-41FA-B79B-8B386A14D275}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Win32 = Debug|Win32
|
||||
Debug|x64 = Debug|x64
|
||||
Release|Win32 = Release|Win32
|
||||
Release|x64 = Release|x64
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{8E7A6179-0B72-4073-8A4C-E8682D481DAE}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{8E7A6179-0B72-4073-8A4C-E8682D481DAE}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{8E7A6179-0B72-4073-8A4C-E8682D481DAE}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{8E7A6179-0B72-4073-8A4C-E8682D481DAE}.Debug|x64.Build.0 = Debug|x64
|
||||
{8E7A6179-0B72-4073-8A4C-E8682D481DAE}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{8E7A6179-0B72-4073-8A4C-E8682D481DAE}.Release|Win32.Build.0 = Release|Win32
|
||||
{8E7A6179-0B72-4073-8A4C-E8682D481DAE}.Release|x64.ActiveCfg = Release|x64
|
||||
{8E7A6179-0B72-4073-8A4C-E8682D481DAE}.Release|x64.Build.0 = Release|x64
|
||||
{DBECB851-5624-4FA8-9A9D-7169D0F12FF1}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{DBECB851-5624-4FA8-9A9D-7169D0F12FF1}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{DBECB851-5624-4FA8-9A9D-7169D0F12FF1}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{DBECB851-5624-4FA8-9A9D-7169D0F12FF1}.Debug|x64.Build.0 = Debug|x64
|
||||
{DBECB851-5624-4FA8-9A9D-7169D0F12FF1}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{DBECB851-5624-4FA8-9A9D-7169D0F12FF1}.Release|Win32.Build.0 = Release|Win32
|
||||
{DBECB851-5624-4FA8-9A9D-7169D0F12FF1}.Release|x64.ActiveCfg = Release|x64
|
||||
{DBECB851-5624-4FA8-9A9D-7169D0F12FF1}.Release|x64.Build.0 = Release|x64
|
||||
{A68CC5E4-567A-44C8-94FE-C1DE09AEEB40}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{A68CC5E4-567A-44C8-94FE-C1DE09AEEB40}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{A68CC5E4-567A-44C8-94FE-C1DE09AEEB40}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{A68CC5E4-567A-44C8-94FE-C1DE09AEEB40}.Debug|x64.Build.0 = Debug|x64
|
||||
{A68CC5E4-567A-44C8-94FE-C1DE09AEEB40}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{A68CC5E4-567A-44C8-94FE-C1DE09AEEB40}.Release|Win32.Build.0 = Release|Win32
|
||||
{A68CC5E4-567A-44C8-94FE-C1DE09AEEB40}.Release|x64.ActiveCfg = Release|x64
|
||||
{A68CC5E4-567A-44C8-94FE-C1DE09AEEB40}.Release|x64.Build.0 = Release|x64
|
||||
{0029C61B-B63D-4E61-99F2-F4E49AABFC47}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{0029C61B-B63D-4E61-99F2-F4E49AABFC47}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{0029C61B-B63D-4E61-99F2-F4E49AABFC47}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{0029C61B-B63D-4E61-99F2-F4E49AABFC47}.Debug|x64.Build.0 = Debug|x64
|
||||
{0029C61B-B63D-4E61-99F2-F4E49AABFC47}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{0029C61B-B63D-4E61-99F2-F4E49AABFC47}.Release|Win32.Build.0 = Release|Win32
|
||||
{0029C61B-B63D-4E61-99F2-F4E49AABFC47}.Release|x64.ActiveCfg = Release|x64
|
||||
{0029C61B-B63D-4E61-99F2-F4E49AABFC47}.Release|x64.Build.0 = Release|x64
|
||||
{BCDE1852-E2C6-4ABB-84FB-5CD431764A9A}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{BCDE1852-E2C6-4ABB-84FB-5CD431764A9A}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{BCDE1852-E2C6-4ABB-84FB-5CD431764A9A}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{BCDE1852-E2C6-4ABB-84FB-5CD431764A9A}.Debug|x64.Build.0 = Debug|x64
|
||||
{BCDE1852-E2C6-4ABB-84FB-5CD431764A9A}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{BCDE1852-E2C6-4ABB-84FB-5CD431764A9A}.Release|Win32.Build.0 = Release|Win32
|
||||
{BCDE1852-E2C6-4ABB-84FB-5CD431764A9A}.Release|x64.ActiveCfg = Release|x64
|
||||
{BCDE1852-E2C6-4ABB-84FB-5CD431764A9A}.Release|x64.Build.0 = Release|x64
|
||||
{32D4CF70-A3D6-4CEA-81D7-64C743980276}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{32D4CF70-A3D6-4CEA-81D7-64C743980276}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{32D4CF70-A3D6-4CEA-81D7-64C743980276}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{32D4CF70-A3D6-4CEA-81D7-64C743980276}.Debug|x64.Build.0 = Debug|x64
|
||||
{32D4CF70-A3D6-4CEA-81D7-64C743980276}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{32D4CF70-A3D6-4CEA-81D7-64C743980276}.Release|Win32.Build.0 = Release|Win32
|
||||
{32D4CF70-A3D6-4CEA-81D7-64C743980276}.Release|x64.ActiveCfg = Release|x64
|
||||
{32D4CF70-A3D6-4CEA-81D7-64C743980276}.Release|x64.Build.0 = Release|x64
|
||||
{6AC1D997-8DAE-4343-8DD8-DA2A1CA63212}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{6AC1D997-8DAE-4343-8DD8-DA2A1CA63212}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{6AC1D997-8DAE-4343-8DD8-DA2A1CA63212}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{6AC1D997-8DAE-4343-8DD8-DA2A1CA63212}.Debug|x64.Build.0 = Debug|x64
|
||||
{6AC1D997-8DAE-4343-8DD8-DA2A1CA63212}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{6AC1D997-8DAE-4343-8DD8-DA2A1CA63212}.Release|Win32.Build.0 = Release|Win32
|
||||
{6AC1D997-8DAE-4343-8DD8-DA2A1CA63212}.Release|x64.ActiveCfg = Release|x64
|
||||
{6AC1D997-8DAE-4343-8DD8-DA2A1CA63212}.Release|x64.Build.0 = Release|x64
|
||||
{44C4B4F0-B489-4612-B9C7-A38503B7FB67}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{44C4B4F0-B489-4612-B9C7-A38503B7FB67}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{44C4B4F0-B489-4612-B9C7-A38503B7FB67}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{44C4B4F0-B489-4612-B9C7-A38503B7FB67}.Debug|x64.Build.0 = Debug|x64
|
||||
{44C4B4F0-B489-4612-B9C7-A38503B7FB67}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{44C4B4F0-B489-4612-B9C7-A38503B7FB67}.Release|Win32.Build.0 = Release|Win32
|
||||
{44C4B4F0-B489-4612-B9C7-A38503B7FB67}.Release|x64.ActiveCfg = Release|x64
|
||||
{44C4B4F0-B489-4612-B9C7-A38503B7FB67}.Release|x64.Build.0 = Release|x64
|
||||
{598F0D83-2C1B-4F7C-B04D-7FDD471C8C45}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{598F0D83-2C1B-4F7C-B04D-7FDD471C8C45}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{598F0D83-2C1B-4F7C-B04D-7FDD471C8C45}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{598F0D83-2C1B-4F7C-B04D-7FDD471C8C45}.Debug|x64.Build.0 = Debug|x64
|
||||
{598F0D83-2C1B-4F7C-B04D-7FDD471C8C45}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{598F0D83-2C1B-4F7C-B04D-7FDD471C8C45}.Release|Win32.Build.0 = Release|Win32
|
||||
{598F0D83-2C1B-4F7C-B04D-7FDD471C8C45}.Release|x64.ActiveCfg = Release|x64
|
||||
{598F0D83-2C1B-4F7C-B04D-7FDD471C8C45}.Release|x64.Build.0 = Release|x64
|
||||
{5407CB5A-4B15-41FA-B79B-8B386A14D275}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{5407CB5A-4B15-41FA-B79B-8B386A14D275}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{5407CB5A-4B15-41FA-B79B-8B386A14D275}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{5407CB5A-4B15-41FA-B79B-8B386A14D275}.Debug|x64.Build.0 = Debug|x64
|
||||
{5407CB5A-4B15-41FA-B79B-8B386A14D275}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{5407CB5A-4B15-41FA-B79B-8B386A14D275}.Release|Win32.Build.0 = Release|Win32
|
||||
{5407CB5A-4B15-41FA-B79B-8B386A14D275}.Release|x64.ActiveCfg = Release|x64
|
||||
{5407CB5A-4B15-41FA-B79B-8B386A14D275}.Release|x64.Build.0 = Release|x64
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(NestedProjects) = preSolution
|
||||
{8E7A6179-0B72-4073-8A4C-E8682D481DAE} = {18C3CB5F-1DE6-4CFE-B7F7-ABE824222E1C}
|
||||
{DBECB851-5624-4FA8-9A9D-7169D0F12FF1} = {8BD117A0-7FA2-44B0-88A5-29D6C220601E}
|
||||
{A68CC5E4-567A-44C8-94FE-C1DE09AEEB40} = {8BD117A0-7FA2-44B0-88A5-29D6C220601E}
|
||||
{0029C61B-B63D-4E61-99F2-F4E49AABFC47} = {8BD117A0-7FA2-44B0-88A5-29D6C220601E}
|
||||
{BCDE1852-E2C6-4ABB-84FB-5CD431764A9A} = {8BD117A0-7FA2-44B0-88A5-29D6C220601E}
|
||||
{32D4CF70-A3D6-4CEA-81D7-64C743980276} = {8BD117A0-7FA2-44B0-88A5-29D6C220601E}
|
||||
{6AC1D997-8DAE-4343-8DD8-DA2A1CA63212} = {8BD117A0-7FA2-44B0-88A5-29D6C220601E}
|
||||
{44C4B4F0-B489-4612-B9C7-A38503B7FB67} = {18C3CB5F-1DE6-4CFE-B7F7-ABE824222E1C}
|
||||
{598F0D83-2C1B-4F7C-B04D-7FDD471C8C45} = {8BD117A0-7FA2-44B0-88A5-29D6C220601E}
|
||||
{5407CB5A-4B15-41FA-B79B-8B386A14D275} = {18C3CB5F-1DE6-4CFE-B7F7-ABE824222E1C}
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {0346D2C0-3EB9-4AFB-973F-2904758D6C02}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -1,295 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<VCProjectVersion>15.0</VCProjectVersion>
|
||||
<ProjectGuid>{8E7A6179-0B72-4073-8A4C-E8682D481DAE}</ProjectGuid>
|
||||
<RootNamespace>eduke32</RootNamespace>
|
||||
<Keyword>MakeFileProj</Keyword>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<Import Project="props\build_x64.props" />
|
||||
<Import Project="props\build_common.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<Import Project="props\build_x64.props" />
|
||||
<Import Project="props\build_common.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<Import Project="props\build_x86.props" />
|
||||
<Import Project="props\build_common.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<Import Project="props\build_x86.props" />
|
||||
<Import Project="props\build_common.props" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup>
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<OutDir>$(SolutionDir)..\..\</OutDir>
|
||||
<IntDir>$(Platform)\Build\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
<NMakeIncludeSearchPath>$(NMakeIncludeSearchPath);..\..\source\build\include;..\..\source\mact\include;..\..\source\audiolib\include;..\..\source\enet\include;..\..\platform\windows\include</NMakeIncludeSearchPath>
|
||||
<NMakeBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">nmake /f msvc.mak DEBUG=1 WINBITS=32 RENDERTYPE=SDL</NMakeBuildCommandLine>
|
||||
<NMakeReBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">nmake /f msvc.mak veryclean all DEBUG=1 WINBITS=32 RENDERTYPE=SDL</NMakeReBuildCommandLine>
|
||||
<NMakeCleanCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">nmake /f msvc.mak veryclean DEBUG=1 WINBITS=32 RENDERTYPE=SDL</NMakeCleanCommandLine>
|
||||
<NMakePreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">USE_OPENGL;POLYMER;SDL_USEFOLDER;SDL_TARGET=2</NMakePreprocessorDefinitions>
|
||||
<NMakeBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">nmake /f msvc.mak WINBITS=32 RENDERTYPE=SDL</NMakeBuildCommandLine>
|
||||
<NMakeReBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">nmake /f msvc.mak veryclean all WINBITS=32 RENDERTYPE=SDL</NMakeReBuildCommandLine>
|
||||
<NMakeCleanCommandLine Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">nmake /f msvc.mak veryclean WINBITS=32 RENDERTYPE=SDL</NMakeCleanCommandLine>
|
||||
<NMakePreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">USE_OPENGL;POLYMER;SDL_USEFOLDER;SDL_TARGET=2</NMakePreprocessorDefinitions>
|
||||
<NMakeBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">nmake /f msvc.mak DEBUG=1 WINBITS=64 RENDERTYPE=SDL</NMakeBuildCommandLine>
|
||||
<NMakeReBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">nmake /f msvc.mak veryclean all DEBUG=1 WINBITS=64 RENDERTYPE=SDL</NMakeReBuildCommandLine>
|
||||
<NMakeCleanCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">nmake /f msvc.mak veryclean DEBUG=1 WINBITS=64 RENDERTYPE=SDL</NMakeCleanCommandLine>
|
||||
<NMakePreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">USE_OPENGL;POLYMER;NOASM;SDL_USEFOLDER;SDL_TARGET=2</NMakePreprocessorDefinitions>
|
||||
<NMakeBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Release|x64'">nmake /f msvc.mak WINBITS=64 RENDERTYPE=SDL</NMakeBuildCommandLine>
|
||||
<NMakeReBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Release|x64'">nmake /f msvc.mak veryclean all WINBITS=64 RENDERTYPE=SDL</NMakeReBuildCommandLine>
|
||||
<NMakeCleanCommandLine Condition="'$(Configuration)|$(Platform)'=='Release|x64'">nmake /f msvc.mak veryclean WINBITS=64 RENDERTYPE=SDL</NMakeCleanCommandLine>
|
||||
<NMakePreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">USE_OPENGL;POLYMER;NOASM;SDL_USEFOLDER;SDL_TARGET=2</NMakePreprocessorDefinitions>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
<EmbedManifest>false</EmbedManifest>
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
<EmbedManifest>false</EmbedManifest>
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<EmbedManifest>false</EmbedManifest>
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<EmbedManifest>false</EmbedManifest>
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<Link>
|
||||
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
||||
</Link>
|
||||
<ClCompile>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<SupportJustMyCode>true</SupportJustMyCode>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<ExceptionHandling>SyncCThrow</ExceptionHandling>
|
||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<Link>
|
||||
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
||||
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
|
||||
</Link>
|
||||
<ClCompile>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
||||
<OmitFramePointers>true</OmitFramePointers>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||
<ExceptionHandling>SyncCThrow</ExceptionHandling>
|
||||
<DebugInformationFormat>None</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||
<OmitFramePointers>false</OmitFramePointers>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<SupportJustMyCode>true</SupportJustMyCode>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<ExceptionHandling>SyncCThrow</ExceptionHandling>
|
||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<Link>
|
||||
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
|
||||
</Link>
|
||||
<ClCompile>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
||||
<OmitFramePointers>true</OmitFramePointers>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||
<ExceptionHandling>SyncCThrow</ExceptionHandling>
|
||||
<DebugInformationFormat>None</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\source\duke3d\src\actors.h" />
|
||||
<ClInclude Include="..\..\source\duke3d\src\anim.h" />
|
||||
<ClInclude Include="..\..\source\duke3d\src\cheats.h" />
|
||||
<ClInclude Include="..\..\source\duke3d\src\cmdline.h" />
|
||||
<ClInclude Include="..\..\source\duke3d\src\common_game.h" />
|
||||
<ClInclude Include="..\..\source\duke3d\src\demo.h" />
|
||||
<ClInclude Include="..\..\source\duke3d\src\events_defs.h" />
|
||||
<ClInclude Include="..\..\source\duke3d\src\game.h" />
|
||||
<ClInclude Include="..\..\source\duke3d\src\gameexec.h" />
|
||||
<ClInclude Include="..\..\source\duke3d\src\gamevars.h" />
|
||||
<ClInclude Include="..\..\source\duke3d\src\global.h" />
|
||||
<ClInclude Include="..\..\source\duke3d\src\input.h" />
|
||||
<ClInclude Include="..\..\source\duke3d\src\inv.h" />
|
||||
<ClInclude Include="..\..\source\duke3d\src\menus.h" />
|
||||
<ClInclude Include="..\..\source\duke3d\src\network.h" />
|
||||
<ClInclude Include="..\..\source\duke3d\src\player.h" />
|
||||
<ClInclude Include="..\..\source\duke3d\src\premap.h" />
|
||||
<ClInclude Include="..\..\source\duke3d\src\quotes.h" />
|
||||
<ClInclude Include="..\..\source\duke3d\src\savegame.h" />
|
||||
<ClInclude Include="..\..\source\duke3d\src\sbar.h" />
|
||||
<ClInclude Include="..\..\source\duke3d\src\screens.h" />
|
||||
<ClInclude Include="..\..\source\duke3d\src\screentext.h" />
|
||||
<ClInclude Include="..\..\source\duke3d\src\sector.h" />
|
||||
<ClInclude Include="..\..\source\duke3d\src\_functio.h" />
|
||||
<ClInclude Include="..\..\source\duke3d\src\_rts.h" />
|
||||
<ClInclude Include="..\..\source\duke3d\src\config.h" />
|
||||
<ClInclude Include="..\..\source\duke3d\src\duke3d.h" />
|
||||
<ClInclude Include="..\..\source\duke3d\src\function.h" />
|
||||
<ClInclude Include="..\..\source\duke3d\src\gamedef.h" />
|
||||
<ClInclude Include="..\..\source\duke3d\src\gamedefs.h" />
|
||||
<ClInclude Include="..\..\source\duke3d\src\grpscan.h" />
|
||||
<ClInclude Include="..\..\source\duke3d\src\keys.h" />
|
||||
<ClInclude Include="..\..\source\duke3d\src\macros.h" />
|
||||
<ClInclude Include="..\..\source\duke3d\src\mdump.h" />
|
||||
<ClInclude Include="..\..\source\duke3d\src\names.h" />
|
||||
<ClInclude Include="..\..\source\duke3d\src\namesdyn.h" />
|
||||
<ClInclude Include="..\..\source\duke3d\src\osdcmds.h" />
|
||||
<ClInclude Include="..\..\source\duke3d\src\osdfuncs.h" />
|
||||
<ClInclude Include="..\..\source\duke3d\src\rts.h" />
|
||||
<ClInclude Include="..\..\source\duke3d\src\soundefs.h" />
|
||||
<ClInclude Include="..\..\source\duke3d\src\sounds.h" />
|
||||
<ClInclude Include="..\..\source\duke3d\src\soundsdyn.h" />
|
||||
<ClInclude Include="..\..\source\duke3d\src\startwin.game.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\source\duke3d\rsrc\eduke32_icon.c" />
|
||||
<ClCompile Include="..\..\source\duke3d\src\actors.cpp" />
|
||||
<ClCompile Include="..\..\source\duke3d\src\anim.cpp" />
|
||||
<ClCompile Include="..\..\source\duke3d\src\cheats.cpp" />
|
||||
<ClCompile Include="..\..\source\duke3d\src\cmdline.cpp" />
|
||||
<ClCompile Include="..\..\source\duke3d\src\config.cpp" />
|
||||
<ClCompile Include="..\..\source\duke3d\src\common.cpp" />
|
||||
<ClCompile Include="..\..\source\duke3d\src\demo.cpp" />
|
||||
<ClCompile Include="..\..\source\duke3d\src\game.cpp" />
|
||||
<ClCompile Include="..\..\source\duke3d\src\gamedef.cpp" />
|
||||
<ClCompile Include="..\..\source\duke3d\src\gameexec.cpp" />
|
||||
<ClCompile Include="..\..\source\duke3d\src\gamestructures.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\duke3d\src\gamevars.cpp" />
|
||||
<ClCompile Include="..\..\source\duke3d\src\global.cpp" />
|
||||
<ClCompile Include="..\..\source\duke3d\src\grpscan.cpp" />
|
||||
<ClCompile Include="..\..\source\duke3d\src\input.cpp" />
|
||||
<ClCompile Include="..\..\source\duke3d\src\mdump.cpp" />
|
||||
<ClCompile Include="..\..\source\duke3d\src\menus.cpp" />
|
||||
<ClCompile Include="..\..\source\duke3d\src\namesdyn.cpp" />
|
||||
<ClCompile Include="..\..\source\duke3d\src\network.cpp" />
|
||||
<ClCompile Include="..\..\source\duke3d\src\osdcmds.cpp" />
|
||||
<ClCompile Include="..\..\source\duke3d\src\osdfuncs.cpp" />
|
||||
<ClCompile Include="..\..\source\duke3d\src\player.cpp" />
|
||||
<ClCompile Include="..\..\source\duke3d\src\premap.cpp" />
|
||||
<ClCompile Include="..\..\source\duke3d\src\rts.cpp" />
|
||||
<ClCompile Include="..\..\source\duke3d\src\savegame.cpp" />
|
||||
<ClCompile Include="..\..\source\duke3d\src\sbar.cpp" />
|
||||
<ClCompile Include="..\..\source\duke3d\src\screens.cpp" />
|
||||
<ClCompile Include="..\..\source\duke3d\src\screentext.cpp" />
|
||||
<ClCompile Include="..\..\source\duke3d\src\sector.cpp" />
|
||||
<ClCompile Include="..\..\source\duke3d\src\sounds.cpp" />
|
||||
<ClCompile Include="..\..\source\duke3d\src\soundsdyn.cpp" />
|
||||
<ClCompile Include="..\..\source\duke3d\src\startgtk.game.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\duke3d\src\startwin.game.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="audiolib.vcxproj">
|
||||
<Project>{0029c61b-b63d-4e61-99f2-f4e49aabfc47}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="build.vcxproj">
|
||||
<Project>{dbecb851-5624-4fa8-9a9d-7169d0f12ff1}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="enet.vcxproj">
|
||||
<Project>{a68cc5e4-567a-44c8-94fe-c1de09aeeb40}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="glad.vcxproj">
|
||||
<Project>{6ac1d997-8dae-4343-8dd8-da2a1ca63212}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="libxmp-lite.vcxproj">
|
||||
<Project>{32d4cf70-a3d6-4cea-81d7-64c743980276}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="mact.vcxproj">
|
||||
<Project>{bcde1852-e2c6-4abb-84fb-5cd431764a9a}</Project>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="..\..\source\duke3d\rsrc\gameres.rc">
|
||||
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions);POLYMER=1</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions);POLYMER=1</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions);POLYMER=1</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions);POLYMER=1</PreprocessorDefinitions>
|
||||
</ResourceCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Manifest Include="eduke32.exe.manifest" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
|
@ -1,259 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Source Files">
|
||||
<UniqueIdentifier>{dd93df66-1ed9-4b54-bd54-18abf46d2773}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Header Files">
|
||||
<UniqueIdentifier>{82d4000f-cd8c-4737-88dc-4ada5775a68e}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Resource Files">
|
||||
<UniqueIdentifier>{598e3748-14c8-47c3-9bb6-eea06f762413}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\source\duke3d\src\_functio.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\duke3d\src\_rts.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\duke3d\src\config.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\duke3d\src\duke3d.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\duke3d\src\function.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\duke3d\src\gamedef.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\duke3d\src\gamedefs.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\duke3d\src\grpscan.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\duke3d\src\keys.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\duke3d\src\macros.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\duke3d\src\mdump.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\duke3d\src\names.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\duke3d\src\namesdyn.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\duke3d\src\osdcmds.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\duke3d\src\osdfuncs.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\duke3d\src\rts.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\duke3d\src\soundefs.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\duke3d\src\sounds.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\duke3d\src\soundsdyn.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\duke3d\src\startwin.game.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\duke3d\src\sector.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\duke3d\src\gameexec.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\duke3d\src\actors.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\duke3d\src\player.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\duke3d\src\gamevars.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\duke3d\src\network.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\duke3d\src\global.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\duke3d\src\game.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\duke3d\src\premap.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\duke3d\src\menus.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\duke3d\src\savegame.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\duke3d\src\anim.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\duke3d\src\demo.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\duke3d\src\events_defs.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\duke3d\src\quotes.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\duke3d\src\input.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\duke3d\src\common_game.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\duke3d\src\cheats.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\duke3d\src\sbar.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\duke3d\src\screentext.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\duke3d\src\screens.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\duke3d\src\cmdline.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\duke3d\src\inv.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\source\duke3d\src\actors.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\duke3d\src\anim.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\duke3d\src\config.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\duke3d\src\game.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\duke3d\src\gamedef.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\duke3d\src\gameexec.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\duke3d\src\gamestructures.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\duke3d\src\gamevars.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\duke3d\src\global.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\duke3d\src\grpscan.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\duke3d\src\mdump.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\duke3d\src\menus.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\duke3d\src\namesdyn.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\duke3d\src\osdcmds.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\duke3d\src\osdfuncs.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\duke3d\src\player.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\duke3d\src\premap.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\duke3d\src\rts.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\duke3d\src\savegame.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\duke3d\src\sector.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\duke3d\src\sounds.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\duke3d\src\soundsdyn.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\duke3d\src\startgtk.game.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\duke3d\src\startwin.game.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\duke3d\src\network.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\duke3d\src\demo.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\duke3d\src\input.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\duke3d\src\common.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\duke3d\src\cheats.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\duke3d\src\sbar.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\duke3d\src\screentext.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\duke3d\src\screens.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\duke3d\src\cmdline.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\duke3d\rsrc\eduke32_icon.c">
|
||||
<Filter>Resource Files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="..\..\source\duke3d\rsrc\gameres.rc">
|
||||
<Filter>Resource Files</Filter>
|
||||
</ResourceCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Manifest Include="eduke32.exe.manifest">
|
||||
<Filter>Resource Files</Filter>
|
||||
</Manifest>
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -1,216 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\source\enet\include\enet\callbacks.h" />
|
||||
<ClInclude Include="..\..\source\enet\include\enet\enet.h" />
|
||||
<ClInclude Include="..\..\source\enet\include\enet\list.h" />
|
||||
<ClInclude Include="..\..\source\enet\include\enet\protocol.h" />
|
||||
<ClInclude Include="..\..\source\enet\include\enet\time.h" />
|
||||
<ClInclude Include="..\..\source\enet\include\enet\types.h" />
|
||||
<ClInclude Include="..\..\source\enet\include\enet\unix.h" />
|
||||
<ClInclude Include="..\..\source\enet\include\enet\utility.h" />
|
||||
<ClInclude Include="..\..\source\enet\include\enet\win32.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\source\enet\src\callbacks.c" />
|
||||
<ClCompile Include="..\..\source\enet\src\host.c" />
|
||||
<ClCompile Include="..\..\source\enet\src\list.c" />
|
||||
<ClCompile Include="..\..\source\enet\src\packet.c" />
|
||||
<ClCompile Include="..\..\source\enet\src\peer.c" />
|
||||
<ClCompile Include="..\..\source\enet\src\protocol.c" />
|
||||
<ClCompile Include="..\..\source\enet\src\unix.c" />
|
||||
<ClCompile Include="..\..\source\enet\src\win32.c" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<VCProjectVersion>15.0</VCProjectVersion>
|
||||
<ProjectGuid>{A68CC5E4-567A-44C8-94FE-C1DE09AEEB40}</ProjectGuid>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<RootNamespace>enet</RootNamespace>
|
||||
<ProjectName>enet</ProjectName>
|
||||
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="Shared">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<Import Project="props\build_x64.props" />
|
||||
<Import Project="props\build_common.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<Import Project="props\build_x64.props" />
|
||||
<Import Project="props\build_common.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<Import Project="props\build_x86.props" />
|
||||
<Import Project="props\build_common.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<Import Project="props\build_x86.props" />
|
||||
<Import Project="props\build_common.props" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>$(SolutionDir)Build\$(ProjectName)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>$(Platform)\Build\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>$(SolutionDir)Build\$(ProjectName)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>$(Platform)\Build\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>$(SolutionDir)Build\$(ProjectName)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>$(Platform)\Build\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>$(SolutionDir)Build\$(ProjectName)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>$(Platform)\Build\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<PreprocessorDefinitions>NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
||||
<OmitFramePointers>true</OmitFramePointers>
|
||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||
<ExceptionHandling>SyncCThrow</ExceptionHandling>
|
||||
<DebugInformationFormat>None</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||
<ExceptionHandling>SyncCThrow</ExceptionHandling>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<OmitFramePointers>false</OmitFramePointers>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||
<ExceptionHandling>SyncCThrow</ExceptionHandling>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<PreprocessorDefinitions>NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
||||
<OmitFramePointers>true</OmitFramePointers>
|
||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||
<ExceptionHandling>SyncCThrow</ExceptionHandling>
|
||||
<DebugInformationFormat>None</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
|
@ -1,66 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Header Files">
|
||||
<UniqueIdentifier>{6a96e189-44d8-467a-b0f0-70b764c38007}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Source Files">
|
||||
<UniqueIdentifier>{43db2cb8-444f-415a-ba2d-f82cb5b34919}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\source\enet\include\enet\callbacks.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\enet\include\enet\enet.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\enet\include\enet\list.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\enet\include\enet\protocol.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\enet\include\enet\time.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\enet\include\enet\types.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\enet\include\enet\unix.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\enet\include\enet\utility.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\enet\include\enet\win32.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\source\enet\src\callbacks.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\enet\src\host.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\enet\src\list.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\enet\src\packet.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\enet\src\peer.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\enet\src\protocol.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\enet\src\unix.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\enet\src\win32.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -1,203 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\source\glad\include\glad\glad.h" />
|
||||
<ClInclude Include="..\..\source\glad\include\glad\glad_wgl.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\source\glad\src\glad.c" />
|
||||
<ClCompile Include="..\..\source\glad\src\glad_wgl.c" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<VCProjectVersion>15.0</VCProjectVersion>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<RootNamespace>glad</RootNamespace>
|
||||
<ProjectName>glad</ProjectName>
|
||||
<ProjectGuid>{6AC1D997-8DAE-4343-8DD8-DA2A1CA63212}</ProjectGuid>
|
||||
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="Shared">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<Import Project="props\build_x64.props" />
|
||||
<Import Project="props\build_common.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<Import Project="props\build_x64.props" />
|
||||
<Import Project="props\build_common.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<Import Project="props\build_x86.props" />
|
||||
<Import Project="props\build_common.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<Import Project="props\build_x86.props" />
|
||||
<Import Project="props\build_common.props" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>$(SolutionDir)Build\$(ProjectName)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>$(Platform)\Build\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>$(SolutionDir)Build\$(ProjectName)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>$(Platform)\Build\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>$(SolutionDir)Build\$(ProjectName)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>$(Platform)\Build\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>$(SolutionDir)Build\$(ProjectName)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>$(Platform)\Build\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<PreprocessorDefinitions>NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
||||
<OmitFramePointers>true</OmitFramePointers>
|
||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||
<ExceptionHandling>SyncCThrow</ExceptionHandling>
|
||||
<DebugInformationFormat>None</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||
<ExceptionHandling>SyncCThrow</ExceptionHandling>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<OmitFramePointers>false</OmitFramePointers>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||
<ExceptionHandling>SyncCThrow</ExceptionHandling>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<PreprocessorDefinitions>NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
||||
<OmitFramePointers>true</OmitFramePointers>
|
||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||
<ExceptionHandling>SyncCThrow</ExceptionHandling>
|
||||
<DebugInformationFormat>None</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
|
@ -1,23 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Header Files" />
|
||||
<Filter Include="Source Files" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\source\glad\include\glad\glad.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\glad\include\glad\glad_wgl.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\source\glad\src\glad.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\glad\src\glad_wgl.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
</Project>
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -1,28 +0,0 @@
|
|||
|
||||
// MinGW-w64 headers are deficient.
|
||||
// Here, account for CINTERFACE because they don't.
|
||||
#ifdef REFGUID
|
||||
# undef REFGUID
|
||||
#endif
|
||||
#ifdef REFIID
|
||||
# undef REFIID
|
||||
#endif
|
||||
#ifdef REFCLSID
|
||||
# undef REFCLSID
|
||||
#endif
|
||||
#ifdef REFFMTID
|
||||
# undef REFFMTID
|
||||
#endif
|
||||
|
||||
// copied from MinGW's <basetyps.h>
|
||||
#if defined (__cplusplus) && !defined (CINTERFACE)
|
||||
# define REFGUID const GUID&
|
||||
# define REFIID const IID&
|
||||
# define REFCLSID const CLSID&
|
||||
# define REFFMTID const FMTID&
|
||||
#else
|
||||
# define REFGUID const GUID* const
|
||||
# define REFIID const IID* const
|
||||
# define REFCLSID const CLSID* const
|
||||
# define REFFMTID const FMTID* const
|
||||
#endif
|
|
@ -1,167 +0,0 @@
|
|||
/*
|
||||
** $Id: lauxlib.h,v 1.88.1.1 2007/12/27 13:02:25 roberto Exp $
|
||||
** Auxiliary functions for building Lua libraries
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
|
||||
|
||||
#ifndef lauxlib_h
|
||||
#define lauxlib_h
|
||||
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "lua.h"
|
||||
|
||||
|
||||
#define luaL_getn(L,i) ((int)lua_objlen(L, i))
|
||||
#define luaL_setn(L,i,j) ((void)0) /* no op! */
|
||||
|
||||
/* extra error code for `luaL_load' */
|
||||
#define LUA_ERRFILE (LUA_ERRERR+1)
|
||||
|
||||
typedef struct luaL_Reg {
|
||||
const char *name;
|
||||
lua_CFunction func;
|
||||
} luaL_Reg;
|
||||
|
||||
LUALIB_API void (luaL_openlib) (lua_State *L, const char *libname,
|
||||
const luaL_Reg *l, int nup);
|
||||
LUALIB_API void (luaL_register) (lua_State *L, const char *libname,
|
||||
const luaL_Reg *l);
|
||||
LUALIB_API int (luaL_getmetafield) (lua_State *L, int obj, const char *e);
|
||||
LUALIB_API int (luaL_callmeta) (lua_State *L, int obj, const char *e);
|
||||
LUALIB_API int (luaL_typerror) (lua_State *L, int narg, const char *tname);
|
||||
LUALIB_API int (luaL_argerror) (lua_State *L, int numarg, const char *extramsg);
|
||||
LUALIB_API const char *(luaL_checklstring) (lua_State *L, int numArg,
|
||||
size_t *l);
|
||||
LUALIB_API const char *(luaL_optlstring) (lua_State *L, int numArg,
|
||||
const char *def, size_t *l);
|
||||
LUALIB_API lua_Number (luaL_checknumber) (lua_State *L, int numArg);
|
||||
LUALIB_API lua_Number (luaL_optnumber) (lua_State *L, int nArg, lua_Number def);
|
||||
|
||||
LUALIB_API lua_Integer (luaL_checkinteger) (lua_State *L, int numArg);
|
||||
LUALIB_API lua_Integer (luaL_optinteger) (lua_State *L, int nArg,
|
||||
lua_Integer def);
|
||||
|
||||
LUALIB_API void (luaL_checkstack) (lua_State *L, int sz, const char *msg);
|
||||
LUALIB_API void (luaL_checktype) (lua_State *L, int narg, int t);
|
||||
LUALIB_API void (luaL_checkany) (lua_State *L, int narg);
|
||||
|
||||
LUALIB_API int (luaL_newmetatable) (lua_State *L, const char *tname);
|
||||
LUALIB_API void *(luaL_checkudata) (lua_State *L, int ud, const char *tname);
|
||||
|
||||
LUALIB_API void (luaL_where) (lua_State *L, int lvl);
|
||||
LUALIB_API int (luaL_error) (lua_State *L, const char *fmt, ...);
|
||||
|
||||
LUALIB_API int (luaL_checkoption) (lua_State *L, int narg, const char *def,
|
||||
const char *const lst[]);
|
||||
|
||||
LUALIB_API int (luaL_ref) (lua_State *L, int t);
|
||||
LUALIB_API void (luaL_unref) (lua_State *L, int t, int ref);
|
||||
|
||||
LUALIB_API int (luaL_loadfile) (lua_State *L, const char *filename);
|
||||
LUALIB_API int (luaL_loadbuffer) (lua_State *L, const char *buff, size_t sz,
|
||||
const char *name);
|
||||
LUALIB_API int (luaL_loadstring) (lua_State *L, const char *s);
|
||||
|
||||
LUALIB_API lua_State *(luaL_newstate) (void);
|
||||
|
||||
|
||||
LUALIB_API const char *(luaL_gsub) (lua_State *L, const char *s, const char *p,
|
||||
const char *r);
|
||||
|
||||
LUALIB_API const char *(luaL_findtable) (lua_State *L, int idx,
|
||||
const char *fname, int szhint);
|
||||
|
||||
/* From Lua 5.2. */
|
||||
LUALIB_API int luaL_fileresult(lua_State *L, int stat, const char *fname);
|
||||
LUALIB_API int luaL_execresult(lua_State *L, int stat);
|
||||
LUALIB_API int (luaL_loadfilex) (lua_State *L, const char *filename,
|
||||
const char *mode);
|
||||
LUALIB_API int (luaL_loadbufferx) (lua_State *L, const char *buff, size_t sz,
|
||||
const char *name, const char *mode);
|
||||
LUALIB_API void luaL_traceback (lua_State *L, lua_State *L1, const char *msg,
|
||||
int level);
|
||||
|
||||
|
||||
/*
|
||||
** ===============================================================
|
||||
** some useful macros
|
||||
** ===============================================================
|
||||
*/
|
||||
|
||||
#define luaL_argcheck(L, cond,numarg,extramsg) \
|
||||
((void)((cond) || luaL_argerror(L, (numarg), (extramsg))))
|
||||
#define luaL_checkstring(L,n) (luaL_checklstring(L, (n), NULL))
|
||||
#define luaL_optstring(L,n,d) (luaL_optlstring(L, (n), (d), NULL))
|
||||
#define luaL_checkint(L,n) ((int)luaL_checkinteger(L, (n)))
|
||||
#define luaL_optint(L,n,d) ((int)luaL_optinteger(L, (n), (d)))
|
||||
#define luaL_checklong(L,n) ((long)luaL_checkinteger(L, (n)))
|
||||
#define luaL_optlong(L,n,d) ((long)luaL_optinteger(L, (n), (d)))
|
||||
|
||||
#define luaL_typename(L,i) lua_typename(L, lua_type(L,(i)))
|
||||
|
||||
#define luaL_dofile(L, fn) \
|
||||
(luaL_loadfile(L, fn) || lua_pcall(L, 0, LUA_MULTRET, 0))
|
||||
|
||||
#define luaL_dostring(L, s) \
|
||||
(luaL_loadstring(L, s) || lua_pcall(L, 0, LUA_MULTRET, 0))
|
||||
|
||||
#define luaL_getmetatable(L,n) (lua_getfield(L, LUA_REGISTRYINDEX, (n)))
|
||||
|
||||
#define luaL_opt(L,f,n,d) (lua_isnoneornil(L,(n)) ? (d) : f(L,(n)))
|
||||
|
||||
/*
|
||||
** {======================================================
|
||||
** Generic Buffer manipulation
|
||||
** =======================================================
|
||||
*/
|
||||
|
||||
|
||||
|
||||
typedef struct luaL_Buffer {
|
||||
char *p; /* current position in buffer */
|
||||
int lvl; /* number of strings in the stack (level) */
|
||||
lua_State *L;
|
||||
char buffer[LUAL_BUFFERSIZE];
|
||||
} luaL_Buffer;
|
||||
|
||||
#define luaL_addchar(B,c) \
|
||||
((void)((B)->p < ((B)->buffer+LUAL_BUFFERSIZE) || luaL_prepbuffer(B)), \
|
||||
(*(B)->p++ = (char)(c)))
|
||||
|
||||
/* compatibility only */
|
||||
#define luaL_putchar(B,c) luaL_addchar(B,c)
|
||||
|
||||
#define luaL_addsize(B,n) ((B)->p += (n))
|
||||
|
||||
LUALIB_API void (luaL_buffinit) (lua_State *L, luaL_Buffer *B);
|
||||
LUALIB_API char *(luaL_prepbuffer) (luaL_Buffer *B);
|
||||
LUALIB_API void (luaL_addlstring) (luaL_Buffer *B, const char *s, size_t l);
|
||||
LUALIB_API void (luaL_addstring) (luaL_Buffer *B, const char *s);
|
||||
LUALIB_API void (luaL_addvalue) (luaL_Buffer *B);
|
||||
LUALIB_API void (luaL_pushresult) (luaL_Buffer *B);
|
||||
|
||||
|
||||
/* }====================================================== */
|
||||
|
||||
|
||||
/* compatibility with ref system */
|
||||
|
||||
/* pre-defined references */
|
||||
#define LUA_NOREF (-2)
|
||||
#define LUA_REFNIL (-1)
|
||||
|
||||
#define lua_ref(L,lock) ((lock) ? luaL_ref(L, LUA_REGISTRYINDEX) : \
|
||||
(lua_pushstring(L, "unlocked references are obsolete"), lua_error(L), 0))
|
||||
|
||||
#define lua_unref(L,ref) luaL_unref(L, LUA_REGISTRYINDEX, (ref))
|
||||
|
||||
#define lua_getref(L,ref) lua_rawgeti(L, LUA_REGISTRYINDEX, (ref))
|
||||
|
||||
|
||||
#define luaL_reg luaL_Reg
|
||||
|
||||
#endif
|
|
@ -1,393 +0,0 @@
|
|||
/*
|
||||
** $Id: lua.h,v 1.218.1.5 2008/08/06 13:30:12 roberto Exp $
|
||||
** Lua - An Extensible Extension Language
|
||||
** Lua.org, PUC-Rio, Brazil (http://www.lua.org)
|
||||
** See Copyright Notice at the end of this file
|
||||
*/
|
||||
|
||||
|
||||
#ifndef lua_h
|
||||
#define lua_h
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stddef.h>
|
||||
|
||||
|
||||
#include "luaconf.h"
|
||||
|
||||
|
||||
#define LUA_VERSION "Lua 5.1"
|
||||
#define LUA_RELEASE "Lua 5.1.4"
|
||||
#define LUA_VERSION_NUM 501
|
||||
#define LUA_COPYRIGHT "Copyright (C) 1994-2008 Lua.org, PUC-Rio"
|
||||
#define LUA_AUTHORS "R. Ierusalimschy, L. H. de Figueiredo & W. Celes"
|
||||
|
||||
|
||||
/* mark for precompiled code (`<esc>Lua') */
|
||||
#define LUA_SIGNATURE "\033Lua"
|
||||
|
||||
/* option for multiple returns in `lua_pcall' and `lua_call' */
|
||||
#define LUA_MULTRET (-1)
|
||||
|
||||
|
||||
/*
|
||||
** pseudo-indices
|
||||
*/
|
||||
#define LUA_REGISTRYINDEX (-10000)
|
||||
#define LUA_ENVIRONINDEX (-10001)
|
||||
#define LUA_GLOBALSINDEX (-10002)
|
||||
#define lua_upvalueindex(i) (LUA_GLOBALSINDEX-(i))
|
||||
|
||||
|
||||
/* thread status; 0 is OK */
|
||||
#define LUA_YIELD 1
|
||||
#define LUA_ERRRUN 2
|
||||
#define LUA_ERRSYNTAX 3
|
||||
#define LUA_ERRMEM 4
|
||||
#define LUA_ERRERR 5
|
||||
|
||||
|
||||
typedef struct lua_State lua_State;
|
||||
|
||||
typedef int (*lua_CFunction) (lua_State *L);
|
||||
|
||||
|
||||
/*
|
||||
** functions that read/write blocks when loading/dumping Lua chunks
|
||||
*/
|
||||
typedef const char * (*lua_Reader) (lua_State *L, void *ud, size_t *sz);
|
||||
|
||||
typedef int (*lua_Writer) (lua_State *L, const void* p, size_t sz, void* ud);
|
||||
|
||||
|
||||
/*
|
||||
** prototype for memory-allocation functions
|
||||
*/
|
||||
typedef void * (*lua_Alloc) (void *ud, void *ptr, size_t osize, size_t nsize);
|
||||
|
||||
|
||||
/*
|
||||
** basic types
|
||||
*/
|
||||
#define LUA_TNONE (-1)
|
||||
|
||||
#define LUA_TNIL 0
|
||||
#define LUA_TBOOLEAN 1
|
||||
#define LUA_TLIGHTUSERDATA 2
|
||||
#define LUA_TNUMBER 3
|
||||
#define LUA_TSTRING 4
|
||||
#define LUA_TTABLE 5
|
||||
#define LUA_TFUNCTION 6
|
||||
#define LUA_TUSERDATA 7
|
||||
#define LUA_TTHREAD 8
|
||||
|
||||
|
||||
|
||||
/* minimum Lua stack available to a C function */
|
||||
#define LUA_MINSTACK 20
|
||||
|
||||
|
||||
/*
|
||||
** generic extra include file
|
||||
*/
|
||||
#if defined(LUA_USER_H)
|
||||
#include LUA_USER_H
|
||||
#endif
|
||||
|
||||
|
||||
/* type of numbers in Lua */
|
||||
typedef LUA_NUMBER lua_Number;
|
||||
|
||||
|
||||
/* type for integer functions */
|
||||
typedef LUA_INTEGER lua_Integer;
|
||||
|
||||
|
||||
|
||||
/*
|
||||
** state manipulation
|
||||
*/
|
||||
LUA_API lua_State *(lua_newstate) (lua_Alloc f, void *ud);
|
||||
LUA_API void (lua_close) (lua_State *L);
|
||||
LUA_API lua_State *(lua_newthread) (lua_State *L);
|
||||
|
||||
LUA_API lua_CFunction (lua_atpanic) (lua_State *L, lua_CFunction panicf);
|
||||
|
||||
|
||||
/*
|
||||
** basic stack manipulation
|
||||
*/
|
||||
LUA_API int (lua_gettop) (lua_State *L);
|
||||
LUA_API void (lua_settop) (lua_State *L, int idx);
|
||||
LUA_API void (lua_pushvalue) (lua_State *L, int idx);
|
||||
LUA_API void (lua_remove) (lua_State *L, int idx);
|
||||
LUA_API void (lua_insert) (lua_State *L, int idx);
|
||||
LUA_API void (lua_replace) (lua_State *L, int idx);
|
||||
LUA_API int (lua_checkstack) (lua_State *L, int sz);
|
||||
|
||||
LUA_API void (lua_xmove) (lua_State *from, lua_State *to, int n);
|
||||
|
||||
|
||||
/*
|
||||
** access functions (stack -> C)
|
||||
*/
|
||||
|
||||
LUA_API int (lua_isnumber) (lua_State *L, int idx);
|
||||
LUA_API int (lua_isstring) (lua_State *L, int idx);
|
||||
LUA_API int (lua_iscfunction) (lua_State *L, int idx);
|
||||
LUA_API int (lua_isuserdata) (lua_State *L, int idx);
|
||||
LUA_API int (lua_type) (lua_State *L, int idx);
|
||||
LUA_API const char *(lua_typename) (lua_State *L, int tp);
|
||||
|
||||
LUA_API int (lua_equal) (lua_State *L, int idx1, int idx2);
|
||||
LUA_API int (lua_rawequal) (lua_State *L, int idx1, int idx2);
|
||||
LUA_API int (lua_lessthan) (lua_State *L, int idx1, int idx2);
|
||||
|
||||
LUA_API lua_Number (lua_tonumber) (lua_State *L, int idx);
|
||||
LUA_API lua_Integer (lua_tointeger) (lua_State *L, int idx);
|
||||
LUA_API int (lua_toboolean) (lua_State *L, int idx);
|
||||
LUA_API const char *(lua_tolstring) (lua_State *L, int idx, size_t *len);
|
||||
LUA_API size_t (lua_objlen) (lua_State *L, int idx);
|
||||
LUA_API lua_CFunction (lua_tocfunction) (lua_State *L, int idx);
|
||||
LUA_API void *(lua_touserdata) (lua_State *L, int idx);
|
||||
LUA_API lua_State *(lua_tothread) (lua_State *L, int idx);
|
||||
LUA_API const void *(lua_topointer) (lua_State *L, int idx);
|
||||
|
||||
|
||||
/*
|
||||
** push functions (C -> stack)
|
||||
*/
|
||||
LUA_API void (lua_pushnil) (lua_State *L);
|
||||
LUA_API void (lua_pushnumber) (lua_State *L, lua_Number n);
|
||||
LUA_API void (lua_pushinteger) (lua_State *L, lua_Integer n);
|
||||
LUA_API void (lua_pushlstring) (lua_State *L, const char *s, size_t l);
|
||||
LUA_API void (lua_pushstring) (lua_State *L, const char *s);
|
||||
LUA_API const char *(lua_pushvfstring) (lua_State *L, const char *fmt,
|
||||
va_list argp);
|
||||
LUA_API const char *(lua_pushfstring) (lua_State *L, const char *fmt, ...);
|
||||
LUA_API void (lua_pushcclosure) (lua_State *L, lua_CFunction fn, int n);
|
||||
LUA_API void (lua_pushboolean) (lua_State *L, int b);
|
||||
LUA_API void (lua_pushlightuserdata) (lua_State *L, void *p);
|
||||
LUA_API int (lua_pushthread) (lua_State *L);
|
||||
|
||||
|
||||
/*
|
||||
** get functions (Lua -> stack)
|
||||
*/
|
||||
LUA_API void (lua_gettable) (lua_State *L, int idx);
|
||||
LUA_API void (lua_getfield) (lua_State *L, int idx, const char *k);
|
||||
LUA_API void (lua_rawget) (lua_State *L, int idx);
|
||||
LUA_API void (lua_rawgeti) (lua_State *L, int idx, int n);
|
||||
LUA_API void (lua_createtable) (lua_State *L, int narr, int nrec);
|
||||
LUA_API void *(lua_newuserdata) (lua_State *L, size_t sz);
|
||||
LUA_API int (lua_getmetatable) (lua_State *L, int objindex);
|
||||
LUA_API void (lua_getfenv) (lua_State *L, int idx);
|
||||
|
||||
|
||||
/*
|
||||
** set functions (stack -> Lua)
|
||||
*/
|
||||
LUA_API void (lua_settable) (lua_State *L, int idx);
|
||||
LUA_API void (lua_setfield) (lua_State *L, int idx, const char *k);
|
||||
LUA_API void (lua_rawset) (lua_State *L, int idx);
|
||||
LUA_API void (lua_rawseti) (lua_State *L, int idx, int n);
|
||||
LUA_API int (lua_setmetatable) (lua_State *L, int objindex);
|
||||
LUA_API int (lua_setfenv) (lua_State *L, int idx);
|
||||
|
||||
|
||||
/*
|
||||
** `load' and `call' functions (load and run Lua code)
|
||||
*/
|
||||
LUA_API void (lua_call) (lua_State *L, int nargs, int nresults);
|
||||
LUA_API int (lua_pcall) (lua_State *L, int nargs, int nresults, int errfunc);
|
||||
LUA_API int (lua_cpcall) (lua_State *L, lua_CFunction func, void *ud);
|
||||
LUA_API int (lua_load) (lua_State *L, lua_Reader reader, void *dt,
|
||||
const char *chunkname);
|
||||
|
||||
LUA_API int (lua_dump) (lua_State *L, lua_Writer writer, void *data);
|
||||
|
||||
|
||||
/*
|
||||
** coroutine functions
|
||||
*/
|
||||
LUA_API int (lua_yield) (lua_State *L, int nresults);
|
||||
LUA_API int (lua_resume) (lua_State *L, int narg);
|
||||
LUA_API int (lua_status) (lua_State *L);
|
||||
|
||||
/*
|
||||
** garbage-collection function and options
|
||||
*/
|
||||
|
||||
#define LUA_GCSTOP 0
|
||||
#define LUA_GCRESTART 1
|
||||
#define LUA_GCCOLLECT 2
|
||||
#define LUA_GCCOUNT 3
|
||||
#define LUA_GCCOUNTB 4
|
||||
#define LUA_GCSTEP 5
|
||||
#define LUA_GCSETPAUSE 6
|
||||
#define LUA_GCSETSTEPMUL 7
|
||||
|
||||
LUA_API int (lua_gc) (lua_State *L, int what, int data);
|
||||
|
||||
|
||||
/*
|
||||
** miscellaneous functions
|
||||
*/
|
||||
|
||||
LUA_API int (lua_error) (lua_State *L);
|
||||
|
||||
LUA_API int (lua_next) (lua_State *L, int idx);
|
||||
|
||||
LUA_API void (lua_concat) (lua_State *L, int n);
|
||||
|
||||
LUA_API lua_Alloc (lua_getallocf) (lua_State *L, void **ud);
|
||||
LUA_API void lua_setallocf (lua_State *L, lua_Alloc f, void *ud);
|
||||
|
||||
|
||||
|
||||
/*
|
||||
** ===============================================================
|
||||
** some useful macros
|
||||
** ===============================================================
|
||||
*/
|
||||
|
||||
#define lua_pop(L,n) lua_settop(L, -(n)-1)
|
||||
|
||||
#define lua_newtable(L) lua_createtable(L, 0, 0)
|
||||
|
||||
#define lua_register(L,n,f) (lua_pushcfunction(L, (f)), lua_setglobal(L, (n)))
|
||||
|
||||
#define lua_pushcfunction(L,f) lua_pushcclosure(L, (f), 0)
|
||||
|
||||
#define lua_strlen(L,i) lua_objlen(L, (i))
|
||||
|
||||
#define lua_isfunction(L,n) (lua_type(L, (n)) == LUA_TFUNCTION)
|
||||
#define lua_istable(L,n) (lua_type(L, (n)) == LUA_TTABLE)
|
||||
#define lua_islightuserdata(L,n) (lua_type(L, (n)) == LUA_TLIGHTUSERDATA)
|
||||
#define lua_isnil(L,n) (lua_type(L, (n)) == LUA_TNIL)
|
||||
#define lua_isboolean(L,n) (lua_type(L, (n)) == LUA_TBOOLEAN)
|
||||
#define lua_isthread(L,n) (lua_type(L, (n)) == LUA_TTHREAD)
|
||||
#define lua_isnone(L,n) (lua_type(L, (n)) == LUA_TNONE)
|
||||
#define lua_isnoneornil(L, n) (lua_type(L, (n)) <= 0)
|
||||
|
||||
#define lua_pushliteral(L, s) \
|
||||
lua_pushlstring(L, "" s, (sizeof(s)/sizeof(char))-1)
|
||||
|
||||
#define lua_setglobal(L,s) lua_setfield(L, LUA_GLOBALSINDEX, (s))
|
||||
#define lua_getglobal(L,s) lua_getfield(L, LUA_GLOBALSINDEX, (s))
|
||||
|
||||
#define lua_tostring(L,i) lua_tolstring(L, (i), NULL)
|
||||
|
||||
|
||||
|
||||
/*
|
||||
** compatibility macros and functions
|
||||
*/
|
||||
|
||||
#define lua_open() luaL_newstate()
|
||||
|
||||
#define lua_getregistry(L) lua_pushvalue(L, LUA_REGISTRYINDEX)
|
||||
|
||||
#define lua_getgccount(L) lua_gc(L, LUA_GCCOUNT, 0)
|
||||
|
||||
#define lua_Chunkreader lua_Reader
|
||||
#define lua_Chunkwriter lua_Writer
|
||||
|
||||
|
||||
/* hack */
|
||||
LUA_API void lua_setlevel (lua_State *from, lua_State *to);
|
||||
|
||||
|
||||
/*
|
||||
** {======================================================================
|
||||
** Debug API
|
||||
** =======================================================================
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
** Event codes
|
||||
*/
|
||||
#define LUA_HOOKCALL 0
|
||||
#define LUA_HOOKRET 1
|
||||
#define LUA_HOOKLINE 2
|
||||
#define LUA_HOOKCOUNT 3
|
||||
#define LUA_HOOKTAILRET 4
|
||||
|
||||
|
||||
/*
|
||||
** Event masks
|
||||
*/
|
||||
#define LUA_MASKCALL (1 << LUA_HOOKCALL)
|
||||
#define LUA_MASKRET (1 << LUA_HOOKRET)
|
||||
#define LUA_MASKLINE (1 << LUA_HOOKLINE)
|
||||
#define LUA_MASKCOUNT (1 << LUA_HOOKCOUNT)
|
||||
|
||||
typedef struct lua_Debug lua_Debug; /* activation record */
|
||||
|
||||
|
||||
/* Functions to be called by the debuger in specific events */
|
||||
typedef void (*lua_Hook) (lua_State *L, lua_Debug *ar);
|
||||
|
||||
|
||||
LUA_API int lua_getstack (lua_State *L, int level, lua_Debug *ar);
|
||||
LUA_API int lua_getinfo (lua_State *L, const char *what, lua_Debug *ar);
|
||||
LUA_API const char *lua_getlocal (lua_State *L, const lua_Debug *ar, int n);
|
||||
LUA_API const char *lua_setlocal (lua_State *L, const lua_Debug *ar, int n);
|
||||
LUA_API const char *lua_getupvalue (lua_State *L, int funcindex, int n);
|
||||
LUA_API const char *lua_setupvalue (lua_State *L, int funcindex, int n);
|
||||
LUA_API int lua_sethook (lua_State *L, lua_Hook func, int mask, int count);
|
||||
LUA_API lua_Hook lua_gethook (lua_State *L);
|
||||
LUA_API int lua_gethookmask (lua_State *L);
|
||||
LUA_API int lua_gethookcount (lua_State *L);
|
||||
|
||||
/* From Lua 5.2. */
|
||||
LUA_API void *lua_upvalueid (lua_State *L, int idx, int n);
|
||||
LUA_API void lua_upvaluejoin (lua_State *L, int idx1, int n1, int idx2, int n2);
|
||||
LUA_API int lua_loadx (lua_State *L, lua_Reader reader, void *dt,
|
||||
const char *chunkname, const char *mode);
|
||||
|
||||
|
||||
struct lua_Debug {
|
||||
int event;
|
||||
const char *name; /* (n) */
|
||||
const char *namewhat; /* (n) `global', `local', `field', `method' */
|
||||
const char *what; /* (S) `Lua', `C', `main', `tail' */
|
||||
const char *source; /* (S) */
|
||||
int currentline; /* (l) */
|
||||
int nups; /* (u) number of upvalues */
|
||||
int linedefined; /* (S) */
|
||||
int lastlinedefined; /* (S) */
|
||||
char short_src[LUA_IDSIZE]; /* (S) */
|
||||
/* private part */
|
||||
int i_ci; /* active function */
|
||||
};
|
||||
|
||||
/* }====================================================================== */
|
||||
|
||||
|
||||
/******************************************************************************
|
||||
* Copyright (C) 1994-2008 Lua.org, PUC-Rio. All rights reserved.
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the
|
||||
* "Software"), to deal in the Software without restriction, including
|
||||
* without limitation the rights to use, copy, modify, merge, publish,
|
||||
* distribute, sublicense, and/or sell copies of the Software, and to
|
||||
* permit persons to whom the Software is furnished to do so, subject to
|
||||
* the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be
|
||||
* included in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
******************************************************************************/
|
||||
|
||||
|
||||
#endif
|
|
@ -1,9 +0,0 @@
|
|||
// C++ wrapper for LuaJIT header files.
|
||||
|
||||
extern "C" {
|
||||
#include "lua.h"
|
||||
#include "lauxlib.h"
|
||||
#include "lualib.h"
|
||||
#include "luajit.h"
|
||||
}
|
||||
|
|
@ -1,156 +0,0 @@
|
|||
/*
|
||||
** Configuration header.
|
||||
** Copyright (C) 2005-2016 Mike Pall. See Copyright Notice in luajit.h
|
||||
*/
|
||||
|
||||
#ifndef luaconf_h
|
||||
#define luaconf_h
|
||||
|
||||
#ifndef WINVER
|
||||
#define WINVER 0x0501
|
||||
#endif
|
||||
#include <limits.h>
|
||||
#include <stddef.h>
|
||||
|
||||
/* Default path for loading Lua and C modules with require(). */
|
||||
#if defined(_WIN32)
|
||||
/*
|
||||
** In Windows, any exclamation mark ('!') in the path is replaced by the
|
||||
** path of the directory of the executable file of the current process.
|
||||
*/
|
||||
#define LUA_LDIR "!\\lua\\"
|
||||
#define LUA_CDIR "!\\"
|
||||
#define LUA_PATH_DEFAULT \
|
||||
".\\?.lua;" LUA_LDIR"?.lua;" LUA_LDIR"?\\init.lua;"
|
||||
#define LUA_CPATH_DEFAULT \
|
||||
".\\?.dll;" LUA_CDIR"?.dll;" LUA_CDIR"loadall.dll"
|
||||
#else
|
||||
/*
|
||||
** Note to distribution maintainers: do NOT patch the following lines!
|
||||
** Please read ../doc/install.html#distro and pass PREFIX=/usr instead.
|
||||
*/
|
||||
#ifndef LUA_MULTILIB
|
||||
#define LUA_MULTILIB "lib"
|
||||
#endif
|
||||
#ifndef LUA_LMULTILIB
|
||||
#define LUA_LMULTILIB "lib"
|
||||
#endif
|
||||
#define LUA_LROOT "/usr/local"
|
||||
#define LUA_LUADIR "/lua/5.1/"
|
||||
#define LUA_LJDIR "/luajit-2.0.4/"
|
||||
|
||||
#ifdef LUA_ROOT
|
||||
#define LUA_JROOT LUA_ROOT
|
||||
#define LUA_RLDIR LUA_ROOT "/share" LUA_LUADIR
|
||||
#define LUA_RCDIR LUA_ROOT "/" LUA_MULTILIB LUA_LUADIR
|
||||
#define LUA_RLPATH ";" LUA_RLDIR "?.lua;" LUA_RLDIR "?/init.lua"
|
||||
#define LUA_RCPATH ";" LUA_RCDIR "?.so"
|
||||
#else
|
||||
#define LUA_JROOT LUA_LROOT
|
||||
#define LUA_RLPATH
|
||||
#define LUA_RCPATH
|
||||
#endif
|
||||
|
||||
#define LUA_JPATH ";" LUA_JROOT "/share" LUA_LJDIR "?.lua"
|
||||
#define LUA_LLDIR LUA_LROOT "/share" LUA_LUADIR
|
||||
#define LUA_LCDIR LUA_LROOT "/" LUA_LMULTILIB LUA_LUADIR
|
||||
#define LUA_LLPATH ";" LUA_LLDIR "?.lua;" LUA_LLDIR "?/init.lua"
|
||||
#define LUA_LCPATH1 ";" LUA_LCDIR "?.so"
|
||||
#define LUA_LCPATH2 ";" LUA_LCDIR "loadall.so"
|
||||
|
||||
#define LUA_PATH_DEFAULT "./?.lua" LUA_JPATH LUA_LLPATH LUA_RLPATH
|
||||
#define LUA_CPATH_DEFAULT "./?.so" LUA_LCPATH1 LUA_RCPATH LUA_LCPATH2
|
||||
#endif
|
||||
|
||||
/* Environment variable names for path overrides and initialization code. */
|
||||
#define LUA_PATH "LUA_PATH"
|
||||
#define LUA_CPATH "LUA_CPATH"
|
||||
#define LUA_INIT "LUA_INIT"
|
||||
|
||||
/* Special file system characters. */
|
||||
#if defined(_WIN32)
|
||||
#define LUA_DIRSEP "\\"
|
||||
#else
|
||||
#define LUA_DIRSEP "/"
|
||||
#endif
|
||||
#define LUA_PATHSEP ";"
|
||||
#define LUA_PATH_MARK "?"
|
||||
#define LUA_EXECDIR "!"
|
||||
#define LUA_IGMARK "-"
|
||||
#define LUA_PATH_CONFIG \
|
||||
LUA_DIRSEP "\n" LUA_PATHSEP "\n" LUA_PATH_MARK "\n" \
|
||||
LUA_EXECDIR "\n" LUA_IGMARK
|
||||
|
||||
/* Quoting in error messages. */
|
||||
#define LUA_QL(x) "'" x "'"
|
||||
#define LUA_QS LUA_QL("%s")
|
||||
|
||||
/* Various tunables. */
|
||||
#define LUAI_MAXSTACK 65500 /* Max. # of stack slots for a thread (<64K). */
|
||||
#define LUAI_MAXCSTACK 64000 /*8000*/ /* Max. # of stack slots for a C func (<10K). */
|
||||
#define LUAI_GCPAUSE 200 /* Pause GC until memory is at 200%. */
|
||||
#define LUAI_GCMUL 200 /* Run GC at 200% of allocation speed. */
|
||||
#define LUA_MAXCAPTURES 32 /* Max. pattern captures. */
|
||||
|
||||
/* Compatibility with older library function names. */
|
||||
#define LUA_COMPAT_MOD /* OLD: math.mod, NEW: math.fmod */
|
||||
#define LUA_COMPAT_GFIND /* OLD: string.gfind, NEW: string.gmatch */
|
||||
|
||||
/* Configuration for the frontend (the luajit executable). */
|
||||
#if defined(luajit_c)
|
||||
#define LUA_PROGNAME "luajit" /* Fallback frontend name. */
|
||||
#define LUA_PROMPT "> " /* Interactive prompt. */
|
||||
#define LUA_PROMPT2 ">> " /* Continuation prompt. */
|
||||
#define LUA_MAXINPUT 512 /* Max. input line length. */
|
||||
#endif
|
||||
|
||||
/* Note: changing the following defines breaks the Lua 5.1 ABI. */
|
||||
#define LUA_INTEGER ptrdiff_t
|
||||
#define LUA_IDSIZE 60 /* Size of lua_Debug.short_src. */
|
||||
/*
|
||||
** Size of lauxlib and io.* on-stack buffers. Weird workaround to avoid using
|
||||
** unreasonable amounts of stack space, but still retain ABI compatibility.
|
||||
** Blame Lua for depending on BUFSIZ in the ABI, blame **** for wrecking it.
|
||||
*/
|
||||
#define LUAL_BUFFERSIZE (BUFSIZ > 16384 ? 8192 : BUFSIZ)
|
||||
|
||||
/* The following defines are here only for compatibility with luaconf.h
|
||||
** from the standard Lua distribution. They must not be changed for LuaJIT.
|
||||
*/
|
||||
#define LUA_NUMBER_DOUBLE
|
||||
#define LUA_NUMBER double
|
||||
#define LUAI_UACNUMBER double
|
||||
#define LUA_NUMBER_SCAN "%lf"
|
||||
#define LUA_NUMBER_FMT "%.14g"
|
||||
#define lua_number2str(s, n) sprintf((s), LUA_NUMBER_FMT, (n))
|
||||
#define LUAI_MAXNUMBER2STR 32
|
||||
#define LUA_INTFRMLEN "l"
|
||||
#define LUA_INTFRM_T long
|
||||
|
||||
/* Linkage of public API functions. */
|
||||
#if defined(LUA_BUILD_AS_DLL)
|
||||
#if defined(LUA_CORE) || defined(LUA_LIB)
|
||||
#define LUA_API __declspec(dllexport)
|
||||
#else
|
||||
#define LUA_API __declspec(dllimport)
|
||||
#endif
|
||||
#else
|
||||
#define LUA_API extern
|
||||
#endif
|
||||
|
||||
#define LUALIB_API LUA_API
|
||||
|
||||
/* Support for internal assertions. */
|
||||
#if defined(LUA_USE_ASSERT) || defined(LUA_USE_APICHECK)
|
||||
#include <assert.h>
|
||||
#endif
|
||||
#ifdef LUA_USE_ASSERT
|
||||
#define lua_assert(x) assert(x)
|
||||
#endif
|
||||
#ifdef LUA_USE_APICHECK
|
||||
#define luai_apicheck(L, o) { (void)L; assert(o); }
|
||||
#else
|
||||
#define luai_apicheck(L, o) { (void)L; }
|
||||
#endif
|
||||
|
||||
#endif
|
|
@ -1,70 +0,0 @@
|
|||
/*
|
||||
** LuaJIT -- a Just-In-Time Compiler for Lua. http://luajit.org/
|
||||
**
|
||||
** Copyright (C) 2005-2016 Mike Pall. All rights reserved.
|
||||
**
|
||||
** Permission is hereby granted, free of charge, to any person obtaining
|
||||
** a copy of this software and associated documentation files (the
|
||||
** "Software"), to deal in the Software without restriction, including
|
||||
** without limitation the rights to use, copy, modify, merge, publish,
|
||||
** distribute, sublicense, and/or sell copies of the Software, and to
|
||||
** permit persons to whom the Software is furnished to do so, subject to
|
||||
** the following conditions:
|
||||
**
|
||||
** The above copyright notice and this permission notice shall be
|
||||
** included in all copies or substantial portions of the Software.
|
||||
**
|
||||
** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
** SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
**
|
||||
** [ MIT license: http://www.opensource.org/licenses/mit-license.php ]
|
||||
*/
|
||||
|
||||
#ifndef _LUAJIT_H
|
||||
#define _LUAJIT_H
|
||||
|
||||
#include "lua.h"
|
||||
|
||||
#define LUAJIT_VERSION "LuaJIT 2.0.4"
|
||||
#define LUAJIT_VERSION_NUM 20004 /* Version 2.0.4 = 02.00.04. */
|
||||
#define LUAJIT_VERSION_SYM luaJIT_version_2_0_4
|
||||
#define LUAJIT_COPYRIGHT "Copyright (C) 2005-2016 Mike Pall"
|
||||
#define LUAJIT_URL "http://luajit.org/"
|
||||
|
||||
/* Modes for luaJIT_setmode. */
|
||||
#define LUAJIT_MODE_MASK 0x00ff
|
||||
|
||||
enum {
|
||||
LUAJIT_MODE_ENGINE, /* Set mode for whole JIT engine. */
|
||||
LUAJIT_MODE_DEBUG, /* Set debug mode (idx = level). */
|
||||
|
||||
LUAJIT_MODE_FUNC, /* Change mode for a function. */
|
||||
LUAJIT_MODE_ALLFUNC, /* Recurse into subroutine protos. */
|
||||
LUAJIT_MODE_ALLSUBFUNC, /* Change only the subroutines. */
|
||||
|
||||
LUAJIT_MODE_TRACE, /* Flush a compiled trace. */
|
||||
|
||||
LUAJIT_MODE_WRAPCFUNC = 0x10, /* Set wrapper mode for C function calls. */
|
||||
|
||||
LUAJIT_MODE_MAX
|
||||
};
|
||||
|
||||
/* Flags or'ed in to the mode. */
|
||||
#define LUAJIT_MODE_OFF 0x0000 /* Turn feature off. */
|
||||
#define LUAJIT_MODE_ON 0x0100 /* Turn feature on. */
|
||||
#define LUAJIT_MODE_FLUSH 0x0200 /* Flush JIT-compiled code. */
|
||||
|
||||
/* LuaJIT public C API. */
|
||||
|
||||
/* Control the JIT engine. */
|
||||
LUA_API int luaJIT_setmode(lua_State *L, int idx, int mode);
|
||||
|
||||
/* Enforce (dynamic) linker error for version mismatches. Call from main. */
|
||||
LUA_API void LUAJIT_VERSION_SYM(void);
|
||||
|
||||
#endif
|
|
@ -1,43 +0,0 @@
|
|||
/*
|
||||
** Standard library header.
|
||||
** Copyright (C) 2005-2016 Mike Pall. See Copyright Notice in luajit.h
|
||||
*/
|
||||
|
||||
#ifndef _LUALIB_H
|
||||
#define _LUALIB_H
|
||||
|
||||
#include "lua.h"
|
||||
|
||||
#define LUA_FILEHANDLE "FILE*"
|
||||
|
||||
#define LUA_COLIBNAME "coroutine"
|
||||
#define LUA_MATHLIBNAME "math"
|
||||
#define LUA_STRLIBNAME "string"
|
||||
#define LUA_TABLIBNAME "table"
|
||||
#define LUA_IOLIBNAME "io"
|
||||
#define LUA_OSLIBNAME "os"
|
||||
#define LUA_LOADLIBNAME "package"
|
||||
#define LUA_DBLIBNAME "debug"
|
||||
#define LUA_BITLIBNAME "bit"
|
||||
#define LUA_JITLIBNAME "jit"
|
||||
#define LUA_FFILIBNAME "ffi"
|
||||
|
||||
LUALIB_API int luaopen_base(lua_State *L);
|
||||
LUALIB_API int luaopen_math(lua_State *L);
|
||||
LUALIB_API int luaopen_string(lua_State *L);
|
||||
LUALIB_API int luaopen_table(lua_State *L);
|
||||
LUALIB_API int luaopen_io(lua_State *L);
|
||||
LUALIB_API int luaopen_os(lua_State *L);
|
||||
LUALIB_API int luaopen_package(lua_State *L);
|
||||
LUALIB_API int luaopen_debug(lua_State *L);
|
||||
LUALIB_API int luaopen_bit(lua_State *L);
|
||||
LUALIB_API int luaopen_jit(lua_State *L);
|
||||
LUALIB_API int luaopen_ffi(lua_State *L);
|
||||
|
||||
LUALIB_API void luaL_openlibs(lua_State *L);
|
||||
|
||||
#ifndef lua_assert
|
||||
#define lua_assert(x) ((void)0)
|
||||
#endif
|
||||
|
||||
#endif
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,207 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\source\libsmackerdec\include\BitReader.h" />
|
||||
<ClInclude Include="..\..\source\libsmackerdec\include\FileStream.h" />
|
||||
<ClInclude Include="..\..\source\libsmackerdec\include\HuffmanVLC.h" />
|
||||
<ClInclude Include="..\..\source\libsmackerdec\include\LogError.h" />
|
||||
<ClInclude Include="..\..\source\libsmackerdec\include\SmackerDecoder.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\source\libsmackerdec\src\BitReader.cpp" />
|
||||
<ClCompile Include="..\..\source\libsmackerdec\src\FileStream.cpp" />
|
||||
<ClCompile Include="..\..\source\libsmackerdec\src\HuffmanVLC.cpp" />
|
||||
<ClCompile Include="..\..\source\libsmackerdec\src\LogError.cpp" />
|
||||
<ClCompile Include="..\..\source\libsmackerdec\src\SmackerDecoder.cpp" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<VCProjectVersion>15.0</VCProjectVersion>
|
||||
<ProjectGuid>{598F0D83-2C1B-4F7C-B04D-7FDD471C8C45}</ProjectGuid>
|
||||
<RootNamespace>libsmackerdec</RootNamespace>
|
||||
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="Shared">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<Import Project="props\build_x64.props" />
|
||||
<Import Project="props\build_common.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<Import Project="props\build_x64.props" />
|
||||
<Import Project="props\build_common.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<Import Project="props\build_x86.props" />
|
||||
<Import Project="props\build_common.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<Import Project="props\build_x86.props" />
|
||||
<Import Project="props\build_common.props" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>$(SolutionDir)Build\$(ProjectName)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>$(Platform)\Build\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>$(SolutionDir)Build\$(ProjectName)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>$(Platform)\Build\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>$(SolutionDir)Build\$(ProjectName)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>$(Platform)\Build\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>$(SolutionDir)Build\$(ProjectName)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>$(Platform)\Build\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<PreprocessorDefinitions>NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
||||
<OmitFramePointers>true</OmitFramePointers>
|
||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||
<ExceptionHandling>SyncCThrow</ExceptionHandling>
|
||||
<DebugInformationFormat>None</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||
<ExceptionHandling>SyncCThrow</ExceptionHandling>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<OmitFramePointers>false</OmitFramePointers>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||
<ExceptionHandling>SyncCThrow</ExceptionHandling>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<PreprocessorDefinitions>NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
||||
<OmitFramePointers>true</OmitFramePointers>
|
||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||
<ExceptionHandling>SyncCThrow</ExceptionHandling>
|
||||
<DebugInformationFormat>None</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
|
@ -1,41 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Header Files" />
|
||||
<Filter Include="Source Files" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\source\libsmackerdec\include\BitReader.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\libsmackerdec\include\FileStream.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\libsmackerdec\include\HuffmanVLC.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\libsmackerdec\include\LogError.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\libsmackerdec\include\SmackerDecoder.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\source\libsmackerdec\src\BitReader.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\libsmackerdec\src\FileStream.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\libsmackerdec\src\HuffmanVLC.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\libsmackerdec\src\LogError.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\libsmackerdec\src\SmackerDecoder.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -1,245 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\source\libxmp-lite\include\libxmp-lite\xmp.h" />
|
||||
<ClInclude Include="..\..\source\libxmp-lite\src\common.h" />
|
||||
<ClInclude Include="..\..\source\libxmp-lite\src\effects.h" />
|
||||
<ClInclude Include="..\..\source\libxmp-lite\src\format.h" />
|
||||
<ClInclude Include="..\..\source\libxmp-lite\src\hio.h" />
|
||||
<ClInclude Include="..\..\source\libxmp-lite\src\it.h" />
|
||||
<ClInclude Include="..\..\source\libxmp-lite\src\lfo.h" />
|
||||
<ClInclude Include="..\..\source\libxmp-lite\src\list.h" />
|
||||
<ClInclude Include="..\..\source\libxmp-lite\src\loader.h" />
|
||||
<ClInclude Include="..\..\source\libxmp-lite\src\mdataio.h" />
|
||||
<ClInclude Include="..\..\source\libxmp-lite\src\memio.h" />
|
||||
<ClInclude Include="..\..\source\libxmp-lite\src\mixer.h" />
|
||||
<ClInclude Include="..\..\source\libxmp-lite\src\mod.h" />
|
||||
<ClInclude Include="..\..\source\libxmp-lite\src\period.h" />
|
||||
<ClInclude Include="..\..\source\libxmp-lite\src\player.h" />
|
||||
<ClInclude Include="..\..\source\libxmp-lite\src\precomp_lut.h" />
|
||||
<ClInclude Include="..\..\source\libxmp-lite\src\s3m.h" />
|
||||
<ClInclude Include="..\..\source\libxmp-lite\src\tempfile.h" />
|
||||
<ClInclude Include="..\..\source\libxmp-lite\src\virtual.h" />
|
||||
<ClInclude Include="..\..\source\libxmp-lite\src\xm.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\common.c" />
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\control.c" />
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\dataio.c" />
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\effects.c" />
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\filter.c" />
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\format.c" />
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\hio.c" />
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\itsex.c" />
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\it_load.c" />
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\lfo.c" />
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\load.c" />
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\load_helpers.c" />
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\memio.c" />
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\mixer.c" />
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\mix_all.c" />
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\mod_load.c" />
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\mtm_load.c" />
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\period.c" />
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\player.c" />
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\read_event.c" />
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\s3m_load.c" />
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\sample.c" />
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\scan.c" />
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\smix.c" />
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\virtual.c" />
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\win32.c" />
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\xm_load.c" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<VCProjectVersion>15.0</VCProjectVersion>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<RootNamespace>libxmp-lite</RootNamespace>
|
||||
<ProjectGuid>{32D4CF70-A3D6-4CEA-81D7-64C743980276}</ProjectGuid>
|
||||
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="Shared">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<Import Project="props\build_x64.props" />
|
||||
<Import Project="props\build_common.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<Import Project="props\build_x64.props" />
|
||||
<Import Project="props\build_common.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<Import Project="props\build_x86.props" />
|
||||
<Import Project="props\build_common.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<Import Project="props\build_x86.props" />
|
||||
<Import Project="props\build_common.props" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>$(SolutionDir)Build\$(ProjectName)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>$(Platform)\Build\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>$(SolutionDir)Build\$(ProjectName)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>$(Platform)\Build\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>$(SolutionDir)Build\$(ProjectName)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>$(Platform)\Build\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>$(SolutionDir)Build\$(ProjectName)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>$(Platform)\Build\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>HAVE_ROUND;LIBXMP_CORE_PLAYER;LIBXMP_CORE_DISABLE_IT;BUILDING_STATIC;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<OmitFramePointers>false</OmitFramePointers>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||
<ExceptionHandling>SyncCThrow</ExceptionHandling>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>HAVE_ROUND;LIBXMP_CORE_PLAYER;LIBXMP_CORE_DISABLE_IT;BUILDING_STATIC;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||
<ExceptionHandling>SyncCThrow</ExceptionHandling>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<PreprocessorDefinitions>HAVE_ROUND;LIBXMP_CORE_PLAYER;LIBXMP_CORE_DISABLE_IT;BUILDING_STATIC;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
||||
<OmitFramePointers>true</OmitFramePointers>
|
||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||
<ExceptionHandling>SyncCThrow</ExceptionHandling>
|
||||
<DebugInformationFormat>None</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<PreprocessorDefinitions>HAVE_ROUND;LIBXMP_CORE_PLAYER;LIBXMP_CORE_DISABLE_IT;BUILDING_STATIC;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
||||
<OmitFramePointers>true</OmitFramePointers>
|
||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||
<ExceptionHandling>SyncCThrow</ExceptionHandling>
|
||||
<DebugInformationFormat>None</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
|
@ -1,154 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Header Files">
|
||||
<UniqueIdentifier>{a0c30405-40d5-46d9-b5af-66de9540afc0}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Source Files">
|
||||
<UniqueIdentifier>{588e1398-59f8-4832-adcc-d0e131606a7c}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\source\libxmp-lite\include\libxmp-lite\xmp.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\libxmp-lite\src\common.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\libxmp-lite\src\effects.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\libxmp-lite\src\hio.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\libxmp-lite\src\it.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\libxmp-lite\src\lfo.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\libxmp-lite\src\list.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\libxmp-lite\src\loader.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\libxmp-lite\src\mdataio.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\libxmp-lite\src\memio.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\libxmp-lite\src\mixer.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\libxmp-lite\src\mod.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\libxmp-lite\src\period.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\libxmp-lite\src\player.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\libxmp-lite\src\precomp_lut.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\libxmp-lite\src\s3m.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\libxmp-lite\src\tempfile.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\libxmp-lite\src\virtual.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\libxmp-lite\src\xm.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\libxmp-lite\src\format.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\common.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\control.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\dataio.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\effects.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\filter.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\format.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\hio.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\it_load.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\itsex.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\lfo.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\load.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\load_helpers.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\memio.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\mix_all.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\mixer.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\mod_load.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\mtm_load.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\period.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\player.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\read_event.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\s3m_load.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\sample.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\scan.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\smix.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\virtual.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\xm_load.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\libxmp-lite\src\win32.c" />
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -1,211 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\source\mact\src\animlib.cpp" />
|
||||
<ClCompile Include="..\..\source\mact\src\control.cpp" />
|
||||
<ClCompile Include="..\..\source\mact\src\joystick.cpp" />
|
||||
<ClCompile Include="..\..\source\mact\src\keyboard.cpp" />
|
||||
<ClCompile Include="..\..\source\mact\src\scriplib.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\source\mact\include\animlib.h" />
|
||||
<ClInclude Include="..\..\source\mact\include\control.h" />
|
||||
<ClInclude Include="..\..\source\mact\include\joystick.h" />
|
||||
<ClInclude Include="..\..\source\mact\include\keyboard.h" />
|
||||
<ClInclude Include="..\..\source\mact\include\mouse.h" />
|
||||
<ClInclude Include="..\..\source\mact\include\scriplib.h" />
|
||||
<ClInclude Include="..\..\source\mact\include\_control.h" />
|
||||
<ClInclude Include="..\..\source\mact\src\_scrplib.h" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<VCProjectVersion>15.0</VCProjectVersion>
|
||||
<ProjectGuid>{BCDE1852-E2C6-4ABB-84FB-5CD431764A9A}</ProjectGuid>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<RootNamespace>mact</RootNamespace>
|
||||
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="Shared">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<Import Project="props\build_x64.props" />
|
||||
<Import Project="props\build_common.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<Import Project="props\build_x64.props" />
|
||||
<Import Project="props\build_common.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<Import Project="props\build_x86.props" />
|
||||
<Import Project="props\build_common.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<Import Project="props\build_x86.props" />
|
||||
<Import Project="props\build_common.props" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>$(SolutionDir)Build\$(ProjectName)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>$(Platform)\Build\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>$(SolutionDir)Build\$(ProjectName)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>$(Platform)\Build\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>$(SolutionDir)Build\$(ProjectName)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>$(Platform)\Build\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>$(SolutionDir)Build\$(ProjectName)\$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir>$(Platform)\Build\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<OmitFramePointers>false</OmitFramePointers>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||
<ExceptionHandling>SyncCThrow</ExceptionHandling>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||
<ExceptionHandling>SyncCThrow</ExceptionHandling>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<PreprocessorDefinitions>NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
||||
<OmitFramePointers>true</OmitFramePointers>
|
||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||
<ExceptionHandling>SyncCThrow</ExceptionHandling>
|
||||
<DebugInformationFormat>None</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<PreprocessorDefinitions>NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
||||
<OmitFramePointers>true</OmitFramePointers>
|
||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||
<ExceptionHandling>SyncCThrow</ExceptionHandling>
|
||||
<DebugInformationFormat>None</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
|
@ -1,56 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Source Files">
|
||||
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
||||
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Header Files">
|
||||
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
||||
<Extensions>h;hh;hpp;hxx;hm;inl;inc;ipp;xsd</Extensions>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\source\mact\src\animlib.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\mact\src\control.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\mact\src\joystick.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\mact\src\keyboard.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\mact\src\scriplib.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\source\mact\src\_scrplib.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\mact\include\_control.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\mact\include\animlib.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\mact\include\control.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\mact\include\joystick.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\mact\include\keyboard.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\mact\include\mouse.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\mact\include\scriplib.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -1,255 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<VCProjectVersion>15.0</VCProjectVersion>
|
||||
<ProjectGuid>{EC8A030F-08E9-45F6-896B-95BEC9E9FC61}</ProjectGuid>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<RootNamespace>mapster32</RootNamespace>
|
||||
<ProjectName>mapster32</ProjectName>
|
||||
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="Shared">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<Import Project="props\build_x64.props" />
|
||||
<Import Project="props\build_common.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<Import Project="props\build_x64.props" />
|
||||
<Import Project="props\build_common.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<Import Project="props\build_x86.props" />
|
||||
<Import Project="props\build_common.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<Import Project="props\build_x86.props" />
|
||||
<Import Project="props\build_common.props" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>$(SolutionDir)..\..\</OutDir>
|
||||
<IntDir>$(Platform)\Build\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
<EmbedManifest>false</EmbedManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>$(SolutionDir)..\..\</OutDir>
|
||||
<IntDir>$(Platform)\Build\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
<EmbedManifest>false</EmbedManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
<OutDir>$(SolutionDir)..\..\</OutDir>
|
||||
<IntDir>$(Platform)\Build\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
<EmbedManifest>false</EmbedManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>$(SolutionDir)..\..\</OutDir>
|
||||
<IntDir>$(Platform)\Build\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
<EmbedManifest>false</EmbedManifest>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<PreprocessorDefinitions>NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
||||
<OmitFramePointers>true</OmitFramePointers>
|
||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||
<ExceptionHandling>SyncCThrow</ExceptionHandling>
|
||||
<DebugInformationFormat>None</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||
<ExceptionHandling>SyncCThrow</ExceptionHandling>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<OmitFramePointers>false</OmitFramePointers>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||
<ExceptionHandling>SyncCThrow</ExceptionHandling>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<PreprocessorDefinitions>NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<UndefinePreprocessorDefinitions>NOASM</UndefinePreprocessorDefinitions>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
||||
<OmitFramePointers>true</OmitFramePointers>
|
||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||
<ExceptionHandling>SyncCThrow</ExceptionHandling>
|
||||
<DebugInformationFormat>None</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
||||
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\source\build\src\build.cpp" />
|
||||
<ClCompile Include="..\..\source\build\src\config.cpp" />
|
||||
<ClCompile Include="..\..\source\build\src\startgtk.editor.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\startwin.editor.cpp" />
|
||||
<ClCompile Include="..\..\source\duke3d\rsrc\build_icon.c" />
|
||||
<ClCompile Include="..\..\source\duke3d\src\astub.cpp" />
|
||||
<ClCompile Include="..\..\source\duke3d\src\common.cpp" />
|
||||
<ClCompile Include="..\..\source\duke3d\src\grpscan.cpp" />
|
||||
<ClCompile Include="..\..\source\duke3d\src\m32common.cpp" />
|
||||
<ClCompile Include="..\..\source\duke3d\src\m32def.cpp" />
|
||||
<ClCompile Include="..\..\source\duke3d\src\m32exec.cpp" />
|
||||
<ClCompile Include="..\..\source\duke3d\src\m32structures.cpp" />
|
||||
<ClCompile Include="..\..\source\duke3d\src\m32vars.cpp" />
|
||||
<ClCompile Include="..\..\source\duke3d\src\sounds_mapster32.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\source\build\include\m32script.h" />
|
||||
<ClInclude Include="..\..\source\build\include\startwin.editor.h" />
|
||||
<ClInclude Include="..\..\source\duke3d\src\m32def.h" />
|
||||
<ClInclude Include="..\..\source\duke3d\src\mapster32.h" />
|
||||
<ClInclude Include="..\..\source\duke3d\src\sounds_mapster32.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="audiolib.vcxproj">
|
||||
<Project>{0029c61b-b63d-4e61-99f2-f4e49aabfc47}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="build.vcxproj">
|
||||
<Project>{dbecb851-5624-4fa8-9a9d-7169d0f12ff1}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="glad.vcxproj">
|
||||
<Project>{6ac1d997-8dae-4343-8dd8-da2a1ca63212}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="libxmp-lite.vcxproj">
|
||||
<Project>{32d4cf70-a3d6-4cea-81d7-64c743980276}</Project>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="..\..\source\duke3d\rsrc\buildres.rc">
|
||||
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
</AdditionalIncludeDirectories>
|
||||
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
</AdditionalIncludeDirectories>
|
||||
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
</AdditionalIncludeDirectories>
|
||||
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
</AdditionalIncludeDirectories>
|
||||
</ResourceCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Manifest Include="mapster32.exe.manifest" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
|
@ -1,94 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Source Files">
|
||||
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
||||
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Header Files">
|
||||
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
||||
<Extensions>h;hh;hpp;hxx;hm;inl;inc;ipp;xsd</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Resource Files">
|
||||
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
|
||||
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Source Files\duke3d_editor">
|
||||
<UniqueIdentifier>{ee09cb31-7362-4130-8d18-bbd79d8b6beb}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Header Files\editor">
|
||||
<UniqueIdentifier>{0a73384a-1c85-408e-b551-41eee33e3db6}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\source\build\src\startwin.editor.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\startgtk.editor.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\build.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\duke3d\src\astub.cpp">
|
||||
<Filter>Source Files\duke3d_editor</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\duke3d\src\m32common.cpp">
|
||||
<Filter>Source Files\duke3d_editor</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\duke3d\src\m32def.cpp">
|
||||
<Filter>Source Files\duke3d_editor</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\duke3d\src\m32exec.cpp">
|
||||
<Filter>Source Files\duke3d_editor</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\duke3d\src\m32structures.cpp">
|
||||
<Filter>Source Files\duke3d_editor</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\duke3d\src\m32vars.cpp">
|
||||
<Filter>Source Files\duke3d_editor</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\duke3d\src\sounds_mapster32.cpp">
|
||||
<Filter>Source Files\duke3d_editor</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\duke3d\src\grpscan.cpp">
|
||||
<Filter>Source Files\duke3d_editor</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\duke3d\src\common.cpp">
|
||||
<Filter>Source Files\duke3d_editor</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\build\src\config.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\duke3d\rsrc\build_icon.c">
|
||||
<Filter>Resource Files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\source\build\include\startwin.editor.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\build\include\m32script.h">
|
||||
<Filter>Header Files\editor</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\duke3d\src\m32def.h">
|
||||
<Filter>Header Files\editor</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\duke3d\src\mapster32.h">
|
||||
<Filter>Header Files\editor</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\duke3d\src\sounds_mapster32.h">
|
||||
<Filter>Header Files\editor</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="..\..\source\duke3d\rsrc\buildres.rc">
|
||||
<Filter>Resource Files</Filter>
|
||||
</ResourceCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Manifest Include="mapster32.exe.manifest">
|
||||
<Filter>Resource Files</Filter>
|
||||
</Manifest>
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -1,415 +0,0 @@
|
|||
# EDuke32 Makefile for Microsoft NMake
|
||||
|
||||
root=..\..\
|
||||
|
||||
obj=$(root)\obj
|
||||
source=$(root)\source
|
||||
|
||||
ENGINE=build
|
||||
ENGINE_ROOT=$(source)\$(ENGINE)
|
||||
ENGINE_SRC=$(ENGINE_ROOT)\src
|
||||
ENGINE_INC=$(ENGINE_ROOT)\include
|
||||
ENGINE_OBJ=$(obj)\$(ENGINE)
|
||||
|
||||
DUKE3D=duke3d
|
||||
DUKE3D_ROOT=$(source)\$(DUKE3D)
|
||||
DUKE3D_SRC=$(DUKE3D_ROOT)\src
|
||||
DUKE3D_OBJ=$(obj)\$(DUKE3D)
|
||||
DUKE3D_RSRC=$(DUKE3D_ROOT)\rsrc
|
||||
|
||||
MACT=mact
|
||||
MACT_ROOT=$(source)\$(MACT)
|
||||
MACT_SRC=$(MACT_ROOT)\src
|
||||
MACT_INC=$(MACT_ROOT)\include
|
||||
MACT_OBJ=$(obj)\$(MACT)
|
||||
|
||||
AUDIOLIB=audiolib
|
||||
AUDIOLIB_ROOT=$(source)\$(AUDIOLIB)
|
||||
AUDIOLIB_OBJ=$(obj)\$(AUDIOLIB)
|
||||
AUDIOLIB_INC=$(AUDIOLIB_ROOT)\include
|
||||
AUDIOLIB_SRC=$(AUDIOLIB_ROOT)\src
|
||||
|
||||
ENET=enet
|
||||
ENET_ROOT=$(source)\$(ENET)
|
||||
ENET_OBJ=$(obj)\$(ENET)
|
||||
ENET_INC=$(ENET_ROOT)\include
|
||||
ENET_SRC=$(ENET_ROOT)\src
|
||||
|
||||
GLAD=glad
|
||||
GLAD_ROOT=$(source)\$(GLAD)
|
||||
GLAD_OBJ=$(obj)\$(GLAD)
|
||||
GLAD_INC=$(GLAD_ROOT)\include
|
||||
GLAD_SRC=$(GLAD_ROOT)\src
|
||||
|
||||
LIBXMPLITE=libxmp-lite
|
||||
LIBXMPLITE_ROOT=$(source)\$(LIBXMPLITE)
|
||||
LIBXMPLITE_OBJ=$(obj)\$(LIBXMPLITE)
|
||||
LIBXMPLITE_INC=$(LIBXMPLITE_ROOT)\include
|
||||
LIBXMPLITE_SRC=$(LIBXMPLITE_ROOT)\src
|
||||
|
||||
o=obj
|
||||
res=res
|
||||
asm=masm
|
||||
|
||||
|
||||
|
||||
|
||||
CPLUSPLUS=1
|
||||
|
||||
!ifndef WINBITS
|
||||
WINBITS=32
|
||||
!endif
|
||||
|
||||
WINLIB=\$(WINBITS)
|
||||
|
||||
!if ($(WINBITS)==32)
|
||||
WINMACHINE=/MACHINE:X86
|
||||
!elseif ($(WINBITS)==64)
|
||||
WINMACHINE=/MACHINE:X64
|
||||
!endif
|
||||
|
||||
# the WDK allows us to link against msvcrt.dll instead of msvcrxxx.dll
|
||||
# WDKROOT="H:\WinDDK\7600.16385.1"
|
||||
PLATFORM=$(root)\platform\Windows
|
||||
|
||||
!ifndef RENDERTYPE
|
||||
RENDERTYPE=WIN
|
||||
!endif
|
||||
!ifndef MIXERTYPE
|
||||
MIXERTYPE=WIN
|
||||
!endif
|
||||
|
||||
!ifdef DEBUG
|
||||
# debugging options
|
||||
flags_cl=/Od /Zi # /analyze
|
||||
flags_link=/DEBUG
|
||||
!else
|
||||
# release options
|
||||
flags_cl=/O2 /GL /MP # /I$(WDKROOT)\inc\crt /I$(WDKROOT)\inc\api
|
||||
!if ($(WINBITS)!=64)
|
||||
flags_cl=$(flags_cl) /arch:SSE
|
||||
!endif
|
||||
flags_link=/RELEASE /LTCG # /LIBPATH:$(WDKROOT)\lib\wxp\i386 /LIBPATH:$(WDKROOT)\lib\Crt\i386
|
||||
!endif
|
||||
|
||||
ENGINEOPTS=/DUSE_OPENGL /DPOLYMER /DSTARTUP_WINDOW /DUSE_LIBVPX /DHAVE_VORBIS /DHAVE_XMP
|
||||
|
||||
!ifdef CPLUSPLUS
|
||||
ENGINEOPTS=$(ENGINEOPTS) /TP
|
||||
!endif
|
||||
|
||||
!if ($(WINBITS)==64)
|
||||
NOASM=1
|
||||
!endif
|
||||
|
||||
CC=cl
|
||||
AS=ml
|
||||
LINK=link /nologo /opt:ref
|
||||
MT=mt
|
||||
CFLAGS= /MT /J /nologo /std:c++latest $(flags_cl) \
|
||||
/I$(DUKE3D_SRC) /I$(ENGINE_INC)\msvc /I$(ENGINE_INC) /I$(MACT_INC) /I$(AUDIOLIB_INC) /I$(ENET_INC) /I$(GLAD_INC) /I$(LIBXMPLITE_INC) \
|
||||
/W2 $(ENGINEOPTS) \
|
||||
/I$(PLATFORM)\include /DRENDERTYPE$(RENDERTYPE)=1 /DMIXERTYPE$(MIXERTYPE)=1 /DSDL_USEFOLDER /DSDL_TARGET=2
|
||||
|
||||
ENET_CFLAGS=/I$(ENET_INC) /I$(ENET_SRC)
|
||||
LIBXMPLITE_CFLAGS=/I$(LIBXMPLITE_INC) /I$(LIBXMPLITE_INC)/libxmp-lite /I$(LIBXMPLITE_SRC) -DHAVE_ROUND -DLIBXMP_CORE_PLAYER -DBUILDING_STATIC
|
||||
AUDIOLIB_CFLAGS=/I$(AUDIOLIB_INC) /I$(AUDIOLIB_SRC)
|
||||
|
||||
LIBS=user32.lib gdi32.lib shell32.lib winmm.lib ws2_32.lib comctl32.lib shlwapi.lib oleaut32.lib ole32.lib imm32.lib SetupAPI.Lib version.lib \
|
||||
libogg.a libvorbis.a libvorbisfile.a libxmp-lite.a libvpx.a dxguid.lib dsound.lib advapi32.lib libcompat-to-msvc.a
|
||||
|
||||
!if ("$(RENDERTYPE)"=="SDL")
|
||||
LIBS=libSDL2main.a libSDL2.a $(LIBS)
|
||||
!endif
|
||||
|
||||
LIBS=/NODEFAULTLIB:glu32.lib /NODEFAULTLIB:msvcrt.lib /NODEFAULTLIB:msvcrtd.lib /NODEFAULTLIB:libcmt.lib \
|
||||
/NODEFAULTLIB:libcmtd.lib $(LIBS)
|
||||
|
||||
# NOASM When defined, uses C instead of assembly code
|
||||
!ifdef NOASM
|
||||
CFLAGS=$(CFLAGS) /DNOASM
|
||||
!endif
|
||||
|
||||
ASFLAGS=/nologo /coff /c
|
||||
EXESUFFIX=.exe
|
||||
!ifdef DEBUG
|
||||
CFLAGS=$(CFLAGS) /DDEBUGGINGAIDS /D "_CRT_SECURE_NO_DEPRECATE"
|
||||
LIBS=$(LIBS) msvcrtd.lib
|
||||
!else
|
||||
# comment msvcrt_winxp.obj if not using the WDK
|
||||
LIBS=$(LIBS) msvcrt.lib # msvcrt_winxp.obj
|
||||
!endif
|
||||
|
||||
ENGINE_OBJS= \
|
||||
!ifdef NOASM
|
||||
$(ENGINE_OBJ)\a-c.$o \
|
||||
!else
|
||||
$(ENGINE_OBJ)\a.$o \
|
||||
!endif
|
||||
$(ENGINE_OBJ)\animvpx.$o \
|
||||
$(ENGINE_OBJ)\baselayer.$o \
|
||||
$(ENGINE_OBJ)\cache1d.$o \
|
||||
$(ENGINE_OBJ)\klzw.$o \
|
||||
$(ENGINE_OBJ)\common.$o \
|
||||
$(ENGINE_OBJ)\compat.$o \
|
||||
$(ENGINE_OBJ)\crc32.$o \
|
||||
$(ENGINE_OBJ)\defs.$o \
|
||||
$(ENGINE_OBJ)\colmatch.$o \
|
||||
$(ENGINE_OBJ)\engine.$o \
|
||||
$(ENGINE_OBJ)\clip.$o \
|
||||
$(ENGINE_OBJ)\2d.$o \
|
||||
$(ENGINE_OBJ)\tiles.$o \
|
||||
$(ENGINE_OBJ)\hash.$o \
|
||||
$(ENGINE_OBJ)\palette.$o \
|
||||
$(ENGINE_OBJ)\glbuild.$o \
|
||||
$(ENGINE_OBJ)\glsurface.$o \
|
||||
$(ENGINE_OBJ)\texcache.$o \
|
||||
$(ENGINE_OBJ)\kplib.$o \
|
||||
$(ENGINE_OBJ)\hightile.$o \
|
||||
$(ENGINE_OBJ)\polymost.$o \
|
||||
$(ENGINE_OBJ)\polymer.$o \
|
||||
$(ENGINE_OBJ)\mdsprite.$o \
|
||||
$(ENGINE_OBJ)\voxmodel.$o \
|
||||
$(ENGINE_OBJ)\tilepacker.$o \
|
||||
$(ENGINE_OBJ)\dxtfilter.$o \
|
||||
$(ENGINE_OBJ)\textfont.$o \
|
||||
$(ENGINE_OBJ)\smalltextfont.$o \
|
||||
$(ENGINE_OBJ)\lz4.$o \
|
||||
$(ENGINE_OBJ)\md4.$o \
|
||||
$(ENGINE_OBJ)\mmulti_null.$o \
|
||||
$(ENGINE_OBJ)\osd.$o \
|
||||
$(ENGINE_OBJ)\pragmas.$o \
|
||||
$(ENGINE_OBJ)\rev.$o \
|
||||
$(ENGINE_OBJ)\scriptfile.$o \
|
||||
$(ENGINE_OBJ)\mutex.$o \
|
||||
$(ENGINE_OBJ)\winbits.$o \
|
||||
$(ENGINE_OBJ)\xxhash.$o \
|
||||
$(ENGINE_OBJ)\screenshot.$o \
|
||||
$(ENGINE_OBJ)\softsurface.$o \
|
||||
$(ENGINE_OBJ)\mhk.$o \
|
||||
$(ENGINE_OBJ)\pngwrite.$o \
|
||||
$(ENGINE_OBJ)\miniz.$o \
|
||||
$(ENGINE_OBJ)\miniz_tinfl.$o \
|
||||
$(ENGINE_OBJ)\miniz_tdef.$o \
|
||||
$(ENGINE_OBJ)\fix16.$o \
|
||||
$(ENGINE_OBJ)\fix16_str.$o \
|
||||
$(ENGINE_OBJ)\sjson.$o \
|
||||
|
||||
|
||||
ENGINE_EDITOR_OBJS=$(ENGINE_OBJ)\build.$o \
|
||||
$(ENGINE_OBJ)\startwin.editor.$o \
|
||||
$(ENGINE_OBJ)\config.$o
|
||||
|
||||
ENET_OBJS=$(ENET_OBJ)\callbacks.$o \
|
||||
$(ENET_OBJ)\host.$o \
|
||||
$(ENET_OBJ)\list.$o \
|
||||
$(ENET_OBJ)\packet.$o \
|
||||
$(ENET_OBJ)\peer.$o \
|
||||
$(ENET_OBJ)\protocol.$o \
|
||||
$(ENET_OBJ)\win32.$o \
|
||||
$(ENET_OBJ)\compress.$o
|
||||
|
||||
GLAD_OBJS=$(GLAD_OBJ)\glad.$o \
|
||||
!if ("$(RENDERTYPE)"=="WIN")
|
||||
$(GLAD_OBJ)\glad_wgl.$o
|
||||
!endif
|
||||
|
||||
LIBXMPLITE_OBJS=$(LIBXMPLITE_OBJ)\control.$o \
|
||||
$(LIBXMPLITE_OBJ)\dataio.$o \
|
||||
$(LIBXMPLITE_OBJ)\effects.$o \
|
||||
$(LIBXMPLITE_OBJ)\filter.$o \
|
||||
$(LIBXMPLITE_OBJ)\format.$o \
|
||||
$(LIBXMPLITE_OBJ)\hio.$o \
|
||||
$(LIBXMPLITE_OBJ)\lfo.$o \
|
||||
$(LIBXMPLITE_OBJ)\load.$o \
|
||||
$(LIBXMPLITE_OBJ)\load_helpers.$o \
|
||||
$(LIBXMPLITE_OBJ)\memio.$o \
|
||||
$(LIBXMPLITE_OBJ)\mixer.$o \
|
||||
$(LIBXMPLITE_OBJ)\mix_all.$o \
|
||||
$(LIBXMPLITE_OBJ)\period.$o \
|
||||
$(LIBXMPLITE_OBJ)\player.$o \
|
||||
$(LIBXMPLITE_OBJ)\read_event.$o \
|
||||
$(LIBXMPLITE_OBJ)\scan.$o \
|
||||
$(LIBXMPLITE_OBJ)\smix.$o \
|
||||
$(LIBXMPLITE_OBJ)\virtual.$o \
|
||||
$(LIBXMPLITE_OBJ)\common.$o \
|
||||
$(LIBXMPLITE_OBJ)\itsex.$o \
|
||||
$(LIBXMPLITE_OBJ)\it_load.$o \
|
||||
$(LIBXMPLITE_OBJ)\mod_load.$o \
|
||||
$(LIBXMPLITE_OBJ)\mtm_load.$o \
|
||||
$(LIBXMPLITE_OBJ)\s3m_load.$o \
|
||||
$(LIBXMPLITE_OBJ)\sample.$o \
|
||||
$(LIBXMPLITE_OBJ)\xm_load.$o \
|
||||
|
||||
AUDIOLIB_OBJS=$(AUDIOLIB_OBJ)\drivers.$o \
|
||||
$(AUDIOLIB_OBJ)\fx_man.$o \
|
||||
$(AUDIOLIB_OBJ)\multivoc.$o \
|
||||
$(AUDIOLIB_OBJ)\mix.$o \
|
||||
$(AUDIOLIB_OBJ)\mixst.$o \
|
||||
$(AUDIOLIB_OBJ)\pitch.$o \
|
||||
$(AUDIOLIB_OBJ)\formats.$o \
|
||||
$(AUDIOLIB_OBJ)\vorbis.$o \
|
||||
$(AUDIOLIB_OBJ)\flac.$o \
|
||||
$(AUDIOLIB_OBJ)\xa.$o \
|
||||
$(AUDIOLIB_OBJ)\xmp.$o \
|
||||
$(AUDIOLIB_OBJ)\driver_nosound.$o
|
||||
|
||||
MACT_OBJS= \
|
||||
$(MACT_OBJ)\control.$o \
|
||||
$(MACT_OBJ)\keyboard.$o \
|
||||
$(MACT_OBJ)\joystick.$o \
|
||||
$(MACT_OBJ)\scriplib.$o \
|
||||
$(MACT_OBJ)\animlib.$o
|
||||
|
||||
DUKE3D_OBJS=$(DUKE3D_OBJ)\game.$o \
|
||||
$(DUKE3D_OBJ)\actors.$o \
|
||||
$(DUKE3D_OBJ)\anim.$o \
|
||||
$(DUKE3D_OBJ)\cheats.$o \
|
||||
$(DUKE3D_OBJ)\sbar.$o \
|
||||
$(DUKE3D_OBJ)\screentext.$o \
|
||||
$(DUKE3D_OBJ)\screens.$o \
|
||||
$(DUKE3D_OBJ)\cmdline.$o \
|
||||
$(DUKE3D_OBJ)\common.$o \
|
||||
$(DUKE3D_OBJ)\demo.$o \
|
||||
$(DUKE3D_OBJ)\gamedef.$o \
|
||||
$(DUKE3D_OBJ)\gameexec.$o \
|
||||
$(DUKE3D_OBJ)\gamevars.$o \
|
||||
$(DUKE3D_OBJ)\global.$o \
|
||||
$(DUKE3D_OBJ)\input.$o \
|
||||
$(DUKE3D_OBJ)\menus.$o \
|
||||
$(DUKE3D_OBJ)\namesdyn.$o \
|
||||
$(DUKE3D_OBJ)\network.$o \
|
||||
$(DUKE3D_OBJ)\player.$o \
|
||||
$(DUKE3D_OBJ)\premap.$o \
|
||||
$(DUKE3D_OBJ)\savegame.$o \
|
||||
$(DUKE3D_OBJ)\sector.$o \
|
||||
$(DUKE3D_OBJ)\rts.$o \
|
||||
$(DUKE3D_OBJ)\config.$o \
|
||||
$(DUKE3D_OBJ)\osdfuncs.$o \
|
||||
$(DUKE3D_OBJ)\osdcmds.$o \
|
||||
$(DUKE3D_OBJ)\grpscan.$o \
|
||||
$(DUKE3D_OBJ)\winbits.$o \
|
||||
$(DUKE3D_OBJ)\gameres.$(res) \
|
||||
$(DUKE3D_OBJ)\startwin.game.$o \
|
||||
$(DUKE3D_OBJ)\sounds.$o \
|
||||
$(DUKE3D_OBJ)\soundsdyn.$o \
|
||||
!ifdef DEBUG
|
||||
$(DUKE3D_OBJ)\mdump.$o
|
||||
!endif
|
||||
|
||||
DUKE3D_EDITOR_OBJS=$(DUKE3D_OBJ)\astub.$o \
|
||||
$(DUKE3D_OBJ)\common.$o \
|
||||
$(DUKE3D_OBJ)\grpscan.$o \
|
||||
$(DUKE3D_OBJ)\m32common.$o \
|
||||
$(DUKE3D_OBJ)\m32def.$o \
|
||||
$(DUKE3D_OBJ)\m32vars.$o \
|
||||
$(DUKE3D_OBJ)\m32exec.$o \
|
||||
$(DUKE3D_OBJ)\sounds_mapster32.$o \
|
||||
$(DUKE3D_OBJ)\buildres.$(res) \
|
||||
!ifdef DEBUG
|
||||
$(DUKE3D_OBJ)\mdump.$o
|
||||
!endif
|
||||
|
||||
!if ("$(RENDERTYPE)"=="WIN")
|
||||
ENGINE_OBJS=$(ENGINE_OBJS) $(ENGINE_OBJ)\winlayer.$o $(ENGINE_OBJ)\rawinput.$o
|
||||
!endif
|
||||
!if ("$(RENDERTYPE)"=="SDL")
|
||||
ENGINE_OBJS=$(ENGINE_OBJS) $(ENGINE_OBJ)\sdlayer.$o
|
||||
DUKE3D_OBJS=$(DUKE3D_OBJS) $(DUKE3D_OBJ)\game_icon.$o
|
||||
DUKE3D_EDITOR_OBJS=$(DUKE3D_EDITOR_OBJS) $(DUKE3D_OBJ)\build_icon.$o
|
||||
!endif
|
||||
|
||||
!if ("$(MIXERTYPE)"=="WIN")
|
||||
DUKE3D_OBJS=$(DUKE3D_OBJS) $(DUKE3D_OBJ)\midi.$o $(DUKE3D_OBJ)\music.$o $(DUKE3D_OBJ)\mpu401.$o
|
||||
AUDIOLIB_OBJS=$(AUDIOLIB_OBJS) $(AUDIOLIB_OBJ)\driver_directsound.$o
|
||||
!endif
|
||||
!if ("$(MIXERTYPE)"=="SDL")
|
||||
DUKE3D_OBJS=$(DUKE3D_OBJS) $(DUKE3D_OBJ)\sdlmusic.$o
|
||||
AUDIOLIB_OBJS=$(AUDIOLIB_OBJS) $(AUDIOLIB_OBJ)/driver_sdl.$o
|
||||
!endif
|
||||
|
||||
DUKE3D_OBJS=$(DUKE3D_OBJS) $(MUSICOBJ)
|
||||
DUKE3D_EDITOR_OBJS=$(DUKE3D_EDITOR_OBJS) $(MUSICOBJ)
|
||||
|
||||
|
||||
CHECKDIR_ENGINE=@if not exist "$(ENGINE_OBJ)" mkdir "$(ENGINE_OBJ)"
|
||||
CHECKDIR_DUKE3D=@if not exist "$(DUKE3D_OBJ)" mkdir "$(DUKE3D_OBJ)"
|
||||
CHECKDIR_ENET=@if not exist "$(ENET_OBJ)" mkdir "$(ENET_OBJ)"
|
||||
CHECKDIR_GLAD=@if not exist "$(GLAD_OBJ)" mkdir "$(GLAD_OBJ)"
|
||||
CHECKDIR_MACT=@if not exist "$(MACT_OBJ)" mkdir "$(MACT_OBJ)"
|
||||
CHECKDIR_AUDIOLIB=@if not exist "$(AUDIOLIB_OBJ)" mkdir "$(AUDIOLIB_OBJ)"
|
||||
CHECKDIR_LIBXMPLITE=@if not exist "$(LIBXMPLITE_OBJ)" mkdir "$(LIBXMPLITE_OBJ)"
|
||||
|
||||
EDUKE32_TARGET=$(root)\eduke32$(EXESUFFIX)
|
||||
MAPSTER32_TARGET=$(root)\mapster32$(EXESUFFIX)
|
||||
|
||||
# RULES
|
||||
.SUFFIXES: .masm
|
||||
|
||||
{$(ENGINE_SRC)}.masm{$(ENGINE_OBJ)}.$o:
|
||||
$(CHECKDIR_ENGINE)
|
||||
$(AS) /c $(ASFLAGS) /Fo$@ $<
|
||||
|
||||
{$(ENGINE_SRC)}.cpp{$(ENGINE_OBJ)}.$o:
|
||||
$(CHECKDIR_ENGINE)
|
||||
$(CC) /c $(CFLAGS) /Fo$@ $<
|
||||
|
||||
{$(ENGINE_SRC)}.c{$(ENGINE_OBJ)}.$o:
|
||||
$(CHECKDIR_ENGINE)
|
||||
$(CC) /c $(CFLAGS) /Fo$@ $<
|
||||
|
||||
{$(ENET_SRC)}.c{$(ENET_OBJ)}.$o:
|
||||
$(CHECKDIR_ENET)
|
||||
$(CC) /c $(CFLAGS) $(ENET_CFLAGS) /Fo$@ $<
|
||||
|
||||
{$(GLAD_SRC)}.c{$(GLAD_OBJ)}.$o:
|
||||
$(CHECKDIR_GLAD)
|
||||
$(CC) /c $(CFLAGS) /Fo$@ $<
|
||||
|
||||
{$(LIBXMPLITE_SRC)}.c{$(LIBXMPLITE_OBJ)}.$o:
|
||||
$(CHECKDIR_LIBXMPLITE)
|
||||
$(CC) /c $(CFLAGS) $(LIBXMPLITE_CFLAGS) /Fo$@ $<
|
||||
|
||||
{$(AUDIOLIB_SRC)}.cpp{$(AUDIOLIB_OBJ)}.$o:
|
||||
$(CHECKDIR_AUDIOLIB)
|
||||
$(CC) /c $(CFLAGS) $(AUDIOLIB_CFLAGS) /Fo$@ $<
|
||||
|
||||
{$(MACT_SRC)\}.cpp{$(MACT_OBJ)\}.$o:
|
||||
$(CHECKDIR_MACT)
|
||||
$(CC) /c $(CFLAGS) /Fo$@ $<
|
||||
|
||||
{$(DUKE3D_RSRC)\}.c{$(DUKE3D_OBJ)\}.$o:
|
||||
$(CHECKDIR_DUKE3D)
|
||||
$(CC) /c $(CFLAGS) /Fo$@ $<
|
||||
|
||||
{$(DUKE3D_SRC)\}.cpp{$(DUKE3D_OBJ)\}.$o:
|
||||
$(CHECKDIR_DUKE3D)
|
||||
$(CC) /c $(CFLAGS) /Fo$@ $<
|
||||
|
||||
{$(DUKE3D_RSRC)\}.rc{$(DUKE3D_OBJ)\}.$(res):
|
||||
$(CHECKDIR_DUKE3D)
|
||||
$(RC) /i$(ENGINE_INC)\ /i$(DUKE3D_SRC)\ /i$(DUKE3D_RSRC)\ /DPOLYMER /fo$@ /r $<
|
||||
|
||||
|
||||
# TARGETS
|
||||
|
||||
|
||||
all: $(EDUKE32_TARGET) $(MAPSTER32_TARGET)
|
||||
|
||||
$(EDUKE32_TARGET): $(DUKE3D_OBJS) $(ENGINE_OBJS) $(AUDIOLIB_OBJS) $(MACT_OBJS) $(ENET_OBJS) $(GLAD_OBJS) $(LIBXMPLITE_OBJS)
|
||||
$(LINK) /OUT:$@ /SUBSYSTEM:WINDOWS $(WINMACHINE) /LIBPATH:$(PLATFORM)\lib$(WINLIB) $(flags_link) /MAP $** $(LIBS)
|
||||
$(MT) -manifest $(DUKE3D_RSRC)\manifest.game.xml -hashupdate -outputresource:$@ -out:$@.manifest
|
||||
|
||||
$(MAPSTER32_TARGET): $(DUKE3D_EDITOR_OBJS) $(ENGINE_OBJS) $(ENGINE_EDITOR_OBJS) $(AUDIOLIB_OBJS) $(GLAD_OBJS)
|
||||
$(LINK) /OUT:$@ /SUBSYSTEM:WINDOWS $(WINMACHINE) /LIBPATH:$(PLATFORM)\lib$(WINLIB) $(flags_link) /MAP $** $(LIBS)
|
||||
$(MT) -manifest $(DUKE3D_RSRC)\manifest.build.xml -hashupdate -outputresource:$@ -out:$@.manifest
|
||||
|
||||
!include $(DUKE3D_ROOT)\Dependencies.mak
|
||||
!include $(ENGINE_ROOT)\Dependencies.mak
|
||||
|
||||
# PHONIES
|
||||
|
||||
clean:
|
||||
-del /Q $(EDUKE32_TARGET) $(MAPSTER32_TARGET) $(DUKE3D_OBJS) $(DUKE3D_EDITOR_OBJS) $(ENGINE_OBJS) $(ENGINE_EDITOR_OBJS) *.pdb $(root)\*.pdb $(root)\*.map $(root)\*.manifest
|
||||
-del /Q $(ENET_OBJS) $(LIBXMPLITE_OBJS) $(MACT_OBJS) $(AUDIOLIB_OBJS) $(GLAD_OBJS)
|
||||
veryclean: clean
|
|
@ -1,358 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<VCProjectVersion>15.0</VCProjectVersion>
|
||||
<ProjectGuid>{5407CB5A-4B15-41FA-B79B-8B386A14D275}</ProjectGuid>
|
||||
<RootNamespace>nblood</RootNamespace>
|
||||
<Keyword>MakeFileProj</Keyword>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||
<ProjectName>nblood</ProjectName>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<Import Project="props\build_x64.props" />
|
||||
<Import Project="props\build_common.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<Import Project="props\build_x64.props" />
|
||||
<Import Project="props\build_common.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<Import Project="props\build_x86.props" />
|
||||
<Import Project="props\build_common.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<Import Project="props\build_x86.props" />
|
||||
<Import Project="props\build_common.props" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup>
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<OutDir>$(SolutionDir)..\..\</OutDir>
|
||||
<IntDir>$(Platform)\Build\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
<NMakeIncludeSearchPath>$(NMakeIncludeSearchPath);..\..\source\build\include;..\..\source\mact\include;..\..\source\audiolib\include;..\..\source\enet\include;..\..\platform\windows\include</NMakeIncludeSearchPath>
|
||||
<NMakeBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">nmake /f msvc.mak DEBUG=1 WINBITS=32 RENDERTYPE=SDL</NMakeBuildCommandLine>
|
||||
<NMakeReBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">nmake /f msvc.mak veryclean all DEBUG=1 WINBITS=32 RENDERTYPE=SDL</NMakeReBuildCommandLine>
|
||||
<NMakeCleanCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">nmake /f msvc.mak veryclean DEBUG=1 WINBITS=32 RENDERTYPE=SDL</NMakeCleanCommandLine>
|
||||
<NMakePreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">USE_OPENGL;POLYMER;SDL_USEFOLDER;SDL_TARGET=2</NMakePreprocessorDefinitions>
|
||||
<NMakeBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">nmake /f msvc.mak WINBITS=32 RENDERTYPE=SDL</NMakeBuildCommandLine>
|
||||
<NMakeReBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">nmake /f msvc.mak veryclean all WINBITS=32 RENDERTYPE=SDL</NMakeReBuildCommandLine>
|
||||
<NMakeCleanCommandLine Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">nmake /f msvc.mak veryclean WINBITS=32 RENDERTYPE=SDL</NMakeCleanCommandLine>
|
||||
<NMakePreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">USE_OPENGL;POLYMER;SDL_USEFOLDER;SDL_TARGET=2</NMakePreprocessorDefinitions>
|
||||
<NMakeBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">nmake /f msvc.mak DEBUG=1 WINBITS=64 RENDERTYPE=SDL</NMakeBuildCommandLine>
|
||||
<NMakeReBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">nmake /f msvc.mak veryclean all DEBUG=1 WINBITS=64 RENDERTYPE=SDL</NMakeReBuildCommandLine>
|
||||
<NMakeCleanCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">nmake /f msvc.mak veryclean DEBUG=1 WINBITS=64 RENDERTYPE=SDL</NMakeCleanCommandLine>
|
||||
<NMakePreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">USE_OPENGL;POLYMER;NOASM;SDL_USEFOLDER;SDL_TARGET=2</NMakePreprocessorDefinitions>
|
||||
<NMakeBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Release|x64'">nmake /f msvc.mak WINBITS=64 RENDERTYPE=SDL</NMakeBuildCommandLine>
|
||||
<NMakeReBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Release|x64'">nmake /f msvc.mak veryclean all WINBITS=64 RENDERTYPE=SDL</NMakeReBuildCommandLine>
|
||||
<NMakeCleanCommandLine Condition="'$(Configuration)|$(Platform)'=='Release|x64'">nmake /f msvc.mak veryclean WINBITS=64 RENDERTYPE=SDL</NMakeCleanCommandLine>
|
||||
<NMakePreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">USE_OPENGL;POLYMER;NOASM;SDL_USEFOLDER;SDL_TARGET=2</NMakePreprocessorDefinitions>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
<EmbedManifest>false</EmbedManifest>
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
<EmbedManifest>false</EmbedManifest>
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<EmbedManifest>false</EmbedManifest>
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<EmbedManifest>false</EmbedManifest>
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<Link>
|
||||
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
||||
</Link>
|
||||
<ClCompile>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<SupportJustMyCode>true</SupportJustMyCode>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<ExceptionHandling>SyncCThrow</ExceptionHandling>
|
||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;WIN32;RENDERTYPESDL=1;MIXERTYPEWIN=1;SDL_USEFOLDER;SDL_TARGET=2;USE_OPENGL=1;POLYMER=1;STARTUP_WINDOW;USE_LIBVPX;HAVE_VORBIS;HAVE_XMP;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<Link>
|
||||
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
||||
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
|
||||
</Link>
|
||||
<ClCompile>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
||||
<OmitFramePointers>true</OmitFramePointers>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||
<ExceptionHandling>SyncCThrow</ExceptionHandling>
|
||||
<DebugInformationFormat>None</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||
<OmitFramePointers>false</OmitFramePointers>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<SupportJustMyCode>true</SupportJustMyCode>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<ExceptionHandling>SyncCThrow</ExceptionHandling>
|
||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<Link>
|
||||
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
|
||||
</Link>
|
||||
<ClCompile>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
||||
<OmitFramePointers>true</OmitFramePointers>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||
<ExceptionHandling>SyncCThrow</ExceptionHandling>
|
||||
<DebugInformationFormat>None</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\source\blood\rsrc\eduke32_icon.c" />
|
||||
<ClCompile Include="..\..\source\blood\src\actor.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\ai.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\aibat.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\aibeast.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\aiboneel.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\aiburn.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\aicaleb.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\aicerber.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\aicult.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\aigarg.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\aighost.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\aigilbst.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\aihand.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\aihound.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\aiinnoc.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\aipod.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\airat.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\aispid.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\aitchern.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\aiunicult.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\aizomba.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\aizombf.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\asound.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\barf.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\blood.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\callback.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\choke.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\common.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\config.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\controls.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\credits.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\db.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\demo.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\dude.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\endgame.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\eventq.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\fire.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\fx.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\gamemenu.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\gameutil.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\getopt.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\gib.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\globals.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\inifile.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\iob.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\levels.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\loadsave.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\map2d.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\menu.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\messages.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\mirrors.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\misc.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\network.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\osdcmd.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\player.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\qav.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\qheap.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\replace.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\resource.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\screen.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\sectorfx.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\seq.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\sfx.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\sound.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\startwin.game.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\tile.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\trig.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\triggers.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\view.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\warp.cpp" />
|
||||
<ClCompile Include="..\..\source\blood\src\weapon.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="audiolib.vcxproj">
|
||||
<Project>{0029c61b-b63d-4e61-99f2-f4e49aabfc47}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="build.vcxproj">
|
||||
<Project>{dbecb851-5624-4fa8-9a9d-7169d0f12ff1}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="enet.vcxproj">
|
||||
<Project>{a68cc5e4-567a-44c8-94fe-c1de09aeeb40}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="glad.vcxproj">
|
||||
<Project>{6ac1d997-8dae-4343-8dd8-da2a1ca63212}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="libsmackerdec.vcxproj">
|
||||
<Project>{598f0d83-2c1b-4f7c-b04d-7fdd471c8c45}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="libxmp-lite.vcxproj">
|
||||
<Project>{32d4cf70-a3d6-4cea-81d7-64c743980276}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="mact.vcxproj">
|
||||
<Project>{bcde1852-e2c6-4abb-84fb-5cd431764a9a}</Project>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="..\..\source\blood\rsrc\gameres.rc">
|
||||
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ResourceCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\source\blood\src\actor.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\ai.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\aibat.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\aibeast.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\aiboneel.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\aiburn.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\aicaleb.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\aicerber.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\aicult.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\aigarg.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\aighost.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\aigilbst.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\aihand.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\aihound.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\aiinnoc.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\aipod.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\airat.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\aispid.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\aitchern.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\aiunicult.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\aizomba.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\aizombf.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\asound.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\barf.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\blood.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\callback.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\choke.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\common_game.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\config.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\controls.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\credits.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\db.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\demo.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\dude.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\endgame.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\eventq.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\fire.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\function.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\fx.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\gamedefs.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\gamemenu.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\gameutil.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\getopt.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\gib.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\globals.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\map2d.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\menu.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\messages.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\mirrors.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\warp.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\inifile.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\iob.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\levels.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\loadsave.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\misc.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\network.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\osdcmds.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\player.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\pqueue.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\qav.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\qheap.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\replace.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\resource.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\screen.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\sectorfx.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\seq.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\sfx.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\sound.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\startwin.game.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\tile.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\trig.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\triggers.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\view.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\weapon.h" />
|
||||
<ClInclude Include="..\..\source\blood\src\_functio.h" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
|
@ -1,464 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Source Files">
|
||||
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Header Files">
|
||||
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Resource Files">
|
||||
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\source\blood\rsrc\eduke32_icon.c">
|
||||
<Filter>Resource Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\blood.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\levels.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\startwin.game.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\network.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\osdcmd.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\config.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\getopt.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\controls.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\demo.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\screen.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\qheap.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\resource.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\misc.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\inifile.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\tile.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\trig.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\replace.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\globals.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\db.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\iob.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\seq.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\sfx.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\dude.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\player.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\sound.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\gameutil.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\eventq.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\callback.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\fx.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\actor.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\endgame.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\qav.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\triggers.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\view.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\sectorfx.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\gib.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\weapon.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\warp.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\mirrors.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\ai.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\gamemenu.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\menu.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\messages.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\map2d.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\asound.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\credits.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\choke.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\fire.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\aibat.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\aibeast.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\aiboneel.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\aiburn.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\aicaleb.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\aicerber.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\aicult.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\aigarg.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\aighost.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\aigilbst.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\aihand.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\aihound.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\aiinnoc.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\aipod.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\airat.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\aispid.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\aitchern.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\aizomba.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\aizombf.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\loadsave.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\common.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\aiunicult.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\blood\src\barf.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="..\..\source\blood\rsrc\gameres.rc">
|
||||
<Filter>Resource Files</Filter>
|
||||
</ResourceCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\source\blood\src\levels.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\common_game.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\startwin.game.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\network.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\blood.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\_functio.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\function.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\config.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\gamedefs.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\getopt.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\controls.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\demo.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\db.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\actor.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\trig.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\screen.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\qheap.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\resource.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\misc.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\inifile.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\tile.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\globals.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\replace.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\iob.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\seq.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\sfx.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\player.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\dude.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\sound.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\loadsave.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\gameutil.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\pqueue.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\eventq.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\callback.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\fx.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\endgame.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\ai.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\qav.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\triggers.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\view.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\sectorfx.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\gib.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\weapon.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\warp.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\mirrors.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\gamemenu.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\menu.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\messages.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\map2d.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\asound.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\credits.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\choke.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\fire.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\aibat.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\aibeast.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\aiboneel.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\aiburn.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\aicaleb.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\aicerber.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\aicult.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\aigarg.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\aighost.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\aigilbst.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\aihand.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\aihound.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\aiinnoc.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\aipod.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\airat.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\aispid.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\aitchern.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\aizomba.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\aizombf.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\osdcmds.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\aiunicult.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\blood\src\barf.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -1,18 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ImportGroup Label="PropertySheets" />
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup />
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;WIN32;RENDERTYPESDL=1;MIXERTYPEWIN=1;SDL_USEFOLDER;SDL_TARGET=2;USE_OPENGL=1;STARTUP_WINDOW;USE_LIBVPX;HAVE_VORBIS;HAVE_XMP;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>./include;./include/vpx/;./include/sdl2/;../../source/build/include;../../source/mact/include;../../source/audiolib/include;../../source/enet/include;../../source/glad/include;../../source/libxmp-lite/include;../../source/libxmp-lite/include/libxmp-lite;../../source/libsmackerdec/include;../../source/thirdparty/include</AdditionalIncludeDirectories>
|
||||
<DisableSpecificWarnings>4996;4244;4018;4267</DisableSpecificWarnings>
|
||||
<AdditionalOptions>/J %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>Shlwapi.lib;Comctl32.lib;version.lib;Imm32.lib;libogg.a;libvorbis.a;libvorbisfile.a;libxmp-lite.a;libvpx.a;dxguid.lib;dsound.lib;winmm.lib;ws2_32.lib;libSDL2main.a;libSDL2.a;libcompat-to-msvc.a;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;SetupAPI.Lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup />
|
||||
</Project>
|
|
@ -1,15 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ImportGroup Label="PropertySheets" />
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup />
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<PreprocessorDefinitions>NOASM=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalLibraryDirectories>.\lib\64\</AdditionalLibraryDirectories>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup />
|
||||
</Project>
|
|
@ -1,12 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ImportGroup Label="PropertySheets" />
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup />
|
||||
<ItemDefinitionGroup>
|
||||
<Link>
|
||||
<AdditionalLibraryDirectories>.\lib\32\</AdditionalLibraryDirectories>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup />
|
||||
</Project>
|
|
@ -1,294 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<VCProjectVersion>15.0</VCProjectVersion>
|
||||
<ProjectGuid>{44C4B4F0-B489-4612-B9C7-A38503B7FB67}</ProjectGuid>
|
||||
<RootNamespace>rednukem</RootNamespace>
|
||||
<Keyword>MakeFileProj</Keyword>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<Import Project="props\build_x64.props" />
|
||||
<Import Project="props\build_common.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<Import Project="props\build_x64.props" />
|
||||
<Import Project="props\build_common.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<Import Project="props\build_x86.props" />
|
||||
<Import Project="props\build_common.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<Import Project="props\build_x86.props" />
|
||||
<Import Project="props\build_common.props" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup>
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<OutDir>$(SolutionDir)..\..\</OutDir>
|
||||
<IntDir>$(Platform)\Build\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
<NMakeIncludeSearchPath>$(NMakeIncludeSearchPath);..\..\source\build\include;..\..\source\mact\include;..\..\source\audiolib\include;..\..\source\enet\include;..\..\platform\windows\include</NMakeIncludeSearchPath>
|
||||
<NMakeBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">nmake /f msvc.mak DEBUG=1 WINBITS=32 RENDERTYPE=SDL</NMakeBuildCommandLine>
|
||||
<NMakeReBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">nmake /f msvc.mak veryclean all DEBUG=1 WINBITS=32 RENDERTYPE=SDL</NMakeReBuildCommandLine>
|
||||
<NMakeCleanCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">nmake /f msvc.mak veryclean DEBUG=1 WINBITS=32 RENDERTYPE=SDL</NMakeCleanCommandLine>
|
||||
<NMakePreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">USE_OPENGL;POLYMER;SDL_USEFOLDER;SDL_TARGET=2</NMakePreprocessorDefinitions>
|
||||
<NMakeBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">nmake /f msvc.mak WINBITS=32 RENDERTYPE=SDL</NMakeBuildCommandLine>
|
||||
<NMakeReBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">nmake /f msvc.mak veryclean all WINBITS=32 RENDERTYPE=SDL</NMakeReBuildCommandLine>
|
||||
<NMakeCleanCommandLine Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">nmake /f msvc.mak veryclean WINBITS=32 RENDERTYPE=SDL</NMakeCleanCommandLine>
|
||||
<NMakePreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">USE_OPENGL;POLYMER;SDL_USEFOLDER;SDL_TARGET=2</NMakePreprocessorDefinitions>
|
||||
<NMakeBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">nmake /f msvc.mak DEBUG=1 WINBITS=64 RENDERTYPE=SDL</NMakeBuildCommandLine>
|
||||
<NMakeReBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">nmake /f msvc.mak veryclean all DEBUG=1 WINBITS=64 RENDERTYPE=SDL</NMakeReBuildCommandLine>
|
||||
<NMakeCleanCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">nmake /f msvc.mak veryclean DEBUG=1 WINBITS=64 RENDERTYPE=SDL</NMakeCleanCommandLine>
|
||||
<NMakePreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">USE_OPENGL;POLYMER;NOASM;SDL_USEFOLDER;SDL_TARGET=2</NMakePreprocessorDefinitions>
|
||||
<NMakeBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Release|x64'">nmake /f msvc.mak WINBITS=64 RENDERTYPE=SDL</NMakeBuildCommandLine>
|
||||
<NMakeReBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Release|x64'">nmake /f msvc.mak veryclean all WINBITS=64 RENDERTYPE=SDL</NMakeReBuildCommandLine>
|
||||
<NMakeCleanCommandLine Condition="'$(Configuration)|$(Platform)'=='Release|x64'">nmake /f msvc.mak veryclean WINBITS=64 RENDERTYPE=SDL</NMakeCleanCommandLine>
|
||||
<NMakePreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">USE_OPENGL;POLYMER;NOASM;SDL_USEFOLDER;SDL_TARGET=2</NMakePreprocessorDefinitions>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
<EmbedManifest>false</EmbedManifest>
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
<EmbedManifest>false</EmbedManifest>
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<EmbedManifest>false</EmbedManifest>
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<EmbedManifest>false</EmbedManifest>
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<Link>
|
||||
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
||||
</Link>
|
||||
<ClCompile>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<SupportJustMyCode>true</SupportJustMyCode>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<ExceptionHandling>SyncCThrow</ExceptionHandling>
|
||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<Link>
|
||||
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
||||
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
|
||||
</Link>
|
||||
<ClCompile>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
||||
<OmitFramePointers>true</OmitFramePointers>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||
<ExceptionHandling>SyncCThrow</ExceptionHandling>
|
||||
<DebugInformationFormat>None</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||
<OmitFramePointers>false</OmitFramePointers>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<SupportJustMyCode>true</SupportJustMyCode>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<ExceptionHandling>SyncCThrow</ExceptionHandling>
|
||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<Link>
|
||||
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
|
||||
</Link>
|
||||
<ClCompile>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
||||
<OmitFramePointers>true</OmitFramePointers>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||
<ExceptionHandling>SyncCThrow</ExceptionHandling>
|
||||
<DebugInformationFormat>None</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\source\rr\src\actors.h" />
|
||||
<ClInclude Include="..\..\source\rr\src\anim.h" />
|
||||
<ClInclude Include="..\..\source\rr\src\cheats.h" />
|
||||
<ClInclude Include="..\..\source\rr\src\cmdline.h" />
|
||||
<ClInclude Include="..\..\source\rr\src\common_game.h" />
|
||||
<ClInclude Include="..\..\source\rr\src\demo.h" />
|
||||
<ClInclude Include="..\..\source\rr\src\events_defs.h" />
|
||||
<ClInclude Include="..\..\source\rr\src\game.h" />
|
||||
<ClInclude Include="..\..\source\rr\src\gameexec.h" />
|
||||
<ClInclude Include="..\..\source\rr\src\gamevars.h" />
|
||||
<ClInclude Include="..\..\source\rr\src\global.h" />
|
||||
<ClInclude Include="..\..\source\rr\src\input.h" />
|
||||
<ClInclude Include="..\..\source\rr\src\inv.h" />
|
||||
<ClInclude Include="..\..\source\rr\src\menus.h" />
|
||||
<ClInclude Include="..\..\source\rr\src\net.h" />
|
||||
<ClInclude Include="..\..\source\rr\src\player.h" />
|
||||
<ClInclude Include="..\..\source\rr\src\premap.h" />
|
||||
<ClInclude Include="..\..\source\rr\src\quotes.h" />
|
||||
<ClInclude Include="..\..\source\rr\src\savegame.h" />
|
||||
<ClInclude Include="..\..\source\rr\src\sbar.h" />
|
||||
<ClInclude Include="..\..\source\rr\src\screens.h" />
|
||||
<ClInclude Include="..\..\source\rr\src\screentext.h" />
|
||||
<ClInclude Include="..\..\source\rr\src\sector.h" />
|
||||
<ClInclude Include="..\..\source\rr\src\_functio.h" />
|
||||
<ClInclude Include="..\..\source\rr\src\_rts.h" />
|
||||
<ClInclude Include="..\..\source\rr\src\config.h" />
|
||||
<ClInclude Include="..\..\source\rr\src\duke3d.h" />
|
||||
<ClInclude Include="..\..\source\rr\src\function.h" />
|
||||
<ClInclude Include="..\..\source\rr\src\gamedef.h" />
|
||||
<ClInclude Include="..\..\source\rr\src\gamedefs.h" />
|
||||
<ClInclude Include="..\..\source\rr\src\grpscan.h" />
|
||||
<ClInclude Include="..\..\source\rr\src\keys.h" />
|
||||
<ClInclude Include="..\..\source\rr\src\macros.h" />
|
||||
<ClInclude Include="..\..\source\rr\src\mdump.h" />
|
||||
<ClInclude Include="..\..\source\rr\src\names.h" />
|
||||
<ClInclude Include="..\..\source\rr\src\namesdyn.h" />
|
||||
<ClInclude Include="..\..\source\rr\src\osdcmds.h" />
|
||||
<ClInclude Include="..\..\source\rr\src\osdfuncs.h" />
|
||||
<ClInclude Include="..\..\source\rr\src\rts.h" />
|
||||
<ClInclude Include="..\..\source\rr\src\soundefs.h" />
|
||||
<ClInclude Include="..\..\source\rr\src\sounds.h" />
|
||||
<ClInclude Include="..\..\source\rr\src\soundsdyn.h" />
|
||||
<ClInclude Include="..\..\source\rr\src\startwin.game.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\source\rr\rsrc\eduke32_icon.c" />
|
||||
<ClCompile Include="..\..\source\rr\src\actors.cpp" />
|
||||
<ClCompile Include="..\..\source\rr\src\anim.cpp" />
|
||||
<ClCompile Include="..\..\source\rr\src\cheats.cpp" />
|
||||
<ClCompile Include="..\..\source\rr\src\cmdline.cpp" />
|
||||
<ClCompile Include="..\..\source\rr\src\config.cpp" />
|
||||
<ClCompile Include="..\..\source\rr\src\common.cpp" />
|
||||
<ClCompile Include="..\..\source\rr\src\demo.cpp" />
|
||||
<ClCompile Include="..\..\source\rr\src\game.cpp" />
|
||||
<ClCompile Include="..\..\source\rr\src\gamedef.cpp" />
|
||||
<ClCompile Include="..\..\source\rr\src\gameexec.cpp" />
|
||||
<ClCompile Include="..\..\source\rr\src\gamestructures.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\rr\src\global.cpp" />
|
||||
<ClCompile Include="..\..\source\rr\src\grpscan.cpp" />
|
||||
<ClCompile Include="..\..\source\rr\src\input.cpp" />
|
||||
<ClCompile Include="..\..\source\rr\src\mdump.cpp" />
|
||||
<ClCompile Include="..\..\source\rr\src\menus.cpp" />
|
||||
<ClCompile Include="..\..\source\rr\src\namesdyn.cpp" />
|
||||
<ClCompile Include="..\..\source\rr\src\net.cpp" />
|
||||
<ClCompile Include="..\..\source\rr\src\osdcmds.cpp" />
|
||||
<ClCompile Include="..\..\source\rr\src\osdfuncs.cpp" />
|
||||
<ClCompile Include="..\..\source\rr\src\player.cpp" />
|
||||
<ClCompile Include="..\..\source\rr\src\premap.cpp" />
|
||||
<ClCompile Include="..\..\source\rr\src\rts.cpp" />
|
||||
<ClCompile Include="..\..\source\rr\src\savegame.cpp" />
|
||||
<ClCompile Include="..\..\source\rr\src\sbar.cpp" />
|
||||
<ClCompile Include="..\..\source\rr\src\screens.cpp" />
|
||||
<ClCompile Include="..\..\source\rr\src\screentext.cpp" />
|
||||
<ClCompile Include="..\..\source\rr\src\sector.cpp" />
|
||||
<ClCompile Include="..\..\source\rr\src\sounds.cpp" />
|
||||
<ClCompile Include="..\..\source\rr\src\soundsdyn.cpp" />
|
||||
<ClCompile Include="..\..\source\rr\src\startgtk.game.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\rr\src\startwin.game.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="audiolib.vcxproj">
|
||||
<Project>{0029c61b-b63d-4e61-99f2-f4e49aabfc47}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="build.vcxproj">
|
||||
<Project>{dbecb851-5624-4fa8-9a9d-7169d0f12ff1}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="enet.vcxproj">
|
||||
<Project>{a68cc5e4-567a-44c8-94fe-c1de09aeeb40}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="glad.vcxproj">
|
||||
<Project>{6ac1d997-8dae-4343-8dd8-da2a1ca63212}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="libxmp-lite.vcxproj">
|
||||
<Project>{32d4cf70-a3d6-4cea-81d7-64c743980276}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="mact.vcxproj">
|
||||
<Project>{bcde1852-e2c6-4abb-84fb-5cd431764a9a}</Project>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="..\..\source\rr\rsrc\gameres.rc">
|
||||
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ResourceCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Manifest Include="rednukem.exe.manifest" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
|
@ -1,256 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Source Files">
|
||||
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Header Files">
|
||||
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Resource Files">
|
||||
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\source\rr\src\_functio.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\rr\src\_rts.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\rr\src\config.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\rr\src\duke3d.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\rr\src\function.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\rr\src\gamedef.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\rr\src\gamedefs.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\rr\src\grpscan.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\rr\src\keys.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\rr\src\macros.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\rr\src\mdump.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\rr\src\names.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\rr\src\namesdyn.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\rr\src\osdcmds.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\rr\src\osdfuncs.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\rr\src\rts.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\rr\src\soundefs.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\rr\src\sounds.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\rr\src\soundsdyn.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\rr\src\startwin.game.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\rr\src\sector.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\rr\src\gameexec.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\rr\src\actors.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\rr\src\player.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\rr\src\gamevars.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\rr\src\net.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\rr\src\global.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\rr\src\game.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\rr\src\premap.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\rr\src\menus.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\rr\src\savegame.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\rr\src\anim.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\rr\src\demo.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\rr\src\events_defs.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\rr\src\quotes.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\rr\src\input.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\rr\src\common_game.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\rr\src\cheats.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\rr\src\sbar.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\rr\src\screentext.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\rr\src\screens.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\rr\src\cmdline.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\rr\src\inv.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\source\rr\src\actors.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\rr\src\anim.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\rr\src\config.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\rr\src\game.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\rr\src\gamedef.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\rr\src\gameexec.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\rr\src\gamestructures.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\rr\src\global.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\rr\src\grpscan.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\rr\src\mdump.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\rr\src\menus.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\rr\src\namesdyn.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\rr\src\osdcmds.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\rr\src\osdfuncs.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\rr\src\player.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\rr\src\premap.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\rr\src\rts.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\rr\src\savegame.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\rr\src\sector.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\rr\src\sounds.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\rr\src\soundsdyn.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\rr\src\startgtk.game.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\rr\src\startwin.game.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\rr\src\net.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\rr\src\demo.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\rr\src\input.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\rr\src\common.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\rr\src\cheats.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\rr\src\sbar.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\rr\src\screentext.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\rr\src\screens.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\rr\src\cmdline.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\rr\rsrc\eduke32_icon.c">
|
||||
<Filter>Resource Files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="..\..\source\rr\rsrc\gameres.rc">
|
||||
<Filter>Resource Files</Filter>
|
||||
</ResourceCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Manifest Include="rednukem.exe.manifest">
|
||||
<Filter>Resource Files</Filter>
|
||||
</Manifest>
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -1,383 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<VCProjectVersion>15.0</VCProjectVersion>
|
||||
<ProjectGuid>{B50E2B28-C3E0-453F-B652-657E7D957E51}</ProjectGuid>
|
||||
<RootNamespace>voidsw</RootNamespace>
|
||||
<Keyword>MakeFileProj</Keyword>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<Import Project="props\build_x64.props" />
|
||||
<Import Project="props\build_common.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<Import Project="props\build_x64.props" />
|
||||
<Import Project="props\build_common.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<Import Project="props\build_x86.props" />
|
||||
<Import Project="props\build_common.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<Import Project="props\build_x86.props" />
|
||||
<Import Project="props\build_common.props" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup>
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<OutDir>$(SolutionDir)..\..\</OutDir>
|
||||
<IntDir>$(Platform)\Build\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
<NMakeIncludeSearchPath>$(NMakeIncludeSearchPath);..\..\source\build\include;..\..\source\mact\include;..\..\source\audiolib\include;..\..\source\enet\include;..\..\platform\windows\include</NMakeIncludeSearchPath>
|
||||
<NMakeBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">nmake /f msvc.mak DEBUG=1 WINBITS=32 RENDERTYPE=SDL</NMakeBuildCommandLine>
|
||||
<NMakeReBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">nmake /f msvc.mak veryclean all DEBUG=1 WINBITS=32 RENDERTYPE=SDL</NMakeReBuildCommandLine>
|
||||
<NMakeCleanCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">nmake /f msvc.mak veryclean DEBUG=1 WINBITS=32 RENDERTYPE=SDL</NMakeCleanCommandLine>
|
||||
<NMakePreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">USE_OPENGL;POLYMER;SDL_USEFOLDER;SDL_TARGET=2</NMakePreprocessorDefinitions>
|
||||
<NMakeBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">nmake /f msvc.mak WINBITS=32 RENDERTYPE=SDL</NMakeBuildCommandLine>
|
||||
<NMakeReBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">nmake /f msvc.mak veryclean all WINBITS=32 RENDERTYPE=SDL</NMakeReBuildCommandLine>
|
||||
<NMakeCleanCommandLine Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">nmake /f msvc.mak veryclean WINBITS=32 RENDERTYPE=SDL</NMakeCleanCommandLine>
|
||||
<NMakePreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">USE_OPENGL;POLYMER;SDL_USEFOLDER;SDL_TARGET=2</NMakePreprocessorDefinitions>
|
||||
<NMakeBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">nmake /f msvc.mak DEBUG=1 WINBITS=64 RENDERTYPE=SDL</NMakeBuildCommandLine>
|
||||
<NMakeReBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">nmake /f msvc.mak veryclean all DEBUG=1 WINBITS=64 RENDERTYPE=SDL</NMakeReBuildCommandLine>
|
||||
<NMakeCleanCommandLine Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">nmake /f msvc.mak veryclean DEBUG=1 WINBITS=64 RENDERTYPE=SDL</NMakeCleanCommandLine>
|
||||
<NMakePreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">USE_OPENGL;POLYMER;NOASM;SDL_USEFOLDER;SDL_TARGET=2</NMakePreprocessorDefinitions>
|
||||
<NMakeBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Release|x64'">nmake /f msvc.mak WINBITS=64 RENDERTYPE=SDL</NMakeBuildCommandLine>
|
||||
<NMakeReBuildCommandLine Condition="'$(Configuration)|$(Platform)'=='Release|x64'">nmake /f msvc.mak veryclean all WINBITS=64 RENDERTYPE=SDL</NMakeReBuildCommandLine>
|
||||
<NMakeCleanCommandLine Condition="'$(Configuration)|$(Platform)'=='Release|x64'">nmake /f msvc.mak veryclean WINBITS=64 RENDERTYPE=SDL</NMakeCleanCommandLine>
|
||||
<NMakePreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">USE_OPENGL;POLYMER;NOASM;SDL_USEFOLDER;SDL_TARGET=2</NMakePreprocessorDefinitions>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
<EmbedManifest>false</EmbedManifest>
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
<EmbedManifest>false</EmbedManifest>
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<EmbedManifest>false</EmbedManifest>
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<EmbedManifest>false</EmbedManifest>
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<Link>
|
||||
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
||||
</Link>
|
||||
<ClCompile>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||
<WarningLevel>Level1</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<SupportJustMyCode>true</SupportJustMyCode>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<ExceptionHandling>SyncCThrow</ExceptionHandling>
|
||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<Link>
|
||||
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
||||
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
|
||||
</Link>
|
||||
<ClCompile>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
||||
<OmitFramePointers>true</OmitFramePointers>
|
||||
<WarningLevel>Level1</WarningLevel>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||
<ExceptionHandling>SyncCThrow</ExceptionHandling>
|
||||
<DebugInformationFormat>None</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||
<OmitFramePointers>false</OmitFramePointers>
|
||||
<WarningLevel>Level1</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<SupportJustMyCode>true</SupportJustMyCode>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<ExceptionHandling>SyncCThrow</ExceptionHandling>
|
||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<Link>
|
||||
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
|
||||
</Link>
|
||||
<ClCompile>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
||||
<OmitFramePointers>true</OmitFramePointers>
|
||||
<WarningLevel>Level1</WarningLevel>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<LanguageStandard>stdcpp14</LanguageStandard>
|
||||
<ExceptionHandling>SyncCThrow</ExceptionHandling>
|
||||
<DebugInformationFormat>None</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\source\duke3d\src\midi.cpp" />
|
||||
<ClCompile Include="..\..\source\duke3d\src\mpu401.cpp" />
|
||||
<ClCompile Include="..\..\source\duke3d\src\music.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\rsrc\game_icon.c" />
|
||||
<ClCompile Include="..\..\source\sw\src\actor.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\ai.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\anim.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\bldscript.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\border.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\break.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\brooms.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\bunny.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\cache.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\cheats.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\colormap.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\common.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\config.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\console.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\coolg.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\coolie.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\copysect.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\demo.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\draw.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\eel.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\game.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\girlninj.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\goro.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\grpscan.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\hornet.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\interp.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\interpsh.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\inv.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\jbhlp.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\jnstub.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\jplayer.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\jsector.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\jweapon.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\lava.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\light.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\mclip.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\mdastr.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\menus.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\miscactr.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\morph.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\net.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\ninja.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\panel.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\player.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\predict.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\quake.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\ripper.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\ripper2.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\rooms.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\rotator.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\rts.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\save.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\saveable.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\scrip2.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\sector.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\serp.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\setup.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\skel.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\skull.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\slidor.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\sounds.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\spike.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\sprite.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\startgtk.game.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\startwin.game.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\sumo.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\swconfig.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\sync.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\text.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\track.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\vator.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\vis.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\wallmove.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\warp.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\weapon.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\zilla.cpp" />
|
||||
<ClCompile Include="..\..\source\sw\src\zombie.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="audiolib.vcxproj">
|
||||
<Project>{0029c61b-b63d-4e61-99f2-f4e49aabfc47}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="build.vcxproj">
|
||||
<Project>{dbecb851-5624-4fa8-9a9d-7169d0f12ff1}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="enet.vcxproj">
|
||||
<Project>{a68cc5e4-567a-44c8-94fe-c1de09aeeb40}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="glad.vcxproj">
|
||||
<Project>{6ac1d997-8dae-4343-8dd8-da2a1ca63212}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="libxmp-lite.vcxproj">
|
||||
<Project>{32d4cf70-a3d6-4cea-81d7-64c743980276}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="mact.vcxproj">
|
||||
<Project>{bcde1852-e2c6-4abb-84fb-5cd431764a9a}</Project>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="..\..\source\sw\rsrc\gameres.rc">
|
||||
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions);POLYMER=1</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions);POLYMER=1</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions);POLYMER=1</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions);POLYMER=1</PreprocessorDefinitions>
|
||||
</ResourceCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Manifest Include="voidsw.exe.manifest" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\source\audiolib\include\music.h" />
|
||||
<ClInclude Include="..\..\source\duke3d\src\midi.h" />
|
||||
<ClInclude Include="..\..\source\duke3d\src\mpu401.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\actor.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\ai.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\ambient.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\anim.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\bots.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\break.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\cache.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\colormap.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\common_game.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\config.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\conpic.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\damage.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\demo.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\digi.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\function.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\game.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\gamedefs.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\GameListSource.game.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\GrpFile.game.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\grpscan.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\interp.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\inv.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\jnames.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\jsector.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\jtags.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\keys.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\light.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\lists.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\mclip.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\menus.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\mfile.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\mytypes.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\names.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\names2.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\net.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\ninja.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\pal.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\panel.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\parent.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\parse.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\player.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\quake.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\reserve.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\rts.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\saveable.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\savedef.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\sector.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\settings.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\slidor.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\sounds.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\sprite.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\stag.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\startwin.game.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\sw_strs.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\tags.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\text.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\track.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\trigger.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\vis.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\warp.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\weapon.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\_config.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\_functio.h" />
|
||||
<ClInclude Include="..\..\source\sw\src\_rts.h" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
|
@ -1,478 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\source\sw\rsrc\game_icon.c">
|
||||
<Filter>Resource Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\actor.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\ai.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\anim.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\bldscript.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\border.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\break.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\brooms.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\bunny.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\cache.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\cheats.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\colormap.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\common.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\config.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\console.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\coolg.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\coolie.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\copysect.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\demo.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\draw.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\eel.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\game.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\girlninj.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\goro.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\grpscan.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\hornet.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\interp.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\interpsh.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\inv.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\jbhlp.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\jplayer.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\jsector.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\jweapon.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\lava.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\light.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\mclip.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\mdastr.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\menus.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\miscactr.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\morph.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\net.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\ninja.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\panel.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\player.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\predict.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\quake.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\ripper.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\ripper2.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\rooms.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\rotator.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\rts.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\save.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\saveable.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\scrip2.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\sector.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\serp.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\setup.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\skel.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\skull.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\slidor.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\sounds.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\spike.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\sprite.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\startgtk.game.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\startwin.game.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\sumo.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\swconfig.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\sync.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\text.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\track.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\vator.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\vis.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\wallmove.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\warp.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\weapon.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\zilla.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\zombie.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\sw\src\jnstub.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\duke3d\src\midi.cpp">
|
||||
<Filter>Source Files\midi</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\duke3d\src\mpu401.cpp">
|
||||
<Filter>Source Files\midi</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\source\duke3d\src\music.cpp">
|
||||
<Filter>Source Files\midi</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Filter Include="Header Files">
|
||||
<UniqueIdentifier>{099c8183-5e54-495e-9a7e-20e481135367}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Resource Files">
|
||||
<UniqueIdentifier>{a00d853b-669e-4fa4-8ee8-94ccc3830730}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Source Files">
|
||||
<UniqueIdentifier>{25e7723e-9a9a-4c51-89a8-e8c20c20ff12}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Header Files\midi">
|
||||
<UniqueIdentifier>{e969efff-b36b-455e-a639-b0d7bfbdd2a0}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Source Files\midi">
|
||||
<UniqueIdentifier>{7c7b4f6f-d5af-422c-885e-429acbd2e725}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="..\..\source\sw\rsrc\gameres.rc">
|
||||
<Filter>Resource Files</Filter>
|
||||
</ResourceCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Manifest Include="voidsw.exe.manifest">
|
||||
<Filter>Resource Files</Filter>
|
||||
</Manifest>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\source\sw\src\_config.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\_functio.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\_rts.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\actor.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\ai.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\ambient.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\anim.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\bots.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\break.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\cache.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\colormap.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\common_game.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\config.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\conpic.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\damage.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\demo.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\digi.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\function.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\game.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\gamedefs.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\GameListSource.game.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\GrpFile.game.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\grpscan.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\interp.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\inv.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\jnames.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\jsector.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\jtags.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\keys.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\light.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\lists.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\mclip.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\menus.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\mfile.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\mytypes.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\names.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\names2.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\net.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\ninja.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\pal.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\panel.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\parent.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\parse.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\player.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\quake.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\reserve.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\rts.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\saveable.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\savedef.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\sector.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\settings.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\slidor.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\sounds.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\sprite.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\stag.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\startwin.game.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\sw_strs.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\tags.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\text.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\track.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\trigger.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\vis.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\warp.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\sw\src\weapon.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\duke3d\src\midi.h">
|
||||
<Filter>Header Files\midi</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\duke3d\src\mpu401.h">
|
||||
<Filter>Header Files\midi</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\source\audiolib\include\music.h">
|
||||
<Filter>Header Files\midi</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
</Project>
|
1158
source/CMakeLists.txt
Normal file
1158
source/CMakeLists.txt
Normal file
File diff suppressed because it is too large
Load diff
|
@ -248,7 +248,7 @@ int32_t DirectSoundDrv_PCM_Init(int32_t *mixrate, int32_t *numchannels, void * i
|
|||
if (FAILED(err = IDirectSound_CreateSoundBuffer(lpds, &bufdesc, &lpdsbsec, 0)))
|
||||
return DirectSound_Error(err, DSErr_CreateSoundBufferSecondary);
|
||||
|
||||
if (FAILED(err = IDirectSoundBuffer_QueryInterface(lpdsbsec, &IID_IDirectSoundNotify, (LPVOID *)&lpdsnotify)))
|
||||
if (FAILED(err = IDirectSoundBuffer_QueryInterface(lpdsbsec, IID_IDirectSoundNotify, (LPVOID *)&lpdsnotify)))
|
||||
return DirectSound_Error(err, DSErr_Notify);
|
||||
|
||||
for (int i = 0; i < MIXBUFFERPOSITIONS; i++)
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
#include "multivoc.h"
|
||||
#include "_multivc.h"
|
||||
|
||||
#define BUILDING_STATIC
|
||||
#include "libxmp-lite/xmp.h"
|
||||
|
||||
typedef struct {
|
||||
|
|
|
@ -110,7 +110,7 @@ void G_ExtPreInit(int32_t argc,char const * const * argv)
|
|||
g_useCwd = G_CheckCmdSwitch(argc, argv, "-usecwd");
|
||||
|
||||
#ifdef _WIN32
|
||||
GetModuleFileName(NULL,g_rootDir,BMAX_PATH);
|
||||
GetModuleFileNameA(NULL,g_rootDir,BMAX_PATH);
|
||||
Bcorrectfilename(g_rootDir,1);
|
||||
//chdir(g_rootDir);
|
||||
#else
|
||||
|
|
|
@ -26,7 +26,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|||
#include "build.h"
|
||||
#include "compat.h"
|
||||
#include "common_game.h"
|
||||
#include "crc32.h"
|
||||
#include "crc32_.h"
|
||||
|
||||
//#include "actor.h"
|
||||
#include "globals.h"
|
||||
|
@ -1283,7 +1283,6 @@ int dbLoadMap(const char *pPath, int *pX, int *pY, int *pZ, short *pAngle, short
|
|||
int dbSaveMap(const char *pPath, int nX, int nY, int nZ, short nAngle, short nSector)
|
||||
{
|
||||
char sMapExt[BMAX_PATH];
|
||||
char sBakExt[BMAX_PATH];
|
||||
int16_t tpskyoff[256];
|
||||
int nSpriteNum;
|
||||
psky_t *pSky = tileSetupSky(0);
|
||||
|
|
|
@ -24,7 +24,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|||
|
||||
#include "compat.h"
|
||||
#include "common_game.h"
|
||||
#include "crc32.h"
|
||||
#include "crc32_.h"
|
||||
|
||||
#include "globals.h"
|
||||
#include "tile.h"
|
||||
|
|
|
@ -26,7 +26,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
#include "crc32.h"
|
||||
#include "crc32_.h"
|
||||
#include "compat.h"
|
||||
#include "cache1d.h"
|
||||
#ifdef WITHKPLIB
|
||||
|
|
|
@ -53,6 +53,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|||
#include "startwin.game.h"
|
||||
#include "windows_inc.h"
|
||||
|
||||
#pragma warning(disable:4244) // There's just a bit too much of these in here...
|
||||
|
||||
BEGIN_BLD_NS
|
||||
|
||||
|
||||
|
@ -343,9 +345,9 @@ static INT_PTR CALLBACK ConfigPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, L
|
|||
static void SetPage(int pageNum)
|
||||
{
|
||||
HWND tab = GetDlgItem(startupdlg, WIN_STARTWIN_TABCTL);
|
||||
auto const cur = SendMessage(tab, TCM_GETCURSEL, 0, 0);
|
||||
auto const cur = SendMessageA(tab, TCM_GETCURSEL, 0, 0);
|
||||
ShowWindow(pages[cur], SW_HIDE);
|
||||
SendMessage(tab, TCM_SETCURSEL, pageNum, 0);
|
||||
SendMessageA(tab, TCM_SETCURSEL, pageNum, 0);
|
||||
ShowWindow(pages[pageNum], SW_SHOW);
|
||||
mode = pageNum;
|
||||
|
||||
|
@ -419,7 +421,7 @@ static INT_PTR CALLBACK startup_dlgproc(HWND hwndDlg, UINT uMsg, WPARAM wParam,
|
|||
hbmp = LoadBitmap((HINSTANCE)win_gethinstance(), MAKEINTRESOURCE(RSRC_BMP));
|
||||
|
||||
HWND hwnd = GetDlgItem(hwndDlg, WIN_STARTWIN_BITMAP);
|
||||
SendMessage(hwnd, STM_SETIMAGE, IMAGE_BITMAP, (LPARAM)hbmp);
|
||||
SendMessageA(hwnd, STM_SETIMAGE, IMAGE_BITMAP, (LPARAM)hbmp);
|
||||
|
||||
RECT r;
|
||||
GetClientRect(hwnd, &r);
|
||||
|
@ -452,23 +454,23 @@ static INT_PTR CALLBACK startup_dlgproc(HWND hwndDlg, UINT uMsg, WPARAM wParam,
|
|||
|
||||
// Add tabs to the tab control
|
||||
{
|
||||
static char textSetup[] = TEXT("Setup");
|
||||
static char textMessageLog[] = TEXT("Message Log");
|
||||
static char textSetup[] = "Setup";
|
||||
static char textMessageLog[] = "Message Log";
|
||||
|
||||
hwnd = GetDlgItem(hwndDlg, WIN_STARTWIN_TABCTL);
|
||||
|
||||
TCITEM tab = {};
|
||||
TCITEMA tab = {};
|
||||
tab.mask = TCIF_TEXT;
|
||||
tab.pszText = textSetup;
|
||||
SendMessage(hwnd, TCM_INSERTITEM, (WPARAM)TAB_CONFIG, (LPARAM)&tab);
|
||||
SendMessageA(hwnd, TCM_INSERTITEM, (WPARAM)TAB_CONFIG, (LPARAM)&tab);
|
||||
tab.mask = TCIF_TEXT;
|
||||
tab.pszText = textMessageLog;
|
||||
SendMessage(hwnd, TCM_INSERTITEM, (WPARAM)TAB_MESSAGES, (LPARAM)&tab);
|
||||
SendMessageA(hwnd, TCM_INSERTITEM, (WPARAM)TAB_MESSAGES, (LPARAM)&tab);
|
||||
|
||||
// Work out the position and size of the area inside the tab control for the pages
|
||||
ZeroMemory(&r, sizeof(r));
|
||||
GetClientRect(hwnd, &r);
|
||||
SendMessage(hwnd, TCM_ADJUSTRECT, FALSE, (LPARAM)&r);
|
||||
SendMessageA(hwnd, TCM_ADJUSTRECT, FALSE, (LPARAM)&r);
|
||||
r.right -= r.left-1;
|
||||
r.bottom -= r.top-1;
|
||||
r.top += rtab.top;
|
||||
|
@ -485,7 +487,7 @@ static INT_PTR CALLBACK startup_dlgproc(HWND hwndDlg, UINT uMsg, WPARAM wParam,
|
|||
GetClientRect(pages[TAB_MESSAGES], &r);
|
||||
r.right -= GetSystemMetrics(SM_CXVSCROLL)+4;
|
||||
r.left = r.top = 0;
|
||||
SendMessage(pages[TAB_MESSAGES], EM_SETRECTNP,0,(LPARAM)&r);
|
||||
SendMessageA(pages[TAB_MESSAGES], EM_SETRECTNP,0,(LPARAM)&r);
|
||||
|
||||
// Set a tab stop in the game data listbox
|
||||
{
|
||||
|
@ -494,7 +496,7 @@ static INT_PTR CALLBACK startup_dlgproc(HWND hwndDlg, UINT uMsg, WPARAM wParam,
|
|||
}
|
||||
|
||||
SetFocus(GetDlgItem(hwndDlg, WIN_STARTWIN_START));
|
||||
SetWindowText(hwndDlg, apptitle);
|
||||
SetWindowTextA(hwndDlg, apptitle);
|
||||
}
|
||||
return FALSE;
|
||||
}
|
||||
|
@ -503,7 +505,7 @@ static INT_PTR CALLBACK startup_dlgproc(HWND hwndDlg, UINT uMsg, WPARAM wParam,
|
|||
{
|
||||
auto nmhdr = (LPNMHDR)lParam;
|
||||
if (nmhdr->idFrom != WIN_STARTWIN_TABCTL) break;
|
||||
int const cur = SendMessage(nmhdr->hwndFrom, TCM_GETCURSEL,0,0);
|
||||
int const cur = SendMessageA(nmhdr->hwndFrom, TCM_GETCURSEL,0,0);
|
||||
switch (nmhdr->code)
|
||||
{
|
||||
case TCN_SELCHANGING:
|
||||
|
@ -597,15 +599,15 @@ int32_t startwin_puts(const char *buf)
|
|||
static HWND dactrl = NULL;
|
||||
if (!dactrl) dactrl = GetDlgItem(startupdlg, WIN_STARTWIN_TABCTL);
|
||||
|
||||
int const vis = ((int)SendMessage(dactrl, TCM_GETCURSEL,0,0) == TAB_MESSAGES);
|
||||
int const vis = ((int)SendMessageA(dactrl, TCM_GETCURSEL,0,0) == TAB_MESSAGES);
|
||||
|
||||
if (vis)
|
||||
SendMessage(edctl, WM_SETREDRAW, FALSE, 0);
|
||||
SendMessageA(edctl, WM_SETREDRAW, FALSE, 0);
|
||||
|
||||
int const curlen = SendMessage(edctl, WM_GETTEXTLENGTH, 0,0);
|
||||
SendMessage(edctl, EM_SETSEL, (WPARAM)curlen, (LPARAM)curlen);
|
||||
int const curlen = SendMessageA(edctl, WM_GETTEXTLENGTH, 0,0);
|
||||
SendMessageA(edctl, EM_SETSEL, (WPARAM)curlen, (LPARAM)curlen);
|
||||
|
||||
int const numlines = SendMessage(edctl, EM_GETLINECOUNT, 0, 0);
|
||||
int const numlines = SendMessageA(edctl, EM_GETLINECOUNT, 0, 0);
|
||||
static bool newline = false;
|
||||
const char *p = buf;
|
||||
|
||||
|
@ -613,7 +615,7 @@ int32_t startwin_puts(const char *buf)
|
|||
{
|
||||
if (newline)
|
||||
{
|
||||
SendMessage(edctl, EM_REPLACESEL, 0, (LPARAM)"\r\n");
|
||||
SendMessageA(edctl, EM_REPLACESEL, 0, (LPARAM)"\r\n");
|
||||
newline = false;
|
||||
}
|
||||
const char *q = p;
|
||||
|
@ -640,14 +642,14 @@ int32_t startwin_puts(const char *buf)
|
|||
workbuf[q-p] = 0;
|
||||
p = q;
|
||||
}
|
||||
SendMessage(edctl, EM_REPLACESEL, 0, (LPARAM)workbuf);
|
||||
SendMessageA(edctl, EM_REPLACESEL, 0, (LPARAM)workbuf);
|
||||
}
|
||||
|
||||
int const newnumlines = SendMessage(edctl, EM_GETLINECOUNT, 0, 0);
|
||||
SendMessage(edctl, EM_LINESCROLL, 0, newnumlines - numlines);
|
||||
int const newnumlines = SendMessageA(edctl, EM_GETLINECOUNT, 0, 0);
|
||||
SendMessageA(edctl, EM_LINESCROLL, 0, newnumlines - numlines);
|
||||
|
||||
if (vis)
|
||||
SendMessage(edctl, WM_SETREDRAW, TRUE, 0);
|
||||
SendMessageA(edctl, WM_SETREDRAW, TRUE, 0);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@ -655,7 +657,7 @@ int32_t startwin_puts(const char *buf)
|
|||
int32_t startwin_settitle(const char *str)
|
||||
{
|
||||
if (!startupdlg) return 1;
|
||||
SetWindowText(startupdlg, str);
|
||||
SetWindowTextA(startupdlg, str);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -800,8 +800,8 @@ EXTERN int16_t nextspritesect[MAXSPRITES], nextspritestat[MAXSPRITES];
|
|||
|
||||
EXTERN vec2_16_t tilesiz[MAXTILES];
|
||||
|
||||
EXTERN char picsiz[MAXTILES];
|
||||
EXTERN char walock[MAXTILES];
|
||||
EXTERN uint8_t picsiz[MAXTILES];
|
||||
EXTERN uint8_t walock[MAXTILES];
|
||||
|
||||
extern const char pow2char_[];
|
||||
static CONSTEXPR const int32_t pow2long[32] =
|
||||
|
@ -1115,7 +1115,7 @@ void videoClearViewableArea(int32_t dacol);
|
|||
void videoClearScreen(int32_t dacol);
|
||||
void renderDrawMapView(int32_t dax, int32_t day, int32_t zoome, int16_t ang);
|
||||
void rotatesprite_(int32_t sx, int32_t sy, int32_t z, int16_t a, int16_t picnum,
|
||||
int8_t dashade, char dapalnum, int32_t dastat, uint8_t daalpha, uint8_t dablend,
|
||||
int8_t dashade, uint8_t dapalnum, int32_t dastat, uint8_t daalpha, uint8_t dablend,
|
||||
int32_t cx1, int32_t cy1, int32_t cx2, int32_t cy2);
|
||||
void renderDrawLine(int32_t x1, int32_t y1, int32_t x2, int32_t y2, char col);
|
||||
void drawlinergb(int32_t x1, int32_t y1, int32_t x2, int32_t y2, palette_t p);
|
||||
|
@ -1127,26 +1127,26 @@ void Buninitart(void);
|
|||
|
||||
////////// specialized rotatesprite wrappers for (very) often used cases //////////
|
||||
static FORCE_INLINE void rotatesprite(int32_t sx, int32_t sy, int32_t z, int16_t a, int16_t picnum,
|
||||
int8_t dashade, char dapalnum, int32_t dastat,
|
||||
int8_t dashade, uint8_t dapalnum, int32_t dastat,
|
||||
int32_t cx1, int32_t cy1, int32_t cx2, int32_t cy2)
|
||||
{
|
||||
rotatesprite_(sx, sy, z, a, picnum, dashade, dapalnum, dastat, 0, 0, cx1, cy1, cx2, cy2);
|
||||
}
|
||||
// Don't clip at all, i.e. the whole screen real estate is available:
|
||||
static FORCE_INLINE void rotatesprite_fs(int32_t sx, int32_t sy, int32_t z, int16_t a, int16_t picnum,
|
||||
int8_t dashade, char dapalnum, int32_t dastat)
|
||||
int8_t dashade, uint8_t dapalnum, int32_t dastat)
|
||||
{
|
||||
rotatesprite_(sx, sy, z, a, picnum, dashade, dapalnum, dastat, 0, 0, 0,0,xdim-1,ydim-1);
|
||||
}
|
||||
|
||||
static FORCE_INLINE void rotatesprite_fs_alpha(int32_t sx, int32_t sy, int32_t z, int16_t a, int16_t picnum,
|
||||
int8_t dashade, char dapalnum, int32_t dastat, uint8_t alpha)
|
||||
int8_t dashade, uint8_t dapalnum, int32_t dastat, uint8_t alpha)
|
||||
{
|
||||
rotatesprite_(sx, sy, z, a, picnum, dashade, dapalnum, dastat, alpha, 0, 0, 0, xdim-1, ydim-1);
|
||||
}
|
||||
|
||||
static FORCE_INLINE void rotatesprite_win(int32_t sx, int32_t sy, int32_t z, int16_t a, int16_t picnum,
|
||||
int8_t dashade, char dapalnum, int32_t dastat)
|
||||
int8_t dashade, uint8_t dapalnum, int32_t dastat)
|
||||
{
|
||||
rotatesprite_(sx, sy, z, a, picnum, dashade, dapalnum, dastat, 0, 0, windowxy1.x,windowxy1.y,windowxy2.x,windowxy2.y);
|
||||
}
|
||||
|
|
|
@ -18,7 +18,7 @@ extern int32_t kpzbufsiz;
|
|||
extern int32_t kpzbufload(const char *);
|
||||
|
||||
void cacheInitBuffer(intptr_t dacachestart, int32_t dacachesize);
|
||||
void cacheAllocateBlock(intptr_t *newhandle, int32_t newbytes, char *newlockptr);
|
||||
void cacheAllocateBlock(intptr_t *newhandle, int32_t newbytes, uint8_t *newlockptr);
|
||||
void cacheAgeEntries(void);
|
||||
|
||||
#ifdef USE_PHYSFS
|
||||
|
@ -120,7 +120,7 @@ typedef struct
|
|||
{
|
||||
intptr_t *hand;
|
||||
int32_t leng;
|
||||
char * lock;
|
||||
uint8_t * lock;
|
||||
} cactype;
|
||||
|
||||
enum {
|
||||
|
|
|
@ -146,9 +146,4 @@ int32_t loadwgl(const char *driver);
|
|||
int32_t unloadwgl(void);
|
||||
#endif
|
||||
|
||||
#ifdef POLYMER
|
||||
int32_t loadglulibrary(const char *driver);
|
||||
int32_t unloadglulibrary(void);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -48,7 +48,7 @@ extern int32_t kzfindfile (char *); //you alloc buf, returns 1:found,0:~found
|
|||
|
||||
//like stricmp(st0,st1) except: '/' == '\'
|
||||
|
||||
extern char toupperlookup[256];
|
||||
extern uint8_t toupperlookup[256];
|
||||
static inline int32_t filnamcmp(const char *j, const char *i)
|
||||
{
|
||||
// If we reach at the end of both strings, we are done
|
||||
|
|
|
@ -37,7 +37,7 @@ extern uint32_t PaletteIndexFullbrights[8];
|
|||
#define SetPaletteIndexFullbright(col) (PaletteIndexFullbrights[(col)>>5] |= (1u<<((col)&31)))
|
||||
|
||||
typedef struct {
|
||||
char r, g, b, f;
|
||||
uint8_t r, g, b, f;
|
||||
} palette_t;
|
||||
typedef struct {
|
||||
uint8_t r, g, b;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef __PNGWRITE_H__
|
||||
#define __PNGWRITE_H__
|
||||
|
||||
#include "miniz.h"
|
||||
#include <zlib.h>
|
||||
|
||||
#include "vfs.h"
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ void uploadpalswap(int32_t palookupnum);
|
|||
void polymost_drawsprite(int32_t snum);
|
||||
void polymost_drawmaskwall(int32_t damaskwallcnt);
|
||||
void polymost_dorotatesprite(int32_t sx, int32_t sy, int32_t z, int16_t a, int16_t picnum,
|
||||
int8_t dashade, char dapalnum, int32_t dastat, uint8_t daalpha, uint8_t dablend, int32_t cx1, int32_t cy1, int32_t cx2, int32_t cy2, int32_t uniqid);
|
||||
int8_t dashade, uint8_t dapalnum, int32_t dastat, uint8_t daalpha, uint8_t dablend, int32_t cx1, int32_t cy1, int32_t cx2, int32_t cy2, int32_t uniqid);
|
||||
void polymost_fillpolygon(int32_t npoints);
|
||||
void polymost_initosdfuncs(void);
|
||||
void polymost_drawrooms(void);
|
||||
|
|
|
@ -1,24 +0,0 @@
|
|||
#ifndef rawinput_h_
|
||||
#define rawinput_h_
|
||||
|
||||
#include "compat.h"
|
||||
|
||||
void RI_PollDevices(BOOL loop);
|
||||
void RI_ProcessMessage(MSG *msg);
|
||||
BOOL RI_CaptureInput(BOOL grab, HWND target);
|
||||
|
||||
#ifndef VK_LBUTTON
|
||||
#define VK_LBUTTON 0x01
|
||||
#endif
|
||||
#ifndef VK_RBUTTON
|
||||
#define VK_RBUTTON 0x02
|
||||
#endif
|
||||
#ifndef VK_CANCEL
|
||||
#define VK_CANCEL 0x03
|
||||
#endif
|
||||
#ifndef VK_MBUTTON
|
||||
#define VK_MBUTTON 0x04 /* NOT contiguous with L & RBUTTON */
|
||||
#endif
|
||||
|
||||
#endif // rawinput_h_
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
struct sdlappicon {
|
||||
Sint32 width,height;
|
||||
Uint8 *pixels;
|
||||
int width,height;
|
||||
const char *pixels;
|
||||
};
|
||||
|
|
|
@ -14,27 +14,12 @@ extern int64_t win_timerfreq;
|
|||
|
||||
extern char silentvideomodeswitch;
|
||||
|
||||
extern BOOL CheckWinVersion(void);
|
||||
extern void win_allowtaskswitching(int32_t onf);
|
||||
|
||||
#if defined(RENDERTYPEWIN) || SDL_MAJOR_VERSION==1
|
||||
extern int32_t win_inittimer(void);
|
||||
extern uint64_t win_getu64ticks(void);
|
||||
#endif
|
||||
|
||||
extern void win_open(void);
|
||||
extern void win_init(void);
|
||||
extern void win_setvideomode(int32_t c);
|
||||
extern void win_uninit(void);
|
||||
extern void win_close(void);
|
||||
|
||||
extern void Win_GetOriginalLayoutName(void);
|
||||
extern void Win_SetKeyboardLayoutUS(int);
|
||||
|
||||
extern void ShowErrorBox(const char *m);
|
||||
|
||||
extern LPTSTR GetWindowsErrorMsg(DWORD code);
|
||||
|
||||
extern int32_t addsearchpath_ProgramFiles(const char *p);
|
||||
|
||||
extern int32_t win_buildargs(char **argvbuf);
|
|
@ -73,7 +73,7 @@
|
|||
# ifndef CINTERFACE
|
||||
# define CINTERFACE
|
||||
# endif
|
||||
# include "dx/ddraw.h"
|
||||
# include <ddraw.h>
|
||||
# undef NEED_DDRAW_H
|
||||
#endif
|
||||
|
||||
|
@ -83,7 +83,7 @@
|
|||
# ifndef CINTERFACE
|
||||
# define CINTERFACE
|
||||
# endif
|
||||
# include "dx/dinput.h"
|
||||
# include <dinput.h>
|
||||
# undef NEED_DINPUT_H
|
||||
|
||||
# if defined (_MSC_VER) || !defined(__cplusplus)
|
||||
|
@ -116,7 +116,7 @@
|
|||
# ifndef CINTERFACE
|
||||
# define CINTERFACE
|
||||
# endif
|
||||
# include "dx/dsound.h"
|
||||
# include <dsound.h>
|
||||
# undef NEED_DSOUND_H
|
||||
#endif
|
||||
|
||||
|
|
|
@ -104,7 +104,7 @@ int32_t kpzbufload(char const * const filnam)
|
|||
|
||||
#if !defined DEBUG_ALLOCACHE_AS_MALLOC
|
||||
static int32_t cachesize = 0;
|
||||
static char zerochar = 0;
|
||||
static uint8_t zerochar = 0;
|
||||
static intptr_t cachestart = 0;
|
||||
static int32_t lockrecip[200];
|
||||
|
||||
|
@ -112,7 +112,7 @@ int32_t cacnum = 0;
|
|||
cactype cac[MAXCACHEOBJECTS];
|
||||
#endif
|
||||
|
||||
char toupperlookup[256] =
|
||||
uint8_t toupperlookup[256] =
|
||||
{
|
||||
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f,
|
||||
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f,
|
||||
|
@ -161,7 +161,7 @@ void cacheInitBuffer(intptr_t dacachestart, int32_t dacachesize)
|
|||
}
|
||||
|
||||
#ifdef DEBUG_ALLOCACHE_AS_MALLOC
|
||||
void cacheAllocateBlock(intptr_t *newhandle, int32_t newbytes, char *newlockptr)
|
||||
void cacheAllocateBlock(intptr_t *newhandle, int32_t newbytes, uint8_t *newlockptr)
|
||||
{
|
||||
UNREFERENCED_PARAMETER(newlockptr);
|
||||
|
||||
|
@ -222,7 +222,7 @@ int32_t cacheFindBlock(int32_t newbytes, int32_t *besto, int32_t *bestz)
|
|||
return bestval;
|
||||
}
|
||||
|
||||
void cacheAllocateBlock(intptr_t* newhandle, int32_t newbytes, char* newlockptr)
|
||||
void cacheAllocateBlock(intptr_t* newhandle, int32_t newbytes, uint8_t* newlockptr)
|
||||
{
|
||||
// Make all requests a multiple of the system page size
|
||||
int const pageSize = Bgetpagesize();
|
||||
|
|
|
@ -81,46 +81,16 @@ void set_memerr_handler(void(*handlerfunc)(int32_t, const char *, const char *))
|
|||
char *Bgethomedir(void)
|
||||
{
|
||||
#ifdef _WIN32
|
||||
int32_t loaded = 0;
|
||||
auto hShell32 = GetModuleHandle("shell32.dll");
|
||||
|
||||
if (hShell32 == NULL)
|
||||
char appdata[MAX_PATH];
|
||||
|
||||
if (SUCCEEDED(SHGetSpecialFolderPathA(NULL, appdata, CSIDL_APPDATA, FALSE)))
|
||||
{
|
||||
hShell32 = LoadLibrary("shell32.dll");
|
||||
loaded = 1;
|
||||
return Xstrdup(appdata);
|
||||
}
|
||||
|
||||
if (hShell32 == NULL)
|
||||
return NULL;
|
||||
|
||||
using SHGSFPA_t = BOOL (WINAPI *)(HWND, LPTSTR, int, BOOL);
|
||||
auto aSHGetSpecialFolderPathA = (SHGSFPA_t)(void (*)(void))GetProcAddress(hShell32, "SHGetSpecialFolderPathA");
|
||||
|
||||
if (aSHGetSpecialFolderPathA != NULL)
|
||||
{
|
||||
TCHAR appdata[MAX_PATH];
|
||||
|
||||
if (SUCCEEDED(aSHGetSpecialFolderPathA(NULL, appdata, CSIDL_APPDATA, FALSE)))
|
||||
{
|
||||
if (loaded)
|
||||
FreeLibrary(hShell32);
|
||||
return Xstrdup(appdata);
|
||||
}
|
||||
}
|
||||
|
||||
if (loaded)
|
||||
FreeLibrary(hShell32);
|
||||
return NULL;
|
||||
#elif defined EDUKE32_OSX
|
||||
return osx_gethomedir();
|
||||
#elif defined(GEKKO)
|
||||
// return current drive's name
|
||||
char *drv, cwd[BMAX_PATH] = {0};
|
||||
buildvfs_getcwd(cwd, BMAX_PATH);
|
||||
drv = strchr(cwd, ':');
|
||||
if (drv)
|
||||
drv[1] = '\0';
|
||||
return Xstrdup(cwd);
|
||||
#else
|
||||
char *e = getenv("HOME");
|
||||
if (!e) return NULL;
|
||||
|
@ -133,9 +103,9 @@ char *Bgetappdir(void)
|
|||
char *dir = NULL;
|
||||
|
||||
#ifdef _WIN32
|
||||
TCHAR appdir[MAX_PATH];
|
||||
char appdir[MAX_PATH];
|
||||
|
||||
if (GetModuleFileName(NULL, appdir, MAX_PATH) > 0) {
|
||||
if (GetModuleFileNameA(NULL, appdir, MAX_PATH) > 0) {
|
||||
// trim off the filename
|
||||
char *slash = Bstrrchr(appdir, '\\');
|
||||
if (slash) slash[0] = 0;
|
||||
|
@ -600,40 +570,18 @@ int Bgetpagesize(void)
|
|||
//
|
||||
// Bgetsysmemsize() -- gets the amount of system memory in the machine
|
||||
//
|
||||
#ifdef _WIN32
|
||||
typedef BOOL (WINAPI *aGlobalMemoryStatusExType)(LPMEMORYSTATUSEX);
|
||||
#endif
|
||||
|
||||
uint32_t Bgetsysmemsize(void)
|
||||
{
|
||||
uint32_t siz = UINT32_MAX;
|
||||
|
||||
#ifdef _WIN32
|
||||
HMODULE lib = LoadLibrary("KERNEL32.DLL");
|
||||
//WinNT
|
||||
MEMORYSTATUSEX memst;
|
||||
memst.dwLength = sizeof(MEMORYSTATUSEX);
|
||||
if (GlobalMemoryStatusEx(&memst))
|
||||
siz = min<decltype(memst.ullTotalPhys)>(UINT32_MAX, memst.ullTotalPhys);
|
||||
|
||||
if (lib)
|
||||
{
|
||||
aGlobalMemoryStatusExType aGlobalMemoryStatusEx =
|
||||
(aGlobalMemoryStatusExType)(void (*)(void))GetProcAddress(lib, "GlobalMemoryStatusEx");
|
||||
|
||||
if (aGlobalMemoryStatusEx)
|
||||
{
|
||||
//WinNT
|
||||
MEMORYSTATUSEX memst;
|
||||
memst.dwLength = sizeof(MEMORYSTATUSEX);
|
||||
if (aGlobalMemoryStatusEx(&memst))
|
||||
siz = min<decltype(memst.ullTotalPhys)>(UINT32_MAX, memst.ullTotalPhys);
|
||||
}
|
||||
|
||||
if (!aGlobalMemoryStatusEx || siz == 0)
|
||||
{
|
||||
initprintf("Bgetsysmemsize(): error determining system memory size!\n");
|
||||
siz = UINT32_MAX;
|
||||
}
|
||||
|
||||
FreeLibrary(lib);
|
||||
}
|
||||
else initprintf("Bgetsysmemsize(): unable to load KERNEL32.DLL!\n");
|
||||
#elif (defined(_SC_PAGE_SIZE) || defined(_SC_PAGESIZE)) && defined(_SC_PHYS_PAGES) && !defined(GEKKO)
|
||||
#ifdef _SC_PAGE_SIZE
|
||||
int64_t const scpagesiz = sysconf(_SC_PAGE_SIZE);
|
||||
|
@ -653,16 +601,3 @@ uint32_t Bgetsysmemsize(void)
|
|||
return siz;
|
||||
}
|
||||
|
||||
#ifdef GEKKO
|
||||
int access(const char *pathname, int mode)
|
||||
{
|
||||
struct stat st;
|
||||
if (stat(pathname, &st)==-1)
|
||||
return -1;
|
||||
|
||||
// TODO: Check mode against st_mode
|
||||
UNREFERENCED_PARAMETER(mode);
|
||||
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -1,691 +0,0 @@
|
|||
// Evil and Nasty Configuration File Reader for KenBuild
|
||||
// by Jonathon Fowler
|
||||
|
||||
#include "compat.h"
|
||||
#include "build.h"
|
||||
#include "editor.h"
|
||||
#include "osd.h"
|
||||
#include "cache1d.h"
|
||||
#include "baselayer.h"
|
||||
#include "renderlayer.h"
|
||||
|
||||
#include "vfs.h"
|
||||
|
||||
static double clampd(double d, double mind, double maxd)
|
||||
{
|
||||
if (d != d || d<mind)
|
||||
d = mind;
|
||||
else if (d>maxd)
|
||||
d = maxd;
|
||||
return d;
|
||||
}
|
||||
|
||||
static int32_t readconfig(buildvfs_FILE fp, const char *key, char *value, uint32_t len)
|
||||
{
|
||||
char buf[1000], *k, *v, *eq;
|
||||
int32_t x=0;
|
||||
|
||||
if (len < 1) return 0;
|
||||
|
||||
buildvfs_rewind(fp);
|
||||
|
||||
while (1)
|
||||
{
|
||||
if (!buildvfs_fgets(buf, 1000, fp)) return 0;
|
||||
|
||||
if (buf[0] == ';') continue;
|
||||
|
||||
eq = Bstrchr(buf, '=');
|
||||
if (!eq) continue;
|
||||
|
||||
k = buf;
|
||||
v = eq+1;
|
||||
|
||||
while (*k == ' ' || *k == '\t') k++;
|
||||
*(eq--) = 0;
|
||||
while ((*eq == ' ' || *eq == '\t') && eq>=k) *(eq--) = 0;
|
||||
|
||||
if (Bstrcasecmp(k, key)) continue;
|
||||
|
||||
while (*v == ' ' || *v == '\t') v++;
|
||||
eq = v + Bstrlen(v)-1;
|
||||
|
||||
while ((*eq == ' ' || *eq == '\t' || *eq == '\r' || *eq == '\n') && eq>=v) *(eq--) = 0;
|
||||
|
||||
value[--len] = 0;
|
||||
do value[x] = v[x]; while (v[x++] != 0 && len-- > 0);
|
||||
|
||||
return x-1;
|
||||
}
|
||||
}
|
||||
|
||||
extern int16_t brightness;
|
||||
extern char default_buildkeys[NUMBUILDKEYS];
|
||||
static char *const keys = default_buildkeys;
|
||||
static int32_t default_grid=9;
|
||||
extern int32_t AmbienceToggle, MixRate;
|
||||
extern int32_t ParentalLock;
|
||||
|
||||
/*
|
||||
* SETUP.DAT
|
||||
* 0 = video mode (0:chained 1:vesa 2:screen buffered 3/4/5:tseng/paradise/s3 6:red-blue)
|
||||
* 1 = sound (0:none)
|
||||
* 2 = music (0:none)
|
||||
* 3 = input (0:keyboard 1:+mouse)
|
||||
* 4 = multiplayer (0:single 1-4:com 5-11:ipx)
|
||||
* 5&0xf0 = com speed
|
||||
* 5&0x0f = com irq
|
||||
* 6&0xf0 = chained y-res
|
||||
* 6&0x0f = chained x-res or vesa mode
|
||||
* 7&0xf0 = sound samplerate
|
||||
* 7&0x01 = sound quality
|
||||
* 7&0x02 = 8/16 bit
|
||||
* 7&0x04 = mono/stereo
|
||||
*
|
||||
* bytes 8 to 26 are key settings:
|
||||
* 0 = Forward (0xc8)
|
||||
* 1 = Backward (0xd0)
|
||||
* 2 = Turn left (0xcb)
|
||||
* 3 = Turn right (0xcd)
|
||||
* 4 = Run (0x2a)
|
||||
* 5 = Strafe (0x9d)
|
||||
* 6 = Fire (0x1d)
|
||||
* 7 = Use (0x39)
|
||||
* 8 = Stand high (0x1e)
|
||||
* 9 = Stand low (0x2c)
|
||||
* 10 = Look up (0xd1)
|
||||
* 11 = Look down (0xc9)
|
||||
* 12 = Strafe left (0x33)
|
||||
* 13 = Strafe right (0x34)
|
||||
* 14 = 2D/3D switch (0x9c)
|
||||
* 15 = View cycle (0x1c)
|
||||
* 16 = 2D Zoom in (0xd)
|
||||
* 17 = 2D Zoom out (0xc)
|
||||
* 18 = Chat (0xf)
|
||||
*/
|
||||
|
||||
int32_t loadsetup(const char *fn)
|
||||
{
|
||||
buildvfs_FILE fp;
|
||||
#define VL 1024
|
||||
char val[VL];
|
||||
int32_t i;
|
||||
|
||||
if ((fp = buildvfs_fopen_read(fn)) == NULL) return -1;
|
||||
|
||||
if (readconfig(fp, "forcesetup", val, VL) > 0) forcesetup = (atoi_safe(val) != 0);
|
||||
if (readconfig(fp, "fullscreen", val, VL) > 0) fullscreen = (atoi_safe(val) != 0);
|
||||
|
||||
if (readconfig(fp, "xdim2d", val, VL) > 0) xdim2d = atoi_safe(val);
|
||||
if (readconfig(fp, "ydim2d", val, VL) > 0) ydim2d = atoi_safe(val);
|
||||
if (readconfig(fp, "xdim3d", val, VL) > 0) xdimgame = atoi_safe(val);
|
||||
if (readconfig(fp, "ydim3d", val, VL) > 0) ydimgame = atoi_safe(val);
|
||||
|
||||
if (readconfig(fp, "bpp", val, VL) > 0) bppgame = atoi_safe(val);
|
||||
|
||||
if (readconfig(fp, "editorgridextent", val, VL) > 0)
|
||||
{
|
||||
int32_t tmp = atoi_safe(val);
|
||||
editorgridextent = clamp(tmp, 65536, BXY_MAX);
|
||||
}
|
||||
|
||||
if (readconfig(fp, "grid", val, VL) > 0)
|
||||
{
|
||||
grid = atoi_safe(val);
|
||||
default_grid = grid;
|
||||
autogrid = (grid==9);
|
||||
grid = clamp(grid, 0, 8);
|
||||
}
|
||||
#ifdef POLYMER
|
||||
if (readconfig(fp, "rendmode", val, VL) > 0) { i = atoi_safe(val); glrendmode = i; }
|
||||
#endif
|
||||
if (readconfig(fp, "vid_gamma", val, VL) > 0) g_videoGamma = clampd(Bstrtod(val, NULL), 0.0, 10.0);
|
||||
if (readconfig(fp, "vid_brightness", val, VL) > 0) g_videoBrightness = clampd(Bstrtod(val, NULL), 0.0, 10.0);
|
||||
if (readconfig(fp, "vid_contrast", val, VL) > 0) g_videoContrast = clampd(Bstrtod(val, NULL), 0.0, 10.0);
|
||||
#ifdef RENDERTYPEWIN
|
||||
if (readconfig(fp, "maxrefreshfreq", val, VL) > 0) maxrefreshfreq = atoi_safe(val);
|
||||
#endif
|
||||
#ifdef USE_OPENGL
|
||||
if (readconfig(fp, "lazytileselector", val, VL) > 0) g_lazy_tileselector = !!atoi_safe(val);
|
||||
#endif
|
||||
if (readconfig(fp, "gameexecutable", val, VL) > 0)
|
||||
Bstrcpy(game_executable, val);
|
||||
|
||||
#if 1
|
||||
if (readconfig(fp, "keyforward", val, VL) > 0) keys[BK_MOVEFORWARD] = Bstrtol(val, NULL, 16);
|
||||
if (readconfig(fp, "keybackward", val, VL) > 0) keys[BK_MOVEBACKWARD] = Bstrtol(val, NULL, 16);
|
||||
if (readconfig(fp, "keyturnleft", val, VL) > 0) keys[BK_TURNLEFT] = Bstrtol(val, NULL, 16);
|
||||
if (readconfig(fp, "keyturnright", val, VL) > 0) keys[BK_TURNRIGHT] = Bstrtol(val, NULL, 16);
|
||||
if (readconfig(fp, "keyrun", val, VL) > 0) keys[BK_RUN] = Bstrtol(val, NULL, 16);
|
||||
if (readconfig(fp, "keystrafe", val, VL) > 0) keys[BK_STRAFE] = Bstrtol(val, NULL, 16);
|
||||
// if (readconfig(fp, "keyfire", val, VL) > 0) keys[BK_SHOOT] = Bstrtol(val, NULL, 16);
|
||||
// if (readconfig(fp, "keyuse", val, VL) > 0) keys[BK_OPEN] = Bstrtol(val, NULL, 16);
|
||||
if (readconfig(fp, "keystandhigh", val, VL) > 0) keys[BK_MOVEUP] = Bstrtol(val, NULL, 16);
|
||||
if (readconfig(fp, "keystandlow", val, VL) > 0) keys[BK_MOVEDOWN] = Bstrtol(val, NULL, 16);
|
||||
// if (readconfig(fp, "keylookup", val, VL) > 0) keys[BK_LOOKUP] = Bstrtol(val, NULL, 16);
|
||||
// if (readconfig(fp, "keylookdown", val, VL) > 0) keys[BK_LOOKDOWN] = Bstrtol(val, NULL, 16);
|
||||
// if (readconfig(fp, "keystrafeleft", val, VL) > 0) keys[BK_STRAFELEFT] = Bstrtol(val, NULL, 16);
|
||||
// if (readconfig(fp, "keystraferight", val, VL) > 0) keys[BK_STRAFERIGHT] = Bstrtol(val, NULL, 16);
|
||||
if (readconfig(fp, "key2dmode", val, VL) > 0) keys[BK_MODE2D_3D] = Bstrtol(val, NULL, 16);
|
||||
// if (readconfig(fp, "keyviewcycle", val, VL) > 0) keys[BK_PLAYERVIEW] = Bstrtol(val, NULL, 16);
|
||||
// if (readconfig(fp, "key2dzoomin", val, VL) > 0) keys[BK_ZOOMIN] = Bstrtol(val, NULL, 16);
|
||||
// if (readconfig(fp, "key2dzoomout", val, VL) > 0) keys[BK_ZOOMOUT] = Bstrtol(val, NULL, 16);
|
||||
// if (readconfig(fp, "keychat", val, VL) > 0) keys[BK_MESSAGE] = Bstrtol(val, NULL, 16);
|
||||
#endif
|
||||
|
||||
if (readconfig(fp, "windowpositioning", val, VL) > 0) windowpos = atoi_safe(val);
|
||||
windowx = -1;
|
||||
if (readconfig(fp, "windowposx", val, VL) > 0) windowx = atoi_safe(val);
|
||||
windowy = -1;
|
||||
if (readconfig(fp, "windowposy", val, VL) > 0) windowy = atoi_safe(val);
|
||||
|
||||
if (readconfig(fp, "keyconsole", val, VL) > 0)
|
||||
{
|
||||
keys[BK_CONSOLE] = Bstrtol(val, NULL, 16);
|
||||
OSD_CaptureKey(keys[BK_CONSOLE]);
|
||||
}
|
||||
|
||||
if (readconfig(fp, "mousesensitivity", val, VL) > 0) msens = Bstrtod(val, NULL);
|
||||
|
||||
if (readconfig(fp, "mousenavigation", val, VL) > 0) unrealedlook = !!atoi_safe(val);
|
||||
|
||||
if (readconfig(fp, "mousenavigationaccel", val, VL) > 0) pk_uedaccel = atoi_safe(val);
|
||||
|
||||
if (readconfig(fp, "quickmapcycling", val, VL) > 0) quickmapcycling = !!atoi_safe(val);
|
||||
|
||||
if (readconfig(fp, "sideview_reversehorizrot", val, VL) > 0) sideview_reversehrot = !!atoi_safe(val);
|
||||
if (readconfig(fp, "revertCTRL", val, VL) > 0) revertCTRL = !!atoi_safe(val);
|
||||
|
||||
if (readconfig(fp, "scrollamount", val, VL) > 0) scrollamount = atoi_safe(val);
|
||||
|
||||
if (readconfig(fp, "turnaccel", val, VL) > 0) pk_turnaccel = atoi_safe(val);
|
||||
|
||||
if (readconfig(fp, "turndecel", val, VL) > 0) pk_turndecel = atoi_safe(val);
|
||||
|
||||
if (readconfig(fp, "autosavesec", val, VL) > 0) autosave = max(0, atoi_safe(val));
|
||||
if (readconfig(fp, "autocorruptchecksec", val, VL) > 0) autocorruptcheck = max(0, atoi_safe(val));
|
||||
if (readconfig(fp, "corruptcheck_noalreadyrefd", val, VL) > 0)
|
||||
corruptcheck_noalreadyrefd = !!atoi_safe(val);
|
||||
if (readconfig(fp, "corruptcheck_game_duke3d", val, VL) > 0)
|
||||
corruptcheck_game_duke3d = !!atoi_safe(val);
|
||||
if (readconfig(fp, "corruptcheck_heinum", val, VL) > 0)
|
||||
corruptcheck_heinum = clamp(atoi_safe(val), 0, 2);
|
||||
if (readconfig(fp, "fixmaponsave_sprites", val, VL) > 0)
|
||||
fixmaponsave_sprites = !!atoi_safe(val);
|
||||
if (readconfig(fp, "keeptexturestretch", val, VL) > 0)
|
||||
keeptexturestretch = !!atoi_safe(val);
|
||||
|
||||
if (readconfig(fp, "showheightindicators", val, VL) > 0)
|
||||
showheightindicators = clamp(atoi_safe(val), 0, 2);
|
||||
if (readconfig(fp, "showambiencesounds", val, VL) > 0)
|
||||
showambiencesounds = clamp(atoi_safe(val), 0, 2);
|
||||
|
||||
if (readconfig(fp, "pathsearchmode", val, VL) > 0)
|
||||
pathsearchmode = clamp(atoi_safe(val), 0, 1);
|
||||
|
||||
if (readconfig(fp, "pointhighlightdist", val, VL) > 0)
|
||||
pointhighlightdist = atoi_safe(val);
|
||||
|
||||
if (readconfig(fp, "linehighlightdist", val, VL) > 0)
|
||||
linehighlightdist = atoi_safe(val);
|
||||
|
||||
if (readconfig(fp, "2d3dmode", val, VL) > 0)
|
||||
m32_2d3dmode = clamp(atoi_safe(val), 0, 1);
|
||||
|
||||
if (readconfig(fp, "2d3dsize", val, VL) > 0)
|
||||
m32_2d3dsize = clamp(atoi_safe(val), 3, 5);
|
||||
|
||||
if (readconfig(fp, "2d3d_x", val, VL) > 0)
|
||||
m32_2d3d.x = clamp(atoi_safe(val), 0, 0xffff);
|
||||
|
||||
if (readconfig(fp, "2d3d_y", val, VL) > 0)
|
||||
m32_2d3d.y = clamp(atoi_safe(val), 0, 0xffff);
|
||||
|
||||
if (readconfig(fp, "autogray", val, VL) > 0)
|
||||
autogray = !!atoi_safe(val);
|
||||
// if (readconfig(fp, "showinnergray", val, VL) > 0)
|
||||
// showinnergray = !!atoi_safe(val);
|
||||
|
||||
if (readconfig(fp, "graphicsmode", val, VL) > 0)
|
||||
graphicsmode = clamp(atoi_safe(val), 0, 2);
|
||||
|
||||
if (readconfig(fp, "samplerate", val, VL) > 0) MixRate = clamp(atoi_safe(val), 8000, 48000);
|
||||
if (readconfig(fp, "ambiencetoggle", val, VL) > 0) AmbienceToggle = !!atoi_safe(val);
|
||||
if (readconfig(fp, "parlock", val, VL) > 0) ParentalLock = !!atoi_safe(val);
|
||||
|
||||
if (readconfig(fp, "osdtryscript", val, VL) > 0) m32_osd_tryscript = !!atoi_safe(val);
|
||||
|
||||
if (readconfig(fp, "remap", val, VL) > 0)
|
||||
{
|
||||
char *p=val;
|
||||
uint32_t v1,v2;
|
||||
|
||||
while (*p)
|
||||
{
|
||||
if (!sscanf(p,"%x",&v1))break;
|
||||
if ((p=strchr(p,'-'))==0)break;
|
||||
p++;
|
||||
if (!sscanf(p,"%x",&v2))break;
|
||||
g_keyRemapTable[v1]=v2;
|
||||
initprintf("Remap %X key to %X\n",v1,v2);
|
||||
if ((p=strchr(p,','))==0)break;
|
||||
p++;
|
||||
}
|
||||
}
|
||||
|
||||
// load m32script history
|
||||
for (i=0; i<SCRIPTHISTSIZ; i++)
|
||||
{
|
||||
Bsprintf(val, "hist%d", i);
|
||||
if (readconfig(fp, val, val, VL) <= 0)
|
||||
break;
|
||||
|
||||
scripthist[i] = Xstrdup(val);
|
||||
}
|
||||
|
||||
scripthistend = i;
|
||||
|
||||
// copy script history into OSD history
|
||||
for (i=0; i<min(scripthistend, osd->history.maxlines); i++)
|
||||
{
|
||||
DO_FREE_AND_NULL(osd->history.buf[i]);
|
||||
OSD_SetHistory(i, scripthist[scripthistend-1-i]);
|
||||
|
||||
osd->history.lines++;
|
||||
osd->history.total++;
|
||||
}
|
||||
|
||||
scripthistend %= SCRIPTHISTSIZ;
|
||||
|
||||
buildvfs_fclose(fp);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
void writesettings(void) // save binds and aliases to <cfgname>_m32_settings.cfg
|
||||
{
|
||||
buildvfs_FILE fp;
|
||||
char *ptr = Xstrdup(setupfilename);
|
||||
char tempbuf[128];
|
||||
|
||||
if (!Bstrcmp(setupfilename, defaultsetupfilename))
|
||||
Bsprintf(tempbuf, "m32_settings.cfg");
|
||||
else Bsprintf(tempbuf, "%s_m32_settings.cfg", strtok(ptr, "."));
|
||||
|
||||
fp = buildvfs_fopen_write(tempbuf);
|
||||
|
||||
if (fp)
|
||||
{
|
||||
Bfprintf(fp,"// this file is automatically generated by %s\n", AppProperName);
|
||||
|
||||
OSD_WriteAliases(fp);
|
||||
OSD_WriteCvars(fp);
|
||||
|
||||
buildvfs_fclose(fp);
|
||||
|
||||
if (!Bstrcmp(setupfilename, defaultsetupfilename))
|
||||
OSD_Printf("Wrote m32_settings.cfg\n");
|
||||
else OSD_Printf("Wrote %s_m32_settings.cfg\n",ptr);
|
||||
|
||||
Xfree(ptr);
|
||||
return;
|
||||
}
|
||||
|
||||
if (!Bstrcmp(setupfilename, defaultsetupfilename))
|
||||
OSD_Printf("Error writing m32_settings.cfg: %s\n", strerror(errno));
|
||||
else OSD_Printf("Error writing %s_m32_settings.cfg: %s\n",ptr,strerror(errno));
|
||||
|
||||
Xfree(ptr);
|
||||
}
|
||||
|
||||
int32_t writesetup(const char *fn)
|
||||
{
|
||||
buildvfs_FILE fp;
|
||||
int32_t i,j,first=1;
|
||||
|
||||
fp = buildvfs_fopen_write(fn);
|
||||
if (!fp) return -1;
|
||||
|
||||
Bfprintf(fp,
|
||||
";; NOTE: key-value pairs ending in a trailing ';;' will NOT be read from this\n"
|
||||
";; file, but from m32_settings.cfg, potentially under a different name.\n"
|
||||
"\n"
|
||||
"; Always show configuration options on startup\n"
|
||||
"; 0 - No\n"
|
||||
"; 1 - Yes\n"
|
||||
"forcesetup = %d\n"
|
||||
"\n"
|
||||
"; Video mode selection\n"
|
||||
"; 0 - Windowed\n"
|
||||
"; 1 - Fullscreen\n"
|
||||
"fullscreen = %d\n"
|
||||
"\n"
|
||||
"; Video resolution\n"
|
||||
"xdim2d = %d\n"
|
||||
"ydim2d = %d\n"
|
||||
"xdim3d = %d\n"
|
||||
"ydim3d = %d\n"
|
||||
"\n"
|
||||
"; 3D-mode colour depth\n"
|
||||
"bpp = %d\n"
|
||||
"\n"
|
||||
#ifdef USE_OPENGL
|
||||
"vsync = %d ;;\n"
|
||||
"\n"
|
||||
#endif
|
||||
#ifdef POLYMER
|
||||
"; Rendering mode\n"
|
||||
"rendmode = %d\n"
|
||||
"\n"
|
||||
#endif
|
||||
"; Grid limits\n"
|
||||
"editorgridextent = %d\n"
|
||||
"; Startup grid size (0-8, 9 is automatic)\n"
|
||||
"grid = %d\n"
|
||||
"\n"
|
||||
#ifdef USE_OPENGL
|
||||
";; OpenGL mode options\n"
|
||||
"usemodels = %d ;;\n"
|
||||
"usehightile = %d ;;\n"
|
||||
"; Enabling lazytileselector allows the tile display to interrupt\n"
|
||||
"; drawing hightiles so you can quickly browse without waiting\n"
|
||||
"; for all of them to load. Set to 0 if you experience flickering.\n"
|
||||
"lazytileselector = %d\n"
|
||||
"; glusetexcache: 0:no, 1:yes, 2:compressed\n"
|
||||
"; For best performance, keep this setting in sync with EDuke32\n"
|
||||
"glusetexcache = %d ;;\n"
|
||||
"glusememcache = %d ;;\n"
|
||||
"gltexfiltermode = %d ;;\n"
|
||||
"glanisotropy = %d ;;\n"
|
||||
"r_downsize = %d ;;\n"
|
||||
"r_texcompr = %d ;;\n"
|
||||
"r_shadescale = %g ;;\n"
|
||||
"r_usenewshading = %d ;;\n"
|
||||
# ifdef POLYMER
|
||||
"r_pr_artmapping = %d ;;\n"
|
||||
# endif
|
||||
"\n"
|
||||
#endif
|
||||
"; Use new aspect determination code? (classic/Polymost)\n"
|
||||
"r_usenewaspect = %d ;;\n"
|
||||
#ifndef RENDERTYPEWIN
|
||||
"; Screen aspect for fullscreen, in the form WWHH (e.g. 1609 for 16:9).\n"
|
||||
"; A value of 0 means to assume that the pixel aspect is square.\n"
|
||||
"r_screenxy = %d ;;\n"
|
||||
#endif
|
||||
"\n"
|
||||
|
||||
#ifdef RENDERTYPEWIN
|
||||
"; Maximum OpenGL mode refresh rate (Windows only, in Hertz)\n"
|
||||
"maxrefreshfreq = %d\n"
|
||||
"\n"
|
||||
#endif
|
||||
"; Window positioning, 0 = center, 1 = memory\n"
|
||||
"windowpositioning = %d\n"
|
||||
"windowposx = %d\n"
|
||||
"windowposy = %d\n"
|
||||
"\n"
|
||||
"; 3D mode brightness setting\n"
|
||||
"vid_gamma = %g\n"
|
||||
"vid_brightness = %g\n"
|
||||
"vid_contrast = %g\n"
|
||||
"\n"
|
||||
"; Game executable used for map testing\n"
|
||||
"gameexecutable = %s\n"
|
||||
"\n"
|
||||
#if 0
|
||||
"; Sound sample frequency\n"
|
||||
"; 0 - 6 KHz\n"
|
||||
"; 1 - 8 KHz\n"
|
||||
"; 2 - 11.025 KHz\n"
|
||||
"; 3 - 16 KHz\n"
|
||||
"; 4 - 22.05 KHz\n"
|
||||
"; 5 - 32 KHz\n"
|
||||
"; 6 - 44.1 KHz\n"
|
||||
"samplerate = %d\n"
|
||||
"\n"
|
||||
"; Music playback\n"
|
||||
"; 0 - Off\n"
|
||||
"; 1 - On\n"
|
||||
"music = %d\n"
|
||||
"\n"
|
||||
#endif
|
||||
"; Mouse sensitivity\n"
|
||||
"mousesensitivity = %g\n"
|
||||
"\n"
|
||||
"; Mouse navigation\n"
|
||||
"; 0 - No\n"
|
||||
"; 1 - Yes\n"
|
||||
"mousenavigation = %d\n"
|
||||
"\n"
|
||||
"; Mouse navigation acceleration\n"
|
||||
"mousenavigationaccel = %d\n"
|
||||
"\n"
|
||||
"; Quick map cycling (SHIFT)+CTRL+X\n"
|
||||
"; 0 - No\n"
|
||||
"; 1 - Yes\n"
|
||||
"quickmapcycling = %d\n"
|
||||
"\n"
|
||||
"; Reverse meaning of Q and W keys in side view mode\n"
|
||||
"sideview_reversehorizrot = %d\n"
|
||||
"\n"
|
||||
"; Revert CTRL for tile selction\n"
|
||||
"; 0 - WHEEL:scrolling, CTRL+WHEEL:zooming\n"
|
||||
"; 1 - CTRL+WHEEL:scrolling, WHEEL:zooming\n"
|
||||
"revertCTRL = %d\n"
|
||||
"\n"
|
||||
"; Scroll amount for WHEEL in the tile selection\n"
|
||||
"scrollamount = %d\n"
|
||||
"\n"
|
||||
"; Turning acceleration+declaration\n"
|
||||
"turnaccel = %d\n"
|
||||
"\n"
|
||||
"; Turning deceleration\n"
|
||||
"turndecel = %d\n"
|
||||
"\n"
|
||||
"; Autosave map interval (seconds)\n"
|
||||
"autosavesec = %d\n"
|
||||
"\n"
|
||||
"; Auto corruption check interval (seconds)\n"
|
||||
"autocorruptchecksec = %d\n"
|
||||
"\n"
|
||||
"; Ignore 'already referenced wall' warnings\n"
|
||||
"corruptcheck_noalreadyrefd = %d\n"
|
||||
"\n"
|
||||
"; Flag Duke3D issues\n"
|
||||
"corruptcheck_game_duke3d = %d\n"
|
||||
"\n"
|
||||
"; Auto-correct inconsistent ceilingstat/floorstat bit 2 and .heinum?\n"
|
||||
"; Set to 2, also warn on 'corruptcheck'.\n"
|
||||
"corruptcheck_heinum = %d\n"
|
||||
"\n"
|
||||
"; Fix sprite sectnums when saving a map or entering 3D mode\n"
|
||||
"fixmaponsave_sprites = %d\n"
|
||||
"\n"
|
||||
"; Keep texture stretching when dragging wall vertices\n"
|
||||
"keeptexturestretch = %d\n"
|
||||
"\n"
|
||||
"; Height indicators (0:none, 1:only 2-sided&different, 2:all)\n"
|
||||
"showheightindicators = %d\n"
|
||||
"\n"
|
||||
"; Ambience sound circles (0:none, 1:only in current sector, 2:all)\n"
|
||||
"showambiencesounds = %d\n"
|
||||
"\n"
|
||||
"; Default filesystem mode\n"
|
||||
"pathsearchmode = %d\n"
|
||||
"\n"
|
||||
"; Experimental 2d/3d hybrid mode\n"
|
||||
"2d3dmode = %d\n"
|
||||
"2d3dsize = %d\n"
|
||||
"2d3d_x = %d\n"
|
||||
"2d3d_y = %d\n"
|
||||
"\n"
|
||||
"; Point and line highlight/selection distances\n"
|
||||
"pointhighlightdist = %d\n"
|
||||
"linehighlightdist = %d\n"
|
||||
"\n"
|
||||
"; TROR: Automatic grayout of plain (non-extended) sectors,\n"
|
||||
"; toggled with Ctrl-A:\n"
|
||||
"autogray = %d\n"
|
||||
// "; TROR: Show inner gray walls, toggled with Ctrl-Alt-A:\n"
|
||||
// "showinnergray = %d\n"
|
||||
"\n"
|
||||
"; 2D mode display type (0:classic, 1:textured, 2:textured/animated)\n"
|
||||
"graphicsmode = %d\n"
|
||||
"\n"
|
||||
"; Sample rate in Hz\n"
|
||||
"samplerate = %d\n"
|
||||
"; Ambient sounds in 3D mode (0:off, 1:on)\n"
|
||||
"ambiencetoggle = %d\n"
|
||||
"parlock = %d\n"
|
||||
"\n"
|
||||
"; Try executing m32script on invalid command in the OSD? This makes\n"
|
||||
"; typing m32script commands into the OSD directly possible.\n"
|
||||
"osdtryscript = %d\n"
|
||||
"\n"
|
||||
#if 1
|
||||
"; Key Settings\n"
|
||||
"; Here's a map of all the keyboard scan codes: NOTE: values are listed in hex!\n"
|
||||
"; +---------------------------------------------------------------------------------------------+\n"
|
||||
"; | 01 3B 3C 3D 3E 3F 40 41 42 43 44 57 58 46 |\n"
|
||||
"; |ESC F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 SCROLL |\n"
|
||||
"; | |\n"
|
||||
"; |29 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E D2 C7 C9 45 B5 37 4A |\n"
|
||||
"; | ` '1' '2' '3' '4' '5' '6' '7' '8' '9' '0' - = BACK INS HOME PGUP NUMLK KP/ KP* KP- |\n"
|
||||
"; | |\n"
|
||||
"; | 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 2B D3 CF D1 47 48 49 4E |\n"
|
||||
"; |TAB Q W E R T Y U I O P [ ] \\ DEL END PGDN KP7 KP8 KP9 KP+ |\n"
|
||||
"; | |\n"
|
||||
"; | 3A 1E 1F 20 21 22 23 24 25 26 27 28 1C 4B 4C 4D |\n"
|
||||
"; |CAPS A S D F G H J K L ; ' ENTER KP4 KP5 KP6 9C |\n"
|
||||
"; | KPENTER|\n"
|
||||
"; | 2A 2C 2D 2E 2F 30 31 32 33 34 35 36 C8 4F 50 51 |\n"
|
||||
"; |LSHIFT Z X C V B N M , . / RSHIFT UP KP1 KP2 KP3 |\n"
|
||||
"; | |\n"
|
||||
"; | 1D 38 39 B8 9D CB D0 CD 52 53 |\n"
|
||||
"; |LCTRL LALT SPACE RALT RCTRL LEFT DOWN RIGHT KP0 KP. |\n"
|
||||
"; +---------------------------------------------------------------------------------------------+\n"
|
||||
"\n"
|
||||
"keyforward = %X\n"
|
||||
"keybackward = %X\n"
|
||||
"keyturnleft = %X\n"
|
||||
"keyturnright = %X\n"
|
||||
"keyrun = %X\n"
|
||||
"keystrafe = %X\n"
|
||||
// "keyfire = %X\n"
|
||||
// "keyuse = %X\n"
|
||||
"keystandhigh = %X\n"
|
||||
"keystandlow = %X\n"
|
||||
// "keylookup = %X\n"
|
||||
// "keylookdown = %X\n"
|
||||
// "keystrafeleft = %X\n"
|
||||
// "keystraferight = %X\n"
|
||||
"key2dmode = %X\n"
|
||||
// "keyviewcycle = %X\n"
|
||||
// "key2dzoomin = %X\n"
|
||||
// "key2dzoomout = %X\n"
|
||||
// "keychat = %X\n"
|
||||
#endif
|
||||
// "; Console key scancode, in hex\n"
|
||||
"keyconsole = %X\n"
|
||||
"\n"
|
||||
"; This option allows you to remap keys in case some of them are not available\n"
|
||||
"; (like on a notebook). It has to be a comma-separated list of SOURCE-TARGET\n"
|
||||
"; scancode values, looked up in the keyboard map above. This also means that\n"
|
||||
"; the key positions count, not their labels for non-US keyboards.\n"
|
||||
";\n"
|
||||
"; Example:\n"
|
||||
"; 1. Map the backslash key (0x2B) to KPENTER (9C), since portable devices\n"
|
||||
"; often don't have the latter\n"
|
||||
"; 2. make KP0 (0x52) function as KP5 (0x4C), countering the inability to pan\n"
|
||||
"; using Shift-KP5-KP8/2 in 3D mode\n"
|
||||
"; remap = 2B-9C,52-4C\n"
|
||||
"remap = ",
|
||||
|
||||
forcesetup, fullscreen, xdim2d, ydim2d, xdimgame, ydimgame, bppgame,
|
||||
#ifdef USE_OPENGL
|
||||
vsync,
|
||||
#endif
|
||||
#ifdef POLYMER
|
||||
glrendmode,
|
||||
#endif
|
||||
editorgridextent, clamp(default_grid, 0, 9),
|
||||
#ifdef USE_OPENGL
|
||||
usemodels, usehightile, g_lazy_tileselector,
|
||||
glusetexcache, glusememcache, gltexfiltermode, glanisotropy,r_downsize,glusetexcompr,
|
||||
shadescale, r_usenewshading,
|
||||
# ifdef POLYMER
|
||||
pr_artmapping,
|
||||
# endif
|
||||
#endif
|
||||
r_usenewaspect,
|
||||
#ifndef RENDERTYPEWIN
|
||||
r_screenxy,
|
||||
#else
|
||||
maxrefreshfreq,
|
||||
#endif
|
||||
windowpos, windowx, windowy,
|
||||
vid_gamma_3d>=0?vid_gamma_3d:g_videoGamma,
|
||||
vid_brightness_3d>=0?vid_brightness_3d:g_videoBrightness,
|
||||
vid_contrast_3d>=0?vid_contrast_3d:g_videoContrast,
|
||||
game_executable,
|
||||
#if 0
|
||||
option[7]>>4, option[2],
|
||||
#endif
|
||||
msens, unrealedlook, pk_uedaccel, quickmapcycling,
|
||||
sideview_reversehrot,
|
||||
revertCTRL,scrollamount,pk_turnaccel,pk_turndecel,autosave,autocorruptcheck,
|
||||
corruptcheck_noalreadyrefd, corruptcheck_game_duke3d,
|
||||
corruptcheck_heinum, fixmaponsave_sprites, keeptexturestretch,
|
||||
showheightindicators,showambiencesounds,pathsearchmode,
|
||||
m32_2d3dmode,m32_2d3dsize,m32_2d3d.x, m32_2d3d.y,
|
||||
pointhighlightdist, linehighlightdist,
|
||||
autogray, //showinnergray,
|
||||
graphicsmode,
|
||||
MixRate,AmbienceToggle,ParentalLock, !!m32_osd_tryscript,
|
||||
|
||||
keys[BK_MOVEFORWARD],
|
||||
keys[BK_MOVEBACKWARD],
|
||||
keys[BK_TURNLEFT],
|
||||
keys[BK_TURNRIGHT],
|
||||
keys[BK_RUN],
|
||||
keys[BK_STRAFE],
|
||||
// keys[BK_SHOOT],
|
||||
// keys[BK_OPEN],
|
||||
keys[BK_MOVEUP],
|
||||
keys[BK_MOVEDOWN],
|
||||
// keys[BK_LOOKUP],
|
||||
// keys[BK_LOOKDOWN],
|
||||
// keys[BK_STRAFELEFT],
|
||||
// keys[BK_STRAFERIGHT],
|
||||
keys[BK_MODE2D_3D],
|
||||
// keys[BK_PLAYERVIEW],
|
||||
// keys[BK_ZOOMIN],
|
||||
// keys[BK_ZOOMOUT],
|
||||
// keys[BK_MESSAGE],
|
||||
keys[BK_CONSOLE]
|
||||
);
|
||||
|
||||
for (i=0; i<256; i++)
|
||||
if (g_keyRemapTable[i]!=i)
|
||||
{
|
||||
Bfprintf(fp,first?"%02X-%02X":",%02X-%02X",i,g_keyRemapTable[i]);
|
||||
first=0;
|
||||
}
|
||||
Bfprintf(fp,"\n\n");
|
||||
|
||||
// save m32script history
|
||||
Bfprintf(fp,"; Mapster32-script history\n");
|
||||
first = 1;
|
||||
for (i=scripthistend, j=0; first || i!=scripthistend; i=(i+1)%SCRIPTHISTSIZ, first=0)
|
||||
{
|
||||
if (scripthist[i])
|
||||
Bfprintf(fp, "hist%d = %s\n", j++, scripthist[i]);
|
||||
}
|
||||
|
||||
buildvfs_fclose(fp);
|
||||
|
||||
writesettings();
|
||||
|
||||
return 0;
|
||||
}
|
|
@ -15,7 +15,7 @@
|
|||
#include "colmatch.h"
|
||||
#include "common.h"
|
||||
#include "compat.h"
|
||||
#include "crc32.h"
|
||||
#include "crc32_.h"
|
||||
#include "engine_priv.h"
|
||||
#include "lz4.h"
|
||||
#include "osd.h"
|
||||
|
@ -117,7 +117,7 @@ int32_t novoxmips = 1;
|
|||
#else
|
||||
# define DISTRECIPSIZ 131072
|
||||
#endif
|
||||
static char voxlock[MAXVOXELS][MAXVOXMIPS];
|
||||
static uint8_t voxlock[MAXVOXELS][MAXVOXMIPS];
|
||||
int32_t voxscale[MAXVOXELS];
|
||||
|
||||
static int32_t ggxinc[MAXXSIZ+1], ggyinc[MAXXSIZ+1];
|
||||
|
@ -1437,7 +1437,7 @@ typedef struct
|
|||
int32_t sx, sy, z;
|
||||
int16_t a, picnum;
|
||||
int8_t dashade;
|
||||
char dapalnum, dastat;
|
||||
uint8_t dapalnum, dastat;
|
||||
uint8_t daalpha, dablend;
|
||||
char pagesleft;
|
||||
int32_t cx1, cy1, cx2, cy2;
|
||||
|
@ -6912,7 +6912,7 @@ void dorotspr_handle_bit2(int32_t *sxptr, int32_t *syptr, int32_t *z, int32_t da
|
|||
//
|
||||
//JBF 20031206: Thanks to Ken's hunting, s/(rx1|ry1|rx2|ry2)/n\1/ in this function
|
||||
static void dorotatesprite(int32_t sx, int32_t sy, int32_t z, int16_t a, int16_t picnum,
|
||||
int8_t dashade, char dapalnum, int32_t dastat, uint8_t daalpha, uint8_t dablend,
|
||||
int8_t dashade, uint8_t dapalnum, int32_t dastat, uint8_t daalpha, uint8_t dablend,
|
||||
int32_t cx1, int32_t cy1, int32_t cx2, int32_t cy2,
|
||||
int32_t uniqid)
|
||||
{
|
||||
|
@ -11994,7 +11994,7 @@ void renderFlushPerms(void)
|
|||
// rotatesprite
|
||||
//
|
||||
void rotatesprite_(int32_t sx, int32_t sy, int32_t z, int16_t a, int16_t picnum,
|
||||
int8_t dashade, char dapalnum, int32_t dastat, uint8_t daalpha, uint8_t dablend,
|
||||
int8_t dashade, uint8_t dapalnum, int32_t dastat, uint8_t daalpha, uint8_t dablend,
|
||||
int32_t cx1, int32_t cy1, int32_t cx2, int32_t cy2)
|
||||
{
|
||||
int32_t i;
|
||||
|
|
|
@ -105,7 +105,7 @@ extern int16_t searchbottomwall, searchisbottom;
|
|||
|
||||
extern char inpreparemirror;
|
||||
|
||||
extern char picsiz[MAXTILES];
|
||||
extern uint8_t picsiz[MAXTILES];
|
||||
extern int16_t sectorborder[256];
|
||||
extern int32_t qsetmode;
|
||||
extern int32_t hitallsprites;
|
||||
|
|
|
@ -177,106 +177,7 @@ static void *glugetproc_(const char *s, int32_t *err, int32_t fatal)
|
|||
#define GLUGETPROCSOFT(s) glugetproc_(s,&err,0)
|
||||
#endif
|
||||
|
||||
int32_t loadglulibrary(const char *driver)
|
||||
{
|
||||
#if defined DYNAMIC_GLU
|
||||
int32_t err=0;
|
||||
|
||||
#if defined _WIN32
|
||||
if (hGLUDLL) return 0;
|
||||
#endif
|
||||
|
||||
if (!driver)
|
||||
{
|
||||
#ifdef _WIN32
|
||||
driver = "glu32.dll";
|
||||
#elif defined __APPLE__
|
||||
driver = "/System/Library/Frameworks/OpenGL.framework/OpenGL"; // FIXME: like I know anything about Apple. Hah.
|
||||
#elif defined __OpenBSD__
|
||||
driver = "libGLU.so";
|
||||
#else
|
||||
driver = "libGLU.so.1";
|
||||
#endif
|
||||
}
|
||||
|
||||
#if defined _WIN32
|
||||
hGLUDLL = LoadLibrary(driver);
|
||||
if (!hGLUDLL)
|
||||
#else
|
||||
gluhandle = dlopen(driver, RTLD_NOW|RTLD_GLOBAL);
|
||||
if (!gluhandle)
|
||||
#endif
|
||||
{
|
||||
initprintf("Failed loading \"%s\"\n",driver);
|
||||
return -1;
|
||||
}
|
||||
|
||||
glulibrary = Xstrdup(driver);
|
||||
|
||||
bgluTessBeginContour = (bgluTessBeginContourProcPtr) GLUGETPROC("gluTessBeginContour");
|
||||
bgluTessBeginPolygon = (bgluTessBeginPolygonProcPtr) GLUGETPROC("gluTessBeginPolygon");
|
||||
bgluTessCallback = (bgluTessCallbackProcPtr) GLUGETPROC("gluTessCallback");
|
||||
bgluTessEndContour = (bgluTessEndContourProcPtr) GLUGETPROC("gluTessEndContour");
|
||||
bgluTessEndPolygon = (bgluTessEndPolygonProcPtr) GLUGETPROC("gluTessEndPolygon");
|
||||
bgluTessNormal = (bgluTessNormalProcPtr) GLUGETPROC("gluTessNormal");
|
||||
bgluTessProperty = (bgluTessPropertyProcPtr) GLUGETPROC("gluTessProperty");
|
||||
bgluTessVertex = (bgluTessVertexProcPtr) GLUGETPROC("gluTessVertex");
|
||||
bgluNewTess = (bgluNewTessProcPtr) GLUGETPROC("gluNewTess");
|
||||
bgluDeleteTess = (bgluDeleteTessProcPtr) GLUGETPROC("gluDeleteTess");
|
||||
|
||||
bgluPerspective = (bgluPerspectiveProcPtr) GLUGETPROC("gluPerspective");
|
||||
|
||||
bgluErrorString = (bgluErrorStringProcPtr) GLUGETPROC("gluErrorString");
|
||||
|
||||
bgluProject = (bgluProjectProcPtr) GLUGETPROC("gluProject");
|
||||
bgluUnProject = (bgluUnProjectProcPtr) GLUGETPROC("gluUnProject");
|
||||
|
||||
//if (err) unloadglulibrary();
|
||||
return err;
|
||||
#else
|
||||
UNREFERENCED_PARAMETER(driver);
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
int32_t unloadglulibrary(void)
|
||||
{
|
||||
#if defined DYNAMIC_GLU
|
||||
#if defined _WIN32
|
||||
if (!hGLUDLL) return 0;
|
||||
#endif
|
||||
|
||||
DO_FREE_AND_NULL(glulibrary);
|
||||
|
||||
#if defined _WIN32
|
||||
FreeLibrary(hGLUDLL);
|
||||
hGLUDLL = NULL;
|
||||
#else
|
||||
if (gluhandle) dlclose(gluhandle);
|
||||
gluhandle = NULL;
|
||||
#endif
|
||||
|
||||
bgluTessBeginContour = (bgluTessBeginContourProcPtr) NULL;
|
||||
bgluTessBeginPolygon = (bgluTessBeginPolygonProcPtr) NULL;
|
||||
bgluTessCallback = (bgluTessCallbackProcPtr) NULL;
|
||||
bgluTessEndContour = (bgluTessEndContourProcPtr) NULL;
|
||||
bgluTessEndPolygon = (bgluTessEndPolygonProcPtr) NULL;
|
||||
bgluTessNormal = (bgluTessNormalProcPtr) NULL;
|
||||
bgluTessProperty = (bgluTessPropertyProcPtr) NULL;
|
||||
bgluTessVertex = (bgluTessVertexProcPtr) NULL;
|
||||
bgluNewTess = (bgluNewTessProcPtr) NULL;
|
||||
bgluDeleteTess = (bgluDeleteTessProcPtr) NULL;
|
||||
|
||||
bgluPerspective = (bgluPerspectiveProcPtr) NULL;
|
||||
|
||||
bgluErrorString = (bgluErrorStringProcPtr) NULL;
|
||||
|
||||
bgluProject = (bgluProjectProcPtr) NULL;
|
||||
bgluUnProject = (bgluUnProjectProcPtr) NULL;
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
//////// glGenTextures/glDeleteTextures debugging ////////
|
||||
|
|
|
@ -2450,7 +2450,7 @@ intptr_t kzopen(const char *filnam)
|
|||
|
||||
#if defined(_WIN32)
|
||||
static HANDLE hfind = INVALID_HANDLE_VALUE;
|
||||
static WIN32_FIND_DATA findata;
|
||||
static WIN32_FIND_DATAA findata;
|
||||
#else
|
||||
#include <dirent.h>
|
||||
#define MAX_PATH 260
|
||||
|
@ -2502,7 +2502,7 @@ int32_t kzfindfile(char *filnam)
|
|||
Bmemcpy(filnam,newildst,wildstpathleng);
|
||||
|
||||
#if defined(_WIN32)
|
||||
hfind = FindFirstFile(newildst,&findata);
|
||||
hfind = FindFirstFileA(newildst,&findata);
|
||||
if (hfind == INVALID_HANDLE_VALUE)
|
||||
{ if (!kzhashbuf) return 0; srchstat = 2; continue; }
|
||||
if (findata.dwFileAttributes&FILE_ATTRIBUTE_HIDDEN) continue;
|
||||
|
@ -2535,7 +2535,7 @@ int32_t kzfindfile(char *filnam)
|
|||
{
|
||||
Bmemcpy(filnam,newildst,wildstpathleng);
|
||||
#if defined(_WIN32)
|
||||
if (!FindNextFile(hfind,&findata))
|
||||
if (!FindNextFileA(hfind,&findata))
|
||||
{ FindClose(hfind); hfind = INVALID_HANDLE_VALUE; if (!kzhashbuf) return 0; srchstat = 2; break; }
|
||||
if (findata.dwFileAttributes&FILE_ATTRIBUTE_HIDDEN) continue;
|
||||
i = wildstpathleng;
|
||||
|
|
|
@ -1,252 +0,0 @@
|
|||
/* The Lunatic Interpreter, part of EDuke32. Common, engine-side stuff. */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifdef USE_LUAJIT_2_1
|
||||
# include <luajit-2.1/lua.h>
|
||||
# include <luajit-2.1/lualib.h>
|
||||
# include <luajit-2.1/lauxlib.h>
|
||||
#else
|
||||
# include <luajit-2.0/lua.h>
|
||||
# include <luajit-2.0/lualib.h>
|
||||
# include <luajit-2.0/lauxlib.h>
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#include "build.h"
|
||||
#include "cache1d.h"
|
||||
#include "osd.h"
|
||||
|
||||
#include "lunatic.h"
|
||||
|
||||
#include "vfs.h"
|
||||
|
||||
|
||||
////////// HELPER FUNCTIONS //////////
|
||||
|
||||
// Lua-registry key for debug.traceback
|
||||
static uint8_t debug_traceback_key;
|
||||
|
||||
void L_CheckAndRegisterFunction(lua_State *L, void *regkeyaddr)
|
||||
{
|
||||
luaL_checktype(L, -1, LUA_TFUNCTION);
|
||||
|
||||
lua_pushlightuserdata(L, regkeyaddr); // 3, push address
|
||||
lua_pushvalue(L, -2); // 4, push copy of lua function
|
||||
|
||||
lua_settable(L, LUA_REGISTRYINDEX); // "registry[regkeyaddr] = <lua function>", pop 2
|
||||
}
|
||||
|
||||
static void L_SetupDebugTraceback(lua_State *L)
|
||||
{
|
||||
// get debug.traceback
|
||||
lua_getglobal(L, "debug");
|
||||
lua_getfield(L, -1, "traceback");
|
||||
Bassert(lua_isfunction(L, -1));
|
||||
L_CheckAndRegisterFunction(L, &debug_traceback_key);
|
||||
lua_pop(L, 2);
|
||||
}
|
||||
|
||||
void L_PushDebugTraceback(lua_State *L)
|
||||
{
|
||||
// get debug.traceback
|
||||
lua_pushlightuserdata(L, &debug_traceback_key);
|
||||
lua_gettable(L, LUA_REGISTRYINDEX);
|
||||
Bassert(lua_isfunction(L, -1));
|
||||
}
|
||||
|
||||
|
||||
static int32_t read_whole_file(const char *fn, char **retbufptr)
|
||||
{
|
||||
int32_t flen, i;
|
||||
char *buf;
|
||||
|
||||
*retbufptr = NULL;
|
||||
|
||||
buildvfs_kfd fid = kopen4load(fn, 0); // TODO: g_loadFromGroupOnly, kopen4loadfrommod ?
|
||||
|
||||
if (fid == buildvfs_kfd_invalid)
|
||||
return 1;
|
||||
|
||||
flen = kfilelength(fid);
|
||||
if (flen == 0)
|
||||
{
|
||||
kclose(fid);
|
||||
return 5;
|
||||
}
|
||||
|
||||
buf = (char *)Xmalloc(flen+1);
|
||||
|
||||
i = kread(fid, buf, flen);
|
||||
kclose(fid);
|
||||
|
||||
if (i != flen)
|
||||
{
|
||||
Xfree(buf);
|
||||
return 2;
|
||||
}
|
||||
|
||||
buf[flen] = 0;
|
||||
*retbufptr = buf;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
////////// EXTERNAL FUNCTIONS //////////
|
||||
|
||||
// 0: success, <0: failure
|
||||
int L_CreateState(L_State *estate, const char *name, void (*StateSetupFunc)(lua_State *))
|
||||
{
|
||||
lua_State *L;
|
||||
|
||||
estate->name = Xstrdup(name);
|
||||
|
||||
L = estate->L = luaL_newstate();
|
||||
|
||||
if (!estate->L)
|
||||
{
|
||||
DO_FREE_AND_NULL(estate->name);
|
||||
return -2;
|
||||
}
|
||||
|
||||
luaL_openlibs(L);
|
||||
L_SetupDebugTraceback(L);
|
||||
if (StateSetupFunc)
|
||||
StateSetupFunc(L);
|
||||
|
||||
if (lua_gettop(L)==0)
|
||||
L_PushDebugTraceback(L);
|
||||
// Otherwise, it is assumed that StateSetupFunc pushed a custom traceback
|
||||
// function onto the stack.
|
||||
|
||||
Bassert(lua_gettop(L)==1);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
void L_DestroyState(L_State *estate)
|
||||
{
|
||||
if (!L_IsInitialized(estate))
|
||||
return;
|
||||
|
||||
DO_FREE_AND_NULL(estate->name);
|
||||
|
||||
lua_close(estate->L);
|
||||
estate->L = NULL;
|
||||
}
|
||||
|
||||
static void L_OnOutOfMem(void)
|
||||
{
|
||||
OSD_Printf("Out of memory in Lunatic.\n");
|
||||
engineUnInit();
|
||||
exit(127);
|
||||
}
|
||||
|
||||
void (*L_ErrorFunc)(const char *) = NULL;
|
||||
void (*L_OutOfMemFunc)(void) = L_OnOutOfMem;
|
||||
|
||||
int L_HandleError(lua_State *L, int errcode, void (*ErrorPrintFunc)(const char *))
|
||||
{
|
||||
if (errcode == LUA_ERRMEM)
|
||||
L_OutOfMemFunc();
|
||||
|
||||
if (errcode == LUA_ERRRUN || errcode == LUA_ERRERR)
|
||||
{
|
||||
if (lua_isboolean(L, -1))
|
||||
{
|
||||
int32_t killit = lua_toboolean(L, -1);
|
||||
lua_pop(L, 1);
|
||||
return killit;
|
||||
}
|
||||
else
|
||||
{
|
||||
const char *errstr = (lua_type(L, -1)==LUA_TSTRING) ?
|
||||
lua_tostring(L, -1) : "??? (error message not a string)";
|
||||
|
||||
ErrorPrintFunc(errstr);
|
||||
if (L_ErrorFunc)
|
||||
L_ErrorFunc(errstr);
|
||||
lua_pop(L, 1);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
/* unreachable */
|
||||
#ifndef NDEBUG
|
||||
Bassert(0);
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void L_ErrorPrint(const char *errmsg)
|
||||
{
|
||||
OSD_Printf(OSD_ERROR "runtime error: %s\n", errmsg);
|
||||
}
|
||||
|
||||
// size < 0: length of <buf> is determined using strlen()
|
||||
// size >= 0: size given, for loading of LuaJIT bytecode
|
||||
int L_RunString(L_State *estate, char const *buf, int size, const char *name)
|
||||
{
|
||||
int32_t i;
|
||||
lua_State *L = estate->L;
|
||||
|
||||
// -- lua --
|
||||
Bassert(lua_gettop(L)==1);
|
||||
// on top: a traceback function
|
||||
Bassert(lua_iscfunction(L, 1));
|
||||
|
||||
if (size < 0)
|
||||
i = luaL_loadstring(L, buf);
|
||||
else
|
||||
i = luaL_loadbuffer(L, buf, size, name);
|
||||
Bassert(lua_gettop(L)==2);
|
||||
|
||||
if (i == LUA_ERRMEM)
|
||||
L_OutOfMemFunc();
|
||||
|
||||
if (i == LUA_ERRSYNTAX)
|
||||
{
|
||||
OSD_Printf(OSD_ERROR "state \"%s\" syntax error: %s\n", estate->name,
|
||||
lua_tostring(L, -1)); // get err msg
|
||||
lua_pop(L, 1); // pop errmsg
|
||||
return 3;
|
||||
}
|
||||
|
||||
// call the lua chunk!
|
||||
i = lua_pcall(L, 0, 0, 1);
|
||||
Bassert(lua_gettop(L) == 1 + (i!=0));
|
||||
|
||||
if (i != 0)
|
||||
L_HandleError(L, i, &L_ErrorPrint);
|
||||
|
||||
Bassert(lua_gettop(L)==1);
|
||||
|
||||
return i ? 4 : 0;
|
||||
}
|
||||
|
||||
// -1: alloc failure
|
||||
// 0: success
|
||||
// 1: didn't find file
|
||||
// 2: couldn't read whole file
|
||||
// 3: syntax error in lua file
|
||||
// 4: runtime error while executing lua file
|
||||
// 5: empty file
|
||||
int L_RunOnce(L_State *estate, const char *fn)
|
||||
{
|
||||
char *buf;
|
||||
int32_t i = read_whole_file(fn, &buf);
|
||||
|
||||
if (i != 0)
|
||||
return i;
|
||||
|
||||
int const retval = L_RunString(estate, buf, -1, fn);
|
||||
Xfree(buf);
|
||||
return retval;
|
||||
}
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
#include "build.h"
|
||||
#include "cache1d.h"
|
||||
#include "crc32.h"
|
||||
#include "crc32_.h"
|
||||
#include "compat.h"
|
||||
#include "baselayer.h"
|
||||
#include "osd.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include "compat.h"
|
||||
#include "pngwrite.h"
|
||||
#include "crc32.h"
|
||||
#include "crc32_.h"
|
||||
|
||||
#include "vfs.h"
|
||||
|
||||
|
@ -17,13 +17,13 @@ static FORCE_INLINE void png_write_uint32(uint32_t const in)
|
|||
static void png_write_chunk(uint32_t const size, char const *const type,
|
||||
uint8_t const *const data, uint32_t flags)
|
||||
{
|
||||
mz_ulong chunk_size = (flags & CHUNK_COMPRESSED) ? compressBound(size) : size;
|
||||
uLongf chunk_size = (flags & CHUNK_COMPRESSED) ? compressBound(size) : size;
|
||||
uint8_t * const chunk = (uint8_t *) Xcalloc(1, 4 + chunk_size);
|
||||
|
||||
Bmemcpy(chunk, type, 4);
|
||||
|
||||
if (flags & CHUNK_COMPRESSED)
|
||||
compress(chunk + 4, (mz_ulong *) &chunk_size, data, size);
|
||||
compress(chunk + 4, (uLongf *) &chunk_size, data, size);
|
||||
else
|
||||
Bmemcpy(chunk + 4, data, size);
|
||||
|
||||
|
|
|
@ -6784,7 +6784,7 @@ EDUKE32_STATIC_ASSERT((int)RS_YFLIP == (int)HUDFLAG_FLIPPED);
|
|||
//cx1,... clip window (actual screen coords)
|
||||
|
||||
void polymost_dorotatespritemodel(int32_t sx, int32_t sy, int32_t z, int16_t a, int16_t picnum,
|
||||
int8_t dashade, char dapalnum, int32_t dastat, uint8_t daalpha, uint8_t dablend, int32_t uniqid)
|
||||
int8_t dashade, uint8_t dapalnum, int32_t dastat, uint8_t daalpha, uint8_t dablend, int32_t uniqid)
|
||||
{
|
||||
float d, cosang, sinang, cosang2, sinang2;
|
||||
float m[4][4];
|
||||
|
@ -7022,7 +7022,7 @@ void polymost_dorotatespritemodel(int32_t sx, int32_t sy, int32_t z, int16_t a,
|
|||
}
|
||||
|
||||
void polymost_dorotatesprite(int32_t sx, int32_t sy, int32_t z, int16_t a, int16_t picnum,
|
||||
int8_t dashade, char dapalnum, int32_t dastat, uint8_t daalpha, uint8_t dablend,
|
||||
int8_t dashade, uint8_t dapalnum, int32_t dastat, uint8_t daalpha, uint8_t dablend,
|
||||
int32_t cx1, int32_t cy1, int32_t cx2, int32_t cy2, int32_t uniqid)
|
||||
{
|
||||
if (usemodels && tile2model[picnum].hudmem[(dastat&4)>>2])
|
||||
|
|
|
@ -1,315 +0,0 @@
|
|||
|
||||
#include "windows_inc.h"
|
||||
|
||||
#include "compat.h"
|
||||
#include "rawinput.h"
|
||||
#include "winlayer.h"
|
||||
#include "scancodes.h"
|
||||
#include "build.h"
|
||||
|
||||
static BOOL rawinput_started = 0;
|
||||
static uint8_t KeyboardState[256] = {0}; // VKeys
|
||||
|
||||
extern bool g_mouseEnabled, g_mouseGrabbed;
|
||||
extern void keySetState(int32_t key, int32_t state);
|
||||
|
||||
//#define MASK_DOWN (1<<(i<<1))
|
||||
//#define MASK_UP (MASK_DOWN<<1)
|
||||
#ifndef GET_RAWINPUT_CODE_WPARAM
|
||||
#define GET_RAWINPUT_CODE_WPARAM(wParam) ((wParam) & 0xff)
|
||||
#endif
|
||||
|
||||
static inline void RI_ProcessMouse(const RAWMOUSE *rmouse)
|
||||
{
|
||||
int32_t i, mask;
|
||||
int8_t MWheel = 0;
|
||||
|
||||
if (!g_mouseGrabbed || !appactive)
|
||||
return;
|
||||
|
||||
g_mousePos.x += rmouse->lLastX;
|
||||
g_mousePos.y += rmouse->lLastY;
|
||||
|
||||
if (rmouse->usFlags & MOUSE_MOVE_ABSOLUTE)
|
||||
{
|
||||
// untested... maybe devices like wacom tablets set this flag?
|
||||
POINT pos = { xdim>>1, ydim>>1 };
|
||||
|
||||
ClientToScreen((HWND)win_gethwnd(), &pos);
|
||||
|
||||
g_mousePos.x -= pos.x;
|
||||
g_mousePos.y -= pos.y;
|
||||
}
|
||||
|
||||
for (i = 0, mask = (1<<0); mask <= (1<<8); i++, mask<<=2)
|
||||
{
|
||||
// usButtonFlags:
|
||||
// 1<<0: left down -> 1 / 1<<0
|
||||
// 1<<2: middle down -> 2 / 1<<1
|
||||
// 1<<4: right down -> 3 / 1<<2
|
||||
// 1<<6: x1 down -> 4 / 1<<3
|
||||
// ----------- mwheel here
|
||||
// 1<<8: x2 down -> 7 / 1<<6
|
||||
|
||||
if (mask == 1<<8)
|
||||
i = 6;
|
||||
|
||||
if (rmouse->usButtonFlags & mask) // button down
|
||||
{
|
||||
if (g_mouseCallback)
|
||||
g_mouseCallback(i+1, 1);
|
||||
g_mouseBits |= 1<<i;
|
||||
}
|
||||
else if (rmouse->usButtonFlags & (mask<<1)) // button up
|
||||
{
|
||||
if (g_mouseCallback)
|
||||
g_mouseCallback(i+1, 0);
|
||||
g_mouseBits &= ~(1<<i);
|
||||
}
|
||||
}
|
||||
|
||||
MWheel = (rmouse->usButtonFlags & RI_MOUSE_WHEEL) ? rmouse->usButtonData : 0;
|
||||
|
||||
if (MWheel > 0) // wheel up
|
||||
{
|
||||
g_mouseBits |= 16;
|
||||
if (g_mouseCallback) g_mouseCallback(5, 1);
|
||||
}
|
||||
else if (MWheel < 0) // wheel down
|
||||
{
|
||||
g_mouseBits |= 32;
|
||||
if (g_mouseCallback) g_mouseCallback(6, 1);
|
||||
}
|
||||
}
|
||||
|
||||
static inline void RI_ProcessKeyboard(const RAWKEYBOARD *rkbd)
|
||||
{
|
||||
uint8_t key = rkbd->MakeCode, VKey = rkbd->VKey;
|
||||
|
||||
// for some reason rkbd->MakeCode is wrong for these
|
||||
// even though rkbd->VKey is right...
|
||||
|
||||
switch (VKey)
|
||||
{
|
||||
case VK_SHIFT:
|
||||
if (rkbd->Flags & RI_KEY_E0)
|
||||
VKey = VK_RSHIFT, key = sc_RightShift;
|
||||
break;
|
||||
case VK_CONTROL:
|
||||
if (rkbd->Flags & RI_KEY_E0)
|
||||
VKey = VK_RCONTROL, key = sc_RightControl;
|
||||
break;
|
||||
case VK_MENU:
|
||||
if (rkbd->Flags & RI_KEY_E0)
|
||||
VKey = VK_RMENU, key = sc_RightAlt;
|
||||
break;
|
||||
case VK_UP:
|
||||
case VK_NUMPAD8:
|
||||
if (rkbd->Flags & RI_KEY_E0)
|
||||
VKey = VK_UP, key = sc_UpArrow;
|
||||
else
|
||||
VKey = VK_NUMPAD8, key = sc_kpad_8;
|
||||
break;
|
||||
case VK_DOWN:
|
||||
case VK_NUMPAD2:
|
||||
if (rkbd->Flags & RI_KEY_E0)
|
||||
VKey = VK_DOWN, key = sc_DownArrow;
|
||||
else
|
||||
VKey = VK_NUMPAD2, key = sc_kpad_2;
|
||||
break;
|
||||
case VK_LEFT:
|
||||
case VK_NUMPAD4:
|
||||
if (rkbd->Flags & RI_KEY_E0)
|
||||
VKey = VK_LEFT, key = sc_LeftArrow;
|
||||
else
|
||||
VKey = VK_NUMPAD4, key = sc_kpad_4;
|
||||
break;
|
||||
case VK_RIGHT:
|
||||
case VK_NUMPAD6:
|
||||
if (rkbd->Flags & RI_KEY_E0)
|
||||
VKey = VK_RIGHT, key = sc_RightArrow;
|
||||
else
|
||||
VKey = VK_NUMPAD6, key = sc_kpad_6;
|
||||
break;
|
||||
case VK_DIVIDE:
|
||||
#if 0
|
||||
if (rkbd->Flags & RI_KEY_E0)
|
||||
key = sc_Slash;
|
||||
else
|
||||
#endif
|
||||
key = sc_kpad_Slash;
|
||||
break;
|
||||
case VK_INSERT:
|
||||
key = sc_Insert;
|
||||
break;
|
||||
case VK_HOME:
|
||||
key = sc_Home;
|
||||
break;
|
||||
case VK_DELETE:
|
||||
key = sc_Delete;
|
||||
break;
|
||||
case VK_END:
|
||||
key = sc_End;
|
||||
break;
|
||||
case VK_PRIOR:
|
||||
key = sc_PgUp;
|
||||
break;
|
||||
case VK_NEXT:
|
||||
key = sc_PgDn;
|
||||
break;
|
||||
case VK_RETURN:
|
||||
if (rkbd->Flags & RI_KEY_E0)
|
||||
key = sc_kpad_Enter;
|
||||
break;
|
||||
case VK_PAUSE:
|
||||
KeyboardState[VKey] = 1 - (rkbd->Flags & RI_KEY_BREAK);
|
||||
if (rkbd->Flags & RI_KEY_BREAK)
|
||||
return;
|
||||
|
||||
keySetState(sc_Pause, 1);
|
||||
|
||||
if (keypresscallback)
|
||||
keypresscallback(sc_Pause, 1);
|
||||
case 0xFF:
|
||||
return;
|
||||
}
|
||||
|
||||
KeyboardState[VKey] = 1 - (rkbd->Flags & RI_KEY_BREAK);
|
||||
|
||||
if (OSD_HandleScanCode(key, KeyboardState[VKey] > 0))
|
||||
{
|
||||
keySetState(key, KeyboardState[VKey] != 0);
|
||||
|
||||
if (keypresscallback)
|
||||
keypresscallback(key, KeyboardState[VKey] != 0);
|
||||
}
|
||||
|
||||
if (rkbd->Flags & RI_KEY_BREAK) return;
|
||||
if (((g_keyAsciiEnd+1)&(KEYFIFOSIZ-1)) == g_keyAsciiPos) return;
|
||||
if ((g_keyAsciiEnd - g_keyAsciiPos) > 0) return;
|
||||
|
||||
{
|
||||
uint8_t buf[2];
|
||||
|
||||
if (ToAscii(VKey, key, &KeyboardState[0], (LPWORD)&buf[0], 0) != 1) return;
|
||||
if ((OSD_OSDKey() < 128) && (Btolower(g_keyAsciiTable[OSD_OSDKey()]) == Btolower(buf[0]))) return;
|
||||
if (OSD_HandleChar(buf[0]) == 0) return;
|
||||
|
||||
g_keyAsciiFIFO[g_keyAsciiEnd] = buf[0];
|
||||
g_keyAsciiEnd = ((g_keyAsciiEnd+1)&(KEYFIFOSIZ-1));
|
||||
}
|
||||
}
|
||||
|
||||
// keyboard is always captured regardless of what we tell this function
|
||||
BOOL RI_CaptureInput(BOOL grab, HWND target)
|
||||
{
|
||||
RAWINPUTDEVICE raw[2];
|
||||
|
||||
raw[0].usUsagePage = 0x01;
|
||||
raw[0].usUsage = 0x02;
|
||||
raw[0].dwFlags = grab ? (RIDEV_NOLEGACY | RIDEV_CAPTUREMOUSE) : 0;
|
||||
raw[0].hwndTarget = grab ? target : NULL;
|
||||
|
||||
raw[1].usUsagePage = 0x01;
|
||||
raw[1].usUsage = 0x06;
|
||||
raw[1].dwFlags = 0;
|
||||
raw[1].hwndTarget = target;
|
||||
|
||||
g_mouseGrabbed = grab;
|
||||
|
||||
return (RegisterRawInputDevices(raw, 2, sizeof(raw[0])) == FALSE);
|
||||
}
|
||||
|
||||
void RI_ProcessMessage(MSG *msg)
|
||||
{
|
||||
if (GET_RAWINPUT_CODE_WPARAM(msg->wParam) == RIM_INPUT)
|
||||
{
|
||||
UINT dwSize = sizeof(RAWINPUT);
|
||||
RAWINPUT raw;
|
||||
|
||||
GetRawInputData((HRAWINPUT)msg->lParam, RID_INPUT, &raw, &dwSize, sizeof(RAWINPUTHEADER));
|
||||
|
||||
if (raw.header.dwType == RIM_TYPEKEYBOARD)
|
||||
RI_ProcessKeyboard(&raw.data.keyboard);
|
||||
else if (raw.header.dwType == RIM_TYPEMOUSE)
|
||||
RI_ProcessMouse(&raw.data.mouse);
|
||||
}
|
||||
|
||||
DefWindowProc(msg->hwnd, msg->message, msg->wParam, msg->lParam);
|
||||
}
|
||||
|
||||
void RI_PollDevices(BOOL loop)
|
||||
{
|
||||
int32_t i;
|
||||
MSG msg;
|
||||
|
||||
if (!rawinput_started)
|
||||
{
|
||||
if (RI_CaptureInput(1, (HWND)win_gethwnd()))
|
||||
return;
|
||||
rawinput_started = 1;
|
||||
}
|
||||
|
||||
if (inputchecked)
|
||||
{
|
||||
if (g_mouseCallback)
|
||||
{
|
||||
if (g_mouseBits & 16)
|
||||
g_mouseCallback(5, 0);
|
||||
if (g_mouseBits & 32)
|
||||
g_mouseCallback(6, 0);
|
||||
}
|
||||
g_mouseBits &= ~(16|32);
|
||||
}
|
||||
|
||||
// snapshot the whole keyboard state so we can translate key presses into ascii later
|
||||
for (i = 0; i < 256; i++)
|
||||
KeyboardState[i] = GetAsyncKeyState(i) >> 8;
|
||||
|
||||
while (loop && PeekMessage(&msg, 0, WM_INPUT, WM_INPUT, PM_REMOVE | PM_QS_INPUT))
|
||||
RI_ProcessMessage(&msg);
|
||||
|
||||
if (g_mouseGrabbed && appactive)
|
||||
{
|
||||
// center the cursor in the window
|
||||
POINT pt = { xdim>>1, ydim>>1 };
|
||||
|
||||
ClientToScreen((HWND)win_gethwnd(), &pt);
|
||||
SetCursorPos(pt.x, pt.y);
|
||||
}
|
||||
}
|
||||
|
||||
void mouseInit(void)
|
||||
{
|
||||
if (!g_mouseEnabled)
|
||||
mouseGrabInput(g_mouseEnabled = g_mouseLockedToWindow);
|
||||
}
|
||||
|
||||
void mouseUninit(void)
|
||||
{
|
||||
if (!g_mouseEnabled) return;
|
||||
mouseGrabInput(g_mouseEnabled = 0);
|
||||
}
|
||||
|
||||
void mouseGrabInput(bool grab)
|
||||
{
|
||||
static POINT pos;
|
||||
static int32_t d = 0;
|
||||
|
||||
if (!g_mouseEnabled) return;
|
||||
|
||||
if (!g_mouseGrabbed || !d)
|
||||
{
|
||||
GetCursorPos(&pos);
|
||||
d++;
|
||||
}
|
||||
|
||||
ShowCursor(grab == 0);
|
||||
RI_CaptureInput(grab, (HWND)win_gethwnd());
|
||||
SetCursorPos(pos.x, pos.y);
|
||||
}
|
||||
|
||||
void mouseLockToWindow(char a)
|
||||
{
|
||||
UNREFERENCED_PARAMETER(a);
|
||||
}
|
|
@ -2,7 +2,7 @@
|
|||
// Use SDL 1.2 or 2.0 from http://www.libsdl.org
|
||||
|
||||
#include <Windows.h>
|
||||
#include <CommCtrl.h>>
|
||||
#include <CommCtrl.h>
|
||||
#include <signal.h>
|
||||
|
||||
#include "a.h"
|
||||
|
@ -158,7 +158,7 @@ int32_t wm_msgbox(const char *name, const char *fmt, ...)
|
|||
#if defined EDUKE32_OSX
|
||||
return osx_msgbox(name, buf);
|
||||
#elif defined _WIN32
|
||||
MessageBox(win_gethwnd(),buf,name,MB_OK|MB_TASKMODAL);
|
||||
MessageBoxA(win_gethwnd(),buf,name,MB_OK|MB_TASKMODAL);
|
||||
return 0;
|
||||
#elif defined EDUKE32_TOUCH_DEVICES
|
||||
initprintf("wm_msgbox called. Message: %s: %s",name,buf);
|
||||
|
@ -204,7 +204,7 @@ int32_t wm_ynbox(const char *name, const char *fmt, ...)
|
|||
#if defined EDUKE32_OSX
|
||||
return osx_ynbox(name, buf);
|
||||
#elif defined _WIN32
|
||||
return (MessageBox(win_gethwnd(),buf,name,MB_YESNO|MB_ICONQUESTION|MB_TASKMODAL) == IDYES);
|
||||
return (MessageBoxA(win_gethwnd(),buf,name,MB_YESNO|MB_ICONQUESTION|MB_TASKMODAL) == IDYES);
|
||||
#elif defined EDUKE32_TOUCH_DEVICES
|
||||
initprintf("wm_ynbox called, this is bad! Message: %s: %s",name,buf);
|
||||
initprintf("Returning false..");
|
||||
|
@ -348,6 +348,14 @@ namespace Duke
|
|||
{
|
||||
extern GameInterface Interface;
|
||||
}
|
||||
namespace Redneck
|
||||
{
|
||||
extern GameInterface Interface;
|
||||
}
|
||||
namespace Blood
|
||||
{
|
||||
extern GameInterface Interface;
|
||||
}
|
||||
|
||||
void ChooseGame()
|
||||
{
|
||||
|
@ -379,13 +387,15 @@ void ChooseGame()
|
|||
//API call succeeded, now , check return values
|
||||
if (nResult == 1000)
|
||||
{
|
||||
//gi = &Duke::Interface;
|
||||
gi = &Duke::Interface;
|
||||
}
|
||||
else if (nResult == 1001)
|
||||
{
|
||||
gi = &Redneck::Interface;
|
||||
}
|
||||
else if (nResult == 1002)
|
||||
{
|
||||
gi = &Blood::Interface;
|
||||
}
|
||||
}
|
||||
if (gi == nullptr) exit(1);
|
||||
|
@ -437,11 +447,6 @@ int main(int argc, char *argv[])
|
|||
|
||||
win_open();
|
||||
|
||||
if (!CheckWinVersion())
|
||||
{
|
||||
MessageBox(0, "This application requires a newer Windows version to run.", apptitle, MB_OK | MB_ICONSTOP);
|
||||
return -1;
|
||||
}
|
||||
#elif defined(HAVE_GTK2)
|
||||
// Pre-initialize SDL video system in order to make sure XInitThreads() is called
|
||||
// before GTK starts talking to X11.
|
||||
|
@ -613,13 +618,6 @@ int32_t initsystem(void)
|
|||
initprintf("Failed loading OpenGL Driver. GL modes will be unavailable. Error: %s\n", SDL_GetError());
|
||||
nogl = 1;
|
||||
}
|
||||
#ifdef POLYMER
|
||||
if (loadglulibrary(getenv("BUILD_GLULIB")))
|
||||
{
|
||||
initprintf("Failed loading GLU. GL modes will be unavailable. Error: %s\n", SDL_GetError());
|
||||
nogl = 1;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef _WIN32
|
||||
|
@ -660,9 +658,6 @@ void uninitsystem(void)
|
|||
# if SDL_MAJOR_VERSION!=1
|
||||
SDL_GL_UnloadLibrary();
|
||||
# endif
|
||||
# ifdef POLYMER
|
||||
unloadglulibrary();
|
||||
# endif
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -910,10 +905,6 @@ int32_t initinput(void)
|
|||
{
|
||||
int32_t i;
|
||||
|
||||
#ifdef _WIN32
|
||||
Win_GetOriginalLayoutName();
|
||||
Win_SetKeyboardLayoutUS(1);
|
||||
#endif
|
||||
|
||||
#if defined EDUKE32_OSX
|
||||
// force OS X to operate in >1 button mouse mode so that LMB isn't adulterated
|
||||
|
@ -1845,7 +1836,7 @@ int32_t videoSetGamma(void)
|
|||
}
|
||||
|
||||
#if !defined __APPLE__ && !defined EDUKE32_TOUCH_DEVICES
|
||||
extern "C" struct sdlappicon sdlappicon;
|
||||
extern struct sdlappicon sdlappicon;
|
||||
static inline SDL_Surface *loadappicon(void)
|
||||
{
|
||||
SDL_Surface *surf = SDL_CreateRGBSurfaceFrom((void *)sdlappicon.pixels, sdlappicon.width, sdlappicon.height, 32,
|
||||
|
@ -2220,8 +2211,6 @@ int32_t handleevents_pollsdl(void)
|
|||
if (g_mouseGrabbed && g_mouseEnabled)
|
||||
grabmouse_low(appactive);
|
||||
#ifdef _WIN32
|
||||
// Win_SetKeyboardLayoutUS(appactive);
|
||||
|
||||
if (backgroundidle)
|
||||
SetPriorityClass(GetCurrentProcess(), appactive ? NORMAL_PRIORITY_CLASS : IDLE_PRIORITY_CLASS);
|
||||
#endif
|
||||
|
@ -2287,3 +2276,5 @@ int32_t handleevents(void)
|
|||
|
||||
return rv;
|
||||
}
|
||||
|
||||
auto vsnprintfptr = vsnprintf; // This is an inline in Visual Studio but we need an address for it to satisfy the MinGW compiled libraries.
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
|
||||
#if (SDL_MAJOR_VERSION == 1 && SDL_MINOR_VERSION < 3)
|
||||
static char keytranslation[SDLK_LAST];
|
||||
static uint8_t keytranslation[SDLK_LAST];
|
||||
#else
|
||||
static char keytranslation[SDL_NUM_SCANCODES];
|
||||
static uint8_t keytranslation[SDL_NUM_SCANCODES];
|
||||
#endif
|
||||
static int32_t buildkeytranslationtable(void);
|
||||
|
||||
|
|
|
@ -1,707 +0,0 @@
|
|||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
#include "compat.h"
|
||||
#include "baselayer.h"
|
||||
#include "build.h"
|
||||
#include "editor.h"
|
||||
|
||||
#ifndef MAC_OS_X_VERSION_10_5
|
||||
# define NSImageScaleNone NSScaleNone
|
||||
#endif
|
||||
|
||||
#ifndef MAC_OS_X_VERSION_10_12
|
||||
# define NSEventModifierFlagOption NSAlternateKeyMask
|
||||
# define NSEventModifierFlagCommand NSCommandKeyMask
|
||||
# define NSEventMaskAny NSAnyEventMask
|
||||
# define NSWindowStyleMaskTitled NSTitledWindowMask
|
||||
# define NSWindowStyleMaskClosable NSClosableWindowMask
|
||||
# define NSWindowStyleMaskMiniaturizable NSMiniaturizableWindowMask
|
||||
# define NSWindowStyleMaskResizable NSResizableWindowMask
|
||||
# define NSAlertStyleInformational NSInformationalAlertStyle
|
||||
# define NSControlSizeSmall NSSmallControlSize
|
||||
#endif
|
||||
|
||||
#ifndef MAC_OS_X_VERSION_10_14
|
||||
# define NSButtonTypeSwitch NSSwitchButton
|
||||
# define NSBezelStyleRounded NSRoundedBezelStyle
|
||||
# define NSControlStateValueOn NSOnState
|
||||
# define NSControlStateValueOff NSOffState
|
||||
#endif
|
||||
|
||||
static NSRect NSRectChangeXY(NSRect const rect, CGFloat const x, CGFloat const y)
|
||||
{
|
||||
return NSMakeRect(x, y, rect.size.width, rect.size.height);
|
||||
}
|
||||
static NSRect NSSizeAddXY(NSSize const size, CGFloat const x, CGFloat const y)
|
||||
{
|
||||
return NSMakeRect(x, y, size.width, size.height);
|
||||
}
|
||||
#if 0
|
||||
static CGFloat NSRightEdge(NSRect rect)
|
||||
{
|
||||
return rect.origin.x + rect.size.width;
|
||||
}
|
||||
static CGFloat NSTopEdge(NSRect rect)
|
||||
{
|
||||
return rect.origin.y + rect.size.height;
|
||||
}
|
||||
#endif
|
||||
|
||||
static void setFontToSmall(id control)
|
||||
{
|
||||
[control setFont:[NSFont fontWithDescriptor:[[control font] fontDescriptor] size:[NSFont smallSystemFontSize]]];
|
||||
}
|
||||
|
||||
static void setControlToSmall(id control)
|
||||
{
|
||||
[control setControlSize:NSControlSizeSmall];
|
||||
}
|
||||
|
||||
static NSTextField * makeLabel(NSString * labelText)
|
||||
{
|
||||
NSTextField *textField = [[NSTextField alloc] init];
|
||||
setFontToSmall(textField);
|
||||
setControlToSmall([textField cell]);
|
||||
[textField setStringValue:labelText];
|
||||
[textField setBezeled:NO];
|
||||
[textField setDrawsBackground:NO];
|
||||
[textField setEditable:NO];
|
||||
[textField setSelectable:NO];
|
||||
[textField sizeToFit];
|
||||
return textField;
|
||||
}
|
||||
|
||||
static NSButton * makeCheckbox(NSString * labelText)
|
||||
{
|
||||
NSButton *checkbox = [[NSButton alloc] init];
|
||||
setFontToSmall(checkbox);
|
||||
setControlToSmall([checkbox cell]);
|
||||
[checkbox setTitle:labelText];
|
||||
[checkbox setButtonType:NSButtonTypeSwitch];
|
||||
[checkbox sizeToFit];
|
||||
return checkbox;
|
||||
}
|
||||
|
||||
static NSPopUpButton * makeComboBox(void)
|
||||
{
|
||||
NSPopUpButton *comboBox = [[NSPopUpButton alloc] init];
|
||||
[comboBox setPullsDown:NO];
|
||||
setFontToSmall(comboBox);
|
||||
setControlToSmall([comboBox cell]);
|
||||
[comboBox setBezelStyle:NSBezelStyleRounded];
|
||||
[comboBox setPreferredEdge:NSMaxYEdge];
|
||||
[[comboBox cell] setArrowPosition:NSPopUpArrowAtCenter];
|
||||
[comboBox sizeToFit];
|
||||
return comboBox;
|
||||
}
|
||||
|
||||
static id nsapp;
|
||||
|
||||
/* setAppleMenu disappeared from the headers in 10.4 */
|
||||
@interface NSApplication(NSAppleMenu)
|
||||
- (void)setAppleMenu:(NSMenu *)menu;
|
||||
@end
|
||||
|
||||
static NSString * GetApplicationName(void)
|
||||
{
|
||||
NSString *appName = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleDisplayName"];
|
||||
if (!appName)
|
||||
appName = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleName"];
|
||||
if (![appName length])
|
||||
appName = [[NSProcessInfo processInfo] processName];
|
||||
|
||||
return appName;
|
||||
}
|
||||
|
||||
static void CreateApplicationMenus(void)
|
||||
{
|
||||
NSString *appName;
|
||||
NSString *title;
|
||||
NSMenu *rootMenu;
|
||||
NSMenu *serviceMenu;
|
||||
NSMenuItem *menuItem;
|
||||
|
||||
NSMenu *mainMenu = [[NSMenu alloc] init];
|
||||
|
||||
/* Create the application menu */
|
||||
appName = GetApplicationName();
|
||||
rootMenu = [[NSMenu alloc] init];
|
||||
|
||||
/* Put menu into the menubar */
|
||||
menuItem = [[NSMenuItem alloc] initWithTitle:@"" action:nil keyEquivalent:@""];
|
||||
[menuItem setSubmenu:rootMenu];
|
||||
[mainMenu addItem:menuItem];
|
||||
[menuItem release];
|
||||
|
||||
/* Add menu items */
|
||||
title = [@"About " stringByAppendingString:appName];
|
||||
[rootMenu addItemWithTitle:title action:@selector(orderFrontStandardAboutPanel:) keyEquivalent:@""];
|
||||
|
||||
[rootMenu addItem:[NSMenuItem separatorItem]];
|
||||
|
||||
serviceMenu = [[NSMenu alloc] init];
|
||||
menuItem = (NSMenuItem *)[rootMenu addItemWithTitle:@"Services" action:nil keyEquivalent:@""];
|
||||
[menuItem setSubmenu:serviceMenu];
|
||||
|
||||
[nsapp setServicesMenu:serviceMenu];
|
||||
[serviceMenu release];
|
||||
|
||||
[rootMenu addItem:[NSMenuItem separatorItem]];
|
||||
|
||||
title = [@"Hide " stringByAppendingString:appName];
|
||||
[rootMenu addItemWithTitle:title action:@selector(hide:) keyEquivalent:@"h"];
|
||||
|
||||
menuItem = (NSMenuItem *)[rootMenu addItemWithTitle:@"Hide Others" action:@selector(hideOtherApplications:) keyEquivalent:@"h"];
|
||||
[menuItem setKeyEquivalentModifierMask:(NSEventModifierFlagOption|NSEventModifierFlagCommand)];
|
||||
|
||||
[rootMenu addItemWithTitle:@"Show All" action:@selector(unhideAllApplications:) keyEquivalent:@""];
|
||||
|
||||
[rootMenu addItem:[NSMenuItem separatorItem]];
|
||||
|
||||
title = [@"Quit " stringByAppendingString:appName];
|
||||
[rootMenu addItemWithTitle:title action:@selector(terminate:) keyEquivalent:@"q"];
|
||||
|
||||
/* Create the main menu bar */
|
||||
[nsapp setMainMenu:mainMenu];
|
||||
[mainMenu release]; /* we're done with it, let NSApp own it. */
|
||||
|
||||
/* Tell the application object that this is now the application menu */
|
||||
[nsapp setAppleMenu:rootMenu];
|
||||
[rootMenu release];
|
||||
}
|
||||
|
||||
static int retval = -1;
|
||||
|
||||
static struct {
|
||||
int fullscreen;
|
||||
int xdim2d, ydim2d;
|
||||
int xdim3d, ydim3d, bpp3d;
|
||||
int forcesetup;
|
||||
} settings;
|
||||
|
||||
@interface StartupWindow : NSWindow <NSWindowDelegate>
|
||||
{
|
||||
NSMutableArray *modeslist2d;
|
||||
NSMutableArray *modeslist3d;
|
||||
|
||||
NSButton *alwaysShowButton;
|
||||
NSButton *fullscreenButton;
|
||||
NSTextView *messagesView;
|
||||
NSTabView *tabView;
|
||||
NSTabViewItem *tabViewItemSetup;
|
||||
NSTabViewItem *tabViewItemMessageLog;
|
||||
NSPopUpButton *videoMode2DPUButton;
|
||||
NSPopUpButton *videoMode3DPUButton;
|
||||
|
||||
NSButton *cancelButton;
|
||||
NSButton *startButton;
|
||||
}
|
||||
|
||||
- (StartupWindow *)init;
|
||||
|
||||
- (void)dealloc;
|
||||
- (void)populateVideoModes:(BOOL)firstTime;
|
||||
|
||||
- (void)fullscreenClicked:(id)sender;
|
||||
|
||||
- (void)cancel:(id)sender;
|
||||
- (void)start:(id)sender;
|
||||
|
||||
- (void)setupRunMode;
|
||||
- (void)setupMessagesMode;
|
||||
|
||||
- (void)putsMessage:(NSString *)str;
|
||||
|
||||
@end
|
||||
|
||||
@implementation StartupWindow : NSWindow
|
||||
|
||||
- (StartupWindow *)init
|
||||
{
|
||||
NSUInteger const style = NSWindowStyleMaskTitled | NSWindowStyleMaskClosable | NSWindowStyleMaskMiniaturizable | NSWindowStyleMaskResizable;
|
||||
NSRect const windowFrame = NSMakeRect(0, 0, 480, 280);
|
||||
self = [super initWithContentRect:windowFrame styleMask:style backing:NSBackingStoreBuffered defer:NO];
|
||||
|
||||
if (self)
|
||||
{
|
||||
// window properties
|
||||
[self setDelegate:self];
|
||||
[self setReleasedWhenClosed:NO];
|
||||
#if defined MAC_OS_X_VERSION_10_3 && MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_3
|
||||
[self setContentMinSize:[[self contentView] frame].size];
|
||||
#else
|
||||
[self setMinSize:[NSWindow frameRectForContentRect:[[self contentView] frame] styleMask:[self styleMask]].size];
|
||||
#endif
|
||||
|
||||
|
||||
// image on the left
|
||||
NSRect const imageFrame = NSMakeRect(0, 0, 100, 280);
|
||||
NSImageView * imageView = [[NSImageView alloc] initWithFrame:imageFrame];
|
||||
[imageView setImageScaling:NSImageScaleNone];
|
||||
[imageView setImage:[NSImage imageNamed:@"build"]];
|
||||
[[self contentView] addSubview:imageView];
|
||||
[imageView setAutoresizingMask:NSViewMaxXMargin | NSViewHeightSizable];
|
||||
|
||||
|
||||
// buttons
|
||||
CGFloat const buttonWidth = 80;
|
||||
CGFloat const buttonHeight = 32;
|
||||
|
||||
NSRect const startButtonFrame = NSMakeRect(windowFrame.size.width - buttonWidth, 0, buttonWidth, buttonHeight);
|
||||
startButton = [[NSButton alloc] initWithFrame:startButtonFrame];
|
||||
[[self contentView] addSubview:startButton];
|
||||
[startButton setTitle:@"Start"];
|
||||
[startButton setTarget:self];
|
||||
[startButton setAction:@selector(start:)];
|
||||
[startButton setBezelStyle:NSBezelStyleRounded];
|
||||
[startButton setKeyEquivalent:@"\r"];
|
||||
[startButton setAutoresizingMask:NSViewMinXMargin | NSViewMaxYMargin];
|
||||
|
||||
NSRect const cancelButtonFrame = NSMakeRect(startButtonFrame.origin.x - buttonWidth, 0, buttonWidth, buttonHeight);
|
||||
cancelButton = [[NSButton alloc] initWithFrame:cancelButtonFrame];
|
||||
[[self contentView] addSubview:cancelButton];
|
||||
[cancelButton setTitle:@"Cancel"];
|
||||
[cancelButton setTarget:self];
|
||||
[cancelButton setAction:@selector(cancel:)];
|
||||
[cancelButton setBezelStyle:NSBezelStyleRounded];
|
||||
[cancelButton setAutoresizingMask:NSViewMinXMargin | NSViewMaxYMargin];
|
||||
|
||||
|
||||
// tab frame
|
||||
NSRect const tabViewFrame = NSMakeRect(imageFrame.size.width, buttonHeight, windowFrame.size.width - imageFrame.size.width, windowFrame.size.height - buttonHeight - 5);
|
||||
tabView = [[NSTabView alloc] initWithFrame:tabViewFrame];
|
||||
[[self contentView] addSubview:tabView];
|
||||
setFontToSmall(tabView);
|
||||
setControlToSmall(tabView);
|
||||
[tabView setAutoresizingMask:NSViewWidthSizable | NSViewHeightSizable];
|
||||
|
||||
|
||||
// setup tab
|
||||
|
||||
tabViewItemSetup = [[NSTabViewItem alloc] init];
|
||||
[tabView addTabViewItem:tabViewItemSetup];
|
||||
[tabViewItemSetup setLabel:@"Setup"];
|
||||
NSRect const tabViewItemSetupFrame = [[tabViewItemSetup view] frame];
|
||||
|
||||
|
||||
// always show checkbox
|
||||
alwaysShowButton = makeCheckbox(@"Always show this window at startup");
|
||||
[[tabViewItemSetup view] addSubview:alwaysShowButton];
|
||||
NSSize const alwaysShowButtonSize = [alwaysShowButton frame].size;
|
||||
NSRect const alwaysShowButtonFrame = NSSizeAddXY(alwaysShowButtonSize, tabViewItemSetupFrame.size.width - alwaysShowButtonSize.width, 0);
|
||||
[alwaysShowButton setFrame:alwaysShowButtonFrame];
|
||||
[alwaysShowButton setAutoresizingMask:NSViewMinXMargin | NSViewMaxYMargin];
|
||||
|
||||
|
||||
// video mode selectors and labels
|
||||
NSTextField * label2DVideoMode = makeLabel(@"2D Video mode:");
|
||||
[[tabViewItemSetup view] addSubview:label2DVideoMode];
|
||||
NSSize const label2DVideoModeSize = [label2DVideoMode frame].size;
|
||||
[label2DVideoMode setAutoresizingMask:NSViewMaxXMargin | NSViewMinYMargin];
|
||||
|
||||
NSTextField * label3DVideoMode = makeLabel(@"3D Video mode:");
|
||||
[[tabViewItemSetup view] addSubview:label3DVideoMode];
|
||||
NSSize const label3DVideoModeSize = [label3DVideoMode frame].size;
|
||||
[label3DVideoMode setAutoresizingMask:NSViewMaxXMargin | NSViewMinYMargin];
|
||||
|
||||
fullscreenButton = makeCheckbox(@"Fullscreen");
|
||||
[[tabViewItemSetup view] addSubview:fullscreenButton];
|
||||
NSSize const fullscreenButtonSize = [fullscreenButton frame].size;
|
||||
[fullscreenButton setAction:@selector(fullscreenClicked:)];
|
||||
[fullscreenButton setAutoresizingMask:NSViewMinXMargin | NSViewMinYMargin];
|
||||
|
||||
CGFloat const labelsVideoModeRightEdge = max(label2DVideoModeSize.width, label3DVideoModeSize.width);
|
||||
|
||||
videoMode2DPUButton = makeComboBox();
|
||||
[[tabViewItemSetup view] addSubview:videoMode2DPUButton];
|
||||
NSSize const videoMode2DPUButtonSize = [videoMode2DPUButton frame].size;
|
||||
CGFloat const videoMode2DButtonX = labelsVideoModeRightEdge;
|
||||
NSRect const videoMode2DPUButtonFrame = NSMakeRect(videoMode2DButtonX, tabViewItemSetupFrame.size.height - videoMode2DPUButtonSize.height, tabViewItemSetupFrame.size.width - videoMode2DButtonX - fullscreenButtonSize.width, videoMode2DPUButtonSize.height);
|
||||
[videoMode2DPUButton setFrame:videoMode2DPUButtonFrame];
|
||||
[videoMode2DPUButton setAutoresizingMask:NSViewWidthSizable | NSViewMinYMargin];
|
||||
|
||||
videoMode3DPUButton = makeComboBox();
|
||||
[[tabViewItemSetup view] addSubview:videoMode3DPUButton];
|
||||
NSSize const videoMode3DPUButtonSize = [videoMode3DPUButton frame].size;
|
||||
CGFloat const videoMode3DButtonX = labelsVideoModeRightEdge;
|
||||
NSRect const videoMode3DPUButtonFrame = NSMakeRect(videoMode3DButtonX, videoMode2DPUButtonFrame.origin.y - videoMode3DPUButtonSize.height, tabViewItemSetupFrame.size.width - videoMode3DButtonX - fullscreenButtonSize.width, videoMode3DPUButtonSize.height);
|
||||
[videoMode3DPUButton setFrame:videoMode3DPUButtonFrame];
|
||||
[videoMode3DPUButton setAutoresizingMask:NSViewWidthSizable | NSViewMinYMargin];
|
||||
|
||||
NSRect const label2DVideoModeFrame = NSSizeAddXY(label2DVideoModeSize, 0, videoMode2DPUButtonFrame.origin.y + rintf((videoMode2DPUButtonSize.height - label2DVideoModeSize.height) * 0.5f) + 1);
|
||||
[label2DVideoMode setFrame:label2DVideoModeFrame];
|
||||
|
||||
NSRect const label3DVideoModeFrame = NSSizeAddXY(label3DVideoModeSize, 0, videoMode3DPUButtonFrame.origin.y + rintf((videoMode3DPUButtonSize.height - label3DVideoModeSize.height) * 0.5f) + 1);
|
||||
[label3DVideoMode setFrame:label3DVideoModeFrame];
|
||||
|
||||
NSRect const fullscreenButtonFrame = NSSizeAddXY(fullscreenButtonSize, tabViewItemSetupFrame.size.width - fullscreenButtonSize.width, videoMode3DPUButtonFrame.origin.y + rintf((videoMode3DPUButtonSize.height - fullscreenButtonSize.height) * 0.5f) + 1);
|
||||
[fullscreenButton setFrame:fullscreenButtonFrame];
|
||||
|
||||
|
||||
// message log tab
|
||||
|
||||
tabViewItemMessageLog = [[NSTabViewItem alloc] init];
|
||||
[tabView addTabViewItem:tabViewItemMessageLog];
|
||||
[tabViewItemMessageLog setLabel:@"Message Log"];
|
||||
NSRect const tabViewItemMessageLogFrame = [[tabViewItemMessageLog view] frame];
|
||||
|
||||
|
||||
// message log
|
||||
NSScrollView * messagesScrollView = [[NSScrollView alloc] initWithFrame:NSRectChangeXY(tabViewItemMessageLogFrame, 0, 0)];
|
||||
[[tabViewItemMessageLog view] addSubview:messagesScrollView];
|
||||
[messagesScrollView setBorderType:NSBezelBorder];
|
||||
[messagesScrollView setHasVerticalScroller:YES];
|
||||
[messagesScrollView setHasHorizontalScroller:NO];
|
||||
setControlToSmall([[messagesScrollView verticalScroller] cell]);
|
||||
NSSize const messagesScrollViewContentSize = [messagesScrollView contentSize];
|
||||
[messagesScrollView setAutoresizingMask:NSViewWidthSizable | NSViewHeightSizable];
|
||||
|
||||
messagesView = [[NSTextView alloc] initWithFrame:NSMakeRect(0, 0, messagesScrollViewContentSize.width, messagesScrollViewContentSize.height)];
|
||||
[messagesScrollView setDocumentView:messagesView];
|
||||
[messagesView setEditable:NO];
|
||||
[messagesView setRichText:NO];
|
||||
setFontToSmall(messagesView);
|
||||
[messagesView setMinSize:NSMakeSize(0.0, messagesScrollViewContentSize.height)];
|
||||
[messagesView setMaxSize:NSMakeSize(FLT_MAX, FLT_MAX)];
|
||||
[messagesView setVerticallyResizable:YES];
|
||||
[messagesView setHorizontallyResizable:NO];
|
||||
[messagesView setAutoresizingMask:NSViewWidthSizable];
|
||||
|
||||
[[messagesView textContainer] setContainerSize:NSMakeSize(messagesScrollViewContentSize.width, FLT_MAX)];
|
||||
[[messagesView textContainer] setWidthTracksTextView:YES];
|
||||
}
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
- (BOOL)canBecomeKeyWindow
|
||||
{
|
||||
return YES;
|
||||
}
|
||||
|
||||
- (BOOL)canBecomeMainWindow
|
||||
{
|
||||
return YES;
|
||||
}
|
||||
|
||||
- (BOOL) windowShouldClose:(id)sender
|
||||
{
|
||||
UNREFERENCED_PARAMETER(sender);
|
||||
|
||||
retval = 0;
|
||||
|
||||
return YES;
|
||||
}
|
||||
|
||||
- (void)dealloc
|
||||
{
|
||||
[modeslist3d release];
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
- (void)populateVideoModes:(BOOL)firstTime
|
||||
{
|
||||
int i, mode3d, fullscreen = ([fullscreenButton state] == NSControlStateValueOn);
|
||||
int mode2d, idx2d = -1;
|
||||
int idx3d = -1;
|
||||
int xdim2d = 0, ydim2d = 0;
|
||||
int const bpp2d = 8;
|
||||
int xdim = 0, ydim = 0, bpp = 0;
|
||||
|
||||
if (firstTime) {
|
||||
xdim2d = settings.xdim2d;
|
||||
ydim2d = settings.ydim2d;
|
||||
xdim = settings.xdim3d;
|
||||
ydim = settings.ydim3d;
|
||||
bpp = settings.bpp3d;
|
||||
} else {
|
||||
mode2d = [[modeslist2d objectAtIndex:[videoMode2DPUButton indexOfSelectedItem]] intValue];
|
||||
if (mode2d >= 0) {
|
||||
xdim2d = validmode[mode2d].xdim;
|
||||
ydim2d = validmode[mode2d].ydim;
|
||||
}
|
||||
|
||||
mode3d = [[modeslist3d objectAtIndex:[videoMode3DPUButton indexOfSelectedItem]] intValue];
|
||||
if (mode3d >= 0) {
|
||||
xdim = validmode[mode3d].xdim;
|
||||
ydim = validmode[mode3d].ydim;
|
||||
bpp = validmode[mode3d].bpp;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
mode2d = videoCheckMode(&xdim2d, &ydim2d, bpp2d, fullscreen, 1);
|
||||
|
||||
[modeslist2d release];
|
||||
[videoMode2DPUButton removeAllItems];
|
||||
|
||||
modeslist2d = [[NSMutableArray alloc] init];
|
||||
|
||||
for (i = 0; i < validmodecnt; i++) {
|
||||
if (fullscreen == validmode[i].fs) {
|
||||
if (i == mode2d) idx2d = [modeslist2d count];
|
||||
[modeslist2d addObject:[NSNumber numberWithInt:i]];
|
||||
[videoMode2DPUButton addItemWithTitle:[NSString stringWithFormat:@"%d %C %d",
|
||||
validmode[i].xdim, 0xd7, validmode[i].ydim]];
|
||||
}
|
||||
}
|
||||
|
||||
if (idx2d >= 0) [videoMode2DPUButton selectItemAtIndex:idx2d];
|
||||
|
||||
|
||||
mode3d = videoCheckMode(&xdim, &ydim, bpp, fullscreen, 1);
|
||||
if (mode3d < 0) {
|
||||
int i, cd[] = { 32, 24, 16, 15, 8, 0 };
|
||||
for (i=0; cd[i]; ) { if (cd[i] >= bpp) i++; else break; }
|
||||
for ( ; cd[i]; i++) {
|
||||
mode3d = videoCheckMode(&xdim, &ydim, cd[i], fullscreen, 1);
|
||||
if (mode3d < 0) continue;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
[modeslist3d release];
|
||||
[videoMode3DPUButton removeAllItems];
|
||||
|
||||
modeslist3d = [[NSMutableArray alloc] init];
|
||||
|
||||
for (i = 0; i < validmodecnt; i++) {
|
||||
if (fullscreen == validmode[i].fs) {
|
||||
if (i == mode3d) idx3d = [modeslist3d count];
|
||||
[modeslist3d addObject:[NSNumber numberWithInt:i]];
|
||||
[videoMode3DPUButton addItemWithTitle:[NSString stringWithFormat:@"%d %C %d %d-bpp",
|
||||
validmode[i].xdim, 0xd7, validmode[i].ydim, validmode[i].bpp]];
|
||||
}
|
||||
}
|
||||
|
||||
if (idx3d >= 0) [videoMode3DPUButton selectItemAtIndex:idx3d];
|
||||
}
|
||||
|
||||
- (void)fullscreenClicked:(id)sender
|
||||
{
|
||||
UNREFERENCED_PARAMETER(sender);
|
||||
|
||||
[self populateVideoModes:NO];
|
||||
}
|
||||
|
||||
- (void)cancel:(id)sender
|
||||
{
|
||||
UNREFERENCED_PARAMETER(sender);
|
||||
|
||||
retval = 0;
|
||||
}
|
||||
|
||||
- (void)start:(id)sender
|
||||
{
|
||||
UNREFERENCED_PARAMETER(sender);
|
||||
|
||||
int mode2d = [[modeslist2d objectAtIndex:[videoMode2DPUButton indexOfSelectedItem]] intValue];
|
||||
if (mode2d >= 0) {
|
||||
settings.xdim2d = validmode[mode2d].xdim;
|
||||
settings.ydim2d = validmode[mode2d].ydim;
|
||||
settings.fullscreen = validmode[mode2d].fs;
|
||||
}
|
||||
|
||||
int mode = [[modeslist3d objectAtIndex:[videoMode3DPUButton indexOfSelectedItem]] intValue];
|
||||
if (mode >= 0) {
|
||||
settings.xdim3d = validmode[mode].xdim;
|
||||
settings.ydim3d = validmode[mode].ydim;
|
||||
settings.bpp3d = validmode[mode].bpp;
|
||||
settings.fullscreen = validmode[mode].fs;
|
||||
}
|
||||
|
||||
settings.forcesetup = [alwaysShowButton state] == NSControlStateValueOn;
|
||||
|
||||
retval = 1;
|
||||
}
|
||||
|
||||
- (void)setupRunMode
|
||||
{
|
||||
videoGetModes();
|
||||
|
||||
[fullscreenButton setState: (settings.fullscreen ? NSControlStateValueOn : NSControlStateValueOff)];
|
||||
[alwaysShowButton setState: (settings.forcesetup ? NSControlStateValueOn : NSControlStateValueOff)];
|
||||
[self populateVideoModes:YES];
|
||||
|
||||
// enable all the controls on the Configuration page
|
||||
NSEnumerator *enumerator = [[[tabViewItemSetup view] subviews] objectEnumerator];
|
||||
NSControl *control;
|
||||
while ((control = [enumerator nextObject]))
|
||||
{
|
||||
if ([control respondsToSelector:@selector(setEnabled:)])
|
||||
[control setEnabled:true];
|
||||
}
|
||||
|
||||
[cancelButton setEnabled:true];
|
||||
[startButton setEnabled:true];
|
||||
|
||||
[tabView selectTabViewItem:tabViewItemSetup];
|
||||
[NSCursor unhide]; // Why should I need to do this?
|
||||
}
|
||||
|
||||
- (void)setupMessagesMode
|
||||
{
|
||||
[tabView selectTabViewItem:tabViewItemMessageLog];
|
||||
|
||||
// disable all the controls on the Configuration page except "always show", so the
|
||||
// user can enable it if they want to while waiting for something else to happen
|
||||
NSEnumerator *enumerator = [[[tabViewItemSetup view] subviews] objectEnumerator];
|
||||
NSControl *control;
|
||||
while ((control = [enumerator nextObject]))
|
||||
{
|
||||
if (control != alwaysShowButton && [control respondsToSelector:@selector(setEnabled:)])
|
||||
[control setEnabled:false];
|
||||
}
|
||||
|
||||
[cancelButton setEnabled:false];
|
||||
[startButton setEnabled:false];
|
||||
}
|
||||
|
||||
- (void)putsMessage:(NSString *)str
|
||||
{
|
||||
NSRange end;
|
||||
NSTextStorage *text = [messagesView textStorage];
|
||||
BOOL shouldAutoScroll;
|
||||
|
||||
shouldAutoScroll = ((int)NSMaxY([messagesView bounds]) == (int)NSMaxY([messagesView visibleRect]));
|
||||
|
||||
end.location = [text length];
|
||||
end.length = 0;
|
||||
|
||||
[text beginEditing];
|
||||
[messagesView replaceCharactersInRange:end withString:str];
|
||||
[text endEditing];
|
||||
|
||||
if (shouldAutoScroll) {
|
||||
end.location = [text length];
|
||||
end.length = 0;
|
||||
[messagesView scrollRangeToVisible:end];
|
||||
}
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
static StartupWindow *startwin = nil;
|
||||
|
||||
int startwin_open(void)
|
||||
{
|
||||
// fix for "ld: absolute address to symbol _NSApp in a different linkage unit not supported"
|
||||
// (OS X 10.6) when building for PPC
|
||||
nsapp = [NSApplication sharedApplication];
|
||||
|
||||
if (startwin != nil) return 1;
|
||||
|
||||
startwin = [[StartupWindow alloc] init];
|
||||
if (startwin == nil) return -1;
|
||||
|
||||
[startwin setupMessagesMode];
|
||||
|
||||
[nsapp finishLaunching];
|
||||
|
||||
[startwin center];
|
||||
[startwin makeKeyAndOrderFront:nil];
|
||||
|
||||
CreateApplicationMenus();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int startwin_close(void)
|
||||
{
|
||||
if (startwin == nil) return 1;
|
||||
|
||||
[startwin close];
|
||||
[startwin release];
|
||||
startwin = nil;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int startwin_puts(const char *s)
|
||||
{
|
||||
NSString *ns;
|
||||
|
||||
if (!s) return -1;
|
||||
if (startwin == nil) return 1;
|
||||
|
||||
ns = [NSString stringWithUTF8String:s];
|
||||
[startwin putsMessage:ns];
|
||||
[ns release];
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int startwin_settitle(const char *s)
|
||||
{
|
||||
NSString *ns;
|
||||
|
||||
if (!s) return -1;
|
||||
if (startwin == nil) return 1;
|
||||
|
||||
ns = [NSString stringWithUTF8String:s];
|
||||
[startwin setTitle:ns];
|
||||
[ns release];
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int startwin_idle(void *v)
|
||||
{
|
||||
UNREFERENCED_PARAMETER(v);
|
||||
|
||||
if (startwin)
|
||||
{
|
||||
NSEvent *event;
|
||||
do
|
||||
{
|
||||
event = [nsapp nextEventMatchingMask:NSEventMaskAny untilDate:[NSDate date] inMode:NSDefaultRunLoopMode dequeue:YES];
|
||||
[nsapp sendEvent:event];
|
||||
}
|
||||
while (event != nil);
|
||||
|
||||
[startwin displayIfNeeded];
|
||||
[nsapp updateWindows];
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
int startwin_run(void)
|
||||
{
|
||||
if (startwin == nil) return 0;
|
||||
|
||||
settings.fullscreen = fullscreen;
|
||||
settings.xdim2d = xdim2d;
|
||||
settings.ydim2d = ydim2d;
|
||||
settings.xdim3d = xdimgame;
|
||||
settings.ydim3d = ydimgame;
|
||||
settings.bpp3d = bppgame;
|
||||
settings.forcesetup = forcesetup;
|
||||
|
||||
[startwin setupRunMode];
|
||||
|
||||
do
|
||||
{
|
||||
NSEvent *event = [nsapp nextEventMatchingMask:NSEventMaskAny untilDate:[NSDate distantFuture] inMode:NSDefaultRunLoopMode dequeue:YES];
|
||||
[nsapp sendEvent:event];
|
||||
[nsapp updateWindows];
|
||||
}
|
||||
while (retval == -1);
|
||||
|
||||
[startwin setupMessagesMode];
|
||||
[nsapp updateWindows];
|
||||
|
||||
if (retval) {
|
||||
fullscreen = settings.fullscreen;
|
||||
xdim2d = settings.xdim2d;
|
||||
ydim2d = settings.ydim2d;
|
||||
xdimgame = settings.xdim3d;
|
||||
ydimgame = settings.ydim3d;
|
||||
bppgame = settings.bpp3d;
|
||||
forcesetup = settings.forcesetup;
|
||||
}
|
||||
|
||||
return retval;
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue