Commit graph

114 commits

Author SHA1 Message Date
salvy
a3c7ecc40c [!] Fixed W32 path not being set correctly when loading directly from console
[-] Got rid of atl headers, now is easier to build Daedalus under VS express
[-] Some clean ups

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1545 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-09 22:02:35 +00:00
salvy
0801ac4ed2 [!] Moved W32 audio thread back to main thread (was causing various issues, it would be nice to get it working though)
[!] Fixed issue in pixel shader that was affecting my video card (Thx StrmnNrmn)
[!] Copy n64.psh to build dir (W32)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1543 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-08 01:43:40 +00:00
strmnnrmn
68e2f02f40 [~] Add a SysGL/GL.h - use this to ensure glew/glfw headers are included in a consistent order
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1541 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-07 12:01:59 +00:00
salvy
fb3e24048c [!] Fixed W32 Build
[!] Changed abit initiation of system, (my previous attempt was breaking the PSP build)
[~] Paper Mario still needs hack for mem opt
[~] GetState no need to return


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1524 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-05 19:35:17 +00:00
salvy
e94e90f83e [!] Create own thread and some misc fixes for audio -Audio is now pretty much perfect on W32 :)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1505 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-02 06:27:16 +00:00
salvy
d4a870681c [~] Move web files used by OSX/W32 dlist debugger to its own directory, so I can use xcopy to move them my build directory
[!] Enabled /OPT:REF for W32 (shrinks ~100kbs off the binary)
[~] Compile fixes to W32 debug build

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1503 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-01 23:13:17 +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
1c1d77bb0d [~] Misc fixed to audio plugin W32 when loading a second rom
[~] Commented out a change I didn't mean to commit, and corrected some warnings

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1498 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-31 16:12:42 +00:00
salvy
b74a4c97f2 [!] W32 audio should be updated after LenChanged
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1497 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-31 15:53:16 +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
5c59135109 [!] Fix Win32 FindFileOpen/Next so they don't return hidden files
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1490 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-30 16:22: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
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
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
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
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
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
strmnnrmn
701263063b [~] Rename CritSect to Mutex
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1394 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-24 12:53:35 +00:00
strmnnrmn
9b55ada0a7 [~] GetSystemMemoryUsage and GetVideoMemoryUsage are unused.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1266 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-12 20:51:50 +00:00
strmnnrmn
e4373ed185 [~] There's no need for AudioOutput.h to be shared
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1239 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-10 19:00:01 +00:00
strmnnrmn
6907cd199a [~] Rename AudioCode to AudioOutput. SysOSX had stuff in AudioHLE, should have been HLEAudio.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1237 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-10 18:59:34 +00:00
strmnnrmn
80b2be6c34 [+] Add a ToMilliseconds convenience function
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1232 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-09 14:02:15 +00:00
strmnnrmn
7ad92840cd [~] WaitForThreadTermination -> JoinThread, and tidy
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1227 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-09 14:01:31 +00:00
strmnnrmn
85ff566e35 [~] INVALID_THREAD_HANDLE -> kInvalidThreadHandle (I confuse with Win32 INVALID_HANDLE_VALUE)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1224 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-09 14:01:04 +00:00
strmnnrmn
87ab04454c [~] Move the texture setup code from FlushTris to RenderTriangles. That moves some of the last state changes in BaseRenderer to the platform impls. I deleted the GU_CULL_FACE code - we can just rely on the software culling in AddTri.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1215 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-09 13:59:49 +00:00
strmnnrmn
f18fa4001d [~] Replace RenderUsingCurrentBuildMode virtual with RenderTriangles. The triangle_mode/render_mode args don't need to be passed then, which simplifies the interfaces a bit. On OSX we can get rid of ERenderMode and just pass the matrix to use. On PSP we just pass GU_TRANSFORM_3D/2D as we did previously.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1201 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-06 21:08:32 +00:00
strmnnrmn
d099a4cb1b [~] Pass an enum to RenderUsingCurrentBlendMode to specify 2d/3d rendering. This lets us remove a bunch more dummy enum values on OSX
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1187 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-06 21:06:37 +00:00
strmnnrmn
8f1b1c5086 [~] Remove dummy sceGuDrawArray function
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1179 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-05 20:28:21 +00:00
strmnnrmn
c3d546a816 [~] Remove some more dummy enum values.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1177 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-05 20:28:04 +00:00
strmnnrmn
84dacdd842 [~] Simplify OSX TexRect/FillRect. Remove GU_SPRITES dummy enum value.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1176 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-05 20:27:54 +00:00
strmnnrmn
e57fc132c6 [~] Rewrite SetScissor for OSX. Remove sceGuScissor dummy function.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1166 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-05 20:26:26 +00:00
strmnnrmn
1aa6f9771a [~] Rewrite UpdateViewport for OSX. Remove sceGuViewport and sceGuOffset dummy functions
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1165 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-05 20:26:16 +00:00
strmnnrmn
2ac0f2c10b [~] Implement InitBlenderMode separately for OSX, which means we can move Blender.cpp to SysPSP, and remove a bunch more sceGu dummy functions.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1153 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-03 22:13:56 +00:00
strmnnrmn
fffa6b76a8 [~] Lots of GU_ state flags no longer needed.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1152 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-03 22:13:44 +00:00
strmnnrmn
729255a6c9 [~] Split some PSP/OSX functionality, remove sceGuShadeModel dummy function.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1151 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-03 22:13:35 +00:00
strmnnrmn
46e540cd66 [-] sceGuTexWeap dummy function is no longer needed.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1150 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-03 22:13:25 +00:00
strmnnrmn
77307c858e [-] some sceGuTex* dummy functions are no longer needed.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1148 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-03 22:13:08 +00:00
strmnnrmn
d18e76561b [-] sceGuDepth* dummy functions are no longer needed.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1147 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-03 22:12:59 +00:00
strmnnrmn
323739e7c9 [-] sceGuAlphaFunc dummy function is no longer needed.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1146 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-03 22:12:49 +00:00
strmnnrmn
49ad918e5f [-] sceGuTexFunc dummy function is no longer needed.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1145 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-03 22:12:40 +00:00
strmnnrmn
f4ea3d320b [~] Nuke dummy sceGuTexMode and sceGuTexImage - they're not needed any more
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1143 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-03 22:12:21 +00:00
strmnnrmn
ecd81b0c0d [~] OSX: sceGuGetMemory dummy function is no longer needed, so delete it
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1141 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-03 22:12:05 +00:00
strmnnrmn
5c51e80dea [~] Stub out some pspgu functions for OSX
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1097 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-24 11:10:30 +00:00
strmnnrmn
cf57a2b8d7 [~] Rename ClearWithColour to ClearColBufferAndDepth. Pass a c32 for consistency with ClearColBuffer, and remove the depth arg (always 0)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1092 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-24 11:09:49 +00:00
strmnnrmn
9ec164f1bb [~] Implement ViewportType on OSX. Make const.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1091 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-24 11:09:39 +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