Home
last modified time | relevance | path

Searched refs:INT16 (Results 101 – 125 of 6548) sorted by relevance

12345678910>>...262

/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/src/game/Strategic/
H A DSAM_Sites.h15 void UpdateSAMDoneRepair(INT16 const x, INT16 const y, INT16 const z);
19 bool IsThisSectorASAMSector(INT16 x, INT16 y, INT8 z);
21 bool DoesSAMExistHere(INT16 const x, INT16 const y, INT16 const z, GridNo const gridno);
27 bool IsThereAFunctionalSAMSiteInSector(INT16 x, INT16 y, INT8 z);
29 INT8 GetSAMIdFromSector(INT16 sSectorX, INT16 sSectorY, INT8 bSectorZ);
H A DTown_Militia.cc60 static bool ServeNextFriendlySectorInTown(INT16* neighbour_x, INT16* neighbour_y);
62 static void StrategicPromoteMilitiaInSector(INT16 x, INT16 y, UINT8 current_rank, UINT8 n);
65 void TownMilitiaTrainingCompleted( SOLDIERTYPE *pTrainer, INT16 sMapX, INT16 sMapY ) in TownMilitiaTrainingCompleted()
69 INT16 sNeighbourX, sNeighbourY; in TownMilitiaTrainingCompleted()
293 static void HandleMilitiaDefections(INT16 sMapX, INT16 sMapY) in HandleMilitiaDefections()
334 UINT8 CountAllMilitiaInSector(INT16 sMapX, INT16 sMapY) in CountAllMilitiaInSector()
349 UINT8 MilitiaInSectorOfRank(INT16 sMapX, INT16 sMapY, UINT8 ubRank) in MilitiaInSectorOfRank()
355 BOOLEAN SectorOursAndPeaceful( INT16 sMapX, INT16 sMapY, INT8 bMapZ ) in SectorOursAndPeaceful()
631 bool CanNearbyMilitiaScoutThisSector(INT16 const sec_x, INT16 const sec_y) in CanNearbyMilitiaScoutThisSector()
633 INT16 const scout_range = 1; in CanNearbyMilitiaScoutThisSector()
[all …]
H A DStrategic_Town_Loyalty.h70 INT16 sChange;
120 void RemoveRandomItemsInSector( INT16 sSectorX, INT16 sSectorY, INT16 sSectorZ, UINT8 ubChance );
138 void AdjustLoyaltyForCivsEatenByMonsters( INT16 sSectorX, INT16 sSectorY, UINT8 ubHowMany);
143 void HandleGlobalLoyaltyEvent( UINT8 ubEventType, INT16 sSectorX, INT16 sSectorY, INT8 bSectorZ);
146 void CheckIfEntireTownHasBeenLiberated( INT8 bTownId, INT16 sSectorX, INT16 sSectorY );
147 void CheckIfEntireTownHasBeenLost( INT8 bTownId, INT16 sSectorX, INT16 sSectorY );
152 void SetTheFirstBattleSector( INT16 sSectorValue );
164 …andleLoyaltyImplicationsOfMercRetreat( INT8 bRetreatCode, INT16 sSectorX, INT16 sSectorY, INT16 sS…
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burn/
H A Dburn_sound.cpp5 INT16 Precalc[4096 * 4];
17 Precalc[a * 4 + 0] = (INT16)(-x / 3 + x2 / 2 - x3 / 6); in cmc_4p_Precalc()
19 Precalc[a * 4 + 2] = (INT16)( x + x2 / 2 - x3 / 2); in cmc_4p_Precalc()
20 Precalc[a * 4 + 3] = (INT16)(-x / 6 + x3 / 6); in cmc_4p_Precalc()
26 static INT16 dac_lastin_r = 0;
27 static INT16 dac_lastout_r = 0;
28 static INT16 dac_lastin_l = 0;
29 static INT16 dac_lastout_l = 0;
42 INT16 r = pBurnSoundOut[i*2+0]; in BurnSoundDCFilter()
43 INT16 l = pBurnSoundOut[i*2+1]; in BurnSoundDCFilter()
[all …]
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/drv/sms/
H A Dsmstms.cpp21 INT16 xpos;
31 INT16 yp, i; in parse_line()
34 INT16 diff, name; in parse_line()
108 INT16 i, x = 0; in render_obj_tms()
269 INT16 sx, bx; in make_tms_tables()
408 INT16 column; in render_bg_m0()
409 INT16 name; in render_bg_m0()
431 INT16 column; in render_bg_m1()
462 INT16 column; in render_bg_m1x()
484 INT16 column; in render_bg_inv()
[all …]
H A Dsmstms.h4 extern INT16 text_counter;
8 void render_bg_tms(INT16 line);
9 void render_bg_m0(INT16 line);
10 void render_bg_m1(INT16 line);
11 void render_bg_m1x(INT16 line);
12 void render_bg_inv(INT16 line);
13 void render_bg_m3(INT16 line);
14 void render_bg_m3x(INT16 line);
15 void render_bg_m2(INT16 line);
16 void render_obj_tms(INT16 line);
[all …]
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/
H A Dburn_sound.cpp5 INT16 Precalc[4096 * 4];
17 Precalc[a * 4 + 0] = (INT16)(-x / 3 + x2 / 2 - x3 / 6); in cmc_4p_Precalc()
19 Precalc[a * 4 + 2] = (INT16)( x + x2 / 2 - x3 / 2); in cmc_4p_Precalc()
20 Precalc[a * 4 + 3] = (INT16)(-x / 6 + x3 / 6); in cmc_4p_Precalc()
31 static INT16 dac_lastin_r = 0;
32 static INT16 dac_lastout_r = 0;
33 static INT16 dac_lastin_l = 0;
34 static INT16 dac_lastout_l = 0;
47 INT16 r = pBurnSoundOut[i*2+0]; in BurnSoundDCFilter()
48 INT16 l = pBurnSoundOut[i*2+1]; in BurnSoundDCFilter()
[all …]
/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/src/game/TileEngine/
H A DRenderWorld.cc282 …oid RenderFOVDebugInfo(INT16 sStartPointX_M, INT16 sStartPointY_M, INT16 sStartPointX_S, INT16 sSt…
283 …d RenderCoverDebugInfo(INT16 sStartPointX_M, INT16 sStartPointY_M, INT16 sStartPointX_S, INT16 sSt…
284 …GridNoVisibleDebugInfo(INT16 sStartPointX_M, INT16 sStartPointY_M, INT16 sStartPointX_S, INT16 sSt…
1652 static void ExamineZBufferRect(INT16 sLeft, INT16 sTop, INT16 sRight, INT16 sBottom);
1655 …ic void RenderRoomInfo(INT16 sStartPointX_M, INT16 sStartPointY_M, INT16 sStartPointX_S, INT16 sSt…
1781 static void CalcRenderParameters(INT16 sLeft, INT16 sTop, INT16 sRight, INT16 sBottom);
3760 …ic void RenderRoomInfo(INT16 sStartPointX_M, INT16 sStartPointY_M, INT16 sStartPointX_S, INT16 sSt… in RenderRoomInfo()
3834 …oid RenderFOVDebugInfo(INT16 sStartPointX_M, INT16 sStartPointY_M, INT16 sStartPointX_S, INT16 sSt… in RenderFOVDebugInfo()
3910 …d RenderCoverDebugInfo(INT16 sStartPointX_M, INT16 sStartPointY_M, INT16 sStartPointX_S, INT16 sSt… in RenderCoverDebugInfo()
4061 static void ExamineZBufferRect(INT16 sLeft, INT16 sTop, INT16 sRight, INT16 sBottom) in ExamineZBufferRect()
[all …]
H A DMap_Edgepoints.h25 extern std::vector<INT16> gps1stNorthEdgepointArray;
26 extern std::vector<INT16> gps1stEastEdgepointArray;
27 extern std::vector<INT16> gps1stSouthEdgepointArray;
28 extern std::vector<INT16> gps1stWestEdgepointArray;
38 extern std::vector<INT16> gps2ndNorthEdgepointArray;
39 extern std::vector<INT16> gps2ndEastEdgepointArray;
40 extern std::vector<INT16> gps2ndSouthEdgepointArray;
41 extern std::vector<INT16> gps2ndWestEdgepointArray;
58 INT16 SearchForClosestPrimaryMapEdgepoint( INT16 sGridNo, UINT8 ubInsertionCode );
59 INT16 SearchForClosestSecondaryMapEdgepoint( INT16 sGridNo, UINT8 ubInsertionCode );
[all …]
H A DTile_Animation.h67 INT16 sCurrentFrame;
68 INT16 sStartFrame;
69 INT16 sDelay;
72 INT16 sRelativeX;
73 INT16 sRelativeY;
74 INT16 sRelativeZ;
75 INT16 sGridNo;
96 INT16 sStartFrame; // Start frame
97 INT16 sDelay; // Delay time
99 INT16 sX; // World X ( optional )
[all …]
H A DLighting.cc64 INT16 iDX;
65 INT16 iDY;
355 static BOOLEAN LightTileHasWall(INT16 iSrcX, INT16 iSrcY, INT16 iX, INT16 iY);
359 static BOOLEAN LightTileBlocked(INT16 iSrcX, INT16 iSrcY, INT16 iX, INT16 iY) in LightTileBlocked()
402 static BOOLEAN LightTileHasWall(INT16 iSrcX, INT16 iSrcY, INT16 iX, INT16 iY) in LightTileHasWall()
538 static DOUBLE LinearDistanceDouble(INT16 iX1, INT16 iY1, INT16 iX2, INT16 iY2) in LinearDistanceDouble()
646 static BOOLEAN LightIlluminateWall(INT16 iSourceX, INT16 iSourceY, INT16 iTileX, INT16 iTileY, LEVE…
1559 static BOOLEAN LightIlluminateWall(INT16 iSourceX, INT16 iSourceY, INT16 iTileX, INT16 iTileY, LEVE… in LightIlluminateWall()
1622 …if(LightTileBlocked( (INT16)iOldX, (INT16)iOldY, (INT16)(iX+pLight->iDX), (INT16)(iY+pLight->iDY))) in LightDraw()
1664 static BOOLEAN LightHideWall(const INT16 sX, const INT16 sY, const INT16 sSrcX, const INT16 sSrcY) in LightHideWall()
[all …]
/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/src/game/Tactical/
H A DPathAI.h17 INT16 PlotPath( SOLDIERTYPE* pSold, INT16 sDestGridno, INT8 bCopyRoute, INT8 bPlot, UINT16 u…
18 INT16 UIPlotPath( SOLDIERTYPE* pSold, INT16 sDestGridno, INT8 bCopyRoute, INT8 bPlot, UINT16 u…
19 INT16 EstimatePlotPath(SOLDIERTYPE* pSold, INT16 sDestGridno, INT8 bCopyRoute, INT8 bPlot, UINT16 u…
22 INT32 FindBestPath(SOLDIERTYPE* s, INT16 sDestination, INT8 ubLevel, INT16 usMovementMode, INT8 bCo…
23 void GlobalReachableTest( INT16 sStartGridNo );
24 void GlobalItemsReachableTest( INT16 sStartGridNo1, INT16 sStartGridNo2 );
25 void RoofReachableTest( INT16 sStartGridNo, UINT8 ubBuildingID );
26 void LocalReachableTest( INT16 sStartGridNo, INT8 bRadius );
31 INT16 RecalculatePathCost( SOLDIERTYPE *pSoldier, UINT16 usMovementMode );
H A DSoldier_Find.h41 BOOLEAN SoldierLocationRelativeToScreen(INT16 sGridNo, INT8* pbDirection, UINT32* puiScrollFlags);
42 void GetSoldierScreenPos(const SOLDIERTYPE* pSoldier, INT16* psScreenX, INT16* psScreenY);
43 void GetSoldierTRUEScreenPos(const SOLDIERTYPE* pSoldier, INT16* psScreenX, INT16* psScreenY);
44 BOOLEAN IsPointInSoldierBoundingBox( SOLDIERTYPE *pSoldier, INT16 sX, INT16 sY );
45 UINT16 FindRelativeSoldierPosition(const SOLDIERTYPE* pSoldier, INT16 sX, INT16 sY);
47 void GetGridNoScreenPos( INT16 sGridNo, UINT8 ubLevel, INT16 *psScreenX, INT16 *psScreenY );
H A DSoldier_Find.cc346 INT16 sMercScreenX, sMercScreenY; in GetSoldierScreenRect()
384 INT16 sMercScreenX = g_ui.m_tacticalMapCenterX + (INT16)dTempX_S; in GetSoldierTRUEScreenPos()
385 INT16 sMercScreenY = g_ui.m_tacticalMapCenterY + (INT16)dTempY_S; in GetSoldierTRUEScreenPos()
404 INT16 world_x; in GridNoOnScreen()
405 INT16 world_y; in GridNoOnScreen()
423 INT16 sWorldX; in SoldierLocationRelativeToScreen()
424 INT16 sWorldY; in SoldierLocationRelativeToScreen()
490 BOOLEAN IsPointInSoldierBoundingBox( SOLDIERTYPE *pSoldier, INT16 sX, INT16 sY ) in IsPointInSoldierBoundingBox()
504 INT16 sRelX, sRelY; in FindRelativeSoldierPosition()
534 void GetGridNoScreenPos( INT16 sGridNo, UINT8 ubLevel, INT16 *psScreenX, INT16 *psScreenY ) in GetGridNoScreenPos()
[all …]
H A DTactical_Save.cc93 for (INT16 y = 1; y <= 16; ++y) in SaveMapTempFilesToSavedGameFile()
95 for (INT16 x = 1; x <= 16; ++x) in SaveMapTempFilesToSavedGameFile()
168 INT16 x; in LoadMapTempFilesFromSavedGameFile()
169 INT16 y; in LoadMapTempFilesFromSavedGameFile()
300 static void SaveRottingCorpsesToTempCorpseFile(INT16 sMapX, INT16 sMapY, INT8 bMapZ);
351 void HandleAllReachAbleItemsInTheSector(INT16 const x, INT16 const y, INT8 const z) in HandleAllReachAbleItemsInTheSector()
444 static UINT32 GetSectorFlags(INT16 const x, INT16 const y, UINT8 const z) in GetSectorFlags()
458 static void LoadAndAddWorldItemsFromTempFile(INT16 sMapX, INT16 sMapY, INT8 bMapZ);
460 static void LoadRottingCorpsesFromTempCorpseFile(INT16 sMapX, INT16 sMapY, INT8 bMapZ);
648 static void SaveRottingCorpsesToTempCorpseFile(INT16 const x, INT16 const y, INT8 const z) in SaveRottingCorpsesToTempCorpseFile()
[all …]
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burn/drv/sms/
H A Dsmstms.h4 extern INT16 text_counter;
8 void render_bg_tms(INT16 line);
9 void render_bg_m0(INT16 line);
10 void render_bg_m1(INT16 line);
11 void render_bg_m1x(INT16 line);
12 void render_bg_inv(INT16 line);
13 void render_bg_m3(INT16 line);
14 void render_bg_m3x(INT16 line);
15 void render_bg_m2(INT16 line);
16 void render_obj_tms(INT16 line);
[all …]
/dports/games/SRB2/SRB2-SRB2_release_2.2.9/src/
H A Di_net.h47 INT16 intnum;
50 INT16 command;
52 INT16 remotenode;
55 INT16 datalength;
59 INT16 numnodes;
61 INT16 ticdup;
63 INT16 extratics;
65 INT16 gametype;
67 INT16 savegame;
69 INT16 map;
[all …]
/dports/games/libretro-mame2003/mame2003-libretro-4358db4/src/machine/
H A Dasic65.c234 result = (INT16)(a * 32768. / M_PI); in READ16_HANDLER()
252 (INT64)v1 * (INT16)asic65_param[3] + in READ16_HANDLER()
253 (INT64)v2 * (INT16)asic65_param[6]; in READ16_HANDLER()
258 (INT64)v1 * (INT16)asic65_param[4] + in READ16_HANDLER()
259 (INT64)v2 * (INT16)asic65_param[7]; in READ16_HANDLER()
265 (INT64)v2 * (INT16)asic65_param[8]; in READ16_HANDLER()
289 (INT64)v2 * (INT16)asic65_param[2]; in READ16_HANDLER()
295 (INT64)v2 * (INT16)asic65_param[5]; in READ16_HANDLER()
301 (INT64)v2 * (INT16)asic65_param[8]; in READ16_HANDLER()
327 element = (INT16)asic65_param[0]; in READ16_HANDLER()
[all …]
/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/machine/
H A Dasic65.c234 result = (INT16)(a * 32768. / M_PI); in READ16_HANDLER()
252 (INT64)v1 * (INT16)asic65_param[3] + in READ16_HANDLER()
253 (INT64)v2 * (INT16)asic65_param[6]; in READ16_HANDLER()
258 (INT64)v1 * (INT16)asic65_param[4] + in READ16_HANDLER()
259 (INT64)v2 * (INT16)asic65_param[7]; in READ16_HANDLER()
265 (INT64)v2 * (INT16)asic65_param[8]; in READ16_HANDLER()
289 (INT64)v2 * (INT16)asic65_param[2]; in READ16_HANDLER()
295 (INT64)v2 * (INT16)asic65_param[5]; in READ16_HANDLER()
301 (INT64)v2 * (INT16)asic65_param[8]; in READ16_HANDLER()
327 element = (INT16)asic65_param[0]; in READ16_HANDLER()
[all …]
/dports/x11-drivers/xf86-video-intel/xf86-video-intel-31486f40f8e8f8923ca0799aea84b58799754564/src/uxa/
H A Duxa-priv.h179 INT16 xSrc;
180 INT16 ySrc;
181 INT16 xDst;
182 INT16 yDst;
183 INT16 width;
184 INT16 height;
359 INT16 yMask, INT16 xDst, INT16 yDst, CARD16 width, CARD16 height);
380 PictFormatPtr maskFormat, INT16 xSrc, INT16 ySrc,
389 INT16 x, INT16 y,
391 INT16 * out_x, INT16 * out_y);
[all …]
/dports/net/freerdp/freerdp-2.5.0/libfreerdp/codec/
H A Drfx_sse2.c142 rfx_dwt_2d_decode_block_horiz_sse2(INT16* l, INT16* h, INT16* dst, int subband_width) in rfx_dwt_2d_decode_block_horiz_sse2()
145 INT16* l_ptr = l; in rfx_dwt_2d_decode_block_horiz_sse2()
146 INT16* h_ptr = h; in rfx_dwt_2d_decode_block_horiz_sse2()
147 INT16* dst_ptr = dst; in rfx_dwt_2d_decode_block_horiz_sse2()
217 rfx_dwt_2d_decode_block_vert_sse2(INT16* l, INT16* h, INT16* dst, int subband_width) in rfx_dwt_2d_decode_block_vert_sse2()
220 INT16* l_ptr = l; in rfx_dwt_2d_decode_block_vert_sse2()
221 INT16* h_ptr = h; in rfx_dwt_2d_decode_block_vert_sse2()
317 static void rfx_dwt_2d_decode_sse2(INT16* buffer, INT16* dwt_buffer) in rfx_dwt_2d_decode_sse2()
326 rfx_dwt_2d_encode_block_vert_sse2(INT16* src, INT16* l, INT16* h, int subband_width) in rfx_dwt_2d_encode_block_vert_sse2()
378 rfx_dwt_2d_encode_block_horiz_sse2(INT16* src, INT16* l, INT16* h, int subband_width) in rfx_dwt_2d_encode_block_horiz_sse2()
[all …]
H A Drfx_neon.c68 rfx_dwt_2d_decode_block_horiz_NEON(INT16* l, INT16* h, INT16* dst, int subband_width) in rfx_dwt_2d_decode_block_horiz_NEON()
71 INT16* l_ptr = l; in rfx_dwt_2d_decode_block_horiz_NEON()
72 INT16* h_ptr = h; in rfx_dwt_2d_decode_block_horiz_NEON()
73 INT16* dst_ptr = dst; in rfx_dwt_2d_decode_block_horiz_NEON()
131 rfx_dwt_2d_decode_block_vert_NEON(INT16* l, INT16* h, INT16* dst, int subband_width) in rfx_dwt_2d_decode_block_vert_NEON()
134 INT16* l_ptr = l; in rfx_dwt_2d_decode_block_vert_NEON()
135 INT16* h_ptr = h; in rfx_dwt_2d_decode_block_vert_NEON()
136 INT16* dst_ptr = dst; in rfx_dwt_2d_decode_block_vert_NEON()
202 rfx_dwt_2d_decode_block_NEON(INT16* buffer, INT16* idwt, int subband_width) in rfx_dwt_2d_decode_block_NEON()
205 INT16 *l_dst, *h_dst; in rfx_dwt_2d_decode_block_NEON()
[all …]
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/snd/
H A Ddac.cpp8 INT16 Output;
9 INT16 Output2;
23 static INT16 *lBuffer = NULL;
24 static INT16 *rBuffer = NULL;
45 static INT16 dc_blockR(INT16 sam) in dc_blockR()
55 static INT16 dc_blockL(INT16 sam) in dc_blockL()
75 lBuffer = (INT16*)BurnMalloc(nBurnSoundLen * sizeof(INT16)); in UpdateStream()
79 rBuffer = (INT16*)BurnMalloc(nBurnSoundLen * sizeof(INT16)); in UpdateStream()
129 INT16 *lbuf = lBuffer; in DACUpdate()
130 INT16 *rbuf = rBuffer; in DACUpdate()
[all …]
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burn/snd/
H A Ddac.cpp8 INT16 Output;
9 INT16 Output2;
23 static INT16 *lBuffer = NULL;
24 static INT16 *rBuffer = NULL;
45 static INT16 dc_blockR(INT16 sam) in dc_blockR()
55 static INT16 dc_blockL(INT16 sam) in dc_blockL()
75 lBuffer = (INT16*)BurnMalloc(nBurnSoundLen * sizeof(INT16)); in UpdateStream()
79 rBuffer = (INT16*)BurnMalloc(nBurnSoundLen * sizeof(INT16)); in UpdateStream()
129 INT16 *lbuf = lBuffer; in DACUpdate()
130 INT16 *rbuf = rBuffer; in DACUpdate()
[all …]
/dports/x11/libxkbfile/libxkbfile-1.1.0/include/X11/extensions/
H A DXKMformat.h154 INT16 x;
155 INT16 y;
175 INT16 top;
176 INT16 left;
189 INT16 top;
190 INT16 left;
199 INT16 gap;
228 INT16 top;
255 INT16 top;
269 INT16 top;
[all …]

12345678910>>...262