Commit graph

43 commits

Author SHA1 Message Date
zicodxx 2d32bb7b3e Improvements for -gl_prshot; Improved show_netgame_info(); Removed obsolete multisave code 2007-10-31 00:49:45 +00:00
zicodxx 9577e61339 Small fixes; Code cleanup; Implemented PR-Screenshot feature 2007-10-18 14:44:02 +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 6391e10c83 If sdl_only=1 do not use Assembly code by default because of poor portability - switch asm=1 necessary now; Removed final remnants of glScissor 2007-08-28 00:01:25 +00:00
zicodxx 2434d100a8 FindArg cleanup - GL-Debug and SDL arguments 2007-07-23 18:13:49 +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 a2a6959d39 Cleaned up more FindArg's - Graphics Options 2007-07-15 15:23:45 +00:00
zicodxx b7f02568c0 fixed more compiler warnings 2007-06-11 15:54:09 +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 0de587cadf make sure gl functions are not called before OpenGL is initialised, when fullscreen switching 2007-05-23 11:34:53 +00:00
zicodxx d758d1bda6 update viewing values at Fullscreen Toggle; added Fullscreen Toggle to Menus and Demo Playback 2007-05-09 09:44:45 +00:00
kreatordxx 55bd12c349 remove final remains of VR_current_page and VR_use_paging, resolution variable cleanup - remove VGA_current_mode, VR_screen_mode, VR_render_buffer[0].cv_bitmap.bm_w/h and VR_render_width/height (Game_screen_mode is the actual resolution put in an int, not an index) 2007-04-05 13:23:44 +00:00
zicodxx b41a8a437a Use Doublebuffer in OGL for all parts of the game and properly redraw elements, fixed Profiler build 2007-03-22 11:32:22 +00:00
kreatordxx 21c844b377 remove final remnants of VR_current_page and VRF_USE_PAGING, also allowing -nodoublebuffer switch for all platforms. Fix single buffering for d2xgl 2007-03-21 12:35:35 +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 f9788e5b5f added transparency effects for some bitmaps like explosions, powerups, weapons, etc. - to enable with -gl_transparency 2007-01-29 23:31:20 +00:00
zicodxx d4de0c28d3 write screenshots to subdirectory 2007-01-25 10:30:33 +00:00
zicodxx a58dc03bab special WINDOWS fixes and cleanups, corrected automated UDP broadcast 2007-01-22 10:40:14 +00:00
zicodxx 8382861962 gr_upixelc now able to scale pixels to current resolution 2007-01-19 19:52:11 +00:00
kreatordxx 72a4f98889 allocate 'pixels' and 'texbuf' according to current screen resolution, saving over a hundred megabytes of memory 2006-12-29 09:50:21 +00:00
kreatordxx ae2621d33b use PhysicsFS to check for existing screenshots, previous method may have caused writing over of open screenshots (from D2X CVS) 2006-12-24 01:49:43 +00:00
zicodxx 3d3188473b GP2X handheld support; added SConstruct file (MAC support incomplete); code optimisations for software renderer; fixed memleaks 2006-12-19 02:25:50 +00:00
zicodxx 8cc35e82c7 command-line to set glScissor off if needed 2006-11-02 01:24:10 +00:00
zicodxx d350a6b244 make write_bmp use PhysFS 2006-10-19 09:38:07 +00:00
zicodxx fd2090c761 fixing OGL compile bug; fixing calculation of object light before and after restoring a saved game 2006-10-15 12:26:13 +00:00
zicodxx a38b0674b4 once again better restricion for glClear while screen change 2006-10-13 09:58:31 +00:00
zicodxx 5510ef2d44 switching SDL gammaramp off by default because uses too much CPU 2006-10-12 09:55:32 +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 9967ade7fb windows-related ogl code cleanups 2006-10-10 14:57:10 +00:00
zicodxx a1dcf39e3b if player is deleted also delete PLX file; removed date strings, not necessary; added Menu_special 2006-10-10 09:53:58 +00:00
zicodxx fd609ae169 introduced FSAA; fixed fullscreen toggle glitches; adjusted OGL_TEXTURE_LIST_SIZE and OGLTEXBUFSIZE; code cleanup; fixed memleak in game pause; restored font.c (oops) 2006-10-09 21:44:24 +00:00
zicodxx fb5445e09a print joystick dialog to stdout; print time with hud messages; fixing some graphical glitches; repaired brightness slider (oops); code cleanup 2006-10-08 23:19:46 +00:00
zicodxx f841d7a5a3 compiler related changes (thanks to Chris Taylor) 2006-10-02 14:36:19 +00:00
zicodxx a86ae94762 scalable HUD, improvements for HUD and cockpits, cleaner code, fixes to get SDL renderer working again 2006-09-29 00:57:57 +00:00
zicodxx 6bec053b4b 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:12:04 +00:00
zicodxx 1081f38953 added variable aspect function, changed cmd-help, changed ini file 2006-05-06 09:44:44 +00:00
zicodxx 7a26d08501 removed fullok hack for fullscreen changing, added set_screen_mode call to prevent black screen at fullscreen toggle in windows build 2006-04-14 20:28:44 +00:00
zicodxx 4664ea8bea added 16to10 support 2006-04-08 18:54:35 +00:00
zicodxx 2d1c7c02d7 added widescreen aspect with command-line option for SDL and OGL build 2006-04-03 21:16:40 +00:00
zicodxx 767ad29e19 set ogl_setgammaramp_ok to 0. no use of SDL_SetGammaRamp anymore, that would flash the whole screen 2006-03-28 12:04:16 +00:00
zicodxx b94413b91b initial import 2006-03-20 17:12:09 +00:00