mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-11 23:54:09 +02:00
fix braid positions
This commit is contained in:
@@ -419,7 +419,7 @@ struct Lara : Character {
|
|||||||
if (joints[j].pos.y > info.floor)
|
if (joints[j].pos.y > info.floor)
|
||||||
joints[j].pos.y = info.floor;
|
joints[j].pos.y = info.floor;
|
||||||
|
|
||||||
#define BRAID_RADIUS 16.0f
|
#define BRAID_RADIUS 0.0f
|
||||||
|
|
||||||
lara->updateJoints();
|
lara->updateJoints();
|
||||||
|
|
||||||
@@ -557,14 +557,14 @@ struct Lara : Character {
|
|||||||
break;
|
break;
|
||||||
case TR::VER_TR2 :
|
case TR::VER_TR2 :
|
||||||
case TR::VER_TR3 :
|
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;
|
break;
|
||||||
case TR::VER_TR4 :
|
case TR::VER_TR4 :
|
||||||
if (isYoung()) {
|
if (isYoung()) {
|
||||||
braid[0] = new Braid(this, vec3(-32.0f, -48.0f, -32.0f));
|
braid[0] = new Braid(this, vec3(-32.0f, -48.0f, -32.0f));
|
||||||
braid[1] = new Braid(this, vec3( 32.0f, -48.0f, -32.0f));
|
braid[1] = new Braid(this, vec3( 32.0f, -48.0f, -32.0f));
|
||||||
} else {
|
} 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;
|
break;
|
||||||
}
|
}
|
||||||
|
@@ -166,8 +166,8 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div id="info">
|
<div id="info">
|
||||||
<input type="file" id="browseFile" style="display:none" accept=".phd,.psx, .tr2" onchange="readLevel(event)" />
|
<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)
|
<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="Backup Saves" onclick="backupSaves();" />
|
||||||
<input type="button" value="Restore Saves" onclick="restoreSaves();" />
|
<input type="button" value="Restore Saves" onclick="restoreSaves();" />
|
||||||
|
Reference in New Issue
Block a user