mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 02:30:46 +00:00
git-svn-id: https://svn.eduke32.com/eduke32@1209 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
18896fd0cd
commit
3fa676fde8
2 changed files with 2583 additions and 2581 deletions
|
@ -2450,7 +2450,7 @@ static void G_MoveWeapons(void)
|
|||
ll = s->zvel>>1;
|
||||
}
|
||||
|
||||
Bmemcpy(&davect,s,sizeof(int32_t) * 3);
|
||||
Bmemcpy(&davect,s,sizeof(vec3_t));
|
||||
/*
|
||||
dax = s->x;
|
||||
day = s->y;
|
||||
|
@ -2482,7 +2482,7 @@ static void G_MoveWeapons(void)
|
|||
day = s->y;
|
||||
daz = s->z;
|
||||
*/
|
||||
Bmemcpy(&davect,s,sizeof(int32_t) * 3);
|
||||
Bmemcpy(&davect,s,sizeof(vec3_t));
|
||||
|
||||
tmpvect.x = (k*(sintable[(s->ang+512)&2047]))>>14;
|
||||
tmpvect.y = (k*(sintable[s->ang&2047]))>>14;
|
||||
|
@ -2520,7 +2520,7 @@ static void G_MoveWeapons(void)
|
|||
{
|
||||
k = A_Spawn(i,ActorExtra[i].projectile.spawns);
|
||||
|
||||
Bmemcpy(&sprite[k],&davect,sizeof(int32_t) * 3);
|
||||
Bmemcpy(&sprite[k],&davect,sizeof(vec3_t));
|
||||
/*
|
||||
sprite[k].x = dax;
|
||||
sprite[k].y = day;
|
||||
|
@ -2558,7 +2558,7 @@ static void G_MoveWeapons(void)
|
|||
{
|
||||
k = A_Spawn(i,ActorExtra[i].projectile.spawns);
|
||||
|
||||
Bmemcpy(&sprite[k],&davect,sizeof(int32_t) * 3);
|
||||
Bmemcpy(&sprite[k],&davect,sizeof(vec3_t));
|
||||
/*
|
||||
sprite[k].x = dax;
|
||||
sprite[k].y = day;
|
||||
|
@ -2677,7 +2677,7 @@ static void G_MoveWeapons(void)
|
|||
if (ActorExtra[i].projectile.spawns >= 0)
|
||||
{
|
||||
k = A_Spawn(i,ActorExtra[i].projectile.spawns);
|
||||
Bmemcpy(&sprite[k],&davect,sizeof(int32_t) * 3);
|
||||
Bmemcpy(&sprite[k],&davect,sizeof(vec3_t));
|
||||
/*
|
||||
sprite[k].x = dax;
|
||||
sprite[k].y = day;
|
||||
|
@ -2778,7 +2778,7 @@ static void G_MoveWeapons(void)
|
|||
if (ActorExtra[i].projectile.workslike & PROJECTILE_RPG && ActorExtra[i].projectile.spawns > 0)
|
||||
{
|
||||
k = A_Spawn(i,ActorExtra[i].projectile.spawns);
|
||||
Bmemcpy(&sprite[k],&davect,sizeof(int32_t) * 3);
|
||||
Bmemcpy(&sprite[k],&davect,sizeof(vec3_t));
|
||||
/*
|
||||
sprite[k].x = dax;
|
||||
sprite[k].y = day;
|
||||
|
@ -2892,7 +2892,7 @@ static void G_MoveWeapons(void)
|
|||
ll = s->zvel>>1;
|
||||
}
|
||||
|
||||
Bmemcpy(&davect,s,sizeof(int32_t) * 3);
|
||||
Bmemcpy(&davect,s,sizeof(vec3_t));
|
||||
/*
|
||||
dax = s->x;
|
||||
day = s->y;
|
||||
|
@ -3039,7 +3039,7 @@ static void G_MoveWeapons(void)
|
|||
{
|
||||
vec3_t tmpvect;
|
||||
setsprite(i,&davect);
|
||||
Bmemcpy(&tmpvect, s, sizeof(int32_t) * 3);
|
||||
Bmemcpy(&tmpvect, s, sizeof(vec3_t));
|
||||
A_DamageWall(i,j,&tmpvect,s->picnum);
|
||||
|
||||
if (s->picnum == FREEZEBLAST)
|
||||
|
@ -3090,7 +3090,7 @@ static void G_MoveWeapons(void)
|
|||
if (s->picnum == RPG)
|
||||
{
|
||||
k = A_Spawn(i,EXPLOSION2);
|
||||
Bmemcpy(&sprite[k],&davect,sizeof(int32_t) * 3);
|
||||
Bmemcpy(&sprite[k],&davect,sizeof(vec3_t));
|
||||
/*
|
||||
sprite[k].x = dax;
|
||||
sprite[k].y = day;
|
||||
|
@ -4502,7 +4502,7 @@ static void G_MoveActors(void)
|
|||
|
||||
j &= (MAXWALLS-1);
|
||||
|
||||
Bmemcpy(&davect, s, sizeof(int32_t) * 3);
|
||||
Bmemcpy(&davect, s, sizeof(vec3_t));
|
||||
A_DamageWall(i,j,&davect,s->picnum);
|
||||
|
||||
k = getangle(
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue