Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ACTION tb_actions1[2] = {
- {
- NULL, // fire_plan
- {0, 0.0f}, // change_direction
- {0, 0.0f}, // change_speed
- {0.0f, 0.00f, 0.0f}, // direction_speed
- 1.0f, // wait
- 0, // repeat
- 0 // vanish
- },
- {
- NULL,
- {0, 0.0f},
- {0, 0.0f},
- {0.0f, 0.0f, 0.0f},
- 0.0f,
- 0,
- 1
- }
- };
- BULLET tb1 = {
- &shot00, //mesh
- 0, //active
- {0.0f, 0.0f, 0.0f}, //position
- {0.0f, 0.0f, 0.0f}, //force
- {0.0f, 0.0f, 0.0f}, //direction_speed
- {0.0f, 0.0f, 0.0f}, //add_direction_speed
- 2, //actions_count
- tb_actions1, //actions
- NULL, //action_now
- NULL, //params_counter
- 0, //action_counter
- 0, //repeat_counter
- NULL //ml_reference
- };
- FIRE_PLAN t_fp = {
- 2, // mode
- 10, 20, // inc_count | azi_count
- HALF_PI/30.0f, TWO_PI/20.0f, // inc_add | azi_add
- 10.0f, 0.0f, // inc_spd_add | azi_spd_add
- TRUE, // confirm_rotate
- -HALF_PI/2.0f, HALF_PI, // inc_rotate | azi_rotation
- &tb1 // bullet_reference
- };
- ACTION tb_actions[3] = {
- {
- NULL, // fire_plan
- {0, 0.0f}, // change_direction
- {0, 0.0f}, // change_speed
- {0.0f, 0.00f, 0.0f}, // direction_speed
- 1.0f, // wait
- 0, // repeat
- 0 // vanish
- },
- {
- &t_fp,
- {2, 0.0f},
- {0, 0.0f},
- {0.0, 0.0f, 0.0f},
- 8.0f,
- 0,
- 1
- },
- {
- NULL,
- {0, 0.0f},
- {0, 0.0f},
- {0.0f, 0.0f, 0.0f},
- 0.0f,
- 0,
- 1
- }
- };
- BULLET tb = {
- &shot01, //mesh
- 0, //active
- {0.0f, 0.0f, 0.0f}, //position
- {0.0f, 0.0f, 0.0f}, //force
- {0.0f, 0.0f, 50.0f}, //direction_speed
- {0.0f, 0.0f, 0.0f}, //add_direction_speed
- 3, //actions_count
- tb_actions, //actions
- NULL, //action_now
- NULL, //params_counter
- 0, //action_counter
- 0, //repeat_counter
- NULL //ml_reference
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement