Commit graph

82 commits

Author SHA1 Message Date
Richard Goedeken
e3e05ccadc bugfix issue #275 - disable rice video debugger; it is not necessary for users and causes a slowdown. patch from Sven Eckelmann 2009-10-02 03:07:32 +00:00
Richard Goedeken
f33a784a2e Removed some non-ascii characters, translated some messages from French to English. From sven.eckelmann@gmx.de 2009-09-30 14:10:11 +00:00
Richard Goedeken
6968a36359 bugfix issue #209: setjmp/longjmp fixes in the BMP writer and PNG reader in rice_video. Based on patch from sven.eckelmann@gmx.de but re-written 2009-09-29 05:15:25 +00:00
Richard Goedeken
b603d2b7bd Fixed compiler warning from recent switch to system libpng 2009-06-09 15:23:43 +00:00
Richard Goedeken
ac43813165 Removed the local source copies of libpng, libbz2, and libz and use system libraries instead 2009-06-08 21:23:20 +00:00
Richard Goedeken
27bcdace7b fixed minor makefile issues #234 and 236 2009-06-08 20:57:53 +00:00
Jesse Dean
0efbb276f0 Olejl's fix for issue 194 2009-01-18 08:59:02 +00:00
Louai Al-Khanji
2f1a8fca89 More build system updates. glN64 fails to link currently. 2008-12-06 13:19:31 +00:00
Richard Goedeken
9c7d75c30b reverted commits 1143, 1146, 1148, and 1149 for rice video GTK gui overhaul 2008-11-04 04:23:05 +00:00
Scott Knauert
0d6db48781 More minor OpenGL 16 / 32 bit tweaks. 32-bit doesn't work (as before). 2008-11-03 00:53:10 +00:00
Scott Knauert
53d0dbfeaa Fix for OpenGLDepthBufferSetting. 2008-11-02 23:46:48 +00:00
Scott Knauert
004ec59dd5 Fix minor problems with commit r1143. 2008-11-02 22:08:54 +00:00
Scott Knauert
df5ea4cd0d Rice video overhaul. Sorry for the large commit. This is a first attempt at pulling the spegetti of Rice apart so improvements can be made.
It now supports a NO_GUI build with no Gtk dependencies. While some may consider the GUI a bit uglier, the code is much cleaner (no depreciated widgets, no large lists of linked widgets) and smaller (~700 lines versus 2300) so making the aesthetics nicer should be much easier. There is also a simple GUI API to easy allow for a Qt4 GUI.

The API has been updated to use Mupen options for setting directories, etc.

There are some minor changes in how hi-res textures are handled. Basically hi-res textures are only loaded from disk once per run. This makes it easy to toggle texture replacement during runtime (like one might want to do while working on a pack). To update and change textures, the rom needs to be restarted and textures reloaded.

Some of the toggle SSE code has been changed. Eventually this should prevent calling SSE functions when SSE is unavailable or disabled.
2008-11-02 21:53:16 +00:00
Richard Goedeken
08d0a19e0d modified the version number handling in the makefiles. The fixes the problem of build failures from exported source trees and compiles in the version number given by VER= when release.mk is used 2008-10-18 16:36:44 +00:00
Richard Goedeken
0a1b86cf64 added ctype.h include for toupper()/tolower() functions 2008-09-29 20:04:18 +00:00
Richard Goedeken
210f946cae added newlines to the end of every source file which was missing one 2008-09-27 15:22:21 +00:00
Scott Knauert
a39df3aa94 Fix lack of newline breakage. Sorry about that, gcc 4.3 doesn't give those warnings even on -Wall. One -Wall fix, and remove hardcoded 1024 PATH_MAX to use limits.h. Also re-added rice hard gtk dependency. 2008-09-26 19:08:12 +00:00
Richard Goedeken
c48748f03e removed unneeded support.h file, cleaned up makefile, cleaned up Video.cpp changes from 1068/1069 2008-09-22 18:23:24 +00:00
Scott Knauert
277a34a4ef Fix Rice breakage, minor logic bug in when to do the wordswapping. 2008-09-22 18:16:24 +00:00
Scott Knauert
61d4912ab9 Start of Rice GUI cleanup. Removed lack of non assembly byteswapping function fallback causing issues on non-x86 platforms. 2008-09-22 05:44:55 +00:00
Richard Goedeken
5cb24dcbbb fixed ProcessVertexDataSSE link bug with NO_ASM build 2008-09-21 01:37:55 +00:00
Richard Goedeken
10cdede5c2 fixed clobbered list in MMX/SSE checking functions in rice video 2008-09-17 21:59:44 +00:00
Scott Knauert
9087f730fc Attempt to fix Rice icontheme issues with QT4 GUI. 2008-09-17 19:37:29 +00:00
Scott Knauert
1bd211aa06 First stab at themable Gtk icons for plugins. Extended plugin API with EXPORT void CALL SetInstallDir(char* installDir) based on the config dir work we had done. Modified core to send the install dir. Modified Rice to accept (since glide64 and rice share the same dialog system and we want to remove the windows icons from glide64), checks for a Gtk icon theme and hook into the theme change (does do transient dialog icon changes like the core, yet). Feel free to revert or offer other suggestions as to how best handle this. 2008-09-12 05:46:45 +00:00
Richard Goedeken
dc8c6e83ae new r4300 disassembler from ZZT32 2008-09-10 12:04:22 +00:00
Richard Goedeken
f1ac746360 removed unnecessary pragma in rice video which gave compiler error under OSX 2008-09-09 13:27:38 +00:00
Richard Goedeken
05cfc7371d fixed warnings in NO_ASM build, added missing implementation of byte-swapping functions in pure C 2008-09-09 00:32:13 +00:00
Scott Knauert
be1044fdb1 Auria's GLtypes patch. No visual difference on my Linux box. 2008-08-27 06:47:15 +00:00
Scott Knauert
fb8d8415d7 Replace -DSVN_* commandline flags with macros in main/version.h. Requires a few extra lines in plugin makefiles, but allows for much cleaner builds. 2008-08-21 02:45:34 +00:00
Scott Knauert
7b2b4f4223 Fix rice screenshot / OSD issue introduced by trying to standardize Zilmar spec headers. 2008-08-20 21:42:09 +00:00
Scott Knauert
bc2476ede2 Removed defunct and unlicensed VCR functions, and language files. FSF address fixes. 2008-08-19 04:28:04 +00:00
Scott Knauert
87ddd10e52 License fixes. 2008-08-18 23:07:55 +00:00
Scott Knauert
2440008f10 Real compile guards for PLUGIN_INFO struct in Zilmar plugin spec. Rice video license fixes. 2008-08-18 22:50:55 +00:00
Scott Knauert
2d3cca07c9 Minizip license clarified (zlib), other license fixes. 2008-08-15 00:35:59 +00:00
Richard Goedeken
18154514ac fixed a few more 64-bit build errors from r832 2008-08-05 23:54:02 +00:00
Scott Knauert
657d5c6a03 #include <SDL_opengl.h> portability changes. Glide64 makefile improvements. 2008-08-05 21:59:25 +00:00
Scott Knauert
b3f8add4fd Commited a number of build system improvements. Mostly focusing on getting NOGUI versions of plugins to not require Gtk libs and improvements related to the OSX porting effort. Tested not to break any of the GUI build options on 32-bit linux. 2008-08-04 06:12:29 +00:00
Scott Knauert
620f98bd77 Implemented parts of astrange's portability patch. Mainly header (some missed malloc, some superfluous #includes removed) and plugin makefile improvements to improve OSX portability. 2008-07-28 02:56:08 +00:00
Scott Knauert
8f8b089899 Add OSX malloc.patch to trunk as <malloc.h> is non standard and there is no reason not to #include <stdlib.h> instead. In the process did some minor janitorial work on Gtk GUI, cleaning up extra #includes no longer needed (mainly non-RCS rom cache), gui_messages of messagetype = 1 would never occur, and gcc found a bug in filefrompath(). 2008-07-26 10:04:08 +00:00
Richard Goedeken
f63b2926a6 bugfix: add checks for uint32 height/width parameters which can be negative, causing segfault on 64-bit systems 2008-07-19 14:43:25 +00:00
Richard Goedeken
44bb98d785 remove brackets around single conditional clauses (except romcache.*) 2008-07-01 03:33:05 +00:00
Richard Goedeken
15547b5f96 Updated rice_video, kde4 gui, and jttl_audio to take version numbers from main/version.h. 2008-06-14 21:53:20 +00:00
Richard Goedeken
c5228119f2 better fix for the bug which gcc 4.3.1 caught in rice_video/RDP_Texture.h 2008-06-13 01:41:23 +00:00
Scott Knauert
8fa77f05ac Fixed compiler warnings for gcc 4.3.1. 2008-06-13 01:30:03 +00:00
Richard Goedeken
12842f44b8 New feature: On Screen Display. Merged branch r0261-OSD-ebenblues up until rev 450 into trunk 2008-05-16 04:46:48 +00:00
Richard Goedeken
269a94cecc Cleaned up some weird code 2008-05-15 19:33:23 +00:00
Richard Goedeken
869cbf09b8 fixed a bunch of recent warnings from rice_video. I assume these came from re-activating the -O3 compiler switch. The one in RDP_Texture.h was actually a bad bug; I wonder if it affected any games 2008-04-23 04:32:03 +00:00
Richard Goedeken
578f272278 Reworked screenshot mechanism. Now screenshots are retrieved from video plugins with ReadScreen instead of CaptureScreen, and compressed/saved from main core instead of plugins. Fixed 64-bit bug in Glide64. 2008-04-23 03:59:09 +00:00
Scott Knauert
59f63818ac Okay, this should really fix the Rice regressions by
reverting to the older OGLRender.cpp. Assuming svn 
actually commits it to head. I don't know why my mere /
commit wasn't going through before.
2008-04-22 22:40:03 +00:00
Scott Knauert
c846968e24 The previous revert didn't work. 2008-04-22 16:35:56 +00:00