Commit Graph

199 Commits

Author SHA1 Message Date
Chris Danford 7ca20486ef use sin lookup table to fix terrible performance with float and tipsy performance on some archs 2005-03-22 00:58:05 +00:00
Glenn Maynard cf99203db5 add m_bNeedsTextureMatrixScale
remove some stuff I didn't mean to commit yet
2005-02-01 02:47:30 +00:00
Glenn Maynard 57f5c487bc move some code out of the header 2005-01-31 22:58:12 +00:00
Glenn Maynard 1823bbcbcc remove old code 2005-01-28 07:55:06 +00:00
Glenn Maynard 61c2064f49 fix mixed tabbing 2005-01-28 07:31:41 +00:00
Glenn Maynard 65e5d35937 unneeded include 2005-01-20 17:18:51 +00:00
Glenn Maynard 9fc3addf45 cleanup 2005-01-20 01:42:05 +00:00
Glenn Maynard 9ebd1d19dd more renames 2005-01-20 01:35:49 +00:00
Glenn Maynard 24250824de At the cost of losing change history, I'm renaming a couple "SDL" filenames
that no longer have any connection to SDL; the names are just too confusing.
2005-01-20 01:26:15 +00:00
Glenn Maynard 10b175566b preserve aspect ratio in screenshots even if resolution is 640x480 2005-01-16 22:14:39 +00:00
Glenn Maynard bdc1b08695 pass DAR to the display; preserve aspect ratio in screenshots 2005-01-16 22:06:36 +00:00
Glenn Maynard 6f46898f69 make SetVideoMode not throw 2004-11-30 20:01:07 +00:00
Glenn Maynard 07f7827cec typo 2004-11-26 19:47:26 +00:00
Chris Danford 72bd480883 CENTER_* -> SCREEN_CENTER 2004-11-05 06:35:10 +00:00
Glenn Maynard 3d084e2a2c move stats formatting to RageDisplay, so renderers can add custom stats 2004-11-05 04:15:06 +00:00
Chris Danford 0a6acd94ae fix centering matrix + perspective projections 2004-10-24 22:59:10 +00:00
Glenn Maynard e483125b9f Make RageDisplay_OGL::GetOrthoMatrix the default implementation. 2004-10-23 17:42:00 +00:00
Chris Danford 03fbb915f3 remove VC6 scoping hacks 2004-09-21 07:53:39 +00:00
Chris Danford 807d892f4f allow theme to specify logical screen dimensions 2004-09-21 06:07:12 +00:00
Glenn Maynard 7573856a99 If the first TryVideoMode fails, log the error, since if one of the fallbacks
works, we'll never see the error.
2004-09-19 01:47:59 +00:00
Glenn Maynard 3dff054839 cleanup 2004-09-18 19:44:43 +00:00
Steve Checkoway 563ddf76e4 Simlify 2004-09-13 04:38:50 +00:00
Chris Danford 825c972bf5 make LogFPS a self-registering pref 2004-09-13 03:58:39 +00:00
Chris Danford 66246afeb7 add pref bLogFPS 2004-09-12 18:14:39 +00:00
Glenn Maynard 19f2cf7e3b zoomSurface -> RageSurfaceUtils::Zoom
Zoom() handles its own format limitations
2004-08-28 09:38:22 +00:00
Chris Danford 1d376f5795 add support for texture coordinate animation in AnimatedTexture 2004-08-09 00:46:42 +00:00
Glenn Maynard 7b196e492e fix warning 2004-07-14 21:08:59 +00:00
Glenn Maynard e91d77f6aa RageDisplay base no longer needs SDL 2004-06-14 22:27:16 +00:00
Glenn Maynard b481fc465b excessively large commit: use RageSurface 2004-06-14 00:51:00 +00:00
Glenn Maynard ac637a7ec8 resize lossy screenshots to 640x480 2004-05-24 21:47:49 +00:00
Glenn Maynard 2f8e09ce7d simplify OpenRWops 2004-05-18 19:25:53 +00:00
Glenn Maynard b57a39a88f unneeded header 2004-05-18 04:57:40 +00:00
Chris Danford e83bbc40da fix ActorFrame ZTest propogation 2004-05-15 18:35:03 +00:00
Glenn Maynard 33a04b79de beginning GPL->X11 license transition
The conventions I'm using are to put the entire copyright notice at the bottom
of each file, and to put the summary of the source file's use at the top of the
header.

Putting the license text in each file avoids confusion, and is normal practice
for many projects.  Putting it at the bottom gets it out of the way; it's a
ton of clutter to put at the top.

The description is in the header.  People who don't know what a class is for,
or how to use it, are probably looking at the header to see the interface,
not the implementation, so let's put the description in there.  Keep it brief
(one line); any substantial implementation notes should go in the source file.
2004-05-06 00:42:06 +00:00
Glenn Maynard 82595ecfe1 fix minor memleaks: a few bytes per screenshot, and a harmless "leak"
if IMG_LoadTyped_RW fails
2004-05-02 02:15:01 +00:00
Chris Danford 7de8269a67 pack all geometry for a Model into one set of vertex buffers 2004-04-16 05:09:02 +00:00
Chris Danford 3dc41e5d94 move rendundant renderer code to be shared by all 2004-04-15 05:24:28 +00:00
Glenn Maynard d9f0e5819b save lower quality jpeg to memcards 2004-03-23 22:35:30 +00:00
Glenn Maynard 4bbb6ae411 remove extra header 2004-02-13 20:17:59 +00:00
Chris Danford 646f67a3d2 allow save screenshot on eval screen with MenuLeft-MenuRight-Start 2004-02-12 09:44:16 +00:00
Matt Denham de0007b66c fix failure to compile (c'mon guys, remember your #includes :-) 2004-02-12 07:22:18 +00:00
Chris Danford 871a1a9c63 add JPEG screenshots 2004-02-12 06:49:13 +00:00
Chris Danford 3ca8601390 add front face culling 2004-02-04 11:05:33 +00:00
Chris Danford 4ca799bc96 rename "AntiAliasing" to "SmoothLines" 2003-12-20 21:29:55 +00:00
Glenn Maynard cac44ec303 don't use GL_UNSIGNED_SHORT_1_5_5_5_REV for movie textures
if it'll require an additional conversion
2003-11-29 17:56:09 +00:00
Glenn Maynard 2a33a95233 disable resolution forcing 2003-11-16 05:36:11 +00:00
Glenn Maynard b6296f0dbe fix warnings 2003-10-14 21:38:48 +00:00
Chris Danford c76e819d1d finish image centering code
add input test screen
2003-10-11 07:47:34 +00:00
Chris Danford 70446551a9 add half-finished screen centering code (necessary for arcade and Xbox) 2003-10-11 01:51:36 +00:00
Glenn Maynard f611e2461e namespace cleanup 2003-10-03 21:38:38 +00:00