Commit Graph

265 Commits

Author SHA1 Message Date
zilmar 0d0923eab8 [Glide64] Make config _WIN32 only 2016-01-25 05:38:52 +11:00
zilmar 80cd85b9a9 [Glide64] Remove wxString usage from Glide64/rdp.cpp 2016-01-21 06:09:35 +11:00
zilmar 7a0c017571 [Glide64] Remove mutexProcessDList 2016-01-21 05:55:46 +11:00
zilmar 08c518d38c [Glide64] Convert wxUint32 to uint32_t 2016-01-21 05:33:48 +11:00
zilmar 0b41fa2e17 [Glide64] Revert some of the indentation in Glide64/Combine.cpp 2016-01-21 05:32:32 +11:00
zilmar 4c203ab042 [Glide64] Remove drawNoFullscreenMessage 2016-01-21 05:27:05 +11:00
zilmar 919a1f9c20 [Glide64] Revert some of the checks in TexCache.cpp 2016-01-21 05:22:45 +11:00
zilmar 9c0a897e57 [Glide64] Fix some of the run time checks 2016-01-21 04:39:18 +11:00
zilmar 2b9cdb12c3 [Glide64] rename fullscreen to GfxInitDone 2016-01-21 04:12:15 +11:00
zilmar 5a4ea8ad1f [Glide64] Code cleanup of ucode06.h 2016-01-20 21:01:42 +11:00
zilmar 6bf2738632 [Glide64] Code Cleanup of Glide64/rdp.cpp 2016-01-20 21:00:58 +11:00
zilmar ce870d82e5 [Glide64] Code Cleanup of TexCache.cpp 2016-01-20 21:00:15 +11:00
zilmar a2747bb9d1 [Glide64] Code cleanup of Glide64/Util.cpp 2016-01-20 20:59:35 +11:00
zilmar 26122a337d [Glide64[ Code clean up of TexBuffer.cpp 2016-01-20 20:43:44 +11:00
zilmar 8b220f06bc [Project64] Code cleanup of Glide64/Combine.cpp 2016-01-20 20:14:28 +11:00
zilmar 6f71a37da5 [Glide64] Add Gfx_1.3.h to the project 2016-01-20 19:40:01 +11:00
zilmar 5fffda4115 [Glide64] Cleanup Config.cpp 2016-01-20 19:39:07 +11:00
zilmar 6d74a71bd1 [Glide64] Cleanup Gfx_1.3.h 2016-01-20 19:37:38 +11:00
zilmar 28f0dd7388 [Glide64] Auto code cleanup Glide64/Main.cpp 2016-01-20 17:29:27 +11:00
zilmar 3a980f18d6 [Project64] rename wxUint16 to uint16_t 2016-01-20 17:26:07 +11:00
zilmar d1bcbde69a [Project64] Rename wxUint8 to uint8_t 2016-01-20 17:17:45 +11:00
zilmar dae0c8827c [Project64] Convert wxUint32 to uint32_t 2016-01-20 17:14:48 +11:00
zilmar 3406831a49 [Project64] Make sure Common is in uppercase 2016-01-20 17:09:05 +11:00
AmbientMalice cf80a16ac8 Disable texture filtering hotkey.
IMO, it causes too much trouble from accidental presses.
2016-01-17 22:32:53 +10:00
Julio C. Rocha 7b2421884e Adjusted minimum toolset versions to VS2010 for VCXPROJ and PROPS files. 2015-12-07 21:15:53 -08:00
no 757c7c35c6 [Glide64] fixed wrong include paths for case-sensitivity 2015-12-04 16:26:58 -05:00
zilmar e3b32c572d [Project64] Remove spaces from filename 2015-12-04 17:49:31 +11:00
unknown 23b900f475 [Glide64] Remove wxWidgets types from "winlnxdefs.h". 2015-11-24 10:37:22 -05:00
unknown 4b163136be [Glide64] Substitute `uint8_t' for `wxUint8' in "rdp.h". 2015-11-24 10:20:49 -05:00
unknown b509b99a67 [Glide64] Substitute `uint16_t' for `wxUint16' in "rdp.h". 2015-11-24 10:18:22 -05:00
unknown 51800102ab [Glide64] Substitute `uint32_t' for `wxUint32' in "rdp.h". 2015-11-24 10:16:26 -05:00
unknown 8354249a4b [Glide64] fixed DllMain conflict against <winbase.h> prototype 2015-10-27 23:11:31 -04:00
unknown 3f15e07562 [Glide64] fixed a pre-processor macro language collision 2015-10-27 22:26:28 -04:00
unknown 102a8f650b Do not rely on dynamic-width `long long` type; use int64_t. 2015-10-27 19:30:33 -04:00
unknown f0fcd058da Get rid of in-line assembly in idiv16().
This cannot work with MinGW -masm=intel, only -masm=att.
2015-10-27 19:28:55 -04:00
Julio C. Rocha 7f5ed2313c Makes Debug|x64 build cleanly. 2015-10-24 03:45:06 -07:00
unknown d27e6b119c Evade the SDL dependency for WIN32/WIN64 builds. 2015-10-22 17:01:48 -04:00
unknown 6d5ee9d562 Move the if-else copies of SDL_Delay() outside if-else. 2015-10-22 16:59:19 -04:00
zilmar 905a0ad2fe [Glide64] Change SetWindowLong to SetWindowLongPtr 2015-10-21 07:59:19 +11:00
zilmar 57cf720392 [Glide64] Sync texture code 2015-10-21 07:49:29 +11:00
zilmar 11ebb4e761 [Glide64] Disable asm in 64bit 2015-10-20 10:15:32 +11:00
zilmar 8ba4024ce7 [Glide64] Clean up project so it is building correctly in Visual Studio 2008 2015-10-19 13:54:16 +11:00
zilmar 5582d83eec [Wx Widget] wxWidgets-2.8.12 code now compiles, still need to fix up linking 2015-10-19 08:09:49 +11:00
zilmar a8c98ef392 [Solution] Upgrade glide projects for visual studio 2013 2015-10-15 08:49:37 +11:00
zilmar 8956349891 [Glide64] loadBlock uses matched c function 2015-10-14 15:55:28 +11:00
zilmar dd1c306d16 [Glide64] Remove asm from TextConv.h 2015-10-14 11:38:47 +11:00
zilmar 3d52a163cd [Glide64] remove unused old code
bccb190988
2015-10-14 11:30:47 +11:00
zilmar 81ab3fc877 [Glide64] Add winlnxdefs.h
e110f50489
2015-10-14 10:47:09 +11:00
zilmar ecb9363862 [Glide64] Add include math.h 2015-10-14 10:29:13 +11:00
zilmar b7d402aacf [Glide64] Subscreen delay fix for zelda OoT
f3b47bbe40
2015-10-14 10:06:50 +11:00
zilmar 989c8cbc4d use more widely used preprocessor defines for MinGW
The code still uses a lot of WIN32 preprocessor variables which aren't defined
in strict C++-11 mode. But the preprocessor variable _WIN32 seems to be defined
in all modes of MinGW

4d8c50a0db
2015-10-14 10:01:07 +11:00
zilmar 8bc33bc4d9 [Glide64] Reduce GCC specific code
21344deaee
2015-10-14 09:50:35 +11:00
zilmar bdc85ddbb7 [Glide64] Convert to c implementation for functions like mirror32bS 2015-10-13 16:44:16 +11:00
zilmar 48554d2ad0 [Glide64] Move the code out of texture.asm.cpp 2015-10-13 15:54:52 +11:00
zilmar d7a19c265f [Glide64] fixed compiler warnings
794226a274
2015-10-13 08:12:16 +11:00
zilmar 6e810ef559 [Glide64] Sync Glide64/DepthBufferRender.cpp 2015-10-12 10:13:19 +11:00
zilmar 5ff5ff0b12 [Glide64] Remove FixedPoint.asm.cpp 2015-10-12 07:21:56 +11:00
zilmar 5e06520cb5 from fixed warnings and errors in vs2012
56f2b7ef85
2015-10-12 07:17:01 +11:00
zilmar 3d002e831f Use generic _mm_loadu_ps instead of GCC specific __builtin_ia32_loadups
be0a027273
2015-10-12 07:08:12 +11:00
zilmar 32c64b3d54 [Glide64] Add C conversion of MiClWr16b assembler functions
577ab74dd8
2015-10-12 06:56:45 +11:00
zilmar 70532a6503 [Glide64] Change LoadNone function params to one line 2015-10-11 21:13:57 +11:00
zilmar bca97d42aa [Glide64] Remove unused variables
4fc96fee08
2015-10-11 21:12:32 +11:00
zilmar 7d43d10dd5 [Glide64] These buffers can overlap, so memmove() must be used instead of memcp…
48e20bc799 (diff-4a633600241920557d6c8b6d96dfb363R298)
2015-10-11 20:54:30 +11:00
zilmar 1dd25b2063 Rewrite MulMatricesC in a more auto-vectorizable way.
c5998a531b
2015-10-10 23:23:26 +11:00
zilmar f2d1097014 [glide64] sync changes to inc files
from:
3b8d826964
4d8c50a0db
2015-10-10 22:15:57 +11:00
zilmar d0f45f17ab [glide64] remove 3dmathSIMD.asm.cpp (from Merge Glide64 changes from the previous attempt)
e110f50489
2015-10-09 16:18:09 +11:00
zilmar 1203155d37 [Glide64] Remove unused config/Internalization 2015-10-09 16:16:38 +11:00
zilmar 7561a65624 [Glide64] Remove space from filename to avoid confusion of build tools
a1b0c70492
2015-10-09 14:36:48 +11:00
zilmar 549e2f78fb [Glide64] Other cleanups like changing __WINDOWS__ to WIN32 2015-10-09 14:36:30 +11:00
zilmar 2ff97a3367 [Glide64] Clean up glitch so it compiles with the files removed 2015-10-09 14:36:08 +11:00
zilmar 08f155a2b3 [Glide64] Remove usage of glide64 flags 2015-10-09 14:34:09 +11:00
zilmar e2de2a5f12 [Glide64] Remove unused third party include files
652449370b
2015-10-09 14:33:40 +11:00
zilmar 92ca976663 [Glide64] Remove flag images
2ac49117f1
2015-10-09 14:33:29 +11:00
zilmar 9d35f6cf23 [Glide64] Remove the broken build-scripts/workspaces
58d74825f4
2015-10-09 14:33:16 +11:00
zilmar 93e529cc89 [Glide64] Remove help documentation out of source dir 2015-10-09 14:33:04 +11:00
AmbientMalice c43ff2a0f1 Disable software depth buffer globally. 2015-10-02 16:25:18 +08:00
zilmar e952f9c32b Merge pull request #503 from cxd4/hhhhhhhhhhhhhhhhhhh
[PJGlide64] TransformVector C is better than TransformVectorSSE.
2015-09-30 11:00:04 +10:00
Julio C. Rocha e178ec96fc Merge ..\zilmar into PropertySheetsTemp 2015-09-23 20:06:48 -07:00
zilmar b4d58cfb17 Set VERSION_BUILD to 9999 2015-09-13 17:28:02 +10:00
Julio C. Rocha 02e6cf2697 Added PropertySheets folder to project. 2015-07-15 04:47:41 -07:00
Julio C. Rocha d617d0352a Used centralized config for VCXPROJ files.
TODO: Fix Installer. It's no longer being generated.
2015-07-15 03:37:49 -07:00
AmbientMalice c73a5fef2d Copy V8 combiner from GLideN64 to Glide64.
This isn't hugely useful, since Vigilante 8 is a complete mess on Glide64, but this fixes one graphics issue.
2015-07-15 09:32:05 +10:00
zilmar debcb502a0 Merge pull request #506 from cxd4/kkkkkkkkkkkk
Convince JunielKatarn to stop making crappy reports.
2015-06-19 16:01:02 +10:00
unknown 08771484d5 No need to go through C language barriers since inline asm is gone. 2015-06-18 23:23:12 -04:00
unknown 9631ed66ed [PJGlide64] imul16: no need for inline asm here 2015-06-18 21:45:57 -04:00
unknown 6e675e4c28 [PJGlide64] TransformVector C is better than TransformVectorSSE. 2015-06-18 20:29:15 -04:00
unknown 16e86a2193 [PJGlide64] imul14: no need for inline asm here 2015-06-18 20:23:06 -04:00
zilmar bc78316504 Clean up some of the 64bit projects 2015-05-22 06:07:24 +10:00
Julio C. Rocha 33023bc81f Make PropertySheets imports non-conditional
Interpolated Platform and Configuration values to avoid case-by-case
condition validation.
(This could allow for future configurations and platforms without
additional modifications to VCXPROJ files).
2015-04-15 16:16:37 -07:00
zilmar 6bd7f7ccab [Glide64] 2.0.0.5 2015-03-29 18:56:18 +11:00
zilmar 3a9c552450 Merge pull request #305 from cxd4/wow_such_depth_very_buffer_much_frame_professor_zilmar_will_cry
standardize exception-prone x86 behavior to normal C division
2015-03-24 15:10:47 +11:00
unknown aede9e2eaf use functions to free cache space & smaller DLL (finished) 2015-03-23 19:38:32 -04:00
unknown 5387b9354d use functions to free cache space & smaller DLL (Data_DWORD_Game) 2015-03-23 18:53:53 -04:00
unknown 2e1dab501c use functions to free cache space & smaller DLL (Data_DWORD_General) 2015-03-23 18:43:41 -04:00
unknown f48cbd1756 express `stipple_pattern` as 32-bit hex storage rather than decimal 2015-03-23 16:19:00 -04:00
unknown f6966f5e95 no moar lulz :( 2015-03-23 16:11:50 -04:00
AmbientMalice 34d21f2a26 Enable FB and Soft Depth for Glide64.
After some testing, I've concluded that software depth is better on by default than off. Testing every single game would be too time consuming, and the problems it fixes can be obscure. Enabling FB by default just seems like good sense. A few games need it disabled, but I'll fix them case-by-case.
2015-03-23 20:47:52 +10:00
unknown f82699c378 standardize exception-prone x86 behavior to normal C division 2015-03-23 01:20:23 -04:00
unknown 822de92789 line break consistency fix: ucode06.h 2015-03-11 17:17:16 -04:00
unknown 63c4ad0182 line break consistency fix: ucode00.h 2015-03-11 17:16:40 -04:00
unknown 56dfb581ed line break consistency fix: rdp.h 2015-03-11 17:16:16 -04:00
unknown 42de60ca44 line break consistency fix: Util.cpp 2015-03-11 17:15:42 -04:00
unknown 3bf2ac641b line break consistency fix: FixedPoint.asm.cpp (MORE POINTLESS ASM!) 2015-03-11 17:14:21 -04:00
unknown dbf981697e line break consistency fix: Debugger.cpp 2015-03-11 17:13:15 -04:00
unknown 24d86ab329 line break consistency fix: 3dmathSIMD.asm.cpp (btw inline asm SUCKS) 2015-03-11 17:12:49 -04:00
zilmar 080f7dfc17 Update version Number:
Glide64: 2.0.0.4
Project64: 2.2.0.2
RSP: 1.7.0.12
Nrage: 1.7.0.12
2015-03-10 18:36:58 +11:00
unknown 151ddf288d guess Glide64 in VS2013 linker needed fix in Release, not just Debug
warning MSB8030: The linker switch "Minimum Required Version" requires "SubSystem" to be set.  Without "SubSystem", the "Minimum Required Version" would not be passed to linker and could prevent to the output binary from running on older Operating Systems.
2015-03-07 17:28:46 -05:00
unknown b5604955d2 move OpenGL error flag state debugging from Glide64 to Glitch64
Do not call glGetError within Glide64::UpdateScreen to check for GL errors generated from Glitch64 functions, as Glitch64 does all the OpenGL handling (even if it is statically linked) and contains code that could be called from a different thread than gfx spec function `UpdateScreen`.
2015-03-07 17:26:02 -05:00
unknown f0d8810cc9 fix VS2013 linker warning about setting subsystem ver w/o a platform 2015-03-07 15:53:26 -05:00
unknown a80fe0674f should be able to debug OpenGL failures #ifndef _DEBUG now 2015-03-07 15:51:02 -05:00
Frank-74 30039150ec Fix Glide About/Config crash and memory leaks
No more memory leaks, and no more crashing.
2015-03-06 09:25:37 +00:00
Frank-74 23833f2b82 Glide Config/About dialog memory leak fix?
I'm still getting this one.  Haven't a clue about it.
>Order, Source File, Line Number, Mem Size
4332,Unknown, 0, 64
2015-03-04 10:51:00 +00:00
zilmar f5b58e17a1 Merge pull request #186 from cxd4/so_i_herd_u_liek_OpenGL
Include more debugging in PJGlide64 for the OpenGL side of it.
2015-03-03 08:03:40 +11:00
unknown cd2f90f35f forgot to hit Ctrl+S to save latter half of the previous commit 2015-03-02 15:58:08 -05:00
unknown a015fdc089 fixed legacy function input names if not compiling on Windows 2015-03-02 15:48:35 -05:00
unknown fc16d51525 Propose to always check for GL errors before each vertical interrupt. 2015-03-02 15:25:00 -05:00
unknown c2d08d61dc new function for debugging OpenGL state machine faults in Glitch64 2015-03-02 15:23:26 -05:00
unknown e97389560b now able to parse ROM header's game title as ASCII data again 2015-03-01 22:57:14 -05:00
unknown 0ab6c15f05 Load null bytes as whitespace.
A few lines down in this file, there is a while() loop that removes all trailing spaces to replace them with null bytes, so "SUPER MARIO 64      " becomes "SUPER MARIO 64", whether or not we converted null bytes to spaces.  Also, the null byte is not documented to be a valid character for game developers to use in their ROM headers, even though for a few ROMs this is being done anyway.
2015-03-01 22:55:27 -05:00
unknown 16117e0e4c Load non-printable or non-ASCII characters as '?'. 2015-03-01 22:52:51 -05:00
Frank-74 b4535ccaf8 Glide64 RomOpen, use UTF8 for RomName string
Reverted 8e912cb , and changed wxString::FromAscii(name) to wxString::FromUTF8(name)
2015-02-27 20:09:28 +00:00
zilmar 8e912cb229 fix assert on converting internal name from ANSI to wchar 2015-02-27 10:09:30 +11:00
zilmar e51ec31e65 Update versions
Project64: 2.2.0.1
Glide64: 2.0.0.3
RSP: 1.7.0.11
Nrage: 2.4.0.1
RDB: 2.2.2
2015-02-22 19:43:15 +11:00
Emmet Young 783f2d0668 Slight mistake in Version.h for DLL's, was setting VFT_APP instead of VFT_DLL 2015-02-22 00:45:00 +11:00
zilmar 662e3efa27 Update project settings for visual studio 2013 2015-02-20 20:09:05 +11:00
zilmar 436888dd6b Update version numbers and create a package zip 2015-02-19 19:03:33 +11:00
zilmar 5a288052b8 fix version string include 2015-02-18 07:47:41 +11:00
Emmet Young 4a8986d416 Hopefully add correct files for Visual Studio 2008 2015-02-17 21:07:15 +11:00
Emmet Young d38de99bfa Make glide64's version info reference from version.h 2015-02-17 20:56:34 +11:00
unknown d0c7798e08 removed unnecessary MFC dependencies from RCs 2015-02-13 12:09:02 -05:00
unknown c09e04e7fa (Glide64) ammend previous fixes to treat undefined cases as errors 2015-02-04 15:44:56 -05:00
unknown db259a3717 (Glide64) forgot to enable also a separate ERROR logging macro 2015-02-04 15:28:26 -05:00
unknown 61fd3b74b1 (Glide64) #define RDP_LOGGING when compiling in Debug mode 2015-02-04 14:03:27 -05:00
zilmar b10487ee07 Merge branch 'master' of https://github.com/project64/project64 2015-02-02 17:12:09 +11:00
unknown 59eadfe83a (Glide64) guess doing 2*(wxUint16) produces a signed type in C++ rules?
This fixes an implicit signed/unsigned conversion warning.
2015-02-01 13:10:27 -05:00
unknown 3d66a3540d (Glide64) None of the TexLoad.h::LoadNone parameters were ever used. 2015-02-01 12:54:28 -05:00
unknown 9a1aef0fd6 sorry, don't work well with hunger 2015-02-01 12:53:32 -05:00
unknown 7e20dd8d0c (Glide64) fixed tmu initialization warning by staticizing TMU elements 2015-02-01 12:47:09 -05:00
unknown fd60328549 (Glide64) fixed remaining unused function parameter name warnings 2015-02-01 12:42:34 -05:00
unknown b372464eb0 (Glide64) fixed remaining ucode variable/ptr initialization warnings 2015-02-01 12:35:55 -05:00
unknown edef61831e (Glide64) fixed RDP command buffer halfword implicit sign warnings 2015-02-01 12:23:11 -05:00
unknown b6d7e6fdae (Glide64) now debugging possibly uninitialized combiner mode 2015-02-01 11:22:02 -05:00
unknown a6effdee02 (Glide64) Debug invalid switch cases to fix initialization warnings. 2015-02-01 11:09:05 -05:00
unknown ce939718d8 (Glide64) mudlord forgot to remove the now unused GL proc name strings. 2015-02-01 10:47:29 -05:00
zilmar 9eceed0fef #pull request 42 2015-02-01 06:27:27 +11:00
Nicholas 862eb7c48b Add support for Visual Studio 2013 2015-01-27 16:07:44 +11:00
zilmar 5998612f20 Glide64: 2.0.0.1 2013-04-28 16:23:36 +10:00
zilmar 462d86b04f Glide64: 2.0.0.1 2013-04-28 16:07:27 +10:00
zilmar 6ca28ebe82 Glide64: Be able to get texture directory form emulator 2013-04-28 15:49:14 +10:00
mudlord ba4610be61 fixed unitialized glide functions.
- rigged up color combiners
- rigged up texture buffer (hwfbe)
- rigged up wrapper settings
2013-04-27 19:17:15 +10:00