Commit graph

182 commits

Author SHA1 Message Date
wally4000
5ba2a2f624 Daedalus Linux will compile with DAEDALUS_LINUX define.
Daedalus.gyp will need to go to the OSX Proj file until I work out
gyp files =)
u


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1581 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-14 23:36:29 +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
55c30c0450 [!] Fix GL bug running System_Close then System_Open - the window was being closed too early
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1563 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:24:09 +00:00
Wally4000
da0c37aa58 Added defines & includes to get some compiling done on Linux
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1546 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-10 09:39:07 +00:00
salvy
0801ac4ed2 [!] Moved W32 audio thread back to main thread (was causing various issues, it would be nice to get it working though)
[!] Fixed issue in pixel shader that was affecting my video card (Thx StrmnNrmn)
[!] Copy n64.psh to build dir (W32)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1543 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-08 01:43:40 +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
5ff092324f [!] Reset the scissor at the start of each frame - fix flickering borders when resizing.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1540 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-07 11:47:22 +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
salvy
8a090654d7 [+] FPS counter for OSX/W32 (This uses the exact same code as the PSP)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1514 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-05 07:29: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
362a9f64b8 [!] Missing T
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1469 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 10:19:50 +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
09e34868f0 [~] More clean ups for W32 (We can always pulled out any deleted file from the SVN if needed)
[!] undef DAEDALUS_TRAP_PLUGIN_EXCEPTIONS for W32

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1467 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 04:34:06 +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
6e461cddaa [~] Opps forgot more things
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1445 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-26 22:20:18 +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
4332a0919d [*] Move the OSX GraphicsPlugin to SysGL. Also, shift it from the plugins directory to HLEGraphics (should do this for all the other impls too)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1439 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-25 23:22:55 +00:00
strmnnrmn
5d4d2e276c [*] Move the OSX NativeTexture to the SysGL folder
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1438 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-25 23:22:46 +00:00
strmnnrmn
34ef91631b [*] Move the OSX GraphicsContext to the SysGL folder
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1437 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-25 23:22:37 +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