Home
last modified time | relevance | path

Searched refs:numwalls (Results 1 – 25 of 127) sorted by relevance

123456

/dports/games/NBlood/NBlood-a1689a4/source/rr/src/lunatic/
H A Dengine_maptext.lua151 for i=0,ffiC.numwalls-1 do
187 for i=0,ffiC.numwalls-1 do
216 for i=0,ffiC.numwalls-1 do
284 for i=0,ffiC.numwalls-1 do
452 local numsectors, numwalls, numsprites = #msector, #mwall, #msprite
456 numwalls > ffiC.MAXWALLS or numsprites > ffiC.MAXSPRITES)
464 ffiC.numwalls = numwalls
482 for i=0,numwalls-1 do
504 assert(numw >= 0 and numw < numwalls) -- NOTNICE, cheap check instead of real one.
520 for i=0,numwalls-1 do
[all …]
H A Ddynsymlist_editor.lds16 numwalls;
H A Dbcheck.lua18 if (not (wallnum >= 0 and wallnum < ffiC.numwalls)) then
/dports/games/NBlood/NBlood-a1689a4/source/exhumed/src/
H A Dsave.cpp99 buildvfs_write(hFile, &numwalls, sizeof(numwalls)); in savegame()
100 buildvfs_write(hFile, wall, sizeof(WALL) * numwalls); in savegame()
147 buildvfs_read(hFile, &numwalls, sizeof(numwalls)); in loadgame()
148 buildvfs_read(hFile, wall, sizeof(WALL) * numwalls); in loadgame()
292 Read(&numwalls, sizeof(numwalls)); in Load()
295 Read(wall, sizeof(wall[0]) * numwalls); in Load()
376 Write(&numwalls, sizeof(numwalls)); in Save()
379 Write(wall, sizeof(wall[0]) * numwalls); in Save()
/dports/games/NBlood/NBlood-a1689a4/source/build/src/
H A Dbuild.cpp465 numwalls = 0; in reset_default_mapstate()
1990 newnumwalls = numwalls + mapinfo->numwalls; in restore_highlighted_map()
1994 Bmemcpy(&wall[numwalls], mapinfo->wall, mapinfo->numwalls*sizeof(walltype)); in restore_highlighted_map()
2069 numwalls = newnumwalls; in restore_highlighted_map()
2601 k = numwalls; in trace_loop()
3728 if (numwalls < 0) in overheadeditor()
7648 for (j=numwalls-k; j<numwalls; j++) in overheadeditor()
8714 if (numwalls == 0) in getlinehighlight()
8789 if (numwalls == 0) in getpointhighlight()
8977 for (i=numwalls; i<numwalls+(nume>>1); i++) in flipwalls()
[all …]
/dports/games/NBlood/NBlood-a1689a4/extras/rrsrc/enginerr/
H A DBUILD.C202 numwalls = 0; in main()
2555 templong = numwalls; in overheadeditor()
2557 if (numwalls < 0) numwalls = templong; in overheadeditor()
3993 if ((newnumwalls < numwalls) && (numwalls < MAXWALLS-1)) in overheadeditor()
4387 for(j=numwalls-k;j<numwalls;j++) in overheadeditor()
4521 for(j=numwalls-k;j<numwalls;j++) in overheadeditor()
4815 numwalls = 0; in overheadeditor()
5154 if (numwalls == 0) in getlinehighlight()
5183 if (numwalls == 0) in getpointhighlight()
5308 for(i=numwalls;i<numwalls+(nume>>1);i++) in flipwalls()
[all …]
/dports/games/NBlood/NBlood-a1689a4/extras/rrsrc/enginera/
H A DBUILD.C202 numwalls = 0; in main()
2555 templong = numwalls; in overheadeditor()
2557 if (numwalls < 0) numwalls = templong; in overheadeditor()
3993 if ((newnumwalls < numwalls) && (numwalls < MAXWALLS-1)) in overheadeditor()
4387 for(j=numwalls-k;j<numwalls;j++) in overheadeditor()
4521 for(j=numwalls-k;j<numwalls;j++) in overheadeditor()
4815 numwalls = 0; in overheadeditor()
5154 if (numwalls == 0) in getlinehighlight()
5183 if (numwalls == 0) in getpointhighlight()
5308 for(i=numwalls;i<numwalls+(nume>>1);i++) in flipwalls()
[all …]
/dports/games/jfsw/jfsw-c434002/jfbuild/src/
H A Dbuild.c382 numwalls = 0; in app_main()
2823 templong = numwalls; in overheadeditor()
2825 if (numwalls < 0) numwalls = templong; in overheadeditor()
4273 if ((newnumwalls < numwalls) && (numwalls < MAXWALLS-1)) in overheadeditor()
4671 for(j=numwalls-k;j<numwalls;j++) in overheadeditor()
4805 for(j=numwalls-k;j<numwalls;j++) in overheadeditor()
5115 numwalls = 0; in overheadeditor()
5611 if (numwalls == 0) in getlinehighlight()
5640 if (numwalls == 0) in getpointhighlight()
5765 for(i=numwalls;i<numwalls+(nume>>1);i++) in flipwalls()
[all …]
/dports/games/NBlood/NBlood-a1689a4/source/rr/src/
H A Dm32common.cpp444 mapstate->num[1] = numwalls; in create_map_snapshot()
465 if (numwalls) in create_map_snapshot()
467 temphash = XXH__((uint8_t *)wall, numwalls*sizeof(walltype), numwalls*sizeof(walltype)); in create_map_snapshot()
533 numwalls = mapstate->num[1]; in map_undoredo()
673 if (nw>=0 && nw<numwalls) in suggest_nextsector_correction()
704 if (nw>=0 && nw<numwalls) in do_nextsector_correction()
897 if (numwalls>MAXWALLS) in CheckMapCorruption()
910 if (numwalls>0) in CheckMapCorruption()
929 if (w0 < 0 || w0 > numwalls) in CheckMapCorruption()
947 if (endwall >= numwalls) in CheckMapCorruption()
[all …]
H A Dsavegame.cpp1169 { DS_NOCHK, &numwalls, sizeof(numwalls), 1 },
1170 { DS_MAINAR|DS_CNT(numwalls), &wall, sizeof(walltype), (intptr_t)&numwalls },
1178 { DS_CNT(numwalls), yax_nextwall, sizeof(yax_nextwall[0]), (intptr_t)&numwalls },
1219 { DS_DYNAMIC|DS_CNT(numwalls), &rt_wall, sizeof(rt_walltype), (intptr_t)&numwalls },
2021 rt_wall = (rt_walltype*)Xmalloc(sizeof(rt_walltype) * numwalls); in sv_preloaddn64()
/dports/games/NBlood/NBlood-a1689a4/source/blood/src/
H A Dloadsave.cpp265 Read(&numwalls, sizeof(numwalls)); in Load()
273 Read(wall, sizeof(wall[0])*numwalls); in Load()
309 Read(baseWall, sizeof(baseWall[0])*numwalls); in Load()
335 for (int nWall = 0; nWall < numwalls; nWall++) in Load()
385 Write(&numwalls, sizeof(numwalls)); in Save()
389 Write(wall, sizeof(wall[0])*numwalls); in Save()
424 Write(baseWall, sizeof(baseWall[0])*numwalls); in Save()
448 for (int nWall = 0; nWall < numwalls; nWall++) in Save()
H A Dm32common.cpp449 mapstate->num[UNDO_WALLS] = numwalls; in create_map_snapshot()
469 if (numwalls) in create_map_snapshot()
471 temphash = XXH__((uint8_t *)wall, numwalls*sizeof(walltype), numwalls*sizeof(walltype)); in create_map_snapshot()
672 if (nw>=0 && nw<numwalls) in suggest_nextsector_correction()
703 if (nw>=0 && nw<numwalls) in do_nextsector_correction()
896 if (numwalls>MAXWALLS) in CheckMapCorruption()
905 if (numsectors==0 || numwalls==0) in CheckMapCorruption()
909 if (numwalls>0) in CheckMapCorruption()
928 if (w0 < 0 || w0 > numwalls) in CheckMapCorruption()
946 if (endwall >= numwalls) in CheckMapCorruption()
[all …]
H A Dmirrors.cpp95 for (int i = numwalls - 1; i >= 0; i--) in InitMirrors()
110 for (j = numwalls - 1; j >= 0; j--) in InitMirrors()
176 mirrorwall[i] = numwalls+i; in InitMirrors()
182 wall[mirrorwall[i]].point2 = numwalls+i+1; in InitMirrors()
528 wall[mirrorwall[i]].point2 = numwalls+i+1; in Load()
H A Ddb.cpp506 for (int i = 0; i < numwalls; i++) in dbXWallClean()
526 for (int i = 0; i < numwalls; i++) in dbXWallClean()
546 if (nWall >= numwalls || wall[nWall].extra != i) in dbXWallClean()
870 numwalls = mapHeader.at21; in dbLoadMap()
875 dbCrypt((char*)&byte_19AE44, 128, numwalls); in dbLoadMap()
1021 for (int i = 0; i < numwalls; i++) in dbLoadMap()
1360 nSize += sizeof(walltype)*numwalls; in dbSaveMap()
1361 for (int i = 0; i < numwalls; i++) in dbSaveMap()
1416 mapheader.at21 = B_LITTLE16(numwalls); in dbSaveMap()
1429 dbCrypt((char*)&byte_19AE44, sizeof(MAPHEADER2), numwalls); in dbSaveMap()
[all …]
/dports/games/NBlood/NBlood-a1689a4/source/duke3d/src/
H A Dm32common.cpp449 mapstate->num[UNDO_WALLS] = numwalls; in create_map_snapshot()
459 if (numwalls) in create_map_snapshot()
662 if (nw>=0 && nw<numwalls) in suggest_nextsector_correction()
693 if (nw>=0 && nw<numwalls) in do_nextsector_correction()
886 if (numwalls>MAXWALLS) in CheckMapCorruption()
895 if (numsectors==0 || numwalls==0) in CheckMapCorruption()
899 if (numwalls>0) in CheckMapCorruption()
918 if (w0 < 0 || w0 > numwalls) in CheckMapCorruption()
936 if (endwall >= numwalls) in CheckMapCorruption()
994 if (nw >= numwalls) in CheckMapCorruption()
[all …]
/dports/games/NBlood/NBlood-a1689a4/source/rr/src/lunatic/util/
H A Dmapstats.lua21 map.numsectors, map.numwalls, map.numsprites)
23 map.numwalls/map.numsectors, map.numsprites/map.numsectors)
H A Dbuild.lua317 map.numwalls = cd[0]
318 if (map.numwalls <= 0 or map.numwalls > MAX.WALLS[map.version]) then
323 map.wall = doread(fh, "walltype", map.numwalls)
353 map.wall = set_secwalspr_mt(map.wall, map.numwalls)
H A Dmapastats.lua28 local nw = map.numwalls
H A Dmap2text.lua44 printf("numwalls = %d", map.numwalls)
/dports/games/zdoom/zdoom-2.8.1/src/
H A Dp_buildmap.cpp145 static void LoadWalls (walltype *walls, int numwalls, sectortype *bsectors);
180 int numwalls; in P_IsBuildMap() local
183 (numwalls = LittleShort(*(WORD *)(data + 22 + numsec*sizeof(sectortype))), in P_IsBuildMap()
184 len < 24 + numsec*sizeof(sectortype) + numwalls*sizeof(walltype)) || in P_IsBuildMap()
215 int numwalls; in P_LoadBuildMap() local
219 (numwalls = LittleShort(*(WORD *)(data + 22 + numsec*sizeof(sectortype))), in P_LoadBuildMap()
220 len < 24 + numsec*sizeof(sectortype) + numwalls*sizeof(walltype)) || in P_LoadBuildMap()
484 static void LoadWalls (walltype *walls, int numwalls, sectortype *bsec) in LoadWalls() argument
490 numsides = numvertexes = numwalls; in LoadWalls()
512 for (i = 0; i < numwalls; ++i) in LoadWalls()
[all …]
/dports/games/jfsw/jfsw-c434002/jfbuild/tools/
H A Dwad2map.c1207 numwalls = 0; in main()
1216 wx[numwalls] = px[line[zz].p1]; wy[numwalls] = py[line[zz].p1]; in main()
1217 wx2[numwalls] = px[line[zz].p2]; wy2[numwalls] = py[line[zz].p2]; in main()
1218 picindex[numwalls] = line[zz].side1; linindex[numwalls++] = zz; in main()
1222 wx[numwalls] = px[line[zz].p2]; wy[numwalls] = py[line[zz].p2]; in main()
1223 wx2[numwalls] = px[line[zz].p1]; wy2[numwalls] = py[line[zz].p1]; in main()
1224 picindex[numwalls] = line[zz].side2; linindex[numwalls++] = zz; in main()
1313 for(z=0;z<numwalls;z++) in main()
1346 } while (zz < numwalls); in main()
1550 for(z=0;z<numwalls;z++) in main()
[all …]
/dports/games/NBlood/NBlood-a1689a4/source/tools/src/
H A Dwad2map.cpp1208 numwalls = 0; in main()
1217 wx[numwalls] = px[line[zz].p1]; wy[numwalls] = py[line[zz].p1]; in main()
1218 wx2[numwalls] = px[line[zz].p2]; wy2[numwalls] = py[line[zz].p2]; in main()
1219 picindex[numwalls] = line[zz].side1; linindex[numwalls++] = zz; in main()
1223 wx[numwalls] = px[line[zz].p2]; wy[numwalls] = py[line[zz].p2]; in main()
1224 wx2[numwalls] = px[line[zz].p1]; wy2[numwalls] = py[line[zz].p1]; in main()
1225 picindex[numwalls] = line[zz].side2; linindex[numwalls++] = zz; in main()
1315 for(z=0;z<numwalls;z++) in main()
1414 for(zx=0;zx<numwalls;zx++) in main()
1552 for(z=0;z<numwalls;z++) in main()
[all …]
/dports/games/zhlt/zhlt-3.4/hlrad/
H A Dlerp.cpp26 for (x = 0; x < trian->numwalls; x++, wall++)
63 for (x = 0; x < trian->numwalls; x++, wall++)
502 if (trian->numwalls >= trian->maxwalls)
511 wall = &trian->walls[trian->numwalls];
512 trian->numwalls++;
/dports/games/NBlood/NBlood-a1689a4/source/tekwar/src/
H A Dtekldsv.cpp127 read(fil,&numwalls,2); in loadgame()
128 read(fil,wall,sizeof(walltype)*numwalls); in loadgame()
343 rv=write(fil,&numwalls,2); in savegame()
344 rv=write(fil,wall,sizeof(walltype)*numwalls); in savegame()
/dports/games/NBlood/NBlood-a1689a4/source/build/include/
H A Dclip.h58 int16_t numsectors, numwalls; member

123456