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
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
strmnnrmn
39d5ad60d8
[!] Fix Conker's Dolby logo texture with accurate tmem emulation
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1365 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-23 00:13:23 +00:00
strmnnrmn
4b8fe4abfe
[~] Compile fix for when DAEDALUS_ACCURATE_TMEM isn't defined, and ConvertTile.cpp is included
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1364 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-23 00:13:16 +00:00
strmnnrmn
f48bf60849
[~] Wrap a long line
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1363 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-23 00:13:10 +00:00
strmnnrmn
0bc286c284
[~] Rename row_swizzle to odd_row in LoadBlock
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1362 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-23 00:13:04 +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
3d7b560cb3
[~] Better assert for 'Specifying negative width/height for tile descriptor'
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1357 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-21 22:16:57 +00:00
strmnnrmn
a7b569ac71
[!] Fix PrepareTexRectUVs - it was applying GU_CLAMP when uv0.{x,y} was already >0, but uv1.{x,y} was <0 or >size
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1356 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-21 22:16:51 +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
strmnnrmn
fd03012d0d
[!] Possible fix for loading savestates - mpCacheHashTable wasn't being cleared, so 'if( mpCacheHashTable[ixa] && mpCacheHashTable[ixa]->GetTextureInfo() == ti )' could dereference an uninitialised pointer.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1353 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 08:08:38 +00:00
salvy
6e122cb4bc
[~] Check for palette NULL is only needed when DAEDALUS_FAST_TMEM is defined
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1351 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 01:53:18 +00:00
strmnnrmn
50bbb7bb1c
[~] Fix a small texrect uv issue - if the uv1 x/y is outside of bounds, don't force clamping (all the offseting should be fine)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1350 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-20 01:00:19 +00:00