@@ -470,10 +470,10 @@ void __cdecl DrawLara(ITEM_INFO* item)
470
470
int16_t * frmptr [2 ];
471
471
PHD_MATRIX saved_matrix ;
472
472
473
- int top = PhdTop ;
474
- int left = PhdLeft ;
475
- int bottom = PhdBottom ;
476
- int right = PhdRight ;
473
+ int32_t top = PhdTop ;
474
+ int32_t left = PhdLeft ;
475
+ int32_t bottom = PhdBottom ;
476
+ int32_t right = PhdRight ;
477
477
PhdBottom = PhdWinMaxY ;
478
478
PhdTop = 0 ;
479
479
PhdLeft = 0 ;
@@ -495,6 +495,7 @@ void __cdecl DrawLara(ITEM_INFO* item)
495
495
object = & Objects [item -> object_number ];
496
496
if (Lara .hit_direction >= 0 ) {
497
497
switch (Lara .hit_direction ) {
498
+ default :
498
499
case DIR_NORTH :
499
500
frame = Anims [AA_SPAZ_FORWARD ].frame_ptr ;
500
501
break ;
@@ -583,7 +584,7 @@ void __cdecl DrawLara(ITEM_INFO* item)
583
584
584
585
phd_PopMatrix ();
585
586
586
- int fire_arms = 0 ;
587
+ int32_t fire_arms = 0 ;
587
588
if (Lara .gun_status == LGS_READY || Lara .gun_status == LGS_DRAW
588
589
|| Lara .gun_status == LGS_UNDRAW ) {
589
590
fire_arms = Lara .gun_type ;
@@ -830,7 +831,8 @@ void __cdecl CalculateObjectLighting(ITEM_INFO* item, int16_t* frame)
830
831
}
831
832
832
833
void __cdecl DrawLaraInt (
833
- ITEM_INFO * item , int16_t * frame1 , int16_t * frame2 , int frac , int rate )
834
+ ITEM_INFO * item , int16_t * frame1 , int16_t * frame2 , int32_t frac ,
835
+ int32_t rate )
834
836
{
835
837
PHD_MATRIX saved_matrix ;
836
838
@@ -913,7 +915,7 @@ void __cdecl DrawLaraInt(
913
915
914
916
phd_PopMatrix_I ();
915
917
916
- int fire_arms = 0 ;
918
+ int32_t fire_arms = 0 ;
917
919
if (Lara .gun_status == LGS_READY || Lara .gun_status == LGS_DRAW
918
920
|| Lara .gun_status == LGS_UNDRAW ) {
919
921
fire_arms = Lara .gun_type ;
@@ -1185,7 +1187,7 @@ void __cdecl phd_RotYXZpack_I(int32_t r1, int32_t r2)
1185
1187
PhdMatrixPtr = old_matrix ;
1186
1188
}
1187
1189
1188
- void __cdecl phd_PutPolygons_I (int16_t * ptr , int clip )
1190
+ void __cdecl phd_PutPolygons_I (int16_t * ptr , int32_t clip )
1189
1191
{
1190
1192
phd_PushMatrix ();
1191
1193
InterpolateMatrix ();
0 commit comments