Commit graph

2771 commits

Author SHA1 Message Date
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
7890098f48 [-] Dummy pspctrl/psputils/pspdisplay are no longer needed
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1472 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 10:20:17 +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
strmnnrmn
36bda0d8ad [!] Fix connection saturation with Chrome. Fix broken return codes to webby - 0 means 'I have served ok, so don't generate a 404 please' - no idea how that wasn't breaking stuff. Tidy up mimetypes
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1470 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 10:19:57 +00:00
strmnnrmn
362a9f64b8 [!] Missing T
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1469 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 10:19:50 +00:00
strmnnrmn
ea7426382c [~] More GL blender tweaks
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1468 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 10:19:44 +00:00
salvy
09e34868f0 [~] More clean ups for W32 (We can always pulled out any deleted file from the SVN if needed)
[!] undef DAEDALUS_TRAP_PLUGIN_EXCEPTIONS for W32

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1467 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 04:34:06 +00:00
salvy
0d4cd17c8b [~] Fixes to W32 audio plugin
[+] Speedsync for W32

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1466 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-29 04:06:53 +00:00
salvy
7df842a1d4 [!] Removed hardcoded path to load roms(borrowed from OSX), now you can either load roms from console: cd <daedalus.exe location>, daedalus.exe romname, or from visual studio Project/Settings,Debug,Program arguments, type romname.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1465 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-28 17:26:49 +00:00
salvy
01401cc097 [~] Fixed OSX build
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1464 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-28 08:31:24 +00:00
salvy
ec968e68cb [-] Bye bye MainWindow, we are a console app now :)
Note: A huge clean up is required to deprecate completely MainWindow

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1463 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-28 08:26:16 +00:00
Wally4000
dbe38709a1 remove old savestate file (whoops!)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1462 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-28 07:51:54 +00:00
Wally4000
575283d67c Updated files for Case Sensitive OS's
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1461 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-28 07:51:03 +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
salvy
3e3f2f1148 [!] W32 can be built in release mode now, OSX should be buildable as well
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1459 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-28 06:58:06 +00:00
salvy
0e62310a61 [!] Fixed Howard's audio plugin in W32 build (Audio doesn't work too well, should be nice to share OSX impl)
[~] OSX/W32 were calling updatescreen twice per frame, also sp semaphore should always be zero
[-] removed alot of deprecated files from W32
[!] Enable accurate tmem for W32
[!] W32 will use OSX input implementation

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1458 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-28 06:33:48 +00:00
salvy
78d331be07 [!] Rendering works now perfectly on W32 :)
[!] Init GLEW early, otherwise calling ClearToBlack is initialized (W32)


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1457 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-28 00:02:01 +00:00
strmnnrmn
53f4879d15 [+] More OSX dldebugger iteration - scrubbing is a bit more robust now, and RDP tiles are shown
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1455 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-27 22:07:43 +00:00
strmnnrmn
6c0468789c [~] Fix a PSP warning
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1454 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-27 22:07:35 +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
69b4f1984b [*] Re-do the blender for OpenGL. Still needs lots of work. Actually need to handle the two cycles separately, but need to read the docs a bit more.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1452 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-27 22:07:20 +00:00
strmnnrmn
3837c425c8 [!] Fix a hang in SSB. We'd ignore some writes to COMPARE if the new value was less than the current value of COUNT. I think at the time I was just confused about the wrapping logic, but it's simple: just interpret the result as an unsigned integer
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1451 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-27 22:07:13 +00:00
strmnnrmn
99a44765fd [~] New InitBlendMode for OpenGL - still missing lots of cases.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1448 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-27 22:06:24 +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
6e461cddaa [~] Opps forgot more things
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1445 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-26 22:20:18 +00:00
salvy
7692e8e07c [!] Forgot to define DAEDALUS_GL for OSX
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1444 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-26 22:01:33 +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
3e68995cf9 [~] Move the PSP GraphicsPlugin to HLEGraphics. Delete the .h because it's empty.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1440 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-25 23:23:05 +00:00
strmnnrmn
4332a0919d [*] Move the OSX GraphicsPlugin to SysGL. Also, shift it from the plugins directory to HLEGraphics (should do this for all the other impls too)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1439 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-25 23:22:55 +00:00
strmnnrmn
5d4d2e276c [*] Move the OSX NativeTexture to the SysGL folder
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1438 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-25 23:22:46 +00:00
strmnnrmn
34ef91631b [*] Move the OSX GraphicsContext to the SysGL folder
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1437 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-25 23:22:37 +00:00
strmnnrmn
2689a81177 [*] Rename RendererOSX -> RendererGL, and move to a SysGL folder
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1436 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-25 22:48:54 +00:00
strmnnrmn
0be504e567 [+] More web dldebugger work - scrubbing works now
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1435 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-25 22:40:12 +00:00
strmnnrmn
7b379b058e [!] Merge a socket leak fix for webby.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1434 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-25 22:40:04 +00:00
strmnnrmn
69b3cf44c9 [~] Add a ParseU32 function that works on unterminated ranges
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1433 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-25 22:39:57 +00:00
strmnnrmn
7e9c84fe95 [~] Display lists can be dumped via the web interface now - http://localhost:8081/dldebugger?dump
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1432 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-25 22:39:50 +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
69a59d6ce3 [~] DLDebugger - make it possible to dispatch different tasks on the main thread.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1430 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-25 22:39:31 +00:00
strmnnrmn
abb45c45e5 [~] Expose Generate404 and Generate500
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1429 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-25 22:39:24 +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
e3ae6014af [~] Pass the fopen mode through FileSink::Open
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1427 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-25 22:39:09 +00:00
strmnnrmn
beb5741242 [~] Rearrange and remove a couple of lines
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1426 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 22:47:26 +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