mirror of
https://github.com/XProger/OpenLara.git
synced 2025-02-22 22:42:49 +01:00
fix braid positions
This commit is contained in:
parent
e3757d5c43
commit
0681c51a9b
@ -419,7 +419,7 @@ struct Lara : Character {
|
||||
if (joints[j].pos.y > info.floor)
|
||||
joints[j].pos.y = info.floor;
|
||||
|
||||
#define BRAID_RADIUS 16.0f
|
||||
#define BRAID_RADIUS 0.0f
|
||||
|
||||
lara->updateJoints();
|
||||
|
||||
@ -557,14 +557,14 @@ struct Lara : Character {
|
||||
break;
|
||||
case TR::VER_TR2 :
|
||||
case TR::VER_TR3 :
|
||||
braid[0] = new Braid(this, vec3(-2.0f, -16.0f, -48.0f));
|
||||
braid[0] = new Braid(this, vec3(0.0f, -23.0f, -55.0f));
|
||||
break;
|
||||
case TR::VER_TR4 :
|
||||
if (isYoung()) {
|
||||
braid[0] = new Braid(this, vec3(-32.0f, -48.0f, -32.0f));
|
||||
braid[1] = new Braid(this, vec3( 32.0f, -48.0f, -32.0f));
|
||||
} else {
|
||||
braid[0] = new Braid(this, vec3(-2.0f, -16.0f, -48.0f));
|
||||
braid[0] = new Braid(this, vec3(0.0f, -23.0f, -32.0f));
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
@ -166,8 +166,8 @@
|
||||
</script>
|
||||
|
||||
<div id="info">
|
||||
<input type="file" id="browseFile" style="display:none" accept=".phd,.psx, .tr2" onchange="readLevel(event)" />
|
||||
<input type="button" value="Browse Level" onclick="document.getElementById('browseFile').click();" /> (.PHD, .PSX, .TR2)
|
||||
<input type="file" id="browseFile" style="display:none" accept=".phd,.psx, .tr2, .tr4" onchange="readLevel(event)" />
|
||||
<input type="button" value="Browse Level" onclick="document.getElementById('browseFile').click();" /> (.PHD, .PSX, .TR2, .TR4)
|
||||
<!--
|
||||
<input type="button" value="Backup Saves" onclick="backupSaves();" />
|
||||
<input type="button" value="Restore Saves" onclick="restoreSaves();" />
|
||||
|
Loading…
x
Reference in New Issue
Block a user