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
salvy
f808f72cee
[~} More clean ups
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1491 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-31 04:52:43 +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
c8c9581251
[+] Add another DL_PF macro which doesn't automatically append newlines
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1482 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 15:10:45 +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
strmnnrmn
8154cf34e9
[~] Add accessors for prim/env/fog colours
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1478 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 10:20:56 +00:00
strmnnrmn
53891779bf
[~] Rename MAX_VERTICES to kMaxIndices. Rename m_swIndexBuffer to mIndexBuffer.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1477 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 10:20:49 +00:00
strmnnrmn
6776cc0d9e
[!] Fix a broken assert in AddTris
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1476 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 10:20:42 +00:00
strmnnrmn
ed1fdd8f5e
[~] Change some construction init to assignment init (functionally equivalent, but allows for a bit more whitespace around the variable name, which improves readability)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1475 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 10:20:36 +00:00
strmnnrmn
654f79cad9
[~] Rename MAX_VERTS to kMaxN64Vertices
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1474 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 10:20:29 +00:00
strmnnrmn
2b84834976
[~] Rename NUM_N64_TEXTURES to kNumBoundTextures
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1473 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 10:20:23 +00:00
strmnnrmn
7679300590
[+] dldebugger iteration. Serve a regular html file for most of the content - it's far to fiddly to build dynamically. Remove an unnecessary mutex - webby request handling is single threaded. Serve the mux
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1471 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 10:20:08 +00:00
salvy
e8839f51c1
[!] Fixed primdepth for W32/OSX (Thnx Corn)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1460 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-28 07:18:51 +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
salvy
1fbd688b34
[~] Fixed PSP build
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1447 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-27 20:50:58 +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
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
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
103b907219
[!] Fix memcpy_byteswap32 on OSX
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1425 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 22:43:33 +00:00
strmnnrmn
58749a3adc
[~] CopyLine*Mode variables can be locals (BTW nice speedup Salvy :)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1424 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 22:15:36 +00:00
strmnnrmn
ad0c693b6a
[~] memcpy_byteswap32 doesn't seem to work on OSX :(
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1423 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 22:15:30 +00:00
strmnnrmn
fbc324df31
[+] Parse query params for incoming requests.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1419 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 22:08:59 +00:00
strmnnrmn
368aeb4c12
[+] Add a DLDebugger page outline
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1403 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 22:07:01 +00:00
strmnnrmn
ec12122943
[+] Use bootstrap. Using a CDN. We'll serve this ourselves eventually
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1402 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 22:06:54 +00:00
salvy
9ab765a677
[!] Optimizations to accurate tmem
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1399 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 21:10:55 +00:00
strmnnrmn
273f31fe19
[~] Fix a bad merge
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1397 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 12:53:58 +00:00
strmnnrmn
5ccea9d6b0
[+] TextureCacheWebDebug first pass. Shows textures on http://localhost:8081/texture_cache
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1396 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 12:53:51 +00:00
strmnnrmn
654b6b3f44
[~] Add a mutex to prevent texture references being dropped when debugging (this no-ops in release builds). Needed for OSX which calls Snapshot on a thread, the game purges a texture, but as the debug code still has a reference, it ends up deleting it. OpenGL doesn't seem to like deleting textures on a different threads from where they were created.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1395 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 12:53:42 +00:00
strmnnrmn
a401996c41
[~] OSX can use GetPalette now. Also, make the texture arg to DumpTexture const
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1392 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 12:53:14 +00:00
strmnnrmn
01e95dc42e
[~] Ugh, fix bad unstash
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1388 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 12:52:46 +00:00
strmnnrmn
6dd19cd062
[+] Get Texel1 working on OSX
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1382 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 12:51:57 +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
strmnnrmn
5d744e459c
[+] Implement the tile shift_s/shift_t on OSX. Should be possible to get this working on PSP too, but it doesn't always make things look better without Texel1 too
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1380 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 12:51:40 +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
fe79a21f1a
[!] PrintMux wasn't quite accurate - there's different inputs for each side of the subtract, for instance.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1375 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 12:51:05 +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
4c21e5565a
[~] Improve the 'Expecting event Left' assert.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1372 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 12:50:40 +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
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