forked from pnill/cartographer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request pnill#465 from Berthalamew/development
update player grenade code
- Loading branch information
Showing
10 changed files
with
60 additions
and
58 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
xlive/Blam/Engine/Simulation/game_interface/simulation_game_action.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#include "stdafx.h" | ||
#include "simulation_game_action.h" | ||
|
||
void __cdecl simulation_action_object_update(datum unit_index, uint32 update_mask) | ||
{ | ||
INVOKE(0x1B6685, 0x1B05B5, simulation_action_object_update, unit_index, update_mask); | ||
return; | ||
} | ||
|
||
void __cdecl simulation_action_pickup_equipment(datum unit_datum_index, datum grenade_tag_index) | ||
{ | ||
INVOKE(0x1B6F12, 0x1B0E42, simulation_action_pickup_equipment, unit_datum_index, grenade_tag_index); | ||
return; | ||
} |
10 changes: 10 additions & 0 deletions
10
xlive/Blam/Engine/Simulation/game_interface/simulation_game_action.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#pragma once | ||
|
||
enum e_simulation_action_update : uint32 | ||
{ | ||
_simulation_action_update_grenade_count_bit = 22 | ||
}; | ||
|
||
void __cdecl simulation_action_object_update(datum unit_index, uint32 update_mask); | ||
|
||
void __cdecl simulation_action_pickup_equipment(datum unit_datum_index, datum grenade_tag_index); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters