mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-23 04:11:53 +00:00
replace _fastcall
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1181 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
6d6197eaba
commit
14f9beab23
2 changed files with 10 additions and 4 deletions
|
@ -125,11 +125,17 @@ extern void (*d_drawspans) (espan_t *pspan);
|
|||
#define TRANS_UPPER_CAP (TRANS_MAX / (TRANS_LEVELS + 0.0))
|
||||
#define TRANS_LOWER_CAP (1.0 / TRANS_LEVELS)
|
||||
|
||||
#ifdef _fastcall
|
||||
#define FASTCALL _fastcall
|
||||
#else
|
||||
#define FASTCALL
|
||||
#endif
|
||||
|
||||
void D_InitTrans(void);
|
||||
// void Set_TransLevelI(int level);
|
||||
void D_SetTransLevel(float level, blendmode_t blend);
|
||||
extern qbyte _fastcall Trans(qbyte p, qbyte p2);
|
||||
extern qbyte _fastcall AddBlend(qbyte p, qbyte p2);
|
||||
extern qbyte FASTCALL Trans(qbyte p, qbyte p2);
|
||||
extern qbyte FASTCALL AddBlend(qbyte p, qbyte p2);
|
||||
|
||||
extern qbyte *pal555to8;
|
||||
#endif
|
||||
|
|
|
@ -31,7 +31,7 @@ void D_InitTrans(void)
|
|||
#define Trans(p, p2) (t_curlookupp[p][p2])
|
||||
#else
|
||||
// TODO: INLINE THESE FUNCTIONS
|
||||
qbyte _fastcall Trans(qbyte p, qbyte p2)
|
||||
qbyte FASTCALL Trans(qbyte p, qbyte p2)
|
||||
{
|
||||
int x;
|
||||
|
||||
|
@ -41,7 +41,7 @@ qbyte _fastcall Trans(qbyte p, qbyte p2)
|
|||
}
|
||||
#endif
|
||||
|
||||
qbyte _fastcall AddBlend(qbyte p, qbyte p2)
|
||||
qbyte FASTCALL AddBlend(qbyte p, qbyte p2)
|
||||
{
|
||||
int x, y;
|
||||
|
||||
|
|
Loading…
Reference in a new issue