mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Build fix
git-svn-id: https://svn.eduke32.com/eduke32@6387 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
494f09f80c
commit
eeaf1f1d54
3 changed files with 8 additions and 3 deletions
|
@ -2566,7 +2566,12 @@ nullquote:
|
|||
int const out = *insptr++;
|
||||
vec3_t in;
|
||||
Gv_FillWithVars(in);
|
||||
Gv_SetVarX(out, (tw == CON_MULSCALE ? mulscale : divscale)(in.x, in.y, in.z));
|
||||
|
||||
if (tw == CON_MULSCALE)
|
||||
Gv_SetVarX(out, mulscale(in.x, in.y, in.z));
|
||||
else
|
||||
Gv_SetVarX(out, divscale(in.x, in.y, in.z));
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
@ -378,7 +378,7 @@ void Gv_ResetVars(void) /* this is called during a new game and nowhere else */
|
|||
}
|
||||
}
|
||||
|
||||
int __fastcall Gv_GetArrayElementSize(int const arrayIdx)
|
||||
unsigned __fastcall Gv_GetArrayElementSize(int const arrayIdx)
|
||||
{
|
||||
int typeSize = 0;
|
||||
|
||||
|
|
|
@ -103,7 +103,7 @@ extern gamearray_t aGameArrays[MAXGAMEARRAYS];
|
|||
extern int32_t g_gameVarCount;
|
||||
extern int32_t g_gameArrayCount;
|
||||
|
||||
int __fastcall Gv_GetArrayElementSize(int const arrayIdx);
|
||||
unsigned __fastcall Gv_GetArrayElementSize(int const arrayIdx);
|
||||
int __fastcall Gv_GetArrayAllocSize(int const arrayIdx);
|
||||
int __fastcall Gv_GetArrayValue(int const id, int index);
|
||||
int __fastcall Gv_GetVar(int id, int spriteNum, int playerNum);
|
||||
|
|
Loading…
Reference in a new issue