Paul Holden
067a594a9f
[~] Move ConfigOptions.{h,cpp} to Config/ and tidy header include order.
2013-06-04 22:02:31 +01: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
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
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
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
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
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
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
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
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
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
78dbaece5e
[~] Pass the displaylist depth through to DL_BEGIN_INSTR - use it to indent the output nicely
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1492 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-31 09:45:29 +00:00
strmnnrmn
be4b36f0b4
[~] Move FillColour and BlendColour to BaseRenderer. Going to use these in the dLDebugger
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1488 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 15:11:34 +00:00
strmnnrmn
f81780b098
[~] Tidy up DLParser_ProcessDList a little - the DL_ macros are no-ops when DAEDALUS_DEBUG_DISPLAYLIST is not set, so move a block of logic outside the ifdefs.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1487 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 15:11:26 +00:00
strmnnrmn
efc7427cd0
[~] Seems a bit lame to only check that the DList PC is in bounds when the Display list debugger is running. Just assert in the fetch function
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1486 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 15:11:20 +00:00
strmnnrmn
9d69fdce4c
[~] DLDebug - add separate functions to DLDebugOutput to track the beginning/end of each instruction. On the webdebug version we wrap each instruction in a named span so we can identify it easily. Also, I removed the PC arg from the regular DL dump because it was always given the same value (I think it should have been gDlistStack.address[gDlistStackPointer], but it's not particularly useful and clutters the dump output)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1485 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 15:11:13 +00:00
strmnnrmn
ea528cdbba
[~] Add a DLDebugOutput class. I'm going to override this so that the webdebug version can wrap individual instructions in HTML tags.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1484 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 15:11:03 +00:00
strmnnrmn
dec9abfd9d
[~] current_instruction_count was being incremented too early
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1483 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 15:10:52 +00:00
strmnnrmn
ab9603ebcc
[*] Refactor DisplayListDebugger code so that it doesn't rely on quite so much global state being maintained in DLParser. Keep the global state closer to there it's used. Tested the PSP build and the debugger seemed to still work ok to me - let me know if I broke anything
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1453 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-27 22:07:28 +00:00
strmnnrmn
3f49d459be
[~] Tidy up the way that display lists are dumped. Just pass the sink in directly when needed. The caller is responsible for deleting it, which is much simpler.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1431 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-25 22:39:42 +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
013408b467
[~] Apply the dsdy fix for dsdx - Wetrix sets a negative value as it starts up
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1377 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 12:51:19 +00:00
strmnnrmn
ccd4f66711
[~] Keep track of prim lod fraction
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1376 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 12:51:12 +00:00
strmnnrmn
a68933247f
[~] Add a couple of notes about texrect
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1373 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 12:50:47 +00:00
strmnnrmn
3e7e2e63ed
[~] Assert on d.x/d.y being negative elsewhere.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1371 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 12:50:33 +00:00
strmnnrmn
dfe90f3258
[~] Tidy SImageDescriptor bits
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1370 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 12:50:26 +00:00
Corn
f2d0f4cd0f
[!] Force Clamp for textures on texrects (and use a hack to disable it on Lamborghini)
...
[!] Fix off by one in UV mapping for texrects (california speed)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1354 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-21 19:20:09 +00:00
salvy
0dfba36356
[!] Conker's fix was good for banjo tooie too, just needed to be done earlier
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1297 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-15 00:24:24 +00:00
salvy
2b3a0edb63
[+] Added hack to remove fillrects that cover screen in banjo tooie
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1296 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-14 18:48:38 +00:00
strmnnrmn
a805284bb2
[*] Move LoadBlock/LoadTile/LoadTlut to RDPStateManager - code should be functionally identical
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1288 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:54:21 +00:00
strmnnrmn
c8171c4fe3
[~] For consistency, keep loadlut lrs/lrt etc in fixed point format
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1286 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:54:08 +00:00
strmnnrmn
429304b148
[~] Don't assert about tlut load texture size - a few roms don't set this correctly, and 16bpp is implicit
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1285 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:54:02 +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
ad60c4e0e3
[-] Nuke unused DLParser_DL_Process.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1256 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:50:24 +00:00
strmnnrmn
c5157ad905
[~] Add a GetAddress16bpp function to SImageDescriptor
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1246 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-10 19:01:04 +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
strmnnrmn
9ed2880959
[~] Fix assert when running without DAEDALUS_FAST_TMEM
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1244 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-10 19:00:44 +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
e571e5fca2
[!] Finally fixed SSV cut scenes and glitch when walking by the windshield of the ship \o/
...
[~] Reverted changes to rom write support, no need to over think it since it works fine as it is
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1210 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-09 07:43:45 +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