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

2479 Commits

Author SHA1 Message Date
Sergey Lipskiy
bbc7131655 Rewrite TriGen02_PrepareVtxData 2017-08-11 12:23:39 +07:00
Sergey Lipskiy
f95d819a47 Up shader storage version. 2017-08-11 12:23:39 +07:00
Sergey Lipskiy
19b2ed6957 Star Wars Rogue Squadron ucode : code cleanup 2017-08-11 12:23:39 +07:00
Sergey Lipskiy
f0eef7ab31 Implement command 0xBD This command generates texrects for explosions. 2017-08-11 12:23:39 +07:00
Sergey Lipskiy
62eb76e7d9 Correct DebugMsg for gSPMatrix 2017-08-11 12:23:39 +07:00
Sergey Lipskiy
84cf648089 Always call frameBufferList().saveBuffer() from gDPSetColorImage, even if buffer data not changed.
Fixed fb-related issues with Star Wars - Rogue Squadron
2017-08-11 12:23:39 +07:00
Sergey Lipskiy
20c2fb9b5e Fix gSPSWVertex for __VEC4_OPT 2017-08-11 12:23:39 +07:00
Sergey Lipskiy
d37903461c Fix RSP commands dump. 2017-08-11 12:23:39 +07:00
Sergey Lipskiy
1bb170a3c4 Implement command 0x05. This command generates polygons for terrain geometry.
Very large and complex.
2017-08-11 12:23:39 +07:00
Sergey Lipskiy
1fb8653dae Rewrite DL commands. 2017-08-11 12:23:39 +07:00
Sergey Lipskiy
0f99077724 Log SWRS commands 2017-08-11 12:23:39 +07:00
Sergey Lipskiy
e56e45e2da Command 05 - 02 WIP debug 2017-08-11 12:23:39 +07:00
Sergey Lipskiy
02e84b90f2 Command 05 - 02 WIP 2017-08-11 12:23:39 +07:00
Sergey Lipskiy
f0bbfbc84e Add F3DSWRS_SetOtherMode_L_EX command 2017-08-11 12:23:39 +07:00
Sergey Lipskiy
089dd2df0e Fix fog for F3DSWRS 2017-08-11 12:23:39 +07:00
Sergey Lipskiy
a0c2b39a65 Fix texture scale load.
Explanation from olivieryuyu:

1. I do believe that RS ucode has no lighting as I cannot see any code for it! I guess that it was done on the purpose to save power for other matters.

2. G_TEXTURE (command BB) does not set the texture s and t scale. Command BB is composed of two 32 bits words (as for FAST3D) but RS ucode does not use the 2nd 32 bits word. This latter seems to be always nil and should be considered as padding.

3. Movemen (command 0x03) case 82 does not concern light (because there is no light!!!). Actually this case of movemen seems to set the texture s and t scale which is then retrieved by the B4 command and combined with the texture coordinates.
2017-08-11 12:23:39 +07:00
Sergey Lipskiy
a9248c5a26 Port of Lemmy's implementation of SWRS ucode. 2017-08-11 12:23:39 +07:00
Sergey Lipskiy
6bfe0adf0a Fix triangle index calculation for flat shading. 2017-08-11 12:23:39 +07:00
Sergey Lipskiy
24b041b86e Set fullscreen scissor at the end of FrameBufferList::renderBuffer()
Fixed clipped screen issue with OBS studio, #1515
2017-08-08 22:49:28 +07:00
Sergey Lipskiy
3b9f16e8dd Fix regression with blending in A Bug's Life, #1488
Hack alert:
The problem blender is used in two cycles mode, but both cycles are the same:
c_in*a_in + c_mem * 1ma
I have no access to c_mem from shader. Therefore, I use c_in instead of c_mem in the first cycle.
Result of the second cycle will be blended with c_mem by GL blender, as usual.
This is pretty good approximation, no problems noticed.
2017-07-30 22:50:39 +07:00
Sergey Lipskiy
aa2a12b32d Print K4 and K5 in debugger. 2017-07-30 21:21:52 +07:00
Michael Maltese
a09a1f02c4 CMake: fix 'UNIX build requires MUPENPLUSAPI' message 2017-07-23 19:54:53 -07:00
Michael Maltese
df5fc37630 TxInternal: fix include typo on macOS 2017-07-19 19:18:03 -07:00
Stefan
92f5246eb6 armv8 crc32: add license information 2017-07-18 06:26:54 +02:00
Sergey Lipskiy
5691fcbc23 Implement F3DAM ucode.
Decoded by olivieryuyu

Fixed #97 hey you pikachu:hilarious texture bug
2017-07-17 23:08:26 +07:00
Aquatakat
d4971b48b8 Addendum to readme 2017-07-17 14:41:31 +07:00
gizmo98
a986503133 arm neon: add CopyMatrix function 2017-07-15 10:19:15 +00:00
Francisco Zurita
72abac8a83 Fix build error after latest debug changes. 2017-07-03 20:39:42 +07:00
Sergey Lipskiy
dabbad0ba2 Implement Acclaim point lighting.
Fixed #147 Turok2: missing flashlight
Fixed #381 Armorines - Project S.W.A.R.M. missing lightning effect in HLE mode
2017-06-30 21:56:03 +07:00
Aquatakat
fbd13c3940 UI: Debug spacer fix
Spacers in Qt 5.4 don't work without a size hint. It's fixed in later
versions.
2017-06-25 11:11:56 -06:00
Aquatakat
b71b2699ff UI: Debug tab cleanup 2017-06-25 10:37:41 -06:00
Sergey Lipskiy
2f88a695a6 Add config option for debug dump. 2017-06-25 15:57:20 +07:00
Sergey Lipskiy
c907c3013a Implement Debugger. 2017-06-25 15:35:48 +07:00
Sergey Lipskiy
0f01e1e333 Correct text height calculation in TextDrawer::getTextSize 2017-06-25 15:07:06 +07:00
Sergey Lipskiy
d89e48df46 Add TextDrawer::setTextColor method. 2017-06-25 15:07:02 +07:00
Sergey Lipskiy
08f2b8be31 Improve log quality 2017-06-25 15:06:50 +07:00
Sergey Lipskiy
64c59fc20d Implement GraphicsDrawer::showMessage Use it to show OSD message about logging start and stop. 2017-06-25 15:02:45 +07:00
Sergey Lipskiy
ee60040a78 Rewrite debug logging 2017-06-25 15:02:36 +07:00
Logan McNaughton
8d519e03df Add COMMON_LDFLAGS to Android makefiles 2017-06-22 13:22:52 +07:00
Sergey Lipskiy
3e4a499a9b Add support for Super3D ucode.
Details: https://github.com/gonetz/GLideN64/issues/6#issuecomment-310126139

Fixed #6 wrong viewport in some games
2017-06-22 13:19:35 +07:00
Sergey Lipskiy
a6babb418f Rewrite monochrome effect for Zeldas.
Fixed #1505 OoT Ending Screen Freeze Effect Color Wrong
2017-06-19 21:44:40 +07:00
Aquatakat
08366f5c09 UI: Language drop down displays languages in foreign languages 2017-06-19 11:21:57 +07:00
Francisco Zurita
ad48345ec0 Changes needed to build with Android NDK 15 2017-06-18 18:33:05 -04:00
Sergey Lipskiy
4722a75b24 Implement T3DUX ucode.
Ucode decoded by olivieryuyu.

Details:
Toukon road 1 & 2, last legion UX: HLE implementation (extended turbo3D)? #624
https://github.com/gonetz/GLideN64/wiki/T3DUX-ucode
2017-06-16 13:23:00 +07:00
Sergey Lipskiy
312a9a77f2 Insure that BufferedDrawer::m_vertices size is enough to take any amont of data. 2017-06-16 00:22:13 +07:00
Logan McNaughton
c8dfd9126d Use steady_clock for Performance counter 2017-06-09 15:23:30 -06:00
Logan McNaughton
63e438f22c zero fill gDPTile in RDRAMtoColorBuffer 2017-06-06 21:32:38 +07:00
Logan McNaughton
ae1e1e10ec These rules apply to Clang as well
Also a MinGW buildfix for Clang
2017-05-30 14:29:56 -06:00
Francisco Zurita
cd8783b24b Don't use hires textures with zero dimensions 2017-05-29 23:18:16 -04:00
Sergey Lipskiy
b4ce5fb842 Fix line width for BufferedDrawer::drawLine. 2017-05-28 22:11:27 +07:00