Commit graph

940 commits

Author SHA1 Message Date
salvy
9a0624ab37 [!} Fixed crash in 1080 with accurate tmem, also added bound checking in load block to be safe.
[!] Updated glfw to latest version 2.7.8
[!] Pull webly header from third party dir (I'll start pulling out all the headers from third party dir to make compiling PC build easier)
[+] Added german translation by Vedat
[-] Removed deprecated files from PC Data
[~] Disabled full screen toggle for PC (GLFW doesn't handle fullscreen toggle very well yet)
[!} n64.psh had inconsistent end lines
2013-06-03 10:59:55 -07: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
salvy
6ffaa473cf [!] Stack optimization for SWC1 (W32 dynarec)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1728 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-31 05:46:17 +00:00
salvy
4954df3879 [!} Fixed DK going through walls (Note: 64bit compares didn't impact performance on PSP, Note2: this has to be fixed on the PSP dynarec too)
[!] Fixed audio in DK64 and use our memcpy_byteswap (W32)
[~] Some small clean ups

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1725 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-30 07:32:59 +00:00
salvy
a7fb63f28f [!] Fixed memory leak in texture cache
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1724 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-29 06:55:41 +00:00
salvy
9c22fc361b [~] Opps typo
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1715 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-23 05:46:10 +00:00
salvy
99988d4f9d [+] Added advanced option to enable "Clear Depth FrameBuffer", needed for DK64 and Zelda's special effects (This can slow down games, make sure to only enable it if needed)(This enabled by default for PC)
[!] Optimized Clear Depth FrameBuffer (Corn)


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1714 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-23 05:44:40 +00:00
salvy
9fd514382b [~} Removed some code that wasn't meant to be committed
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1713 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-22 17:42:33 +00:00
salvy
f652ae99b4 [+] Added clear framebuffer (fixes jumpy camera in DK64, and sun and flames flare in zelda) Note: Is very expensive, so is only enabled for DK64. Might only enable it for PC eventually.
[!] Use integers as much as possible for fillrect

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1712 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-22 17:40:25 +00:00
salvy
9f40daf05f [!] Enabled R0 checks for W32/OSX/Linux, on the PSP is relatively expensive so is disabled
[+] Added clean scene for GL renderer, DK64 needs it (Glover still works fine)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1711 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-22 05:01:33 +00:00
strmnnrmn
b818b8a0a1 [~] Remove unused vars
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1707 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-19 09:23:18 +00:00
strmnnrmn
2445ed7289 [~] Fix y flip on Salvy'sn ew framebuffer support
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1706 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-19 09:23:11 +00:00
strmnnrmn
e20f9469c5 [~] stdafx cleanup: Move Endian.h to Utility/ and only include where needed
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1704 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-19 08:53:42 +00:00
strmnnrmn
ffcbe649b1 [~] stdafx cleanup: Include stdio.h and stdlib.h where needed
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1703 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-19 08:53:29 +00:00
strmnnrmn
16cb89183a [~] stdafx cleanup: Include string.h where needed
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1701 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-19 08:52:47 +00:00
strmnnrmn
5366827789 [~] stdafx cleanup: Start adding DaedalusTypes.h where needed.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1696 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-18 16:06:16 +00:00
strmnnrmn
5eec4748c9 [~] stdafx cleanup: Move DAEDALUS_USE to Utility/Macros.h
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1693 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-18 16:05:49 +00: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
b05c813379 [~] Huge filename cleanup. Use IO::Filename rather than char [MAX_PATH] or char [MAX_PATH+1]. Add an IO::Path::Assign. Use IO::Path::Assign/Combine rather than strcpy/strcat/snprintf. Remove MAX_PATH (everything should use the constant in IO.h if required, then we can make this platform specific)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1686 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-18 16:04:55 +00:00
strmnnrmn
7f9cad2892 [~] The struct packing headers shouldn't be needed. They only did anything on W32, and the struct are defined in a way that they're packed correctly anyway.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1682 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-18 16:04:11 +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
salvy
77a7230975 [~] Some clean ups to previous commit
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1676 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-14 20:23:49 +00:00
salvy
af19d1a3b3 [+] WIP: Implemented CPU framebuffer, used by demos, Donald Duck, Rayman 2 The Great Escape, and probably other games (currently W32/OSX only)
[-] Reverted small constant opt from previous commit, is not worth breaking when EPak isn't used

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1675 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-14 20:11:42 +00:00
salvy
7277157047 [!} Constant optimizations for CFragment::Execute (this is a very hot function!, saves 4 ops)
[~] Keep bitfields for texrect, since compiler generates much better asm when it converts int to float (~30 ops)
[!] Clean ups to gu oshle patches, also optimize when reading from stack since is always physical memory

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1674 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-11 06:37:21 +00:00
Corn
ff6d1fb666 [!] Simplified scissor test in TexRect
[!] Fixed some formating in Dlist debug

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1673 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-10 12:44:40 +00:00
strmnnrmn
36ff15fc82 [~] qwords is unused
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1665 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-06 18:19:53 +00:00
strmnnrmn
3a54224d9e [~] Ensure num_vertices is non-zero
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1663 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-06 18:19:38 +00:00
strmnnrmn
9821e04675 [~] Update DAEDALUS_ASSERT and other macros that are compiled out of release builds so that they 'consume' their arguments without generating any code. This removed the need for use() in a lot of places.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1655 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-27 16:37:17 +00:00
strmnnrmn
2124d090e0 [~] Fix OSX warnings
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1649 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-27 16:36:41 +00:00
strmnnrmn
17eaff6696 [~] FillChecker is unused
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1648 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-27 16:36:31 +00:00
salvy
593e7115f5 [~] Fixed assert, also removed misleading comment since issue was index buffer was too small which been fixed
[!] Use integers for TexRect_Last_Legion

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1614 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-26 07:44:52 +00:00
salvy
bfda2d99b0 [!] Fixed sky in glover and tearing in flying dragon (Note: Sky needs work, while is displayed correctly now, in unscaled mode goes offscreen)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1601 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-22 07:49:14 +00:00
Corn
c329fbd011 [!] reverted some unneeded conversions/bloat
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1600 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-19 20:25:01 +00:00
salvy
581072f5e2 [!] Fixed MSVC warnings
[!] Optimization for Sprite2D, only update the counter individually when next command doesn't match
[!] Fixed and optimized guNormalize_Rugrats (Still can't find any game that uses this errg)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1599 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-18 22:05:31 +00:00
salvy
8db83457a6 [!] Fixed Glover crashing in W32 build
[!] Fixed speed sync in Glover
[~] Removed DLParser_SetTImg_SOTE/DL, they are no longer needed

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1583 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-15 03:53:36 +00:00
strmnnrmn
6dee6e84c0 [-] Strip out a load of unused debug console cruft
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1566 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:24:36 +00:00
strmnnrmn
19114ebe39 [!] GetTextureDimension should look at clamp_s/clamp_t too
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1552 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 08:35:06 +00:00
Corn
292ef28e08 [!] Make TexRectFlip also use integers in DLparser
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1544 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-08 19:05:05 +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
Corn
69a757ffdb [!] do TexRect calculations in integer mode
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1542 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-07 18:43:22 +00:00
strmnnrmn
7d15afb0bf [~] Add some comments for othermode flags
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1534 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-07 11:29:26 +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
40370e86ee [~] Runtime toggle for emulating mirroring via the texture.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1532 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-07 11:29:12 +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
c8fca866b2 [~] Add a couple of comments to highlight fall-through in switch statements
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1526 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-07 11:28:23 +00:00
strmnnrmn
df8cb86d4d [~] Use stdint.h for all types.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1520 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-05 09:23:02 +00:00
strmnnrmn
76c721ebf8 [~] Increment current_instruction_count after checking instruction_limit - now what's displaying in the dldebugger is actually applied.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1517 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-05 09:17:26 +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