Commit graph

24 commits

Author SHA1 Message Date
zicodxx 2860b159e9 Set default value for Game_screen_mode which is necessary if there's no config file yet; Made resolution switching more failsafe by not allowing resolutions below 320x200; Cleaned up briefings code (I hope so) 2007-08-08 12:38:13 +00:00
zicodxx 38cde9ec87 Placing FindArg calls to seperated function, putting variables to a struct - frist step, not finished, yet; Large code cleanup 2007-07-14 20:33:42 +00:00
zicodxx 950a373f43 fixing playerfile size detection, using gr_flip() with title screens 2007-06-29 19:56:37 +00:00
zicodxx 6049574cd2 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
zicodxx 3f3b13b893 introducing kconfig_sub_draw_table() making it possible to redraw configuration tables with OGL swapping and clearing; increased timer_delay for menus and briefings to save more CPU usage 2007-04-14 08:43:49 +00:00
zicodxx 6b84e27046 removed d_delay, now using timer_delay as wrapper for SDL_Delay 2007-03-25 21:00:14 +00:00
zicodxx 4505b3b376 fixed possible corrpution with nfiles cin cfile_init_hogfile; improved briefing delay usage 2007-03-25 09:14:40 +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 d33ccb0f01 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
zicodxx 9e995fdafc force show_fullscreen to software drawing if image is bigger than screen, showing Automap background in low resolutions via software, removed obsolete robot briefing fix in OGL, code cleanup 2007-02-06 19:23:33 +00:00
zicodxx db2c91597e read/save Hires fonts/briefings, demos, AddOn missions, screenshots from/to subdirectories 2007-01-25 09:56:05 +00:00
zicodxx ef95ad95b0 corrected demo-related font positions; merged ogl_ubitmapm_cs and ogl_ubitmapm_cf 2006-10-08 15:56:03 +00:00
zicodxx 2dd1153e28 better handling for hires briefings; fixing some memleaks; code cleanup 2006-10-07 21:43:55 +00:00
zicodxx d64c3d1023 change byte to sbyte 2006-10-06 14:41:31 +00:00
zicodxx 7df6125ebe removing unnecessary stuff from game_init_render_buffers; better resolution handling; making shareware version using registered save/restore features; storing resolution stuff in PLX file and making compability to other D1X versions; cleaning up the code a bit; implemented SHAREWARE build in SCons and some fixes for SHAREWARE build (Thanks to Hans de Goede) 2006-10-06 00:12:16 +00:00
zicodxx aa82be1f22 move order form showing to titles.c (d2x-cvs takeover) 2006-10-02 13:50:22 +00:00
zicodxx 3d3aed73d0 new code for ogl_offscreen_render, used it to reduce flickering in credits and spinning robots, improved way to regognize hires briefing images 2006-08-21 23:59:24 +00:00
zicodxx e78c94a13f made fonts scalable, added command-line to enable fixed fonts, added command-line to enable hires fonts, made savegame thumbs scalable, reworked menu borders, new way to display level info in automap to get right with scaled fonts. still need to rewrite credits code and make hud ready. will follow later. 2006-08-13 15:52:49 +00:00
zicodxx f4804fa6a1 added bool transp to ogl_filltexbuf and following functions to show bitmaps without transparent pixels if returning 0. fixes unwanted transparency in briefing images; removed gr_clear_canvas in titles.c which was used as workaround for this bug 2006-06-26 13:10:08 +00:00
zicodxx 6f31e433ff moved gr_clear_canvas from show_briefing_screens to do_briefing_screens to avoid white blending 2006-04-18 18:29:39 +00:00
zicodxx 20ee2c38cf undo of last patch - was no good 2006-04-18 18:07:23 +00:00
zicodxx 131660a20d added dimensions to draw_model_picture to save CPU usage 2006-04-18 17:51:06 +00:00
zicodxx 8468c7eeef fix to show white instead of black background for semi-transparent briefing bitmaps; code cleanup and reformatting 2006-03-27 15:23:53 +00:00
zicodxx cde0244a09 initial import 2006-03-20 16:43:15 +00:00