mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-02 09:47:58 +03:00
Refactoring; Added all sounds from all TR; Removed trash legacy functions for skinning and meshes processing; New skinning procedure, without fixed arrays; Code cleaning; Decompiled LoadSamples; Dynamic size sound map;
This commit is contained in:
parent
49070202eb
commit
ac7d6b95f7
32 changed files with 1510 additions and 279 deletions
|
@ -751,16 +751,14 @@ void InitialiseLara(int restore)
|
|||
Lara.gunStatus = LG_NO_ARMS;
|
||||
Lara.skelebob = 0;
|
||||
|
||||
short gun;
|
||||
short gun = WEAPON_NONE;
|
||||
|
||||
// TODO: we should script this behaviour
|
||||
if (Objects[ID_HK_ITEM].loaded)
|
||||
gun = WEAPON_HK;
|
||||
else if (Objects[ID_PISTOLS_ITEM].loaded)
|
||||
|
||||
if (Objects[ID_PISTOLS_ITEM].loaded)
|
||||
gun = WEAPON_PISTOLS;
|
||||
else
|
||||
gun = WEAPON_NONE; // avoid problem with empty gun level
|
||||
|
||||
|
||||
Lara.lastGunType = Lara.gunType = Lara.requestGunType = gun;
|
||||
|
||||
LaraInitialiseMeshes();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue