salvy
31518c6046
[!] Fixed text in bomberman the second attack (accurate tmem)
2013-06-19 00:08:59 -07:00
salvy
20ca36cb1a
[!] Fixed light in Majora's Mask
2013-06-13 00:41:30 -07:00
salvy
36a13d5616
[!} Many clean ups to accurate TMEM
2013-06-12 22:13:00 -07:00
Paul Holden
49a06ed319
[~] Make header guards consistently use FULL_PATH_TO_FILE_H_, with script
2013-06-04 22:02:30 +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
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
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
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
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
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
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
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
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
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
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
salvy
58216d067f
[~] gGeometryMode can be local (saves quiet bit of ops)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1501 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-01 04:00:16 +00:00
strmnnrmn
ca48a42999
[+] Rewrite DLDebug_DumpRDPOtherMode so that we can see the settings that were actually applied. Without this the code just dumps the entire othermode state every time a single setting is changed, which makes the debug output hard to follow
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1479 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 10:21:03 +00:00
salvy
c8ac6af830
[!] Fixes to to get OSX (GL rendering) to work under W32
...
Note: libpng15 is now needed to compile W32 build
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1442 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-26 16:18:21 +00:00
strmnnrmn
03b914f198
[~] Swith DL_PF so that it uses a DataSink - we'll be able to hook this up to the WebDebug code
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1428 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-25 22:39:17 +00:00
strmnnrmn
c643ce340d
[~] Fix some mixed LF/CRLF
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1381 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 12:51:49 +00:00
salvy
1d61dd19e6
[!] Need to set depth state in Draw2Texture (Fixes logo in Wipeout)
...
[-] Don't update shademodel ( I don't think this required, and was breaking tiger's honey hunt)
[!] Fixed crash in Wetrix
[!] Removed unused hacks
[~] Banjo K needs tlut hack for fast tmem (Fixes Nintendo logo)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1369 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-23 03:33:13 +00:00
strmnnrmn
759314e347
[!] Fix Cruisin USA - ModifyVertexInfo args were transposed
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1368 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-23 02:00:59 +00:00
strmnnrmn
bc97515b5a
[!] Fix DLParser_Sprite2DDraw
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1366 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-23 00:13:30 +00:00
salvy
1a8aa9b8e1
[!] Fixed bad assumption for sprite2D in Glover
...
[!] Accurate TMEM can be used on the PSP (Just define DAEDALUS_ACCURATE_TMEM)
[!] Use StrmnNrmn's PrepareTexRectUVs for PSP(No need for hacks and I don't think is too expensive at the end)
[~] Fixed a SP DMA bug in W32 (I still think we should use the PSP method, since it works fine)
[~] Set rounding mode in W32/OSX (NOP for PSP)
[+] Handle more regs in MTC0
[~] Some clean ups
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1358 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-22 06:55:04 +00:00
strmnnrmn
65928a7b4f
[~] Fix Draw2DTextureBlit on OSX. It's only needed on PSP and Draw2DTexture works fine for OSX. So move the logic for calling (w>=512) to RendererPSP::Draw2DTexture, and remove Draw2DTextureBlit from the BaseRenderer abstract interface.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1346 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 00:42:08 +00:00
strmnnrmn
b7486694f9
[~] Pass S2DEX/Sprite2D texture loads through the renderer so that it can keep track of what's loaded
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1344 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 00:41:51 +00:00
strmnnrmn
575bc9fd2e
[~] Rename GetTextureDescriptor to GetUpdatedTextureDescriptor, and remove mutable
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1320 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 00:39:04 +00:00
strmnnrmn
231b248979
[~] CTextureCache::GetOrCreateTexture can return a CNativeTexture now.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1314 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 00:38:17 +00:00
strmnnrmn
f0c89b1874
[~] Make CachedTexture::UpdateIfNecessary private. Always do this when returning from CTextureCache::GetOrCreateTexture (the mFrameLastUsed check in IsFresh ensure that this does nothing if called many times in a frame)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1311 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 00:37:50 +00:00
Corn
d0fc3b0364
[!] Outer rounding in ConvertN64ToScreen() is needed for proper scaling of textures and screen
...
[!] More fixes to DKR Dlist commands
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1301 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-17 18:13:30 +00:00
Corn
68b1060f33
[!] Improved matrix handling for DKR (skipping the need for some globals)
...
[!] Reduced the stack to a single matrix for project matrices
[!] Made some viewport stuff OSX only
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1300 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-16 21:37:39 +00:00
salvy
942fda9c4a
[!] Use a temp mat when multiplying matrices..We could overflow since we were using the next stack slot for storage which mMatStackSize aware, also gcc gives better asm using a local variable :)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1299 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-15 02:29:18 +00:00
salvy
42f2ab8f17
[!] Optimized sprite2D, it assumes base is always followed by flip and draw, and executes as many sprite2d ucodes as possible
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1298 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-15 02:03:57 +00:00
strmnnrmn
2b4774c449
[~] Fix a warning in Ucode_Sprite2D.h - Sprite2DInfo might not be initialised if the dlist is crazy.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1291 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:54:41 +00:00
strmnnrmn
9a1a238d55
[~] Whitespace
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1290 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:54:34 +00:00
strmnnrmn
6a11f5a4d4
[~] Rename gTextureMemory to gPaletteMemory
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1277 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:53:05 +00:00
strmnnrmn
a20512169b
[~] Fix an assert in DLParser_S2DEX_ObjLoadTxtr
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1276 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:52:58 +00:00
strmnnrmn
c82743aedb
[~] Rename CTextureCache::GetTexture to GetOrCreateTexture (more greppable). PAss a TextureInfo reference instead of a pointer
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1261 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:51:11 +00:00
salvy
ff44ce2c0e
[!] Some clean ups to deprecate poking the projection stack, and some other small clean ups
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1251 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-10 22:50:41 +00:00
strmnnrmn
058c7de6b5
[~] Rename CTexture to CachedTexture
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1249 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-10 19:01:41 +00:00
strmnnrmn
c14dcab870
[~] Rename gTextureMemory to gTlutLoadAddresses when DAEDALUS_FAST_TMEM is set
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1245 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-10 19:00:56 +00:00
salvy
8df469af4c
[~] Clean ups to previous commit
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1236 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-10 16:30:28 +00:00
salvy
88ba769ea0
[!] The projection mat stack is 1 matrix deep, so it cannot be popped/pushed.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1235 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-10 11:06:58 +00:00
strmnnrmn
3afdce3310
[~] Rename RDP_SetOtherMode to DLDebug_DumpRDPOtherMode, and make it use the passed arguments
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1211 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-09 13:59:13 +00:00
salvy
56be0ba2cc
[!] Some clean ups and commenting
...
[~] Removed offscreen check, only conker needs the format check
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1180 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-06 03:18:18 +00:00
strmnnrmn
1e9e443f79
[*] Get rid of the PSPRenderer singleton, and implement as a simple gRenderer pointer. This gets rid of the PSPRenderer typename everywhere, which will make the next step easier (adding an OSXRenderer, and making that and PSPRenderer derive from BaseRenderer. Also in this commit, fixed a bunch of mixed tabs/spaces and formatting.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1107 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-02 15:46:18 +00:00