Commit graph

33 commits

Author SHA1 Message Date
kreatordxx bf512bb9ec Remove redundant conf.h directives 2009-04-30 13:01:31 +00:00
zicodxx 490726b4ac 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 ec7f8b68de Extended Jukebox capabilities for looping and continous playing and added jukebox_free() which allows calling jukebox_load() being able to load a new directory; Added Jukebox options to sound options menu; Removed loop hack for Windows MIDI playback; SDL_mixer implementation can now be used for Windows build as well 2008-05-01 21:40:34 +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 44bbb66101 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 b4bbed6ed8 Do not actually blit movie frame if palette has been changed 2008-03-25 13:12:27 +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 07245a0bc2 Enabled SDL_mixer sound backend for D2 movie playback. Works with SDL_mixer 1.2.8. 2007-10-11 13:23:00 +00:00
zicodxx f83dc0adb8 Moved -nomovies to System Options 2007-10-01 20:42:35 +00:00
zicodxx 19beaa08cd 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 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 a2a6959d39 Cleaned up more FindArg's - Graphics Options 2007-07-15 15:23:45 +00:00
zicodxx 8217e50e0c Cleaned up more FindArg's - Sound Options 2007-07-14 22:36:04 +00:00
kreatordxx 5c7f38f8e2 add add_to_end parameter to cfile_init, allowing custom MIDI music to be found in an add-on hog 2007-05-27 02:24:00 +00:00
zicodxx 5741e093c4 if movielib isn't found in requested resolution, do NOT select other version, since the game is unable to determinate to switch correctly - instead skip playback in that case 2007-05-11 09:23:47 +00:00
zicodxx d38a3d1362 improved HAM support with enhanced-flag detection and fixed Extra-Movie init in load_mission(); close Extra-Movies according to movielib_files 2007-03-31 20:21:32 +00:00
zicodxx 0656621186 do not close movies for now to prevent leaks (PhysFS should do that); fixed crash with malformed N_players if Netgame start is forced in DEBUG; improved briefing screen loading and delay; made wall warning-message not show up in NDEBUG (non-critical) 2007-03-25 09:18:22 +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
zicodxx f9512e917c since Movies are initiated once in runtime, indroduced SCREEN_MOVIE to set desired movie resolutions seperatly from menu or game resolution 2007-02-08 15:36:56 +00:00
zicodxx bfee9d219c close EXTRA_ROBOT_LIB correctly 2007-02-07 00:42:43 +00:00
zicodxx 8ef450e17c removed mipmap for movies - makes not a real sense or effect 2007-01-13 14:14:56 +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 999780ff58 moved some FindArgs to main() so they are not called in the game; added printf for DEBUG to track FindArgs 2006-10-31 15:46:06 +00:00
zicodxx 794a6f72a8 improved code to show scaled movies 2006-10-10 23:35:42 +00:00
zicodxx 9bf8ea2b69 made file extension for TXB files lowercase to match filename case itself. makes easier to use external files 2006-10-10 00:47:10 +00:00
zicodxx 3731293caf scale movies to grd_curscreen, not to Game_window_*; included conf.h to physfsx.h to get SHAREPATH 2006-10-02 14:08:14 +00:00
zicodxx 70babf8723 setting default resolutions for movies in SDL 2006-09-29 00:54:55 +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 394cd7fe63 added mipmap operator to ogl_bitblt_i, added if to MovieShowFrame to switch off movie mipmap if argument -nomoviesmooth given, added command-line option, added new options to d2x.ini 2006-04-08 15:12:26 +00:00
zicodxx b94413b91b initial import 2006-03-20 17:12:09 +00:00