Commit graph

48 commits

Author SHA1 Message Date
Wally4000
0c04c1ada1 Merge branch 'master' into Tidy-Pointers 2023-06-28 10:39:43 +10:00
Wally4000
5c7d7d48a6 Updated a bunch of pointers so they're unique. 2023-06-26 22:11:29 +10:00
Wally4000
76eb881494 use shared_ptr instead of RefCounted Class 2023-06-22 15:47:48 +10:00
Wally4000
623c3cdd69 Tidy up ShaderPath code 2022-04-03 20:59:14 +10:00
Wally4000
3fec82b04d Remove stdafx.h for consistency 2022-03-22 18:06:17 +11:00
Wally4000
a1f945414d Remove System/Paths.h / Paths.cpp as not required 2022-01-30 21:21:03 +11:00
Wally4000
0c242a0249 Start tidying up the paths, fix c++20 compat 2022-01-30 21:07:40 +11:00
Wally4000
eadc1b3758 move from typedef to modern using declaration 2021-10-18 18:58:14 +11:00
Wally4000
15e3e2a1d0 Update to the Bazel Directory Structure.. 2020-08-22 18:42:41 +10:00
Carlos R
264ded00a8 Refactored S2DEX, FB and Sprite2D 2020-08-02 15:46:55 -07:00
Carlos R
78734ef838 Misc changes to the memcpy swizzle and added a missing blender (GL) 2020-06-11 08:49:25 -07:00
=
1511baa25e Fix up paths in headers 2020-05-27 19:20:52 +10:00
wally4000
d2694878c0 Fixed GL 2019-05-27 16:55:36 +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
Ben Slater
c562b76641 *Clean build from StrmnNrmns repo 2019-02-27 17:04:51 +11:00
Wally
a4e4f15357 SDL is now working correctly.. just a bit slow 2019-02-18 13:27:11 +11:00
Ben Slater
5d99427086 Just linker errors to go now 2019-02-14 13:38:46 +11:00
Ben Slater
e664edc436 Start moving from GLFW to SDL 2019-02-14 13:21:59 +11:00
salvy
351e16a38c [!] Fixed PC build
[!] No longer needed to clear tnl flags
[~] Removed unused variable
2013-09-25 12:31:58 -07:00
salvy
084ec18b44 [!] Improved zelda's sun hack, also now it work with accurate tmem 2013-07-01 22:38:07 +01:00
Paul Holden
56ca51475f [~] Replace IO::Path::PathBuf with IO::Filename 2013-06-04 22:02:31 +01:00
salvy
dd678a0964 [!] Fixed graphics glitching out in Banjo Tooie
[!] Fixed sun glare in Banjo Tooie (looks great now!)
2013-06-02 18:21:58 -07:00
strmnnrmn
3d4a0c0e95 [~] stdafx cleanup: Move utility macros to Utility/Macros.h and directly include where needed.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1691 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-18 16:05:35 +00:00
strmnnrmn
9bc86745b7 [~] stdafx cleanup: Pull in Utility/Profiler.h directly
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1689 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-18 16:05:14 +00:00
strmnnrmn
6435d4dc36 [~] stdafx.h cleanup - move gDaedalusExePath to System/Paths.h
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1684 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-18 16:04:31 +00:00
strmnnrmn
43d924db7e [~] Remove the hacky pspgu.h files for W32/OSX/Linux and just define this stuff directly in SysGL/GL.h (slightly less hacky).
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1681 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-18 16:04:05 +00:00
strmnnrmn
9b4943bec0 [~] Add a FIXME for glGenVertexArrays and GLEW
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1667 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-06 18:20:07 +00:00
salvy
cd8b86989b [!] Fixed sky in glover when in un/scaled (PSP)
[!] Fixed possible bug in blend state, also default is blend disabled (No longer breaks tarzan) (PSP)
[!] PRXs weren't copied to the correct location (PSP)
[~] Correct last warning for W32

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1613 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-26 06:58:28 +00:00
strmnnrmn
f80caa8039 [~] Blend mode for Banjo Kazooie
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1580 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:26:10 +00:00
strmnnrmn
68e2f02f40 [~] Add a SysGL/GL.h - use this to ensure glew/glfw headers are included in a consistent order
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1541 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-07 12:01:59 +00:00
strmnnrmn
c29173af9c [+] Add a .gyp build step to copy roms.ini and n64.psh to the output directory, and load n64.psh from that path.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1539 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-07 11:29:58 +00:00
strmnnrmn
0f8d525fae [+] For Copy mode, we shouldn't do any clamping. (Player/Level Select backgrounds in Mario Kart use this.)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1538 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-07 11:29:52 +00:00
strmnnrmn
bd75cf6e38 [!] Fix a number of small issues with the new pixel shader - correctly select between point/bilinear filtering, and fix texrects for things like California Speed and Mario Kart.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1536 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-07 11:29:40 +00:00
strmnnrmn
e02d81c9ab [~] Wrap up all the state needed to configure a shader into a single struct
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1535 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-07 11:29:33 +00:00
strmnnrmn
fcc2a59778 [+] Lots of pixel shader iteration. Mostly 'perfect' now, still some problems with bilinear filtering on Mario Kart, California Speed
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1533 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-07 11:29:20 +00:00
strmnnrmn
6a10ac65f5 [*] Pass integer texture coords through to TexRect and TexRectFlip. For OpenGL, the shader now also passes the texture offset/scale as integer args
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1531 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-07 11:29:02 +00:00
strmnnrmn
f93a375049 [~] Pass integer texture coords to the OpenGL renderer.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1530 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-07 11:28:51 +00:00
strmnnrmn
b359dc1c1f [~] Remove mAlphaThreshold - this is just the blend colour alpha
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1527 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-07 11:28:31 +00:00
strmnnrmn
ae6a33fb87 [~] Don't bother storing mTexShift - just look it up using mActiveTile index as needed
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1515 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-05 09:17:13 +00:00
strmnnrmn
fef58eed97 [~] Remove the identity_uv_transform param from PrepareRenderState - fix up the UVs so they're consistent
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1508 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-04 10:49:44 +00:00
salvy
38da6cd456 [~] Opps gGeometryMode has to be global (sorry!)
[!] Added blender for Donald Duck (W32/OSX)
[~] Some small changes

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1502 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-01 05:32:31 +00:00
strmnnrmn
ea7426382c [~] More GL blender tweaks
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1468 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 10:19:44 +00:00
salvy
3e3f2f1148 [!] W32 can be built in release mode now, OSX should be buildable as well
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1459 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-28 06:58:06 +00:00
salvy
78d331be07 [!] Rendering works now perfectly on W32 :)
[!] Init GLEW early, otherwise calling ClearToBlack is initialized (W32)


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1457 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-28 00:02:01 +00:00
strmnnrmn
69b4f1984b [*] Re-do the blender for OpenGL. Still needs lots of work. Actually need to handle the two cycles separately, but need to read the docs a bit more.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1452 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-27 22:07:20 +00:00
strmnnrmn
99a44765fd [~] New InitBlendMode for OpenGL - still missing lots of cases.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1448 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-27 22:06:24 +00:00
salvy
0f60eae933 [!] Started WIP to get rendering working from GL renderer (some textures show up now, ex texrect!)
[!] Compiled project as console app (needed for glfw) [WIP, ALOT things got broken! and huge clean up is needed, will fix them eventually)
Note: glew and glfw are now needed to build W32.

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1443 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-26 21:58:22 +00:00
strmnnrmn
2689a81177 [*] Rename RendererOSX -> RendererGL, and move to a SysGL folder
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1436 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-25 22:48:54 +00:00
Renamed from Source/SysOSX/HLEGraphics/RendererOSX.cpp (Browse further)