1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-07 03:13:49 +00:00
Commit Graph

539 Commits

Author SHA1 Message Date
Sergey Lipskiy
887504c301 Switch to non-POT textures. 2015-05-13 10:15:25 +06:00
Sergey Lipskiy
83945d5dbd Fix compilation with gcc. 2015-05-13 10:15:24 +06:00
Sergey Lipskiy
9f9a6952a7 Code refactor: simplify gDPLLETriangle a bit. 2015-05-13 10:15:24 +06:00
Sergey Lipskiy
698f49ed40 Move VI_UpdateSize() from RDP_ProcessRDPList() to VI_UpdateScreen()
in order to avoid too often calls of that function.
2015-05-13 10:15:23 +06:00
Sergey Lipskiy
01fc74b3c9 Workaround for Mupen64Plus issue with initialization. 2015-05-13 10:15:23 +06:00
Sergey Lipskiy
1c0519c9ee Fix problem with texture coordinates when texturePersp is off. 2015-05-13 10:15:22 +06:00
Sergey Lipskiy
7bd0b2e38a Code refactor: simplify code in OGLRender::drawLLETriangle. 2015-05-13 10:15:21 +06:00
Sergey Lipskiy
b81c6edcc3 Fix WSCALE macro in gDPLLETriangle.
Fixed polygons distortion.
2015-05-13 10:15:20 +06:00
Sergey Lipskiy
2771d8c542 Fix crash in gDPLoadTLUT when tile.tmem is wrong. 2015-05-13 10:15:20 +06:00
Sergey Lipskiy
0b4b65f865 Fix texturing for LLE triangle. 2015-05-13 10:15:19 +06:00
Sergey Lipskiy
8b911890a4 Fix depth for LLE triangle. 2015-05-13 10:15:18 +06:00
Sergey Lipskiy
381aab5edf Fix OGLRender::drawLLETriangle. Triangle's z is in screen space. 2015-05-13 10:15:18 +06:00
Sergey Lipskiy
e3f9676913 LLE support. 2015-05-13 10:15:17 +06:00
Sergey Lipskiy
8fd284e488 Fix gSPBranchLessZ. 2015-05-13 10:15:16 +06:00
Sergey Lipskiy
647a9cdf02 Fix compilation with USE_TOONIFY enabled. 2015-05-13 10:15:15 +06:00
Sergey Lipskiy
e2347a09a5 Mask TMEM address.
Fixed images load in Blast Corps.
2015-05-13 10:15:15 +06:00
Sergey Lipskiy
a9d31124a0 Enable gSPFlushTriangles() again due to severe performance drop. 2015-05-13 10:15:14 +06:00
Sergey Lipskiy
57fb19a7ac Move texture sizes calculation into separate procedure.
Use it to calculate mip-maped tiles sizes.

Fixed globe in Blast Corps.
2015-05-13 10:15:13 +06:00
Sergey Lipskiy
2b5ecbea66 Fix warning in L3DEX2_Line3D. 2015-05-13 10:15:13 +06:00
Sergey Lipskiy
d43c715627 Enable MultiProcessorCompilation in Visial Studio Project. 2015-05-13 10:15:12 +06:00
Sergey Lipskiy
abe0ecbc2f Remove unused code from gDPLoadBlock32. 2015-05-13 10:15:12 +06:00
Sergey Lipskiy
a104d61504 Fix cast to float in ShaderCombiner::_locate_attributes(). 2015-05-13 10:15:11 +06:00
Sergey Lipskiy
0ec60a3881 Fix typo in DepthBufferList::clearBuffer(). 2015-05-13 10:15:10 +06:00
Sergey Lipskiy
f96bb13a0b Fix textures size calculation: apply mask on width and height to avoid overflow.
Fixed crash in carmadeggon after N logo.
2015-05-13 10:15:10 +06:00
Sergey Lipskiy
9007548615 Disable triangles flush optimization.
Fixed WCW Backstage Assault.
2015-05-13 10:15:09 +06:00
Sergey Lipskiy
d552f82b9c Set fog coordinate as vertex alpha when fog is on.
Fixed Nascar 99
2015-05-13 10:15:08 +06:00
Sergey Lipskiy
e9584436f8 One cycle mode can use only 1 tile. Remove tile1 from combiner inputs for this case.
Fixed Powerpuff Girls, The - Chemical X-traction.
2015-05-13 10:15:08 +06:00
Sergey Lipskiy
e24abc346e Enable GL_DEPTH_CLAMP when z-buffer is off.
Fixed 2D in several games, e.g.  WCW Backstage Assault
2015-05-13 10:15:07 +06:00
Sergey Lipskiy
3106db8614 Correct gSPCullVertices.
Fixed Aidyn Chronicles - The First Mage:
it seems to pass parameters in reverse order.
2015-05-13 10:15:06 +06:00
Sergey Lipskiy
990729b5a5 Correct F3DEX2_MoveWord move segment. 2015-05-13 10:15:05 +06:00
Sergey Lipskiy
0bf13ecba7 Remove strange condition in gSPProcessVertex:
if (!(gSP.geometryMode & G_ZBUFFER))
		vtx.z = -vtx.w;

Fixed fog calculation for polygons without depth compare (Tsumi to Batsu).
2015-05-13 10:15:05 +06:00
Sergey Lipskiy
5cc46512ff Enable scissor for OGLRender::drawRect.
Fixed Tsumi to Batsu outscreen drawing.
2015-05-13 10:15:04 +06:00
Sergey Lipskiy
7cfb053c00 Revert Y corrdinate correction in case of negative viewport Y scale.
pachinko nichi 365 and Eikou no Saint Andrews do not work with that fix.

Further investigation needed.
2015-05-13 10:15:03 +06:00
Sergey Lipskiy
da03e9df8b Implement ucode for Star Wars - Shadows of the Empire. 2015-05-13 10:15:03 +06:00
Sergey Lipskiy
bcdce0d501 Fixed gSPSegment command (sic!) 2015-05-13 10:15:02 +06:00
Sergey Lipskiy
99e3869056 Fix drawTexturedRect usage for alternative FrameBufferList::renderBuffer 2015-05-13 10:15:01 +06:00
Sergey Lipskiy
ee2dcbde75 Fix viewport for negative Y scale.
Fixed MK Subzero
2015-05-13 10:15:01 +06:00
Sergey Lipskiy
c7961fbc28 Fix gSPModifyVertex for texture coordinates.
Remove st_scaled vertex attribute.

Fixed South Park - Chef's Luv Shack
2015-05-13 10:15:00 +06:00
Sergey Lipskiy
939280c99e Fix blend modes for Bomberman64. 2015-05-13 10:14:59 +06:00
Sergey Lipskiy
0aa090af1e Fix blend mode condition: don't disable blending when CVG_X_ALPHA|ALPHA_CVG_SEL|FORCE_BL 2015-05-13 10:14:58 +06:00
Sergey Lipskiy
58830aa773 Replace gSPDMADisplayList by call to gSPDlistCount. 2015-05-13 10:14:58 +06:00
Sergey Lipskiy
9510513f17 GBI: fix .NoN detection 2015-05-13 10:14:57 +06:00
Sergey Lipskiy
7a16fafedb Implement gamma correction. 2015-05-13 10:14:56 +06:00
Sergey Lipskiy
c079217715 Fix 32bit textures load.
Fixed Buck Bumble pause screen.
2015-05-13 10:14:56 +06:00
Sergey Lipskiy
f80b17bf15 Fix crash in DepthBufferList::clearBuffer() 2015-05-13 10:14:55 +06:00
Sergey Lipskiy
e79b136a8d Fix depth for rects.
Fixed objects in Silicon Valley and many other games.
2015-05-13 10:14:54 +06:00
Sergey Lipskiy
60d523c291 Fix gSPMatrix modelview mul push mode.
Fixed models in Silicon Valley.
2015-05-13 10:14:54 +06:00
Sergey Lipskiy
231f0fdba9 Add assert to F3DEX2_Line3D. It should not be called from this ucode(?) 2015-05-13 10:14:53 +06:00
Sergey Lipskiy
2c9db0283d Code cleanup: if (gDP.otherMode.depthSource) => if (gDP.otherMode.depthSource == G_ZS_PRIM) 2015-05-13 10:14:52 +06:00
Sergey Lipskiy
7a93d20011 Fix detection of "RSP Gfx ucode F3DEX.NoN 0.96"
Game: Chou Kuukan Nighter Pro Yakyuu King
2015-05-13 10:14:51 +06:00