Commit graph

164 commits

Author SHA1 Message Date
Wally4000
9ae3b09062 Add some GLM stuff for debugging 2025-03-17 07:31:55 +11:00
wally4000
bd3b69ff8e Move Math -> PSPMath 2025-03-15 20:24:05 +11:00
wally4000
4e11a1aef2 Forgot to reverse this one for SSB too 2025-03-15 17:41:29 +11:00
z2442
437d7fbe1f Fix for models 2025-03-14 21:53:49 -04:00
wally4000
142221f02e Now works on the PSP. 2025-03-14 15:54:25 +11:00
Wally4000
72532b844b Works on GL but not on PSP yet. 2025-03-14 11:07:33 +11:00
wally4000
2480f5eac7 Replace Vector2 and remove the vector header files 2025-03-13 16:14:20 +11:00
Ben Slater
17a5f1be06 Replace Vector3 and Vector 4 with GLM
Please enter the commit message for your changes. Lines starting
2025-03-13 13:07:44 +11:00
z2442
d3f3cd99e3 Small fix for textures on GLES 2025-02-02 19:51:46 -05:00
z2442
fa47b15a31 Minor texture fix - missed a gl change
Shader optimzation
2025-01-31 21:43:53 -05:00
z2442
3e28d6ec57 Enable Clamp Fix for GLES 2025-01-26 21:37:43 -05:00
z2442
e70c5950e6 Cmake GLES cleanup 2025-01-12 21:33:04 -05:00
Wally4000
2bd47919fa Move CoverArt out of main tree 2024-10-06 15:22:22 +02:00
wally4000
4543f773ff Not sure why rumble was in this function twice. 2024-08-03 09:44:12 +10:00
wally4000
4bcc5af9b9 Move MathUtil.h to Utility 2024-06-17 16:29:28 +10:00
wally4000
677f53c592 Modernise DAEDALUS_USE and replace ARRAY_SIZE VARIABLE 2024-06-17 13:45:41 +10:00
Howard Su
fcc875fb46 Fix warnings, still left some 2023-12-06 08:52:37 +08:00
Wally4000
895e8910d9 Remove BuildOptions and clean up macros 2023-10-23 12:58:37 +11:00
Wally4000
b6eff3b826 Hurray it lives. 2023-10-11 18:47:51 +11:00
Wally4000
af2ee46808 General code tidying up, cmake script borked ATM 2023-10-02 14:06:45 +11:00
Wally4000
76eb881494 use shared_ptr instead of RefCounted Class 2023-06-22 15:47:48 +10:00
Wally4000
b688456fbd Use builtins for random function 2023-04-24 15:51:14 +10:00
Wally4000
a69ee0a3f3 More std::array magic 2022-05-03 12:50:08 +10:00
Wally4000
3fec82b04d Remove stdafx.h for consistency 2022-03-22 18:06:17 +11:00
wally4000
d52ce85ce8 replace Clamp with std::clamp 2021-10-23 23:08:27 +11:00
wally4000
4fbc81a4ac Use std::max and std::min 2021-10-23 22:12:40 +11:00
Wally4000
b1e6ac01da Adding in some std:: functions to replace some templates 2021-10-16 22:54:18 +11:00
Wally4000
15e3e2a1d0 Update to the Bazel Directory Structure.. 2020-08-22 18:42:41 +10:00
Carlos R
37db2e4337 Removed -1 from uViHeight/uViWidth
*This was actually breaking the fix for New Tetris.. Originally we were doing -1 for the clear screen check in Fillrect, this been updated too. The check in SetScissor did not need to be updated as it was already clamping when the if the N64 resolution was equal or greater..
*Always clear z buffer first in fillrect
2020-07-18 13:15:58 -07:00
Carlos R
9801199bf6 Clean ups from last commit
*Removed CLIP_TEST_FLAGS usage, I tested several games and I did not find any issue when all the clipping flags were set
*Refactored set ClipFlags to avoid duplicate code and make it easier to debug
2020-07-04 02:29:23 -07:00
Carlos R
ad31af0d97 Optimized CullDl
*Fixed culling for Aydin Chronicles (first and last param its reversed)
*Avoid doing a bound check twice for testverts, the display list would get culled regardless
*Return early when Dlist its visible

PS: CLIP_TEST_FLAGS its meaningless right now since all clipping flags are checked, we can remove it after testing further if that's ok or if we need to relax the clipping flags for No Near Plane microcodes
2020-07-03 19:46:49 -07:00
Carlos R
4e48f03020 Fix some uninitialised states in the renderer which was breaking lightning in debug builds. Thanks StrmnNrmn! 2020-07-01 22:44:17 -07:00
Carlos R
d1ce452382 Improvements to BaseRenderer
*Avoid division by zero in the viewport code and properly handle PAL scaling // taken from bazel and Vita port
*Restored bound checks for AddTri , TestVerts and  ModifyVertexInfo
*Refactored CPU and VFPU vtx pipelines to make it easier to maintain
*Combined UpdateWorldProject and PokeWorldProject
*Added proper null check to LoadTextureDirectly
2020-06-27 12:08:58 -07:00
=
1511baa25e Fix up paths in headers 2020-05-27 19:20:52 +10:00
=
de0e24096c Revert "Backport of Frangarcj's view port change."
This reverts commit 382f3c111d.
2020-05-12 17:30:52 +10:00
z2442
7388099250 Small fixes from Rinne's Repo 2020-04-25 15:49:44 -04:00
joey
382f3c111d Backport of Frangarcj's view port change. 2020-04-23 18:52:08 -04:00
Ben Slater
0e2d2369c4 Reverted base renderer 2019-05-27 17:34:13 +10:00
Wally
2d7157e5a9 Got SDL2 build compiling again.. Not sure if it works yet, crashes KDE on my VM 2019-05-27 13:00:23 +10:00
z2442
275aacd212 more nullptr updates 2019-05-03 21:09:20 -04:00
Ben Slater
6a725bf99e Removed a bunch of asserts / debug options from release build, stabs a bunch of compiler warnings 2019-05-03 17:43:44 +10:00
z2442
d90bac8ef5 clean up narrowing errors 2019-03-23 20:24:40 -04:00
Wally
44b590f464 More playing around with C11 styled stuff
Tidied up ME code
2019-03-23 08:59:56 +09:00
Wally
ba29423574 Converted BaseRenderer to C11 styled variables and did some type safety checking 2019-03-22 09:28:28 +09:00
Ben Slater
c562b76641 *Clean build from StrmnNrmns repo 2019-02-27 17:04:51 +11:00
Wally
8bc2012f0e Fix 64 bit support from StrmnNrmns Bazel branch 2019-02-04 13:52:39 +11:00
Ben Slater
7233a55c83 Fixed macOS build - Just linker issues remain. Requirements will be listed later
Removed third_party folder as it's all redundant
2019-01-29 11:21:41 +11:00
mrbenslater
2e6cf17baa Move more debug stuff out of Release 2019-01-21 19:58:47 +11:00
CornN64
d4adf51a6b [!] Fix menu screens in 40Winks
[!] Made AudioHLEProcessor addresses and audio buffer accesses safer
2014-02-09 19:34:42 +01:00
salvy
804094c1af [!] Fixed W32 build, also a couple of warnings
[!] Handle better platform differences with sqrtf, roundf etc
2013-11-13 00:47:50 -08:00