first commit

This commit is contained in:
2019-12-30 17:23:05 +01:00
commit 7fe19ee89f
1149 changed files with 271279 additions and 0 deletions

13
id1/maps/build.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
IN=./zombietest.map
OUT=zombietest.bsp
DIR="$( cd -P "$( dirname "$0" )" && pwd )"
TOOLS_DIR=${DIR}/../../tools/ericw_tools
QBSP=${TOOLS_DIR}/qbsp
VIS=${TOOLS_DIR}/vis
LIGHT=${TOOLS_DIR}/light
${QBSP} ${IN} ${OUT}
${VIS} -fast -level 4 -noambient ${OUT}
${LIGHT} -soft -extra -extra4 ${OUT}
:

13
id1/maps/build.sh~ Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
IN=./zombietest.map
OUT=zombietest.bsp
DIR="$( cd -P "$( dirname "$0" )" && pwd )"
TOOLS_DIR=${DIR}/../../tools/eric_tools
QBSP=${TOOLS_DIR}/qbsp
VIS=${TOOLS_DIR}/vis
LIGHT=${TOOLS_DIR}/light
${QBSP} ${IN} ${OUT}
${VIS} -fast -level 4 -noambient ${OUT}
${LIGHT} -soft -extra -extra4 ${OUT}
:

41
id1/maps/light.log Normal file
View File

@@ -0,0 +1,41 @@
---- light / ericw-tools v0.18.1-66-g060c44b ----
extra 2x2 sampling enabled
extra 4x4 sampling enabled
Raytracing backend: Embree
running with 8 threads
LoadBSPFile: 'zombietest.bsp'
BSP is version 29
gamedir: /opt/quakedev/id1/
basedir: /opt/quakedev/id1/
qdir: /opt/quakedev/
--- ConvertTextures ---
--- LoadEntities ---
7 entities read, 2 are lights.
--- OptionsSummary ---
Embree_TraceInit: Embree version: 2.17.5
Embree_TraceInit:
0 sky faces
49 solid faces
0 filtered faces
0 shadow-casting skip faces
SetupLights: 2 initial lights
SetupLights: 2 after surface lights
SetupLights: 2 after jittering
--- EstimateLightVisibility ---
0....1....2....3....4....5
Final count: 2 lights, 0 suns in use.
--- LightWorld ---
--- LightThread ---
0....1....2....3....4....5....6....7....8....9...
Lighting Completed.
lightdatasize: 4324
0 switchable light styles (32 max)
Writing zombietest.bsp as BSP version 29
0.016 seconds elapsed
stats:
0.700207 lights tested, 0.623217 hits per sample point
0.000000 surface lights tested, 0.000000 hits per sample point
0.000000 bounce lights tested, 0.000000 hits per sample point
0 empty lightmaps

7
id1/maps/run.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
DIR="$( cd -P "$( dirname "$0" )" && pwd )"
ROOT=${DIR}/../../
pushd ${ROOT}
./quakespasm-sdl2 -map zombietest
popd

7
id1/maps/run.sh~ Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
DIR="$( cd -P "$( dirname "$0" )" && pwd )"
ROOT=${DIR}/../../
pushd ${ROOT}
./quakespasm-sdl -map zombietest
popd

28
id1/maps/vis.log Normal file
View File

@@ -0,0 +1,28 @@
---- vis / ericw-tools v0.18.1-66-g060c44b ----
fastvis = true
ambient sound calculation disabled
running with 8 threads
testlevel = 4
LoadBSPFile: 'zombietest.bsp'
BSP is version 29
10 leafs
15 portals
Calculating Base Vis:
0....1....2....3....4....5....6....7....8....9...
Calculating Full Vis:
WARNING: Leaf portals saw into leaf (0)
WARNING: Leaf portals saw into leaf (1)
WARNING: Leaf portals saw into leaf (2)
WARNING: Leaf portals saw into leaf (3)
WARNING: Leaf portals saw into leaf (4)
WARNING: Leaf portals saw into leaf (5)
WARNING: Leaf portals saw into leaf (6)
WARNING: Leaf portals saw into leaf (7)
WARNING: Leaf portals saw into leaf (8)
WARNING: Leaf portals saw into leaf (9)
average leafs visible: 10
c_noclip: 0
c_chains: 0
visdatasize:20 compressed from 20
Writing zombietest.bsp as BSP version 29
0.0 seconds elapsed

BIN
id1/maps/zombietest.bsp Normal file

Binary file not shown.

86
id1/maps/zombietest.log Normal file
View File

@@ -0,0 +1,86 @@
---- qbsp / ericw-tools v0.18.1-66-g060c44b ----
Input file: ./zombietest.map
Output file: zombietest.bsp
---- LoadMapFile ----
*** WARNING 06: No info_player_deathmatch entities in level
54 faces
9 brushes
7 entities
2 unique texnames
18 texinfo
Opened WAD: /opt/quakedev/wads/start.wad
Opened WAD: /opt/quakedev/wads/prototype_1_2.wad
Processing hull 0...
---- Brush_LoadEntity ----
9 brushes
25 planes
---- CSGFaces ----
54 brushfaces
80 csgfaces
79 mergedfaces
---- SolidBSP ----
124 split nodes
42 solid leafs
83 empty leafs
0 water leafs
0 detail leafs
0 detail illusionary leafs
0 detail fence leafs
0 illusionary visblocker leafs
200 leaffaces
198 nodefaces
---- Portalize ----
83 vis leafs
83 vis clusters
207 vis portals
---- FillOutside ----
73 outleafs
---- MergeAll ----
36 mergefaces
---- SolidBSP ----
26 split nodes
17 solid leafs
10 empty leafs
0 water leafs
0 detail leafs
0 detail illusionary leafs
0 detail fence leafs
0 illusionary visblocker leafs
61 leaffaces
49 nodefaces
---- Portalize ----
10 vis leafs
10 vis clusters
15 vis portals
---- Tjunc ----
59 world edges
193 edge points
68 edges added by tjunctions
0 faces added by tjunctions
---- MakeFaceEdges ----
---- GrowRegions ----
Processing hull 1...
*** WARNING 19: No entities in empty space -- no filling performed (hull 1)
Processing hull 2...
*** WARNING 19: No entities in empty space -- no filling performed (hull 2)
---- WriteBSPFile ----
Wrote zombietest.bsp
64 planes 1280
79 vertexes 948
26 nodes 624
8 texinfo 320
49 faces 980
249 clipnodes 1992
11 leafs 308
61 marksurfaces 122
264 surfedges 1056
133 edges 532
2 textures 23212
lightdata 0
visdata 0
entdata 440
0.011 seconds elapsed
Peak memory usage: 853126 (0.8M)

119
id1/maps/zombietest.map Normal file
View File

@@ -0,0 +1,119 @@
// Game: Quake
// Format: Standard
// entity 0
{
"classname" "worldspawn"
"wad" "/opt/quakedev/wads/start.wad;/opt/quakedev/wads/prototype_1_2.wad"
// brush 0
{
( -448 -64 -16 ) ( -448 -63 -16 ) ( -448 -64 -15 ) 128_grey_2 0 0 0 1 1
( -64 -448 -16 ) ( -64 -448 -15 ) ( -63 -448 -16 ) 128_grey_2 0 0 0 1 1
( -64 -64 -16 ) ( -63 -64 -16 ) ( -64 -63 -16 ) 128_grey_2 0 0 0 1 1
( 64 64 0 ) ( 64 65 0 ) ( 65 64 0 ) 128_grey_2 0 0 0 1 1
( 64 64 16 ) ( 65 64 16 ) ( 64 64 17 ) 128_grey_2 0 0 0 1 1
( 64 64 16 ) ( 64 64 17 ) ( 64 65 16 ) 128_grey_2 0 0 0 1 1
}
// brush 1
{
( -448 -64 192 ) ( -448 -63 192 ) ( -448 -64 193 ) 32_blue_3 0 -16 0 1 1
( -64 -448 192 ) ( -64 -448 193 ) ( -63 -448 192 ) 32_blue_3 0 -16 0 1 1
( -64 -64 192 ) ( -63 -64 192 ) ( -64 -63 192 ) 32_blue_3 0 0 0 1 1
( 64 64 208 ) ( 64 65 208 ) ( 65 64 208 ) 32_blue_3 0 0 0 1 1
( 64 64 224 ) ( 65 64 224 ) ( 64 64 225 ) 32_blue_3 0 -16 0 1 1
( 64 64 224 ) ( 64 64 225 ) ( 64 65 224 ) 32_blue_3 0 -16 0 1 1
}
// brush 2
{
( -448 432 -16 ) ( -448 433 -16 ) ( -448 432 -15 ) 128_grey_2 112 0 0 1 1
( -64 64 -16 ) ( -64 64 -15 ) ( -63 64 -16 ) 128_grey_2 0 0 0 1 1
( -64 432 -16 ) ( -63 432 -16 ) ( -64 433 -16 ) 128_grey_2 0 -112 0 1 1
( 64 560 208 ) ( 64 561 208 ) ( 65 560 208 ) 128_grey_2 0 -112 0 1 1
( 64 80 16 ) ( 65 80 16 ) ( 64 80 17 ) 128_grey_2 0 0 0 1 1
( 64 560 16 ) ( 64 560 17 ) ( 64 561 16 ) 128_grey_2 112 0 0 1 1
}
// brush 3
{
( -448 -96 -16 ) ( -448 -95 -16 ) ( -448 -96 -15 ) 128_grey_2 0 0 0 1 1
( -64 -464 -16 ) ( -64 -464 -15 ) ( -63 -464 -16 ) 128_grey_2 0 0 0 1 1
( -64 -96 -16 ) ( -63 -96 -16 ) ( -64 -95 -16 ) 128_grey_2 0 0 0 1 1
( 64 32 208 ) ( 64 33 208 ) ( 65 32 208 ) 128_grey_2 0 0 0 1 1
( 64 -448 16 ) ( 65 -448 16 ) ( 64 -448 17 ) 128_grey_2 0 0 0 1 1
( 64 32 16 ) ( 64 32 17 ) ( 64 33 16 ) 128_grey_2 0 0 0 1 1
}
// brush 4
{
( 64 -352 -16 ) ( 64 -352 -15 ) ( 64 -353 -16 ) 128_grey_2 0 0 180 1 -1
( 560 -480 16 ) ( 560 -480 17 ) ( 561 -480 16 ) 128_grey_2 16 0 0 1 1
( 432 -352 -16 ) ( 432 -353 -16 ) ( 433 -352 -16 ) 128_grey_2 0 -16 270 1 1
( 560 -480 208 ) ( 561 -480 208 ) ( 560 -481 208 ) 128_grey_2 0 -16 270 1 1
( 432 80 -16 ) ( 433 80 -16 ) ( 432 80 -15 ) 128_grey_2 16 0 0 1 1
( 80 -480 16 ) ( 80 -481 16 ) ( 80 -480 17 ) 128_grey_2 0 0 180 1 -1
}
// brush 5
{
( -464 -352 -16 ) ( -464 -352 -15 ) ( -464 -353 -16 ) 128_grey_2 0 0 180 1 -1
( 32 -480 16 ) ( 32 -480 17 ) ( 33 -480 16 ) 128_grey_2 32 0 0 1 1
( -96 -352 -16 ) ( -96 -353 -16 ) ( -95 -352 -16 ) 128_grey_2 0 -32 270 1 1
( 32 -480 208 ) ( 33 -480 208 ) ( 32 -481 208 ) 128_grey_2 0 -32 270 1 1
( -96 80 -16 ) ( -95 80 -16 ) ( -96 80 -15 ) 128_grey_2 32 0 0 1 1
( -448 -480 16 ) ( -448 -481 16 ) ( -448 -480 17 ) 128_grey_2 0 0 180 1 -1
}
// brush 6
{
( -80 -336 0 ) ( -80 -335 0 ) ( -80 -336 1 ) 128_grey_2 0 0 0 1 1
( -80 -336 0 ) ( -80 -336 1 ) ( -79 -336 0 ) 128_grey_2 0 0 0 1 1
( -80 -336 0 ) ( -79 -336 0 ) ( -80 -335 0 ) 128_grey_2 0 0 0 1 1
( -32 -256 224 ) ( -32 -255 224 ) ( -31 -256 224 ) 128_grey_2 0 0 0 1 1
( -32 -256 16 ) ( -31 -256 16 ) ( -32 -256 17 ) 128_grey_2 0 0 0 1 1
( -32 -256 16 ) ( -32 -256 17 ) ( -32 -255 16 ) 128_grey_2 0 0 0 1 1
}
// brush 7
{
( -192 -96 0 ) ( -192 -95 0 ) ( -192 -96 1 ) 128_grey_2 -112 0 0 1 1
( -192 -96 0 ) ( -192 -96 1 ) ( -191 -96 0 ) 128_grey_2 112 0 0 1 1
( -192 -96 0 ) ( -191 -96 0 ) ( -192 -95 0 ) 128_grey_2 112 112 0 1 1
( -144 -16 224 ) ( -144 -15 224 ) ( -143 -16 224 ) 128_grey_2 112 112 0 1 1
( -144 -16 16 ) ( -143 -16 16 ) ( -144 -16 17 ) 128_grey_2 112 0 0 1 1
( -144 -16 16 ) ( -144 -16 17 ) ( -144 -15 16 ) 128_grey_2 -112 0 0 1 1
}
// brush 8
{
( -320 -256 0 ) ( -320 -255 0 ) ( -320 -256 1 ) 128_grey_2 48 0 0 1 1
( -320 -256 0 ) ( -320 -256 1 ) ( -319 -256 0 ) 128_grey_2 112 0 0 1 1
( -320 -256 0 ) ( -319 -256 0 ) ( -320 -255 0 ) 128_grey_2 112 -48 0 1 1
( -272 -176 224 ) ( -272 -175 224 ) ( -271 -176 224 ) 128_grey_2 112 -48 0 1 1
( -272 -176 16 ) ( -271 -176 16 ) ( -272 -176 17 ) 128_grey_2 112 0 0 1 1
( -272 -176 16 ) ( -272 -176 17 ) ( -272 -175 16 ) 128_grey_2 48 0 0 1 1
}
}
// entity 1
{
"classname" "info_player_start"
"origin" "-224 -304 24"
}
// entity 2
{
"classname" "monster_knight"
"origin" "-368 -144 24"
}
// entity 3
{
"classname" "monster_wizard"
"origin" "0 -32 24"
}
// entity 4
{
"classname" "monster_zombie"
"origin" "-256 -96 24"
"angle" "270"
}
// entity 5
{
"classname" "light"
"origin" "-440 -216 152"
}
// entity 6
{
"classname" "light"
"origin" "56 -312 152"
}

18
id1/maps/zombietest.prt Normal file
View File

@@ -0,0 +1,18 @@
PRT1
10
15
4 0 7 (-80 -176 192 ) (-144 -176 192 ) (-144 -176 0 ) (-80 -176 0 )
4 0 4 (64 -176 0 ) (64 -176 192 ) (-80 -176 192 ) (-80 -176 0 )
4 0 2 (-144 -96 0 ) (-144 -176 0 ) (-144 -176 192 ) (-144 -96 192 )
4 0 1 (-144 64 192 ) (-144 64 0 ) (-144 -16 0 ) (-144 -16 192 )
4 1 3 (-192 64 0 ) (-192 -16 0 ) (-192 -16 192 ) (-192 64 192 )
4 2 7 (-192 -176 192 ) (-192 -176 0 ) (-144 -176 0 ) (-144 -176 192 )
4 2 3 (-192 -96 0 ) (-192 -176 0 ) (-192 -176 192 ) (-192 -96 192 )
4 3 8 (-448 -176 192 ) (-448 -176 0 ) (-320 -176 0 ) (-320 -176 192 )
4 3 7 (-272 -176 0 ) (-192 -176 0 ) (-192 -176 192 ) (-272 -176 192 )
4 4 7 (-80 -176 0 ) (-80 -256 0 ) (-80 -256 192 ) (-80 -176 192 )
4 4 5 (-32 -256 0 ) (64 -256 0 ) (64 -256 192 ) (-32 -256 192 )
4 5 6 (-32 -336 0 ) (64 -336 0 ) (64 -336 192 ) (-32 -336 192 )
4 6 7 (-80 -336 0 ) (-80 -448 0 ) (-80 -448 192 ) (-80 -336 192 )
4 7 9 (-272 -256 0 ) (-272 -448 0 ) (-272 -448 192 ) (-272 -256 192 )
4 8 9 (-320 -256 192 ) (-448 -256 192 ) (-448 -256 0 ) (-320 -256 0 )