* Slightly adjust code-formatting to increase readability
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3346 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
34d26a6719
commit
0ae7c6a88a
14
src/stats.c
14
src/stats.c
|
@ -810,13 +810,13 @@ BOOL loadBodyStats(const char *pBodyData, UDWORD bufferSize)
|
||||||
(char*)&BodyName, (char*)&techLevel, (char*)&size, &psStats->buildPower,&psStats->buildPoints,
|
(char*)&BodyName, (char*)&techLevel, (char*)&size, &psStats->buildPower,&psStats->buildPoints,
|
||||||
&psStats->weight, &psStats->body, (char*)&GfxFile, &psStats->systemPoints,
|
&psStats->weight, &psStats->body, (char*)&GfxFile, &psStats->systemPoints,
|
||||||
&psStats->weaponSlots, &psStats->powerOutput,
|
&psStats->weaponSlots, &psStats->powerOutput,
|
||||||
(int*)&psStats->armourValue[HIT_SIDE_FRONT][WC_KINETIC],
|
(int*)&psStats->armourValue[HIT_SIDE_FRONT][WC_KINETIC], (int*)&psStats->armourValue[HIT_SIDE_FRONT][WC_HEAT],
|
||||||
(int*)&psStats->armourValue[HIT_SIDE_FRONT][WC_HEAT],(int*)&psStats->armourValue[HIT_SIDE_REAR][WC_KINETIC],
|
(int*)&psStats->armourValue[HIT_SIDE_REAR][WC_KINETIC], (int*)&psStats->armourValue[HIT_SIDE_REAR][WC_HEAT],
|
||||||
(int*)&psStats->armourValue[HIT_SIDE_REAR][WC_HEAT],(int*)&psStats->armourValue[HIT_SIDE_LEFT][WC_KINETIC],
|
(int*)&psStats->armourValue[HIT_SIDE_LEFT][WC_KINETIC], (int*)&psStats->armourValue[HIT_SIDE_LEFT][WC_HEAT],
|
||||||
(int*)&psStats->armourValue[HIT_SIDE_LEFT][WC_HEAT],(int*)&psStats->armourValue[HIT_SIDE_RIGHT][WC_KINETIC],
|
(int*)&psStats->armourValue[HIT_SIDE_RIGHT][WC_KINETIC], (int*)&psStats->armourValue[HIT_SIDE_RIGHT][WC_HEAT],
|
||||||
(int*)&psStats->armourValue[HIT_SIDE_RIGHT][WC_HEAT],(int*)&psStats->armourValue[HIT_SIDE_TOP][WC_KINETIC],
|
(int*)&psStats->armourValue[HIT_SIDE_TOP][WC_KINETIC], (int*)&psStats->armourValue[HIT_SIDE_TOP][WC_HEAT],
|
||||||
(int*)&psStats->armourValue[HIT_SIDE_TOP][WC_HEAT],(int*)&psStats->armourValue[HIT_SIDE_BOTTOM][WC_KINETIC],
|
(int*)&psStats->armourValue[HIT_SIDE_BOTTOM][WC_KINETIC],(int*)&psStats->armourValue[HIT_SIDE_BOTTOM][WC_HEAT],
|
||||||
(int*)&psStats->armourValue[HIT_SIDE_BOTTOM][WC_HEAT], (char*)&flameIMD, &designable);//, &psStats->armourValue[WC_EXPLOSIVE],
|
(char*)&flameIMD, &designable);//, &psStats->armourValue[WC_EXPLOSIVE],
|
||||||
//&psStats->armourValue[WC_MISC]);
|
//&psStats->armourValue[WC_MISC]);
|
||||||
|
|
||||||
//allocate storage for the name
|
//allocate storage for the name
|
||||||
|
|
Loading…
Reference in New Issue