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

3628 Commits

Author SHA1 Message Date
gizmo98
e5d59a6394 Use angrylion's bayer matrix
https://github.com/gonetz/GLideN64/issues/2359

We use a precalculated matrix for float color values. It’s angrylion’s
matrix divided bei 16.0f.
https://github.com/project64/angrylion-rdp/blob/093754a4a53437925824317a
b22ce6a56748fe14/n64video.cpp#L2509
2020-10-31 13:55:10 +07:00
purplemarshmallow
909cf172b9 correct "remove hack_texrect_shade_alpha"
fix regression  #2369
2020-10-31 12:18:57 +07:00
Logan
c1b4d447a7 Add some CMake directories to the .gitignore 2020-10-29 16:57:02 +07:00
gizmo98
4981503bfc Code refactor: add vi status constants 2020-10-29 16:55:37 +07:00
Logan
cf7b3c84ce Protect against addressing nullptr 2020-10-29 16:51:27 +07:00
fzurita
c7144d0775 Fix issues with EGL image with Intel GPUs 2020-10-18 12:23:45 +07:00
Logan
73f891b055 copyDepthToRDRAM=0 for Pokemon Stadium 2020-10-12 13:27:17 +07:00
Logan McNaughton
42c196c30a Update xxHash to 0.8.0 2020-10-12 13:25:53 +07:00
S2S
5fa66762b3 Define STVEC in an Intel friendly way. 2020-10-12 12:58:14 +07:00
Jj0YzL5nvJ
b5a6b3b1e2 Avoid problem with spaces 2020-10-12 12:56:14 +07:00
Rosalie Wanders
b200b33b84 DisplayWindow: introduce _restart()
DisplayWindowMupen64plus: m_resize{Width,Height} moved from _resizeWindow() to _restart()
2020-10-08 16:13:24 +07:00
purplemarshmallow
9a69fe8e58 remove hack_texrect_shade_alpha 2020-10-08 15:57:35 +07:00
Rosalie Wanders
00dac336f8 GLideNUI: detect application instance dynamically 2020-10-02 17:08:31 +07:00
Rosalie Wanders
4f5a763666 getRevision: silence error if Revision.h doesn't exist 2020-10-01 18:09:20 +07:00
Rosalie Wanders
80ecddd574 GLideNUI: Fix sprintf deprecation warning 2020-10-01 18:06:44 +07:00
Sergey Lipskiy
3dfa0e7622 [Code cleanup] Fix code formatting in mupen64plus_DisplayWindow.cpp in accordance with the rest of the code. 2020-10-01 18:05:24 +07:00
Rosalie Wanders
3179b37e8a Fix _resizeWindow for M64P_GLIDENUI 2020-10-01 18:00:30 +07:00
Rosalie Wanders
859af888c4 [travis] fix warnings and remove deploy 2020-10-01 17:55:42 +07:00
Rosalie Wanders
ed00993642 [travis] enable MUPENPLUSAPI_GLIDENUI for linux 2020-09-23 14:45:14 +07:00
Rosalie Wanders
1f5f9874d9 Correctly implement FindPluginPath for Windows 2020-09-19 21:53:24 +07:00
Rosalie Wanders
229a6bc788 Correctly implement FindPluginPath for Linux 2020-09-16 19:05:17 +07:00
Rosalie Wanders
366ff85de3 Allow GLideNUI to work with mupen64plus
* Update the mupen64plus API headers
  * Add the new video extension functions in the opengl wrappers
  * Pull new headers from upsteam mupen64plus-core

* Modify CMakeLists.txt
  * Add GLideNUI source files
  * Expose new MUPENPLUSAPI_GLIDENUI option
    * This allows you to compile GLideN64 for mupen64plus with GLideNUI
    * NOTE that this only works with front-ends which call PluginConfig

* Move src/windows/Config_windows.cpp to src/GLideNUI/Config_GLideNUI.cpp
  * This makes more sense because it's not windows-exclusive anymore

* Add src/GLideNUI/fullscreenresolutions_mupen64plus.cpp
  * This allows GLideNUI to enumerate the fullscreen refresh rates and resolutions

* Modify src/Graphics/OpenGLContext/mupen64plus/mupen64plus_DisplayWindow.cpp
  * This modification allows mupen64plus with GLideNUI to use the selected fullscreen resolution and refresh rates

* Expose a new PluginConfig function which calls Config_DoConfig()
  * NOTE that this only works with front-ends which call this function
  * NOTE that this technically breaks the mupen spec
2020-09-16 19:02:46 +07:00
Sergey Lipskiy
35567da2ad Modifications for mip-mapped textures load.
Treat specail case for Southern Swamp grass texture, Zelda MM, #2315
2020-09-16 18:50:55 +07:00
Sergey Lipskiy
1e915af002 Correct gDPTextureRectangle:
use ceil(lry) instead of max(lry, uly + 1.0f)
It fixes the issue with zero height rectangles,
which often contain a garbage, see #2157
2020-09-16 18:49:53 +07:00
Sergey Lipskiy
15cbdc6593 [Code refactor] Remove redundant code. 2020-08-31 11:53:50 +07:00
Sergey Lipskiy
76d72f77b7 [Code refactor] Correct TextureCache::_load:
add RAII holder for texture data.
2020-08-31 11:53:41 +07:00
oddMLan
1111a7636c Add missing settings to Zilmar-spec from Mupen-spec
This allow testing these settings more easily with a Zilmar-spec emulator by just editing the ini
2020-08-14 17:29:04 +07:00
oddMLan
38fd50414f Fix downscaling aliasing caused by 2f5280c 2020-08-14 17:29:04 +07:00
oddMLan
d7d68c4667 GLideN64.sln: Add TinyXML++ and ts2lang projects
This will allow seamless translation from .ts to .Lang files compatible with the WTL GUI
2020-07-17 21:44:08 +07:00
oddMLan
97c8c0db78 Add /translations/wtl to gitignore
.Lang files for GLideNUI-wtl will always be generated on compilation time
2020-07-17 21:44:08 +07:00
oddMLan
e808510b86 [GLideNUI-wtl] Always use internal English strings (ignore gliden64_en.Lang) 2020-07-17 21:44:08 +07:00
oddMLan
1f4912469a [GLideNUI-wtl] Update Language class 2020-07-17 21:44:08 +07:00
oddMLan
18dd3ad662 [GLideNUI-wtl] m_Gama -> m_Gamma 2020-07-17 21:44:08 +07:00
oddMLan
2dc2810408 [GLideN64-wtl] Move util.h to util/util.h 2020-07-17 21:44:08 +07:00
oddMLan
1cf64e7e3f Bring translations to latest GLideNUI changes and remove obsolete translations
lupdate -no-obsolete GLideNUI.pro
lrelease -compress -removeidentical GLideNUI.pro
2020-07-17 21:44:08 +07:00
S2S
d13a3d7890 Perform hdRatio division with floating point precision. Allows non-integer scaled HD textures, but their use is discouraged. 2020-07-17 20:26:32 +07:00
S2S
65ad89ae3a Delay texcoord correction until multiplying by hdratio 2020-07-17 20:26:32 +07:00
Sergey Lipskiy
2f5280c8ac Correct texture filters in rendering frame buffer to main color buffer. 2020-07-01 22:01:14 +07:00
Sergey Lipskiy
5907cff6c7 FrameBufferList::renderBuffer(): fix dstScaleX when overscan enabled in native-res mode. 2020-07-01 21:59:51 +07:00
Sergey Lipskiy
30e7b83e43 Correct GraphicsDrawer::_updateScreenCoordsViewport
Fixed starcraft intro movie in OnePiece bg mode.
2020-06-28 18:22:21 +07:00
Sergey Lipskiy
80b219effa Correct vertex Z calculation in GraphicsDrawer::_drawThickLine
Note: viewport transformation of Z coordinate performed in fragment shader.

Fixed #2237 Mario Artist - Polygon Studio: line3D bug (HLE)
2020-06-28 17:36:20 +07:00
Sergey Lipskiy
1b36d5740b Debug dump cmd in LLE mode. 2020-06-28 11:06:37 +07:00
LuigiBlood
1467582e8f [INI] Remove Dithering Noise from Paint Studio & add Paint Studio prototype 2020-06-25 16:30:17 +07:00
Sergey Lipskiy
7b6e304d84 Fix OSD info in fullscreen mode.
It was broken by commit 156171be.
2020-06-25 16:30:11 +07:00
Sergey Lipskiy
0a755614a0 Correct UTextureEngine::update() for background textures.
Fixed #2251 Zelda: OnePiece backgrounds broken
2020-06-21 18:15:53 +07:00
IlDucci
f9dd77886b Updating Spanish translation following the latest changes and fixing some existing issues following the RAE's rules. 2020-06-21 17:24:47 +07:00
oddMLan
cbc0dfd90e Toggle AA state like Qt GUI 2020-06-16 16:59:44 +07:00
oddMLan
9bf9202c47 Fix profile load when GLideN64.ini doesn't exist The logic looked incorrect here, but Qt loaded the profile correctly somehow. I tested this change and it doesn't change anything in the Qt version (which is good) 2020-06-16 16:59:44 +07:00
oddMLan
d00cf9f214 Fix profile load when GLideN64.ini doesn't exist 2020-06-16 16:59:44 +07:00
oddMLan
32dbfe1d1f Language: Escape quotes 2020-06-16 16:59:43 +07:00