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
strmnnrmn
0e288712fb
[~] Fix a bunch of warnings and remove some unnecessary casting
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1126 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-03 12:07:25 +00:00
strmnnrmn
cc4fa6e600
[~] Make RenderUsingCurrentBlendMode pure virtual and define in the PSP/OSX implementations. Move RenderUsingRenderSettings too. The OSX build can pretty much rewrite all of this code, which I'll do next.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1111 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-03 12:05:18 +00:00
strmnnrmn
9a77dad8a8
[*] Rename PSPRenderer to BaseRenderer. (PSPRenderer will return, but just with PSP specific bits in it)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1108 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-02 15:46:32 +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
strmnnrmn
7422eb6f6c
[*] Move PixelFormatPSP from SysPSP to common Graphics, rename to NativePixelFormat.h. Remove some of the namespaces to make use of native/n64 pixelformats more obvious when reading the code.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1106 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-02 14:34:51 +00:00
strmnnrmn
de11411cbc
[~] Tidy up GraphicsContext Clear functions - the overloading was a bit confusing so I renamed them. Clear(bool,bool) only ever took (true,true) as arguments, so just call it ClearToBlack and simplify the code a bit
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1089 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-24 11:09:22 +00:00
strmnnrmn
6b17ef92bc
[~] Move gFrameskipActive to DLParser.cpp
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1073 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-23 15:51:56 +00:00
strmnnrmn
5ecb4a0edb
[!] RDP_MoveMemViewport was trying to printf past the end of the scale and trans arrays (thanks clang\!)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1045 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-20 22:07:25 +00:00
salvy
dba8dfc796
[!] Fixed PSP debug build
...
[!] Fixed error in oshle that caused a branch assumption error
[!] Detect newer PSP revisions..ex E100 etc, also fixed a bad detection
[~] Some clean ups
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1029 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-18 23:07:58 +00:00
strmnnrmn
9269769d4a
[~] Remove a cyclic dependency between Microcode.cpp and DLParser.cpp
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1020 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-18 20:59:55 +00:00