Commit graph

38 commits

Author SHA1 Message Date
salvy
fa52955863 [!] All libraries for W32 build are now statically linked
[!] Do not use fast call for W32, anyways R4300_CALL_TYPE ensures dynarec can use fast call
[!] Removed PSP project files from MSVC11 solution, please use devkitpro.bat or minpspw.bat for compiling the PSP build
[+] Now is much easier to compile W32 build, third party libraries can be built and linked in the same solution

NOTE: These changes are only for MSVC11 project, I'll update the other project files eventually
2013-08-19 08:28:31 +01:00
Paul Holden
49a06ed319 [~] Make header guards consistently use FULL_PATH_TO_FILE_H_, with script 2013-06-04 22:02:30 +01:00
Paul Holden
734944d829 [~] Drop the _MSC_VER check around #pragme once - all the compilers we use understand #pragma once (or happily ignore it) 2013-06-04 22:02:30 +01:00
salvy
5c42f7ec57 [~] Compile fixes
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1708 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-19 18:55:22 +00:00
strmnnrmn
43d924db7e [~] Remove the hacky pspgu.h files for W32/OSX/Linux and just define this stuff directly in SysGL/GL.h (slightly less hacky).
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1681 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-05-18 16:04:05 +00:00
strmnnrmn
a173d781bc [-] DAEDALUS_TRAP_PLUGIN_EXCEPTIONS is not used now, as we don't use external plugins.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1559 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-04-12 09:23:38 +00:00
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
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
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
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
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
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
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
salvy
60382156ab [!] Fixed W32 build, also debug build
[!] Added equivalent of __forceinline for GCC

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1084 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-23 16:30:39 +00:00
salvy
2a8dda033a [+] Enabled COMPRESSED_ROM_SUPPORT for W32 (zlib 1.2.7 is needed, should we bundle it?)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1050 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-21 18:49:47 +00:00
salvy
0091202937 [`] Fixed various typos from my previous commits
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1049 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-21 17:29:00 +00:00
salvy
6f304819d1 [!] x86 platform compiles now
[!] Fixed virtual alloc (x86)
[-] Removed debug COP2 code

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1040 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-20 20:39:26 +00:00
strmnnrmn
7eff3cfda0 [~] Restore SysOSX, SysW32 dirs
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@885 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-01-06 17:02:49 +00:00