A bit of formatting.

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3492 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
Meep-Eep
2009-12-29 20:20:04 +00:00
parent 3e079bc324
commit 5ec39b3f4d
+11 -15
View File
@@ -203,22 +203,18 @@ destruct_preprocess (ELEMENT *ElementPtr)
DestructPtr->playerNr = NEUTRAL_PLAYER_NUM; DestructPtr->playerNr = NEUTRAL_PLAYER_NUM;
DestructPtr->state_flags = APPEARING | FINITE_LIFE | NONSOLID; DestructPtr->state_flags = APPEARING | FINITE_LIFE | NONSOLID;
DestructPtr->life_span = (NUM_EXPLOSION_FRAMES - 3) - 1; DestructPtr->life_span = (NUM_EXPLOSION_FRAMES - 3) - 1;
SetPrimType ( SetPrimType (&(GLOBAL (DisplayArray))[DestructPtr->PrimIndex],
&(GLOBAL (DisplayArray))[DestructPtr->PrimIndex], STAMPFILL_PRIM);
STAMPFILL_PRIM SetPrimColor (&(GLOBAL (DisplayArray))[DestructPtr->PrimIndex],
); BUILD_COLOR (MAKE_RGB15 (0x1F, 0x1F, 0x1F), 0x0F));
SetPrimColor ( DestructPtr->current.image.farray =
&(GLOBAL (DisplayArray))[DestructPtr->PrimIndex], StarShipPtr->RaceDescPtr->ship_data.special;
BUILD_COLOR (MAKE_RGB15 (0x1F, 0x1F, 0x1F), 0x0F) DestructPtr->current.image.frame =
); StarShipPtr->RaceDescPtr->ship_data.special[0];
DestructPtr->current.image.farray = StarShipPtr->RaceDescPtr->ship_data.special;
DestructPtr->current.image.frame = StarShipPtr->RaceDescPtr->ship_data.special[0];
DestructPtr->current.location = ElementPtr->current.location; DestructPtr->current.location = ElementPtr->current.location;
{ DestructPtr->preprocess_func = destruct_preprocess;
DestructPtr->preprocess_func = destruct_preprocess; DestructPtr->postprocess_func = NULL;
} DestructPtr->death_func = NULL;
DestructPtr->postprocess_func =
DestructPtr->death_func = NULL;
ZeroVelocityComponents (&DestructPtr->velocity); ZeroVelocityComponents (&DestructPtr->velocity);
UnlockElement (hDestruct); UnlockElement (hDestruct);
} }