Home
last modified time | relevance | path

Searched refs:pow2char (Results 1 – 25 of 38) sorted by relevance

12

/dports/games/jfsw/jfsw-c434002/jfbuild/src/
H A Dengine_priv.h12 extern unsigned char pow2char[8];
95 mov bl, byte ptr pow2char[ebx] in setgotpic()
121 [pow2char] "m" (pow2char[0]) \
130 gotpic[tilenume>>3] |= pow2char[tilenume&7]; in setgotpic()
H A Dengine.c93 unsigned char pow2char[8] = {1,2,4,8,16,32,64,128}; variable
623 gotsector[sectnum>>3] |= pow2char[sectnum&7]; in scansector()
2865 oand = pow2char[(xs<backx)+0]+pow2char[(ys<backy)+2]; in drawvox()
4545 bad &= ~pow2char[xx]; in dorotatesprite()
4953 colhere[j>>3] |= pow2char[j&7]; in initfastcolorlookup()
5911 if (show2dsector[s>>3]&pow2char[s&7]) in drawmapview()
5963 gotsector[s>>3] |= pow2char[s&7]; in drawmapview()
10906 if (show2dwall[i>>3]&pow2char[i&7]) in draw2dscreen()
10948 if (show2dsprite[j>>3]&pow2char[j&7]) in draw2dscreen()
11075 if (letptr[y]&pow2char[7-fontsize-x]) in printext16()
[all …]
H A Dpolymost.c2876 if ((!(gotsector[nextsectnum>>3]&pow2char[nextsectnum&7])) && (testvisiblemost(x0,x1))) in polymost_drawalls()
2907 if (automapping) show2dsector[sectnum>>3] |= pow2char[sectnum&7]; in polymost_scansector()
2930 gotsector[sectnum>>3] |= pow2char[sectnum&7]; in polymost_scansector()
2945 …if ((nextsectnum >= 0) && (!(wal->cstat&32)) && (!(gotsector[nextsectnum>>3]&pow2char[nextsectnum&… in polymost_scansector()
3217 show2dwall[thewall[j]>>3] |= pow2char[thewall[j]&7]; in polymost_drawrooms()
3443 if (automapping == 1) show2dsprite[spritenum>>3] |= pow2char[spritenum&7]; in polymost_drawsprite()
3450 if (automapping == 1) show2dsprite[spritenum>>3] |= pow2char[spritenum&7]; in polymost_drawsprite()
3457 if (automapping == 1) show2dsprite[spritenum>>3] |= pow2char[spritenum&7]; in polymost_drawsprite()
3720 if (automapping == 1) show2dsprite[spritenum>>3] |= pow2char[spritenum&7]; in polymost_drawsprite()
4559 if (cptr[h*8+i] & pow2char[7-j]) tptr[j] = 0xffffffff; in polymost_preparetext()
[all …]
/dports/games/NBlood/NBlood-a1689a4/source/build/src/
H A Dglbuild.cpp333 if (textures[i] < texnameallocsize && (texnameused[textures[i]>>3]&pow2char[textures[i]&7])) in texdbg_bglGenTextures()
348 texnameused[textures[i]>>3] |= pow2char[textures[i]&7]; in texdbg_bglGenTextures()
363 if ((texnameused[textures[i]>>3]&pow2char[textures[i]&7])==0) in texdbg_bglDeleteTextures()
365 else if ((texnameused[textures[i]>>3]&pow2char[textures[i]&7]) && in texdbg_bglDeleteTextures()
376 texnameused[textures[i]>>3] &= ~pow2char[textures[i]&7]; in texdbg_bglDeleteTextures()
H A Dcolmatch.cpp19 #define pow2char(x) (1u << (x)) macro
49 if (colhere[j>>3]&pow2char(j&7)) colnext[i] = colhead[j]; else colnext[i] = -1; in paletteInitClosestColorMap()
51 colhere[j>>3] |= pow2char(j&7); in paletteInitClosestColorMap()
157 if ((colhere[i>>3]&pow2char(i&7)) == 0) in paletteGetClosestColorWithBlacklistNoCache()
H A Dtiles.cpp210 faketile[tile>>3] |= pow2char[tile&7]; in tileSetupDummy()
223 faketile[tile>>3] |= pow2char[tile&7]; in tileSetDataSafe()
241 faketile[tile>>3] |= pow2char[tile&7]; in tileSetData()
247 faketile[tile>>3] &= ~pow2char[tile&7]; in tileSetData()
261 faketile[tile>>3] &= ~pow2char[tile&7]; in tileSoftDelete()
527 if (faketile[i>>3] & pow2char[i&7] || walock[i] >= CACHE1D_LOCKED) in artReadIndexedFile()
698 if (faketile[tilenume>>3] & pow2char[tilenume&7]) in tileLoadData()
H A D2d.cpp875 if ((show2dwall[i>>3]&pow2char[i&7]) == 0) return; in editorDraw2dWall()
935 …int const bothSidesHighlighted = ((show2dwall[i>>3]&pow2char[i&7]) && (show2dwall[p2>>3]&pow2char[… in editorDraw2dWall()
1059 if (show2dwall[i>>3]&pow2char[i&7]) in editorDraw2dWall()
1196 if (show2dsprite[j>>3]&pow2char[j&7]) in editorDraw2dSpriteBloodMarker()
1286 if (show2dsprite[j>>3]&pow2char[j&7]) in editorDraw2dSprite()
1460 … if ((graywallbitmap[i>>3]&pow2char[i&7]) && (j < 0 || (graywallbitmap[j>>3]&pow2char[j&7]))) in editorDraw2dScreen()
1461 graybitmap[i>>3] |= pow2char[i&7]; in editorDraw2dScreen()
1463 graybitmap[i>>3] &= ~pow2char[i&7]; in editorDraw2dScreen()
1475 if (graybitmap[i>>3]&pow2char[i&7]) in editorDraw2dScreen()
1479 if ((graybitmap[i>>3]&pow2char[i&7])==0) in editorDraw2dScreen()
[all …]
H A Dbuild.cpp2312 if (show2dwall[i>>3]&pow2char[i&7]) in update_highlight()
2617 visitedwall[j>>3] |= pow2char[j&7]; in trace_loop()
2843 …tmp = (((collsectbitmap[0][j>>3]&pow2char[j&7])!=0) + (((collsectbitmap[1][j>>3]&pow2char[j&7])!=0… in sectors_components()
2893 editwall[i>>3] &= ~pow2char[i&7]; in SetFirstWall()
3083 editwall[i>>3] &= ~pow2char[i&7]; in M32_InsertPoint()
3088 if (editwall[i>>3]&pow2char[i&7]) in M32_InsertPoint()
3103 if (editwall[i>>3]&pow2char[i&7]) in M32_InsertPoint()
3420 if (show2dsprite[i>>3]&pow2char[i&7]) in drawspritelabel()
11027 visited[w0>>3] |= pow2char[w0&7]; in AutoAlignWalls()
11043 if (visited[w1>>3]&pow2char[w1&7]) in AutoAlignWalls()
[all …]
H A Dengine.cpp277 graysectbitmap[i>>3] |= pow2char[i&7]; in yax_updategrays()
292 if (graysectbitmap[i>>3]&pow2char[i&7]) in yax_updategrays()
515 havebunch[cb>>3] |= pow2char[cb&7]; in yax_update()
1808 didscan[z>>3] |= pow2char[z&7]; in printscans()
4961 char oand = pow2char[(xs<backx)+0] + pow2char[(ys<backy)+2]; in classicDrawVoxel()
7572 bad &= ~pow2char[xx]; in dorotatesprite()
7580 if (!(bad&pow2char[xx])) in dorotatesprite()
9817 if (show2dsector[s>>3]&pow2char[s&7]) in renderDrawMapView()
9882 gotsector[s>>3] |= pow2char[s&7]; in renderDrawMapView()
11747 sectbitmap[sect1>>3] |= pow2char[sect1&7]; in cansee()
[all …]
H A Dengine_priv.h356 mov bl, byte ptr pow2char[ebx] in setgotpic()
388 gotpic[tilenume>>3] |= pow2char[tilenume&7]; in setgotpic()
/dports/games/NBlood/NBlood-a1689a4/source/exhumed/src/
H A Dmap.cpp93 if (!(pow2char[i & 7] & show2dsector[i >> 3])) in MarkSectorSeen()
95 show2dsector[i >> 3] |= pow2char[i & 7]; in MarkSectorSeen()
115 show2dsector[i >> 3] |= pow2char[i & 7]; in MarkSectorSeen()
153 if (!(show2dsector[i>>3]&pow2char[i&7])) continue; in G_DrawOverheadMap()
192 if (!(show2dsector[i>>3]&pow2char[i&7])) continue; in G_DrawOverheadMap()
/dports/games/NBlood/NBlood-a1689a4/source/rr/src/n64/
H A Dreality_render.cpp942 if (faketile[picnum>>3]&pow2char[picnum&7]) in RT_DisplayTileWorld()
1126 if (faketile[tilenum>>3]&pow2char[tilenum&7]) in RT_SetTexture()
2473 if (wallbitcheck[w>>3]&pow2char[w&7]) in RT_ScanSector()
2483 wallbitcheck[w>>3] |= pow2char[w&7]; in RT_ScanSector()
2501 viswalltbit[w>>3] |= pow2char[w&7]; in RT_ScanSector()
2505 wallbitcheck[w>>3] |= pow2char[w&7]; in RT_ScanSector()
2511 wallbitcheck[w>>3] |= pow2char[w&7]; in RT_ScanSector()
2578 if (viswalltbit[i] & pow2char[j]) in RT_ScanSectors()
2588 if (floorbitcheck[i] & pow2char[j]) in RT_ScanSectors()
2608 if (vissectbit1[i] & pow2char[j]) in RT_ScanSectors()
[all …]
/dports/games/NBlood/NBlood-a1689a4/source/duke3d/src/
H A Dm32common.cpp775 if (havesprite[i>>3]&pow2char[i&7]) in check_spritelist_consistency()
778 havesprite[i>>3] |= pow2char[i&7]; in check_spritelist_consistency()
793 if (sprite[i].statnum!=MAXSTATUS && !(havesprite[i>>3]&pow2char[i&7])) in check_spritelist_consistency()
814 if (!(havesprite[i>>3]&pow2char[i&7])) in check_spritelist_consistency()
817 havesprite[i>>3] &= ~pow2char[i&7]; in check_spritelist_consistency()
834 if (havesprite[i>>3]&pow2char[i&7]) in check_spritelist_consistency()
1169 if (seen_nextwalls[nw>>3]&pow2char[nw&7]) in CheckMapCorruption()
H A Dpremap.cpp41 if (!(gotpic[tile>>3] & pow2char[tile&7])) in flag_precache()
44 gotpic[tile>>3] |= pow2char[tile&7]; in flag_precache()
45 precachehightile[type][tile>>3] |= pow2char[tile&7]; in flag_precache()
431 if (precachehightile[type][tileNum >> 3] & pow2char[tileNum & 7]) in cacheExtraTextureMaps()
513 else if ((gotpic[i>>3] & pow2char[i&7]) != pow2char[i&7]) in G_CacheMapData()
1057 if (sprite[j].lotag == SE_12_LIGHT_SWITCH && tagbitmap[tag>>3] & pow2char[tag&7]) in G_SetupLightSwitches()
H A Dastub.cpp716 if (editwall[wallnum>>3]&pow2char[wallnum&7]) in ExtGetWallCaption()
719 editwall[wallnum>>3] &= ~pow2char[wallnum&7]; in ExtGetWallCaption()
3065 n += !!(tilemarked[i>>3]&pow2char[i&7]); in OnSaveTileGroup()
3127 tilemarked[k>>3] &= ~pow2char[k&7]; in OnSaveTileGroup()
3146 tilemarked[k>>3] &= ~pow2char[k&7]; in OnSaveTileGroup()
3154 if (tilemarked[i>>3]&pow2char[i&7]) in OnSaveTileGroup()
3511 if (loadedhitile[idTile>>3]&pow2char[idTile&7]) in DrawTiles()
10099 if (!(wallflag[w>>3]&pow2char[w&7])) in ExtPreCheckKeys()
10107 wallflag[w>>3] |= pow2char[w&7]; in ExtPreCheckKeys()
10816 if (wallflag[w>>3]&pow2char[w&7]) in ExtCheckKeys()
[all …]
H A Dm32exec.cpp1262 if (sectbitmap[ns>>3]&pow2char[ns&7]) in VM_Execute()
1671 VM_DoConditional(show2dsprite[index>>3]&pow2char[index&7]); in VM_Execute()
1673 VM_DoConditional(show2dwall[index>>3]&pow2char[index&7]); in VM_Execute()
2336 show2dsprite[index>>3] |= pow2char[index&7]; in VM_Execute()
2338 show2dsprite[index>>3] &= ~pow2char[index&7]; in VM_Execute()
2349 show2dwall[index>>3] |= pow2char[index&7]; in VM_Execute()
2351 show2dwall[index>>3] &= ~pow2char[index&7]; in VM_Execute()
2373 hlsectorbitmap[index>>3] |= pow2char[index&7]; in VM_Execute()
2375 hlsectorbitmap[index>>3] &= ~pow2char[index&7]; in VM_Execute()
H A Dscreens.cpp344 if (!(show2dsector[i>>3]&pow2char[i&7])) continue; in G_DrawOverheadMap()
360 if (!(show2dsector[wal->nextsector>>3]&pow2char[wal->nextsector&7])) in G_DrawOverheadMap()
385 if (!(show2dsector[i>>3]&pow2char[i&7])) continue; in G_DrawOverheadMap()
541 if (!(show2dsector[i>>3]&pow2char[i&7])) continue; in G_DrawOverheadMap()
1028 show2dsector[i>>3] |= pow2char[i&7]; in G_DisplayRest()
1037 show2dsector[i>>3] |= pow2char[i&7]; in G_DisplayRest()
H A Dgamevars.h140 …AMEARRAY_BITMAP: return !!(((uint8_t *)aGameArrays[id].pValues)[index >> 3] & pow2char[index & 7]); in Gv_GetArrayValue()
H A Dsounds_mapster32.cpp462 g_ambiencePlaying[i>>3] &= ~pow2char[i&7]; in S_Callback()
H A Dsavegame.cpp1255 if (((*diffvar+slen)[eltnum>>3] & pow2char[eltnum&7]) == 0) in applydiff()
2160 if (savegame_projectiles[i>>3] & pow2char[i&7]) in sv_preprojectileload()
2172 if (savegame_projectiles[i>>3] & pow2char[i&7]) in sv_postprojectileload()
/dports/games/NBlood/NBlood-a1689a4/source/blood/src/
H A Dm32common.cpp785 if (havesprite[i>>3]&pow2char[i&7]) in check_spritelist_consistency()
788 havesprite[i>>3] |= pow2char[i&7]; in check_spritelist_consistency()
803 if (sprite[i].statnum!=MAXSTATUS && !(havesprite[i>>3]&pow2char[i&7])) in check_spritelist_consistency()
824 if (!(havesprite[i>>3]&pow2char[i&7])) in check_spritelist_consistency()
827 havesprite[i>>3] &= ~pow2char[i&7]; in check_spritelist_consistency()
844 if (havesprite[i>>3]&pow2char[i&7]) in check_spritelist_consistency()
1179 if (seen_nextwalls[nw>>3]&pow2char[nw&7]) in CheckMapCorruption()
/dports/games/NBlood/NBlood-a1689a4/source/build/include/
H A Dcompat.h1212 static CONSTEXPR const char pow2char[8] = {1,2,4,8,16,32,64,128u};
1214 static FORCE_INLINE void bitmap_set(uint8_t *const ptr, int const n) { ptr[n>>3] |= pow2char[n&7]; }
1215 static FORCE_INLINE void bitmap_clear(uint8_t *const ptr, int const n) { ptr[n>>3] &= ~pow2char[n&7…
1216 …TEXPR char bitmap_test(uint8_t const *const ptr, int const n) { return ptr[n>>3] & pow2char[n&7]; }
/dports/games/NBlood/NBlood-a1689a4/extras/rrsrc/enginerr/
H A DENGINE.C103 char pow2char[8] = {1,2,4,8,16,32,64,128}; variable
4032 oand = pow2char[(xs<backx)+0]+pow2char[(ys<backy)+2]; in drawvox()
5827 mask |= pow2char[xp1&7^7]; in draw2dgrid()
5932 if (show2dwall[i>>3]&pow2char[i&7]) in draw2dscreen()
5974 if (show2dsprite[j>>3]&pow2char[j&7]) in draw2dscreen()
6063 mask = pow2char[8-(daxpos&7)]-1; in printext16()
6145 if (letptr[y]&pow2char[7-fontsize-x]) in printext256()
6677 bad &= ~pow2char[xx]; in dorotatesprite()
7030 colhere[j>>3] |= pow2char[j&7]; in initfastcolorlookup()
7149 if (show2dsector[s>>3]&pow2char[s&7]) in drawmapview()
[all …]
/dports/games/NBlood/NBlood-a1689a4/extras/rrsrc/enginera/
H A DENGINE.C102 char pow2char[8] = {1,2,4,8,16,32,64,128}; variable
4072 oand = pow2char[(xs<backx)+0]+pow2char[(ys<backy)+2]; in drawvox()
5867 mask |= pow2char[xp1&7^7]; in draw2dgrid()
5972 if (show2dwall[i>>3]&pow2char[i&7]) in draw2dscreen()
6014 if (show2dsprite[j>>3]&pow2char[j&7]) in draw2dscreen()
6103 mask = pow2char[8-(daxpos&7)]-1; in printext16()
6185 if (letptr[y]&pow2char[7-fontsize-x]) in printext256()
6717 bad &= ~pow2char[xx]; in dorotatesprite()
7070 colhere[j>>3] |= pow2char[j&7]; in initfastcolorlookup()
7189 if (show2dsector[s>>3]&pow2char[s&7]) in drawmapview()
[all …]
/dports/games/NBlood/NBlood-a1689a4/source/rr/src/
H A Dpremap.cpp38 if (!(gotpic[tile>>3] & pow2char[tile&7])) in flag_precache()
40 gotpic[tile>>3] |= pow2char[tile&7]; in flag_precache()
41 precachehightile[type][tile>>3] |= pow2char[tile&7]; in flag_precache()
622 if (gotpic[i>>3] & pow2char[i&7]) in G_CacheMapData()
634 if (precachehightile[type][i>>3] & pow2char[i&7]) in G_CacheMapData()

12