File tree Expand file tree Collapse file tree 1 file changed +19
-21
lines changed
Expand file tree Collapse file tree 1 file changed +19
-21
lines changed Original file line number Diff line number Diff line change 44
55#define PAR_POOL_SIZE 2000
66
7- extern xPar gParPool [PAR_POOL_SIZE];
8- extern xPar* gParDead ;
9- extern F32 lbl_803CCF10; // 0.0f
10- extern F32 lbl_803CCF14; // 255f
7+ xPar gParPool [PAR_POOL_SIZE];
8+ xPar* gParDead ;
119
1210// For some reason, it does not recompare gParDead and assumes the first comparison is valid for all.
1311void xParMemInit ()
@@ -65,23 +63,23 @@ void xParFree(xPar* par)
6563
6664void xParInit (xPar* p)
6765{
68- p->m_pos .x = lbl_803CCF10 ;
69- p->m_pos .y = lbl_803CCF10 ;
70- p->m_pos .z = lbl_803CCF10 ;
71- p->m_vel .x = lbl_803CCF10 ;
72- p->m_vel .y = lbl_803CCF10 ;
73- p->m_vel .z = lbl_803CCF10 ;
74- p->m_size = lbl_803CCF10 ;
75- p->m_sizeVel = lbl_803CCF10 ;
76- p->m_lifetime = lbl_803CCF10 ;
77- p->m_cvel [0 ] = lbl_803CCF10 ;
78- p->m_cvel [1 ] = lbl_803CCF10 ;
79- p->m_cvel [2 ] = lbl_803CCF10 ;
80- p->m_cvel [3 ] = lbl_803CCF10 ;
81- p->m_cfl [0 ] = lbl_803CCF14 ;
82- p->m_cfl [1 ] = lbl_803CCF14 ;
83- p->m_cfl [2 ] = lbl_803CCF14 ;
84- p->m_cfl [3 ] = lbl_803CCF14 ;
66+ p->m_pos .x = 0 . 0f ;
67+ p->m_pos .y = 0 . 0f ;
68+ p->m_pos .z = 0 . 0f ;
69+ p->m_vel .x = 0 . 0f ;
70+ p->m_vel .y = 0 . 0f ;
71+ p->m_vel .z = 0 . 0f ;
72+ p->m_size = 0 . 0f ;
73+ p->m_sizeVel = 0 . 0f ;
74+ p->m_lifetime = 0 . 0f ;
75+ p->m_cvel [0 ] = 0 . 0f ;
76+ p->m_cvel [1 ] = 0 . 0f ;
77+ p->m_cvel [2 ] = 0 . 0f ;
78+ p->m_cvel [3 ] = 0 . 0f ;
79+ p->m_cfl [0 ] = 255 . 0f ;
80+ p->m_cfl [1 ] = 255 . 0f ;
81+ p->m_cfl [2 ] = 255 . 0f ;
82+ p->m_cfl [3 ] = 255 . 0f ;
8583 p->m_c [0 ] = 0xff ;
8684 p->m_c [1 ] = 0xff ;
8785 p->m_c [2 ] = 0xff ;
You can’t perform that action at this time.
0 commit comments