git-svn-id: https://svn.eduke32.com/eduke32@1209 1a8010ca-5511-0410-912e-c29ae57300e0

This commit is contained in:
terminx 2009-01-14 00:49:26 +00:00
parent 18896fd0cd
commit 3fa676fde8
2 changed files with 2583 additions and 2581 deletions

View file

@ -2450,7 +2450,7 @@ static void G_MoveWeapons(void)
ll = s->zvel>>1; ll = s->zvel>>1;
} }
Bmemcpy(&davect,s,sizeof(int32_t) * 3); Bmemcpy(&davect,s,sizeof(vec3_t));
/* /*
dax = s->x; dax = s->x;
day = s->y; day = s->y;
@ -2482,7 +2482,7 @@ static void G_MoveWeapons(void)
day = s->y; day = s->y;
daz = s->z; 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.x = (k*(sintable[(s->ang+512)&2047]))>>14;
tmpvect.y = (k*(sintable[s->ang&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); 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].x = dax;
sprite[k].y = day; sprite[k].y = day;
@ -2558,7 +2558,7 @@ static void G_MoveWeapons(void)
{ {
k = A_Spawn(i,ActorExtra[i].projectile.spawns); 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].x = dax;
sprite[k].y = day; sprite[k].y = day;
@ -2677,7 +2677,7 @@ static void G_MoveWeapons(void)
if (ActorExtra[i].projectile.spawns >= 0) if (ActorExtra[i].projectile.spawns >= 0)
{ {
k = A_Spawn(i,ActorExtra[i].projectile.spawns); 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].x = dax;
sprite[k].y = day; 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) if (ActorExtra[i].projectile.workslike & PROJECTILE_RPG && ActorExtra[i].projectile.spawns > 0)
{ {
k = A_Spawn(i,ActorExtra[i].projectile.spawns); 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].x = dax;
sprite[k].y = day; sprite[k].y = day;
@ -2892,7 +2892,7 @@ static void G_MoveWeapons(void)
ll = s->zvel>>1; ll = s->zvel>>1;
} }
Bmemcpy(&davect,s,sizeof(int32_t) * 3); Bmemcpy(&davect,s,sizeof(vec3_t));
/* /*
dax = s->x; dax = s->x;
day = s->y; day = s->y;
@ -3039,7 +3039,7 @@ static void G_MoveWeapons(void)
{ {
vec3_t tmpvect; vec3_t tmpvect;
setsprite(i,&davect); setsprite(i,&davect);
Bmemcpy(&tmpvect, s, sizeof(int32_t) * 3); Bmemcpy(&tmpvect, s, sizeof(vec3_t));
A_DamageWall(i,j,&tmpvect,s->picnum); A_DamageWall(i,j,&tmpvect,s->picnum);
if (s->picnum == FREEZEBLAST) if (s->picnum == FREEZEBLAST)
@ -3090,7 +3090,7 @@ static void G_MoveWeapons(void)
if (s->picnum == RPG) if (s->picnum == RPG)
{ {
k = A_Spawn(i,EXPLOSION2); 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].x = dax;
sprite[k].y = day; sprite[k].y = day;
@ -4502,7 +4502,7 @@ static void G_MoveActors(void)
j &= (MAXWALLS-1); j &= (MAXWALLS-1);
Bmemcpy(&davect, s, sizeof(int32_t) * 3); Bmemcpy(&davect, s, sizeof(vec3_t));
A_DamageWall(i,j,&davect,s->picnum); A_DamageWall(i,j,&davect,s->picnum);
k = getangle( k = getangle(

File diff suppressed because it is too large Load diff