- brightmap and light definitions.
|
@ -1,5 +1,5 @@
|
|||
cmake_minimum_required( VERSION 2.4 )
|
||||
project(ZDoom)
|
||||
project(GZDoom)
|
||||
|
||||
IF( NOT CMAKE_BUILD_TYPE )
|
||||
SET( CMAKE_BUILD_TYPE Debug CACHE STRING
|
||||
|
@ -8,7 +8,7 @@ IF( NOT CMAKE_BUILD_TYPE )
|
|||
ENDIF( NOT CMAKE_BUILD_TYPE )
|
||||
|
||||
set( ZDOOM_OUTPUT_DIR ${CMAKE_BINARY_DIR} CACHE PATH "Directory where zdoom.pk3 and the executable will be created." )
|
||||
set( ZDOOM_EXE_NAME "zdoom" CACHE FILEPATH "Name of the executable to create." )
|
||||
set( ZDOOM_EXE_NAME "gzdoom" CACHE FILEPATH "Name of the executable to create" )
|
||||
|
||||
if( CMAKE_COMPILER_IS_GNUCXX )
|
||||
set( PROFILE 0 CACHE BOOL "Enable profiling with gprof for Debug and RelWithDebInfo build types." )
|
||||
|
@ -109,6 +109,8 @@ add_subdirectory( game-music-emu )
|
|||
add_subdirectory( dumb )
|
||||
add_subdirectory( gdtoa )
|
||||
add_subdirectory( wadsrc )
|
||||
add_subdirectory( wadsrc_bm )
|
||||
add_subdirectory( wadsrc_lights )
|
||||
add_subdirectory( src )
|
||||
|
||||
if( NOT WIN32 AND NOT APPLE )
|
||||
|
|
9
wadsrc_bm/CMakeLists.txt
Normal file
|
@ -0,0 +1,9 @@
|
|||
cmake_minimum_required( VERSION 2.4 )
|
||||
|
||||
add_custom_command( OUTPUT ${ZDOOM_OUTPUT_DIR}/brightmaps.pk3
|
||||
COMMAND ${CMAKE_BINARY_DIR}/tools/zipdir/zipdir ${ZDOOM_OUTPUT_DIR}/brightmaps.pk3 ${CMAKE_CURRENT_SOURCE_DIR}/static ${CMAKE_CURRENT_BINARY_DIR}/generated
|
||||
DEPENDS zipdir ${CMAKE_CURRENT_SOURCE_DIR}/static )
|
||||
|
||||
add_custom_target( brightmaps_pk3 ALL
|
||||
DEPENDS ${ZDOOM_OUTPUT_DIR}/brightmaps.pk3 )
|
||||
|
120
wadsrc_bm/brightmaps.vcproj
Normal file
|
@ -0,0 +1,120 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="8,00"
|
||||
Name="wadsrc-brightmaps"
|
||||
ProjectGUID="{087B206F-F49E-4EFB-92CB-E1F6E32D1278}"
|
||||
RootNamespace="wadsrc"
|
||||
Keyword="MakeFileProj"
|
||||
>
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"
|
||||
/>
|
||||
<Platform
|
||||
Name="x64"
|
||||
/>
|
||||
</Platforms>
|
||||
<ToolFiles>
|
||||
</ToolFiles>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
OutputDirectory="Debug"
|
||||
IntermediateDirectory="Debug"
|
||||
ConfigurationType="10"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
Description="Checking brightmaps.pk3..."
|
||||
CommandLine=""$(SolutionDir)tools\zipdir\zipdir.exe" -ud "$(InputDir)brightmaps.pk3" "$(InputDir)static"
copy "$(InputDir)brightmaps.pk3" "$(SolutionDir)..\brightmaps.pk3"
"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
OutputDirectory="Release"
|
||||
IntermediateDirectory="Release"
|
||||
ConfigurationType="10"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
Description="Checking brightmaps.pk3..."
|
||||
CommandLine=""$(SolutionDir)tools\zipdir\zipdir.exe" -ud "$(InputDir)brightmaps.pk3" "$(InputDir)static"
copy "$(InputDir)brightmaps.pk3" "$(SolutionDir)..\brightmaps.pk3"
"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Debug|x64"
|
||||
OutputDirectory="$(PlatformName)\$(ConfigurationName)"
|
||||
IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
|
||||
ConfigurationType="10"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
Description="Checking brightmaps.pk3..."
|
||||
CommandLine=""$(SolutionDir)tools\zipdir\zipdir.exe" -ud "$(InputDir)brightmaps.pk3" "$(InputDir)static" 
copy "$(InputDir)brightmaps.pk3" "$(SolutionDir)..\brightmaps.pk3""
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|x64"
|
||||
OutputDirectory="$(PlatformName)\$(ConfigurationName)"
|
||||
IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
|
||||
ConfigurationType="10"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
Description="Checking brightmaps.pk3..."
|
||||
CommandLine=""$(SolutionDir)tools\zipdir\zipdir.exe" -ud "$(InputDir)brightmaps.pk3" "$(InputDir)static" 
copy "$(InputDir)brightmaps.pk3" "$(SolutionDir)..\brightmaps.pk3""
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
<References>
|
||||
</References>
|
||||
<Files>
|
||||
<File
|
||||
RelativePath=".\CMakeLists.txt"
|
||||
>
|
||||
</File>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
BIN
wadsrc_bm/static/brightmaps/doom/BON2B0.png
Normal file
After Width: | Height: | Size: 99 B |
BIN
wadsrc_bm/static/brightmaps/doom/BON2C0.png
Normal file
After Width: | Height: | Size: 97 B |
BIN
wadsrc_bm/static/brightmaps/doom/BON2D0.png
Normal file
After Width: | Height: | Size: 98 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOS2A6C4.png
Normal file
After Width: | Height: | Size: 111 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOS2A7C3.png
Normal file
After Width: | Height: | Size: 135 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOS2A8C2.png
Normal file
After Width: | Height: | Size: 144 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOS2B6D4.png
Normal file
After Width: | Height: | Size: 107 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOS2B7D3.png
Normal file
After Width: | Height: | Size: 120 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOS2B8D2.png
Normal file
After Width: | Height: | Size: 135 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSA1.png
Normal file
After Width: | Height: | Size: 116 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSA2A8.png
Normal file
After Width: | Height: | Size: 119 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSA3A7.png
Normal file
After Width: | Height: | Size: 115 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSA4A6.png
Normal file
After Width: | Height: | Size: 137 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSA5.png
Normal file
After Width: | Height: | Size: 121 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSB1.png
Normal file
After Width: | Height: | Size: 144 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSB2B8.png
Normal file
After Width: | Height: | Size: 136 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSB3B7.png
Normal file
After Width: | Height: | Size: 118 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSB4B6.png
Normal file
After Width: | Height: | Size: 110 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSB5.png
Normal file
After Width: | Height: | Size: 140 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSC1.png
Normal file
After Width: | Height: | Size: 115 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSC2C8.png
Normal file
After Width: | Height: | Size: 143 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSC3C7.png
Normal file
After Width: | Height: | Size: 137 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSC4C6.png
Normal file
After Width: | Height: | Size: 112 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSC5.png
Normal file
After Width: | Height: | Size: 121 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSD1.png
Normal file
After Width: | Height: | Size: 139 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSD2D8.png
Normal file
After Width: | Height: | Size: 133 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSD3D7.png
Normal file
After Width: | Height: | Size: 125 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSD4D6.png
Normal file
After Width: | Height: | Size: 106 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSD5.png
Normal file
After Width: | Height: | Size: 139 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSE1.png
Normal file
After Width: | Height: | Size: 357 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSE2.png
Normal file
After Width: | Height: | Size: 196 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSE3.png
Normal file
After Width: | Height: | Size: 233 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSE4.png
Normal file
After Width: | Height: | Size: 294 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSE5.png
Normal file
After Width: | Height: | Size: 291 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSE6.png
Normal file
After Width: | Height: | Size: 267 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSE7.png
Normal file
After Width: | Height: | Size: 305 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSE8.png
Normal file
After Width: | Height: | Size: 299 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSF1.png
Normal file
After Width: | Height: | Size: 375 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSF2.png
Normal file
After Width: | Height: | Size: 398 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSF3.png
Normal file
After Width: | Height: | Size: 217 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSF4.png
Normal file
After Width: | Height: | Size: 216 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSF5.png
Normal file
After Width: | Height: | Size: 270 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSF6.png
Normal file
After Width: | Height: | Size: 268 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSF7.png
Normal file
After Width: | Height: | Size: 337 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSF8.png
Normal file
After Width: | Height: | Size: 366 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSG1.png
Normal file
After Width: | Height: | Size: 330 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSG2.png
Normal file
After Width: | Height: | Size: 312 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSG3.png
Normal file
After Width: | Height: | Size: 313 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSG4.png
Normal file
After Width: | Height: | Size: 261 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSG5.png
Normal file
After Width: | Height: | Size: 198 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSG6.png
Normal file
After Width: | Height: | Size: 203 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSG7.png
Normal file
After Width: | Height: | Size: 228 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSG8.png
Normal file
After Width: | Height: | Size: 243 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSH1.png
Normal file
After Width: | Height: | Size: 167 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSH2.png
Normal file
After Width: | Height: | Size: 194 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSH3.png
Normal file
After Width: | Height: | Size: 173 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSH4.png
Normal file
After Width: | Height: | Size: 120 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSH5.png
Normal file
After Width: | Height: | Size: 126 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSH6.png
Normal file
After Width: | Height: | Size: 125 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSH7.png
Normal file
After Width: | Height: | Size: 158 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSH8.png
Normal file
After Width: | Height: | Size: 161 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSI0.png
Normal file
After Width: | Height: | Size: 144 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSJ0.png
Normal file
After Width: | Height: | Size: 150 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSK0.png
Normal file
After Width: | Height: | Size: 137 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSL0.png
Normal file
After Width: | Height: | Size: 130 B |
BIN
wadsrc_bm/static/brightmaps/doom/BOSSM0.png
Normal file
After Width: | Height: | Size: 107 B |
BIN
wadsrc_bm/static/brightmaps/doom/BSPIG1.png
Normal file
After Width: | Height: | Size: 131 B |
BIN
wadsrc_bm/static/brightmaps/doom/BSPIG2G8.png
Normal file
After Width: | Height: | Size: 102 B |
BIN
wadsrc_bm/static/brightmaps/doom/BSPIH1.png
Normal file
After Width: | Height: | Size: 157 B |
BIN
wadsrc_bm/static/brightmaps/doom/BSPIH2H8.png
Normal file
After Width: | Height: | Size: 168 B |
BIN
wadsrc_bm/static/brightmaps/doom/BSPIH3H7.png
Normal file
After Width: | Height: | Size: 112 B |
BIN
wadsrc_bm/static/brightmaps/doom/BSPIH4H6.png
Normal file
After Width: | Height: | Size: 118 B |
BIN
wadsrc_bm/static/brightmaps/doom/BSPIH5.png
Normal file
After Width: | Height: | Size: 121 B |
BIN
wadsrc_bm/static/brightmaps/doom/CELLA0.png
Normal file
After Width: | Height: | Size: 94 B |
BIN
wadsrc_bm/static/brightmaps/doom/CELPA0.png
Normal file
After Width: | Height: | Size: 100 B |
BIN
wadsrc_bm/static/brightmaps/doom/CPOSE1.png
Normal file
After Width: | Height: | Size: 121 B |
BIN
wadsrc_bm/static/brightmaps/doom/CPOSE2.png
Normal file
After Width: | Height: | Size: 137 B |
BIN
wadsrc_bm/static/brightmaps/doom/CPOSE3.png
Normal file
After Width: | Height: | Size: 146 B |
BIN
wadsrc_bm/static/brightmaps/doom/CPOSE5.png
Normal file
After Width: | Height: | Size: 116 B |
BIN
wadsrc_bm/static/brightmaps/doom/CPOSE6.png
Normal file
After Width: | Height: | Size: 116 B |
BIN
wadsrc_bm/static/brightmaps/doom/CPOSE7.png
Normal file
After Width: | Height: | Size: 138 B |
BIN
wadsrc_bm/static/brightmaps/doom/CPOSE8.png
Normal file
After Width: | Height: | Size: 143 B |
BIN
wadsrc_bm/static/brightmaps/doom/CPOSF1.png
Normal file
After Width: | Height: | Size: 467 B |
BIN
wadsrc_bm/static/brightmaps/doom/CPOSF2.png
Normal file
After Width: | Height: | Size: 488 B |
BIN
wadsrc_bm/static/brightmaps/doom/CPOSF3.png
Normal file
After Width: | Height: | Size: 400 B |
BIN
wadsrc_bm/static/brightmaps/doom/CPOSF4.png
Normal file
After Width: | Height: | Size: 178 B |
BIN
wadsrc_bm/static/brightmaps/doom/CPOSF5.png
Normal file
After Width: | Height: | Size: 143 B |
BIN
wadsrc_bm/static/brightmaps/doom/CPOSF6.png
Normal file
After Width: | Height: | Size: 214 B |
BIN
wadsrc_bm/static/brightmaps/doom/CPOSF7.png
Normal file
After Width: | Height: | Size: 341 B |
BIN
wadsrc_bm/static/brightmaps/doom/CPOSF8.png
Normal file
After Width: | Height: | Size: 352 B |
BIN
wadsrc_bm/static/brightmaps/doom/CYBRF1.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
wadsrc_bm/static/brightmaps/doom/CYBRF2.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
wadsrc_bm/static/brightmaps/doom/CYBRF3.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
wadsrc_bm/static/brightmaps/doom/CYBRF4.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
wadsrc_bm/static/brightmaps/doom/CYBRF5.png
Normal file
After Width: | Height: | Size: 1,014 B |
BIN
wadsrc_bm/static/brightmaps/doom/CYBRF6.png
Normal file
After Width: | Height: | Size: 852 B |
BIN
wadsrc_bm/static/brightmaps/doom/CYBRF7.png
Normal file
After Width: | Height: | Size: 1.6 KiB |