zicodxx
|
7ae49da7cf
|
Execute set_dynamic_light 60 times per second max since more would just be a waste of CPU time; When executing set_dynamic_light, process ALL lights; Instead of storing light color in objects, do it on-thy-fly but store bitmap-based color in grs_bitmap - vastly speeds up colored dynamic lights; Improved saturation for vertex lighting to make light color a bit more subtile
|
2011-04-12 03:02:51 +02:00 |
|
zicodxx
|
c960d5505a
|
Added cv_fade_level to canvas structure to replace Gr_scanline_darkening_level; Added cv_blend_func to canvas structure to set blending; Introduced gr_settransblend to set cv_fade_level and cv_blend_func; Added function to set normal blending, additive alpha blending and additive color blending; Moved Special transparency effects from g3_draw_bitmap to render_object to set individual transparency and/or blending for each object outside of OpenGL-specific code; Added special blending for fuelcenter and force field effects as well; Removed unused LASER_HACK code; Renamed OglAlphaEffects variable of PalyerCfg to AlphaEffects as I plan to implement this kind of effects for Software renderer, too
|
2011-02-23 17:46:39 +01:00 |
|
zicodxx
|
39e956e2bc
|
Added different reticle types with RGBA and size settings; Apply RGBA and size to FlightSim Indicator and Guided Crosshair; Added Brightness Slider to Graphics options menu; Added OpenGL usage for gr_disk
|
2011-01-10 16:12:04 +01:00 |
|
zicodxx
|
5a8ff256ae
|
Added function to list valid resolutions and build resolutions menu dynamically with the resulting list
|
2010-06-24 09:29:11 +00:00 |
|
zicodxx
|
221076a3f5
|
Introducing gr_bitblt_find_transparent_area to dynamically detect boundaries of sub cancas used for CM_REAR_VIEW; On the way also allowing to create weapon box sub bitmaps from uncompressed cockpit bitmaps
|
2010-06-18 07:31:06 +00:00 |
|
kreatordxx
|
57c71476fc
|
Only list resolutions that can actually be used, using new gr_check_mode
|
2009-11-17 14:27:39 +00:00 |
|
kreatordxx
|
777f76aedf
|
Get Mac command keys working, MACINTOSH code cleanup, update Xcode project
|
2008-12-07 12:26:43 +00:00 |
|
zicodxx
|
8a2da79504
|
Always keep aspect scaling (lowest scalar of width and height) for fonts, lines, dots, spheres, reticle and non-Cockpit-/Statusbar-related HUD-elements; Moved the Cockpit alpha decoding to gauges.c and created a seperate bitmap for the alpha fields and create subbitmaps from this one - more memory but this way we do not modify the cockpit bitmap itself
|
2008-11-09 14:31:30 +00:00 |
|
zicodxx
|
820961c99a
|
Removed hack for Cockpit-window transparencies and added function to decode and add alpha to the bitmap directly (now works in non-OGL as well); Using sub-bitmaps for Cockpit-windows and menu backgrounds; Cleaned old bkg stuff from menu GUI
|
2008-10-28 13:28:10 +00:00 |
|
zicodxx
|
5d19c11124
|
Added function gr_set_attributes to change Options like Texture Filtering and SDL_GL attributes while runtime (if supported); Added 4x Multisample support
|
2008-04-22 08:29:29 +00:00 |
|
zicodxx
|
9bcea627d1
|
Made joy_flush also resetting button state; Improved glReticle; Implemented Fallback resolution if SDL may fail; Code cleanup
|
2008-04-19 19:11:32 +00:00 |
|
zicodxx
|
d2365d65f0
|
Simplification of palette code; Properly screen clearing in SDL-only build when palette changes; Removed obsolete functions like gr_update (replaced by gr_flip), gr_palette_fade_in/out, gr_palette_clear; Added functionality to render Automap while menu display as well; Improved blocking of some controls code while Automap active; Fixed some compiler warnings
|
2008-03-20 23:23:46 +00:00 |
|
zicodxx
|
f3d8d50a94
|
Reworked fonts routines - makes easier to expand and scale correctly; Reworked menus with better border scaling, improved rendering and cleanups; Improved font priniting ingame, better alignment; Reworked Netgame list; Real Doublebuffering in SDL-mode; Removed old and unused sources
|
2008-02-24 14:41:27 +00:00 |
|
md2211
|
a0b4cac982
|
* Removed executable flag on most files
* Reverted value of SOUND_MAX_VOLUME
|
2007-09-21 19:06:05 +00:00 |
|
zicodxx
|
2bc4cd32bb
|
Cleanup in Config- and PLX-code; Saving Resolution in Config file so it will apply directly at game-init; Removed seperated resolution mode for menus, SCREEN_MENU now always uses Game_screen_mode; Last FindArg cleanups; Removed MenuHires(Available) and FontHires(Available) and replaced with HiresGFX(Available) to make a more common way to determinate if Hires data is used or not (interactive Demo); Improved support for Interactive Demo
|
2007-07-26 23:57:29 +00:00 |
|
zicodxx
|
8e2aa8ea2a
|
Cleaned up more FindArg's - general Debug Options; Cleanups
|
2007-07-18 20:13:17 +00:00 |
|
zicodxx
|
29ef28bef3
|
Cleaned up more FindArg's - (most important) OpenGL Options
|
2007-07-15 21:22:07 +00:00 |
|
zicodxx
|
5bcb0e1ed5
|
introduced new bitmap flag to draw cockpit bitmap with transparency; draw transparent cockpit bitmap over gauges to make it more pixel-correct; code cleanups
|
2007-06-10 16:21:53 +00:00 |
|
kreatordxx
|
751cbe1a91
|
add gr_flip, allowing significant cleanup including the moving of gr_show_canvas, Pages and VR_screen_pages to arch/dos/gr.c
|
2007-03-21 11:32:33 +00:00 |
|
zicodxx
|
7c9f8bf7fe
|
set MENU_SCREEN_MODE at init to set movie according to -menu parameter and also prevent unnecessary screen changes
|
2007-02-09 12:38:21 +00:00 |
|
zicodxx
|
d4de0c28d3
|
write screenshots to subdirectory
|
2007-01-25 10:30:33 +00:00 |
|
zicodxx
|
18974b921a
|
re-enabled SDL_SetGammaRamp; removed FSAA because no function on all platforms; fixed offscreen render; better restriction to show menus ingame
|
2006-10-10 23:42:33 +00:00 |
|
zicodxx
|
69cba85987
|
since we removed Game_window_* definitions from game_init_render_buffers we define both in init_cockpit if 0; corrected FONTSCALE_* for SDL mode
|
2006-09-29 13:43:21 +00:00 |
|
zicodxx
|
a522685568
|
made fonts scalable, added command-line to enable fixed fonts, made savegame thumbs scalable, reworked menu borders, new way to display level info in automap to get right with scaled fonts. additionally layed out special characters to newmenu.h, showing savegame thumbnail in save game window as well
|
2006-08-18 09:47:07 +00:00 |
|
zicodxx
|
b94413b91b
|
initial import
|
2006-03-20 17:12:09 +00:00 |
|