Commit graph

21 commits

Author SHA1 Message Date
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
7617008b9b Extra <limits.h> include (somehow missed in last commit). 2008-09-26 19:48:30 +00:00
Scott Knauert
2b0153b7d6 OSD and OGLFT bug fixes. Primarily to allow for compiling with -Wall, some formatting. 2008-09-25 21:47:07 +00:00
Louai Al-Khanji
10709ef7c6 Fix up various things that broke in the merge. 2008-09-01 14:55:44 +00:00
Scott Knauert
be1044fdb1 Auria's GLtypes patch. No visual difference on my Linux box. 2008-08-27 06:47:15 +00:00
Richard Goedeken
7a61b7a8ff fixed build breakage introduced in r827/r832 2008-08-05 23:40:07 +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
1c328d24f8 Implement the remainder of Aruia's OGLFT portability patch. Most of this was made unnecessary by r682. 2008-07-28 03:58:40 +00:00
Richard Goedeken
65de6b5d79 fixed OSD crash bug after running a game, disabling OSD, then running another game 2008-06-26 20:01:33 +00:00
Richard Goedeken
a3de4b0436 re-commit for OGLFT measurement optimization. This time it compiles 2008-06-26 13:34:56 +00:00
Richard Goedeken
7d873409fa Reverted commit 682 which broke the build 2008-06-26 13:10:12 +00:00
Richard Goedeken
36b3878520 OGLFT measuring functions were taking a huge chunk of CPU time. Refactored code to measure only once and store the line size and the message sizes instead of re-measuring all the time. This eliminated nearly all of the OSD overhead on my PC 2008-06-26 05:07:57 +00:00
Richard Goedeken
40c6128d09 Refactored OGLFT to do color setting outside of glyph compiling, so the OSD fading doesnt force bitmaps to be continually recreated with calls to renderGlyph. Seems to have cut the excessive cpu usage of the OSD about by half 2008-06-26 04:31:51 +00:00
Richard Goedeken
8ccb157448 removed many unused classes from OGLFT font library code 2008-06-26 04:00:46 +00:00
Richard Goedeken
1774d589c5 issue #111: close screenshot file after saving 2008-06-15 12:38:54 +00:00
Richard Goedeken
88de0f7f80 bugfixes in OSD: no screenshots when OSD was disabled, adding new messages to OSD list even when OSD was disabled 2008-05-30 04:17:46 +00:00
Richard Goedeken
962a58f6ff A few OSD changes: disable OSD with option --noosd, replaced font with Bitstream Vera sans-serif font, used slightly smaller font size which is now also proportional to screen size. Tested with 640x480 and 1280x960 2008-05-28 03:53:32 +00:00
Richard Goedeken
85b700e9cb Moved osd.cpp from main/ into opengl/, moved screenshot code from main.c into opengl/screenshot.cpp, refactored screenshot mechanism to grab screenshots without the OSD overlay 2008-05-18 20:54:10 +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