Commit graph

77 commits

Author SHA1 Message Date
Jon Ring
0498817d8f widescreen pillarbox support: displays in correct aspect ratio but still need to clip off polygons that spill out into the sides.
widescreen extend improvements: zelda A button on HUD (probably other elements positioned by glViewport as well) placed in the proper position.  Part of the button is cut off, probably need to look at the scissor commands and scale those as well.  Also need to make sure this hasn't caused any regressions.
config gui: reset the widescreen config items if a non-widescreen resolution is selected.
2009-02-27 03:38:48 +00:00
Scott Knauert
c2fdc84b69 Branch work only. Fixes part of the SSB HD Pack issues (209), but needs a lot of cleanup / further work. 2009-02-23 04:29:07 +00:00
Scott Knauert
fdaf54ef7b Minor code cleanup / commenting in the branch. 2009-02-21 22:12:11 +00:00
Jon Ring
ed454a80d2 Widescreen options in the gui
Sorry for long commit, editor decided to clean up some lines automatically.
2009-02-18 02:46:47 +00:00
Scott Knauert
b018bbb204 Fixed part of #190, a lot more hi-res textures now load in Rice. 2009-02-15 22:59:04 +00:00
Jon Ring
d53c7305b9 More work on widescreen support:
-greatly improved accuracy in positioning between regular geometry and ortho
-added logic to find only full-screen rectangles and selectively scale them to remain full-screen at a wide resolution (works great for some games, needs improvement in others)
-replaced WidescreenStretchHUD option with WidescreenStretchBG, to toggle stretching as above
2009-02-12 05:10:18 +00:00
Jon Ring
cc7e65b8ce Initial widescreen support for Rice video 2009-02-09 23:39:28 +00:00
Richard Goedeken
dc1c9aca8d merged GTK gui refactoring commits from trunk revs 1143, 1146, 1148, and 1149 into branch 2008-11-04 04:26:34 +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
Scott Knauert
f12b192d95 Reverting Rice to pre-widescreen support due to
Issues 69 and 72. No easy fix.
2008-04-22 16:23:09 +00:00
Richard Goedeken
6adfa80ecf reverted commits 262-267 in trunk 2008-04-22 11:59:50 +00:00
John Chadwick
d54963521e Needs more work, because it doesn't work, but this is the outline of status message support. 2008-04-22 05:58:11 +00:00
Richard Goedeken
5de3961515 Fixed warning in rice video OGLRender.cpp. Also do not compare floats for equality 2008-04-19 12:27:17 +00:00
Scott Knauert
310fb374f0 Revert r231 glViewport() commenting, needed when switching back from rendering to a texture,
i.e. most text stops working in Mario64.
2008-04-18 16:30:32 +00:00