Chris Taylor
|
8b757570d5
|
Update the canvas data pointers for all windows after changing the screen mode, so the main menu draws properly after leaving the editor
|
2012-03-24 14:43:08 +08:00 |
|
Chris Taylor
|
cd0213122c
|
Draw the editor menubar properly - by drawing in response to EVENT_WINDOW_DRAW and initialising the screen canvas properly. The latter fixes a lot of other editor drawing issues as well
|
2012-03-24 13:26:51 +08:00 |
|
zicodxx
|
fe2dd897f7
|
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:36 +01:00 |
|
zicodxx
|
6bc439a343
|
Simplified ogl version of gr.c in terms of SDL video flags and fullscreen toggle; Added command-line/INI option to remove borders from windowed program
|
2011-02-10 15:30:05 +01:00 |
|
zicodxx
|
aaae123e44
|
Added res-file to be linked in Windows build to show icon in Filemanager; converted icon file to be smaller
|
2010-08-21 17:08:53 +00:00 |
|
zicodxx
|
8e708af3cb
|
Bind WM-Icon to application
|
2010-08-21 06:51:13 +00:00 |
|
kreatordxx
|
5a66d422bd
|
Exit SDL_PollEvent early if window changes, to avoid menu problems when pressing keys fast; fix 'condition is always false' warning
|
2010-07-25 00:49:33 +00:00 |
|
zicodxx
|
509e5be5a7
|
Added function to list valid resolutions and build resolutions menu dynamically with the resulting list
|
2010-06-24 09:29:11 +00:00 |
|
zicodxx
|
2bcf54b77a
|
Added real Doublebuffering to SDL-build; While on the way, making Bpp selection available for SDL-build, too
|
2010-01-29 21:53:17 +00:00 |
|
kreatordxx
|
96d305e54c
|
Only list resolutions that can actually be used, using new gr_check_mode
|
2009-11-17 14:27:39 +00:00 |
|
kreatordxx
|
db27b1723d
|
Remove redundant conf.h directives
|
2009-04-30 13:01:31 +00:00 |
|
zicodxx
|
aee0198f2e
|
Using a clean flow for closing game data at the end of main() instead of using atexit; Now only use atexit for SDL stuff, error, mem, console (and editor which we do later); Small Cleanup
|
2008-11-14 16:56:40 +00:00 |
|
zicodxx
|
7e1141a881
|
Cleanup: Renderstats; Made PRShot a non-OpenGL-related feature and added to Misc Options; Added command for SDL_ASYNCBLIT to command-line args
|
2008-10-28 17:04:35 +00:00 |
|
zicodxx
|
69c66b9afb
|
Setting Fullscreen toggle setting the GameCfg value at each change, not only in change_res(); Do not allow the toggle while playing since ALT-GR+ENTER could be used as game-keys; Reorganized Resolutions menu to automatically calculate aspect ratio for preset resolutions and making custom fields exclusive
|
2008-10-19 12:53:30 +00:00 |
|
zicodxx
|
ec70ae0413
|
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
|
a40b362ced
|
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
|
a172315d4a
|
Implemented Console-style game logging system to print graphics, to stdout and gamelog.txt; Added structure to keep values for descent.cfg; Added aspect and Texture Filtering to descent.cfg; Removed mono code - printing important stuff over console; Removed some obsolete or very common defines; Code cleanup and small fixes
|
2008-04-06 20:23:28 +00:00 |
|
zicodxx
|
f014231a78
|
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
|
8eb5c965d2
|
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 |
|
zicodxx
|
d9e23370f9
|
Implemented PhysFS support; Implemended D2X memory functions; Code cleanups
|
2008-01-23 17:25:09 +00:00 |
|
zicodxx
|
18d7e3fb69
|
Updated docs; Removed GP2X support since I won't support this device anymore
|
2007-09-28 22:44:04 +00:00 |
|
md2211
|
d393f32eed
|
* Removed executable flag on most files
* Reverted value of SOUND_MAX_VOLUME
|
2007-09-21 19:06:05 +00:00 |
|
zicodxx
|
a01b75737c
|
FindArg cleanup - GL-Debug and SDL arguments
|
2007-07-23 18:13:49 +00:00 |
|
zicodxx
|
ca9e82fe80
|
Cleaned up more FindArg's - general Debug Options; Cleanups
|
2007-07-18 20:13:17 +00:00 |
|
zicodxx
|
c19d49d65d
|
Cleaned up more FindArg's - (most important) OpenGL Options
|
2007-07-15 21:22:07 +00:00 |
|
zicodxx
|
90e50806ba
|
Cleaned up more FindArg's - Graphics Options
|
2007-07-15 15:23:45 +00:00 |
|
zicodxx
|
ecf8a53e0c
|
update viewing values at Fullscreen Toggle; added Fullscreen Toggle to Menus and Demo Playback
|
2007-05-09 09:44:45 +00:00 |
|
zicodxx
|
9e1281d81e
|
add gr_flip, allowing significant cleanup; remove final remnants of VR_current_page, also allowing -nodoublebuffer switch for all platforms
|
2007-03-22 14:15:46 +00:00 |
|
zicodxx
|
3a2a5a0bd6
|
ARM CPU support with words alignment and GP2X handheld support
|
2006-11-22 05:35:10 +00:00 |
|
zicodxx
|
0b2b1dd4dc
|
if player is deleted also delete PLX file; removed D1X_DATE, not necessary; corrected Menu_special
|
2006-10-10 09:53:25 +00:00 |
|
zicodxx
|
ca9d4217ed
|
don't give GL extensions on release build, code cleanup
|
2006-10-08 23:18:07 +00:00 |
|
zicodxx
|
8778e9c012
|
some fixes for menus and automap; new aspect code; improved code to scale window for cockpits; introducing new variable in playsave.c to store game resolution and saving Game_window_h/h again properly - fixes bugs with screwed resolutions; making menus in game-resolution as default and re-activating old command-line arg '-menu<X>x<Y>' to scale menus
|
2006-08-30 18:11:16 +00:00 |
|
zicodxx
|
a15ae0ec08
|
added variable aspect function, changed cmd-help, changed ini file
|
2006-05-06 09:44:21 +00:00 |
|
zicodxx
|
47e2ce9c98
|
added 16to10 support
|
2006-04-08 18:54:15 +00:00 |
|
zicodxx
|
2656081efa
|
added widescreen aspect with command-line option for SDL and OGL build
|
2006-04-03 21:16:17 +00:00 |
|
zicodxx
|
cde0244a09
|
initial import
|
2006-03-20 16:43:15 +00:00 |
|