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

17 Commits

Author SHA1 Message Date
Sergey Lipskiy
25bef0d805 New implementation of BG1Cyc command.
It is based on olivieryuyu decoding of actual ucode and works as close to original command as possible.
2019-02-02 18:34:09 +07:00
Sergey Lipskiy
1ec435d6e7 Correct command S2DEX_Obj_Rectangle_R for ucode version 1.03 2018-11-08 11:58:13 +07:00
gizmo98
35099ec8cb Backgrounds: Fix cut off textures and texture fragments and seams
-Fix cut off textures in hamster64. Enable coord correction if
gDP.otherMode.textureFilter == G_TF_BILERP.
-Fix seams in hamster64 and texture fragments in starcraft64. Enable
texture clamp if lrs/lrt <= (imageW/imageH - 1).
2018-10-13 19:09:24 +07:00
gizmo98
13f587a360 tile functions: Replace magic numbers with constants
Just refactoring. Replace magic numbers with constants. No functional
changes.
2018-09-30 18:03:46 +07:00
Sergey Lipskiy
b096c1e9fc Rewrite vertex coordinates calculation for ObjSprite command again. 2018-09-30 18:03:46 +07:00
Sergey Lipskiy
91b17a578c Rewrite vertex coordinates calculation for ObjRect commands again. 2018-09-30 18:03:46 +07:00
Sergey Lipskiy
0da701e7e5 Rewrite texture coordinates calculation for ObjRect commands. 2018-09-30 18:03:46 +07:00
Sergey Lipskiy
8fd5f910ab Add support for S2DEX v1.03 2018-09-30 18:03:45 +07:00
Sergey Lipskiy
5abb19bd7a Disable "yoshi petals fix" because of regression in yoshi's message board. 2018-09-30 18:03:45 +07:00
Sergey Lipskiy
164d012138 Rewrite coordinates calculation for ObjRectangle and ObjRectangleR 2018-09-30 18:03:45 +07:00
Sergey Lipskiy
83995f5dc8 Correct vertex coordinates calculation for gSPObjRectangleR 2018-09-30 18:03:45 +07:00
Sergey Lipskiy
51490b9de0 Correct _YUVtoRGBA 2018-09-30 18:03:45 +07:00
Sergey Lipskiy
ec898f4178 Rewrite vertex coordinates calculation for gSPObjRectangleR using fixed-point math decoded from S2DEX ucode by olivieryuyu
Code refactoring.
2018-09-30 18:03:44 +07:00
Sergey Lipskiy
9bbd449812 Correct lrs and lrt calculation for ObjRect commands. 2018-09-30 18:03:44 +07:00
Sergey Lipskiy
38c7eef32b Code cleanup: use constants for flipS and flipT flags. 2018-09-30 18:03:44 +07:00
Sergey Lipskiy
b012e8b53c Code refactor:
* move implementation of S2DEX commands from gSP.cpp to uCodes/S2DEX.cpp
* code cleanup
2018-09-30 18:03:44 +07:00
Sergey Lipskiy
41aa06523e Move ucodes source files to uCodes folder. 2017-09-21 21:33:08 +07:00