Commit graph

56 commits

Author SHA1 Message Date
zicodxx 86c18a63c3 fixed a bunch of compiler warnings 2007-06-11 09:06:14 +00:00
zicodxx e150919deb free grabbed mouse in Demo Playback; improved Player-files deletion 2007-05-16 11:26:34 +00:00
zicodxx f912c9efa6 Added config field to map a Mouse Axis/Wheel to cycle Primary and Secondary weapons; lots of controls-related code cleaning 2007-05-14 13:38:44 +00:00
zicodxx 5bf5153f5b read -pilot arg with and without filename extension 2007-05-10 09:34:27 +00:00
kreatordxx 6b9c94a9c6 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 f52910f3ad compile-time fix for demo stuff; close menu with boxed message 2007-04-04 17:17:53 +00:00
zicodxx bcb406faeb improved Autodemo-feature - less code, activate AFTER pilot is selected to make sure resolution and player-file operations do not mess up 2007-04-04 10:24:03 +00:00
zicodxx 95b08dfb17 a switch to disable timer_delay in calc_frame_time - may be used if game runs a bit choppy 2007-03-31 21:00:47 +00:00
zicodxx 0816c0508c mistake *sigh* 2007-03-31 12:53:48 +00:00
zicodxx 790f9ef9a1 improved Error-handling for loading missions 2007-03-31 12:52:38 +00:00
zicodxx 1851b7d1fe draw mine view directly to screen with SDL Video, no using an offscreen buffer (will use SDL_Flip later) 2007-03-26 10:47:34 +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 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 e67272af3b fixed memory corruption in Demo-Playback 2007-02-19 19:57:23 +00:00
zicodxx dc0a72029a added Alex' patch to add FPS independent and physics homing missiles - also implemented command-line to switch back to legacy homers 2007-02-17 22:52:23 +00:00
zicodxx 6fd80133ce improved debris random stuff, added -persistentdebris feature 2007-02-10 23:19:21 +00:00
zicodxx 59f9083a52 added -gl_voodoo to OpenGL command-line switches and INI 2007-02-09 15:34:10 +00:00
zicodxx c7db8ea672 fixed -demo and -autodemo switches to work with DEMO_DIR 2007-02-06 15:03:10 +00:00
zicodxx 1bb867d617 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 0bac16fc48 re-added -hudlines and -msgcolorlevel 2007-01-26 11:15:18 +00:00
zicodxx ccd94920f5 improved resolution-check method - removed old code 2007-01-25 13:01:39 +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 210281b4f6 re-added missing command-line switches for SUPPORTS_NET_IP 2007-01-21 11:09:41 +00:00
zicodxx 6d8cc7ff30 tell user where descent.hog/pig should be if it isn't there, removed broken -hudlogdir code 2007-01-19 14:27:21 +00:00
zicodxx cf971d1130 only read and write lowercase pilots - prevents mistakes in -pilot option as well as multisaves 2007-01-18 18:58:18 +00:00
md2211 10eedf6611 * music volume now properly restored and remembered in D1 and D2, using a static int
* removed ugly hack that fixed this bug in D1 (inferno.c, revision 230)
2006-12-12 21:47:17 +00:00
zicodxx 3a2a5a0bd6 ARM CPU support with words alignment and GP2X handheld support 2006-11-22 05:35:10 +00:00
zicodxx c1859e1549 corrected typo 2006-11-15 03:13:03 +00:00
zicodxx 8a173d3454 command-line to set glScissor off if needed 2006-11-02 01:23:47 +00:00
zicodxx ea02b4440e removal of checktime - should go to d2x 2006-10-31 21:15:18 +00:00
zicodxx 8fe5b5e171 moved some FindArgs to main() so they are not called in the game; added printf for DEBUG to track FindArgs 2006-10-31 15:45:48 +00:00
zicodxx e4b7678261 using global variable for sp-mouselook to save CPU usage 2006-10-21 09:23:39 +00:00
md2211 f1706cf2ec * Addition of forgotten HMP-MIDI conversion
* SConstruct fix: unnecessary dependency on said conversion code
* Music playback from internal Descent files
2006-10-18 17:08:59 +00:00
zicodxx cf7b2348f7 cleaned up command-line help; removed old/redundant/unfunctional options; improved code to read -pilot/-demo argument 2006-10-18 12:52:56 +00:00
zicodxx 16dbe4f797 improved SDL Joystick axes recognition; fixing mem corruptions while closing joysticks; removed Joystick calibration which should be unnecessary with SDL; fixing printf format in gr.c 2006-10-16 23:21:53 +00:00
zicodxx 89e5ebd27a using ReadConfigFile earlier to make it possible to read D1X.INI from home directory 2006-10-15 23:35:30 +00:00
zicodxx 7c76b5f57e added SDL_SetGammaRamp; removed FSAA because no function on all platforms; fixed offscreen render; fixed sharepath in SConstruct 2006-10-10 23:41:12 +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 21486244ee introduced FSAA; re-enabled fullscreen toggle in menus again and fixed glitches; adjusted OGL_TEXTURE_LIST_SIZE and OGLTEXBUFSIZE; code cleanup; restored font.c (oops) 2006-10-09 21:44:02 +00:00
zicodxx f9801f9b0d cleaned up options menu and removed 'd1x options' because not really necessary anymore 2006-10-08 17:53:50 +00:00
zicodxx 5922475e89 implemented sound code of d2x 2006-10-06 16:34:53 +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 3c11e4430e getting rid of inferno sound hacks because they were just a result of obsolete windows code 2006-10-02 17:51:45 +00:00
zicodxx aa82be1f22 move order form showing to titles.c (d2x-cvs takeover) 2006-10-02 13:50:22 +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 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 4970518c1e changed mousegrab calls because of new use in windows as well 2006-07-28 15:22:07 +00:00
zicodxx 54a4571f05 hudlogstdout as default 2006-07-27 14:16:33 +00:00
zicodxx 79cdf00aff made windows build always pipe to stdout.txt and stderr.txt 2006-07-27 14:03:41 +00:00
zicodxx cf586c78a4 rejected -nod1xmenu feature 2006-07-16 19:39:13 +00:00