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

490 Commits

Author SHA1 Message Date
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
Sergey Lipskiy
3d75ca4b18 Add undetectable Fast3D ucodes to list of specialMicrocodes. 2015-05-13 10:14:51 +06:00
Sergey Lipskiy
758b873265 Don't use noise for COPY and FILL cycle modes. 2015-05-13 10:14:50 +06:00
Sergey Lipskiy
4621c169a5 Fix alpha test value for gDP.otherMode.cvgXAlpha != 0 case.
Fixed Disnay Tarzan butterfly wings.
2015-05-13 10:14:49 +06:00
Sergey Lipskiy
26e525a4e8 Implement G_MWO_POINT_XYSCREEN and G_MWO_POINT_ZSCREEN for gSPModifyVertex. 2015-05-13 10:14:49 +06:00
Sergey Lipskiy
88aa4499ff Fix L3DEX2_Line3D.
Fixed fishing line in Glover2.
2015-05-13 10:14:48 +06:00
Sergey Lipskiy
0d3b64fc43 Code cleanup: remove unused F3D_Line3D 2015-05-13 10:14:47 +06:00
Sergey Lipskiy
43727bc5a3 Correct textures load when gSP.texture.tile == 7 2015-05-13 10:14:46 +06:00
Sergey Lipskiy
0998406f25 Correct tile1 set when gSP.texture.tile = 7 2015-05-13 10:14:46 +06:00
Sergey Lipskiy
1761a9b38f Correct gSPPopMatrix. 2015-05-13 10:14:45 +06:00
Sergey Lipskiy
e8a9832861 Fix textures size calculation method when tile loaded via LoadTile. 2015-05-13 10:14:44 +06:00
Sergey Lipskiy
18da87e86d Implement ZSort microcode. 2015-05-13 10:14:44 +06:00
Sergey Lipskiy
0c7b3b9754 Don't clamp textures in COPY cycle type. 2015-05-13 10:14:43 +06:00
Sergey Lipskiy
cb785c2667 Fix textures size when load via LoadTile. 2015-05-13 10:14:42 +06:00
Sergey Lipskiy
38d6446182 Add new blend modes. 2015-05-13 10:14:42 +06:00
Sergey Lipskiy
30959856c7 Implement Turbo3D microcode. 2015-05-13 10:14:41 +06:00
Sergey Lipskiy
4cacd7f818 Fix load RGBA textures when TLUT is enabled.
Fixed water texture in GE Frigate level.
2015-05-13 10:14:40 +06:00
Sergey Lipskiy
c49df83a0d Add texturedRectPaletteMod for Paper Mario 2015-05-13 10:14:39 +06:00
Sergey Lipskiy
259f750b79 Add hack for OB64 backgrounds copy. 2015-05-13 10:14:39 +06:00
Sergey Lipskiy
90b2d16170 Add 'hacks' config option. 2015-05-13 10:14:38 +06:00
Sergey Lipskiy
8d37143331 Implement YUV textures load. 2015-05-13 10:14:37 +06:00
Sergey Lipskiy
6961e8c810 Fix gDPSetConvert. 2015-05-13 10:14:37 +06:00
Sergey Lipskiy
ad2de9ba77 Correct texturedRectDepthBufferCopy. 2015-05-13 10:14:36 +06:00
Sergey Lipskiy
f11617bfa0 Fix 32bit textures load. 2015-05-13 10:14:35 +06:00
Sergey Lipskiy
4d229824e9 Fix gDPLoadTLUT.
Fixed palettes load in StarCraft.
2015-05-13 10:14:35 +06:00
Sergey Lipskiy
72ba52767c Fix depth buffer clear detection in gDPFillRectangle.
Automobili Lamborghini uses DEPTH_CLEAR_COLOR for pause fillrect color.
2015-05-13 10:14:34 +06:00
Sergey Lipskiy
c60624b771 Fix BG coordinates calculation again.
Better bg sprites in C&C.
2015-05-13 10:14:33 +06:00
Sergey Lipskiy
6277ea1ca7 Enable bilinear filter for sprites. 2015-05-13 10:14:32 +06:00
Sergey Lipskiy
74b0b5cf55 Fix backgrounds load. 2015-05-13 10:14:32 +06:00
Sergey Lipskiy
f40ecc7a75 Fix gDPFillRectangle for cycleType != G_CYC_FILL.
Fixed background in C&C.
2015-05-13 10:14:31 +06:00
Sergey Lipskiy
22ea72aaad Implement S2DEX_Obj_RenderMode. 2015-05-13 10:14:30 +06:00
Sergey Lipskiy
6fbdb3f8db Fix BG coordinates calculation.
Fixed C&C.
2015-05-13 10:14:30 +06:00
Sergey Lipskiy
2258583379 Correct microcode detection. 2015-05-13 10:14:29 +06:00
Sergey Lipskiy
5a5b56e4bf Add gSPSprite2DBase hack code for WCW Nitro. Disabled for now. 2015-05-13 10:14:28 +06:00
Sergey Lipskiy
8ebb081c75 Implement gSPSprite2DBase. 2015-05-13 10:14:28 +06:00
Sergey Lipskiy
642038a6fe Force depth test when depthSource == G_ZS_PRIM. 2015-05-13 10:14:27 +06:00
Sergey Lipskiy
23348b474d Fixed PrimDepth load: only 15 bits must be used.
Fixed backgrounds in Space Station Silicon Valley.
2015-05-13 10:14:26 +06:00
Sergey Lipskiy
ca17d7a19b Rewrite sprite code:
- Make code uniform.
- Removed duplicated code.
2015-05-13 10:14:25 +06:00
Sergey Lipskiy
87a348f766 Implement gSPObjSubMatrix. 2015-05-13 10:14:25 +06:00
Sergey Lipskiy
246bc396ad Fix z coordinate for gSPObjSprite and gSPBgRect1Cyc. 2015-05-13 10:14:24 +06:00
Sergey Lipskiy
2ad3f17fc4 Rewrite gSPBgRect1Cyc:
draw it as one rect. Texture coordinates will wrap if necessary.
2015-05-13 10:14:23 +06:00
Sergey Lipskiy
799638c29b Fix TextureCache::_updateBackground():
Load texture image with its actual size, not cast to power of two sizes.
This allows to wrap it easily.
2015-05-13 10:14:23 +06:00
Sergey Lipskiy
a849fb81e5 Implement Yoshi Story background copy. 2015-05-13 10:14:22 +06:00
Sergey Lipskiy
6e01ed9a34 Pass parameters to OGLRender::drawTexturedRect via special structure TexturedRectParams. 2015-05-13 10:14:21 +06:00
Sergey Lipskiy
489953e7aa Switch log lovel from LOG_WARNING to LOG_ERROR.
Set Log level to LOG_WARNING in unimplemented S2DEX functions.
2015-05-13 10:14:20 +06:00
Sergey Lipskiy
9b2d6a4740 Fix gSPObjSprite. 2015-05-13 10:14:20 +06:00
Sergey Lipskiy
972fc41c25 Code cleanup: remove unused functions gSPCopyVertex() and gSPInterpolateVertex(). 2015-05-13 10:14:19 +06:00
Sergey Lipskiy
bc1a5a1f1f Fix frame buffer allocation again.
Check for all possible intersections of frame buffers address space,
remove all buffers, intersected with the new one.
2015-05-13 10:14:18 +06:00
Sergey Lipskiy
fa5d2ce544 Correct auxiliary buffers height in gDPSetColorImage. 2015-05-13 10:14:18 +06:00
Sergey Lipskiy
cdf168e469 Correct gDP.colorImage.height calculation again.
Fixed frame buffers overflow in V-Rally 99.
2015-05-13 10:14:17 +06:00