mirror of
https://github.com/lindbergh-loader/lindbergh-loader.git
synced 2026-10-15 02:20:12 +03:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
72f70ccda1 | ||
|
|
0a29307870 | ||
|
|
d202f31717 |
@@ -1,6 +1,14 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
|
## [2.0.11]
|
||||||
|
### Added
|
||||||
|
- Resolution patches for 2Spicy and HOD-Ex
|
||||||
|
- Code clean up.
|
||||||
|
### Fixed
|
||||||
|
- 2Spicy error in the scaling code.
|
||||||
|
|
||||||
## [2.0.10]
|
## [2.0.10]
|
||||||
### Added
|
### Added
|
||||||
- Config option to specify a path for the library libCg.so required for some shader compilation.
|
- Config option to specify a path for the library libCg.so required for some shader compilation.
|
||||||
|
|||||||
+29
-23
@@ -1314,11 +1314,14 @@ void glVertex3f2SP(GLfloat x, GLfloat y, GLfloat z)
|
|||||||
float AdjOffsetX = OffsetX * scaleZ;
|
float AdjOffsetX = OffsetX * scaleZ;
|
||||||
float AdjOffsetY = OffsetY * scaleZ;
|
float AdjOffsetY = OffsetY * scaleZ;
|
||||||
|
|
||||||
if (z == -3.000000f)
|
if (z == -1.000000f || z == -3.000000f)
|
||||||
{ // videos
|
{
|
||||||
|
// We skip 3d and videos
|
||||||
|
;
|
||||||
}
|
}
|
||||||
else if (z == -1.010000f)
|
else if (z == -1.010000f)
|
||||||
{ // bd main
|
{
|
||||||
|
// bd main
|
||||||
x += AdjOffsetX;
|
x += AdjOffsetX;
|
||||||
y -= AdjOffsetY;
|
y -= AdjOffsetY;
|
||||||
|
|
||||||
@@ -1326,7 +1329,8 @@ void glVertex3f2SP(GLfloat x, GLfloat y, GLfloat z)
|
|||||||
y *= scaleY;
|
y *= scaleY;
|
||||||
}
|
}
|
||||||
else if (z == -1.510000f)
|
else if (z == -1.510000f)
|
||||||
{ // logo - coin/start - 2D
|
{
|
||||||
|
// logo - coin/start - 2D
|
||||||
if (curTextureID == 497) // right
|
if (curTextureID == 497) // right
|
||||||
{
|
{
|
||||||
x -= OffsetX;
|
x -= OffsetX;
|
||||||
@@ -1334,10 +1338,7 @@ void glVertex3f2SP(GLfloat x, GLfloat y, GLfloat z)
|
|||||||
x *= scaleX;
|
x *= scaleX;
|
||||||
y *= scaleY;
|
y *= scaleY;
|
||||||
}
|
}
|
||||||
else if (curTextureID == 498)
|
else if (curTextureID != 498) // We skip deadend
|
||||||
{ // deadend
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
{
|
||||||
x += OffsetX;
|
x += OffsetX;
|
||||||
y -= OffsetY;
|
y -= OffsetY;
|
||||||
@@ -1347,7 +1348,8 @@ void glVertex3f2SP(GLfloat x, GLfloat y, GLfloat z)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (z == -1.460000f)
|
else if (z == -1.460000f)
|
||||||
{ // 2D title
|
{
|
||||||
|
// 2D title
|
||||||
x += AdjOffsetX;
|
x += AdjOffsetX;
|
||||||
y -= AdjOffsetY;
|
y -= AdjOffsetY;
|
||||||
|
|
||||||
@@ -1355,7 +1357,8 @@ void glVertex3f2SP(GLfloat x, GLfloat y, GLfloat z)
|
|||||||
y *= scaleY;
|
y *= scaleY;
|
||||||
}
|
}
|
||||||
else if (z == -1.490000f)
|
else if (z == -1.490000f)
|
||||||
{ // 2D title
|
{
|
||||||
|
// 2D title
|
||||||
x += AdjOffsetX;
|
x += AdjOffsetX;
|
||||||
y -= AdjOffsetY;
|
y -= AdjOffsetY;
|
||||||
|
|
||||||
@@ -1363,7 +1366,8 @@ void glVertex3f2SP(GLfloat x, GLfloat y, GLfloat z)
|
|||||||
y *= scaleY;
|
y *= scaleY;
|
||||||
}
|
}
|
||||||
else if (z == -1.500000f)
|
else if (z == -1.500000f)
|
||||||
{ // 2D title
|
{
|
||||||
|
// 2D title
|
||||||
x += AdjOffsetX;
|
x += AdjOffsetX;
|
||||||
y -= AdjOffsetY;
|
y -= AdjOffsetY;
|
||||||
|
|
||||||
@@ -1371,7 +1375,8 @@ void glVertex3f2SP(GLfloat x, GLfloat y, GLfloat z)
|
|||||||
y *= scaleY;
|
y *= scaleY;
|
||||||
}
|
}
|
||||||
else if (z == -1.310000f)
|
else if (z == -1.310000f)
|
||||||
{ // 2D
|
{
|
||||||
|
// 2D
|
||||||
x += AdjOffsetX;
|
x += AdjOffsetX;
|
||||||
y -= AdjOffsetY;
|
y -= AdjOffsetY;
|
||||||
|
|
||||||
@@ -1379,7 +1384,8 @@ void glVertex3f2SP(GLfloat x, GLfloat y, GLfloat z)
|
|||||||
y *= scaleY;
|
y *= scaleY;
|
||||||
}
|
}
|
||||||
else if (z == -1.210000f)
|
else if (z == -1.210000f)
|
||||||
{ // 2D
|
{
|
||||||
|
// 2D
|
||||||
x += AdjOffsetX;
|
x += AdjOffsetX;
|
||||||
y -= AdjOffsetY;
|
y -= AdjOffsetY;
|
||||||
|
|
||||||
@@ -1387,7 +1393,8 @@ void glVertex3f2SP(GLfloat x, GLfloat y, GLfloat z)
|
|||||||
y *= scaleY;
|
y *= scaleY;
|
||||||
}
|
}
|
||||||
else if (z == -1.5109999180f)
|
else if (z == -1.5109999180f)
|
||||||
{ // 2D
|
{
|
||||||
|
// 2D
|
||||||
x += AdjOffsetX;
|
x += AdjOffsetX;
|
||||||
y -= AdjOffsetY;
|
y -= AdjOffsetY;
|
||||||
|
|
||||||
@@ -1395,11 +1402,11 @@ void glVertex3f2SP(GLfloat x, GLfloat y, GLfloat z)
|
|||||||
y *= scaleY;
|
y *= scaleY;
|
||||||
}
|
}
|
||||||
else if (z == -1.200000f)
|
else if (z == -1.200000f)
|
||||||
{ // target - select
|
{
|
||||||
|
// target - select
|
||||||
if (curTextureID == 454 || curTextureID == 461 || curTextureID == 456)
|
if (curTextureID == 454 || curTextureID == 461 || curTextureID == 456)
|
||||||
{ // 457 X - 454 461 456 O
|
{
|
||||||
|
// 457 X - 454 461 456 O
|
||||||
if (myEnableScaling)
|
if (myEnableScaling)
|
||||||
{
|
{
|
||||||
x += AdjOffsetX;
|
x += AdjOffsetX;
|
||||||
@@ -1411,7 +1418,8 @@ void glVertex3f2SP(GLfloat x, GLfloat y, GLfloat z)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (z == -1.710000f)
|
else if (z == -1.710000f)
|
||||||
{ // 2D
|
{
|
||||||
|
// 2D
|
||||||
x += AdjOffsetX;
|
x += AdjOffsetX;
|
||||||
y -= AdjOffsetY;
|
y -= AdjOffsetY;
|
||||||
|
|
||||||
@@ -1419,16 +1427,14 @@ void glVertex3f2SP(GLfloat x, GLfloat y, GLfloat z)
|
|||||||
y *= scaleY;
|
y *= scaleY;
|
||||||
}
|
}
|
||||||
else if (z > -1.85f)
|
else if (z > -1.85f)
|
||||||
{ // 2d
|
{
|
||||||
|
// 2d
|
||||||
x += AdjOffsetX;
|
x += AdjOffsetX;
|
||||||
y -= AdjOffsetY;
|
y -= AdjOffsetY;
|
||||||
|
|
||||||
x *= scaleX;
|
x *= scaleX;
|
||||||
y *= scaleY;
|
y *= scaleY;
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
_glVertex3f(x, y, z);
|
_glVertex3f(x, y, z);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user