Commit graph

25 commits

Author SHA1 Message Date
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