Commit graph

214 commits

Author SHA1 Message Date
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
md2211 2546a5e24a Adding missing stuff from previous revision 2007-02-14 22:28:49 +00:00
zicodxx 6fd80133ce improved debris random stuff, added -persistentdebris feature 2007-02-10 23:19:21 +00:00
zicodxx d33ef5ab00 removing debug message 2007-02-09 19:17:22 +00:00
zicodxx 59f9083a52 added -gl_voodoo to OpenGL command-line switches and INI 2007-02-09 15:34:10 +00:00
zicodxx 6657906849 created offset for LOCK message string if demo record or playback 2007-02-08 17:34:34 +00:00
zicodxx 871fd0374d introducing HandleDeathKey - allows sending multi messages and options menu while dead 2007-02-07 16:25:40 +00:00
zicodxx 4783d9263d on-screen network error messages 2007-02-07 12:50:08 +00:00
zicodxx eebedcca6f expanded help menu and fixed d1x help 2007-02-07 11:47:48 +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 5df99b88c8 use remove instead of unlink to delete plx-file safely 2007-02-06 15:08:05 +00:00
zicodxx c7db8ea672 fixed -demo and -autodemo switches to work with DEMO_DIR 2007-02-06 15:03:10 +00:00
zicodxx d636883a64 corrected UDP/IP error output 2007-01-30 00:00:53 +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 ca73263ae3 corrected radar positions and gave it a grey background so it's better visible 2007-01-28 18:11:53 +00:00
zicodxx d1d739c8ff reverting rev372 - fast movement noticed in DOS version was caused by too high FPS because of the different behaviour of FrameTime. Divisor in pitch time is correct to stay as close as possible to 30FPS behaviour 2007-01-27 23:01:42 +00:00
zicodxx 163bdd65ac corrected position of multi-message entry string 2007-01-27 15:48:22 +00:00
zicodxx c8984f0fb0 made pitching time as fast as heading time - compared with original Descent1 & 2 2007-01-27 15:24:03 +00:00
zicodxx b3720dfcdb use ogl_ubitmapm_cs instead of show_fullscr in OGL to render faster 2007-01-27 02:48:36 +00:00
zicodxx 850aaf5635 scale menus properly when dealing with hiresfont 2007-01-26 12:10:19 +00:00
zicodxx 0bac16fc48 re-added -hudlines and -msgcolorlevel 2007-01-26 11:15:18 +00:00
zicodxx d9124c0d33 improved credits scrolling - not that smooth anymore, but less CPU intense 2007-01-25 23:58:28 +00:00
zicodxx 60ba7257f9 don't display lives and score if hud message is longer than 40 chars. preventing overlay of message and lives/score 2007-01-25 13:49:17 +00:00
zicodxx ccd94920f5 improved resolution-check method - removed old code 2007-01-25 13:01:39 +00:00
zicodxx a6cd6d8d27 fixed buffer for demo_mode 2007-01-25 10:14:51 +00:00
zicodxx f798c8b2fd correction for last commit (god I am stupid) 2007-01-25 10:06:40 +00:00
zicodxx 363a7afd48 added some forgotten includes to avoid warnings 2007-01-25 10:05:14 +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 b6a1f15666 fixed multi summary reactor lifetime refresh 2007-01-22 11:34:03 +00:00
zicodxx 210281b4f6 re-added missing command-line switches for SUPPORTS_NET_IP 2007-01-21 11:09:41 +00:00
zicodxx b4ada54247 fixed EDITOR build 2007-01-21 11:03:36 +00:00
zicodxx 52415a42ff removed inaccurate 4D hack, use GL_ALWAYS for special segments in level 19 only - typo corrected 2007-01-20 16:06:03 +00:00
zicodxx 055b728847 made short packets default on. long packets are still available but in general cause more problems than short 2007-01-20 13:48:19 +00:00
zicodxx 485a345d60 removed inaccurate 4D hack, use GL_ALWAYS for special segments in level 19 only 2007-01-20 12:29:27 +00:00
zicodxx 6c874e25a1 for OGL don't display background bitmap if screen height < 400 because it won't fit - just draw grey 2007-01-20 12:06:01 +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
zicodxx 73843e88c2 prevent changing weapons if automap is active 2007-01-18 15:19:45 +00:00
zicodxx 6d0ac87505 draw spheres instead of pixels in draw_stars to show correctly in OGL 2007-01-17 15:35:14 +00:00
zicodxx 685216ca8d limit homing missle turn-rate 2007-01-13 16:22:27 +00:00
zicodxx b6481037db fixed key combo to shrink/grow window (lost while porting to GP2X) 2007-01-13 14:20:24 +00:00
zicodxx d6592bb624 removing the dead statement (leftover from WraithX Deathcam) from object_move_one() so the function will return correctly if player dies instead running further and creating invalid code and crashes 2007-01-13 13:18:25 +00:00
zicodxx eb44193d3e joystick axes can be reassigned; higher offset for axes moving detection; correction for menus that are bigger than screen; plxver correction (is actually used) 2007-01-10 00:50:07 +00:00
zicodxx 85e4151534 allocate 'pixels' and 'texbuf' according to current screen resolution, saving over a hundred megabytes of memory; divide negative light rates of change properly (fix bug #2575) (from D2X CVS); divide negative window x-coordinates properly, fixing random crashes (from D2X CVS); make sscanf look for %i.%i instead of v%i.%i because the 'v' isn't written to file; added missing changelog entries 2007-01-09 01:23:49 +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 6d50fc24cd fixed mem-leak in load_text() 2006-11-28 21:56:07 +00:00
zicodxx f34a57f3f7 code optimisation and fixed mem-leaks 2006-11-28 08:56:24 +00:00
zicodxx c5c8c6a4e7 optimized movements for GP2X; formatted and optimized GP2X readme's 2006-11-25 11:57:29 +00:00
zicodxx 994b27e990 gp2x update: updated docs, prevent clocking menu using illegal values and hardlock the device 2006-11-22 10:32:39 +00:00
zicodxx aa58b64283 ARM CPU support with words alignment and GP2X handheld support (part2 - added clock.c) 2006-11-22 05:36:49 +00:00
zicodxx 3a2a5a0bd6 ARM CPU support with words alignment and GP2X handheld support 2006-11-22 05:35:10 +00:00
zicodxx c5984ec045 fixing small cockpit glitch in SDL mode 2006-11-22 04:55:41 +00:00
zicodxx ade9407122 merged SDL keyboard functions from D2X 2006-11-17 01:34:40 +00:00
zicodxx c1859e1549 corrected typo 2006-11-15 03:13:03 +00:00
zicodxx cc3bce44a3 fixed missing automap side colors; re-added lost cheat; cleaned code to avoid warnings 2006-11-15 02:37:45 +00:00
zicodxx 8a173d3454 command-line to set glScissor off if needed 2006-11-02 01:23:47 +00:00
zicodxx f46246ac38 just turn off detriangulation for OGL 2006-11-01 02:02:20 +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 f9e9339a47 make sliding use sensitivity 2006-10-31 15:07:25 +00:00
zicodxx 111d17d981 turning detriangulation off by default; not really needed anymore and makes rendering nicer 2006-10-29 01:01:09 +00:00
zicodxx e4b7678261 using global variable for sp-mouselook to save CPU usage 2006-10-21 09:23:39 +00:00
zicodxx dcd1b3d683 new handling for keys after player is exploded 2006-10-20 23:52:57 +00:00
zicodxx 267890f9e3 removed calibrate joystick line from help menu 2006-10-20 22:41:36 +00:00
zicodxx 5548fc7fc4 introducing draw_wbu_border to draw rounded weapon boxes with glScissor 2006-10-20 16:37:47 +00:00
zicodxx 9842dfe1b6 removed fullscreen menu toggle - does not work on any arch and hasn't since we have toggle in resolution menu 2006-10-20 14:53:41 +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 c5c925e0c1 corrected radar y position 2006-10-15 23:36:08 +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 481937f3f0 print warning if resolution is set too high and don't change after all 2006-10-14 14:28:36 +00:00
zicodxx 194640c3c7 last small hack for 4D effects... still does not work correctly and never will 2006-10-14 12:43:50 +00:00
zicodxx c3a9351d1d corrected position of FPS counter 2006-10-12 23:07:44 +00:00
zicodxx c59f9d711c involve hli entry to determinate player_file_size correctly 2006-10-12 22:50:26 +00:00
zicodxx c8590bc308 make scrolling smoother by changing time_delay 2006-10-12 22:48:19 +00:00
zicodxx edd9783f94 added forgotten {} to count citem correctly and select last player again 2006-10-12 22:46:26 +00:00
zicodxx a6b9572851 aligned 'press any key...' message on hud 2006-10-12 10:07:05 +00:00
zicodxx fe89de087f don't run joydefs_calibrate if joystick is not selected as input device 2006-10-11 21:48:40 +00:00
zicodxx e04d257063 restore palette in menus for SDL_SetGammaRamp 2006-10-11 21:47:55 +00:00
zicodxx 0c938ece10 improved 4D room detection 2006-10-11 19:09:43 +00:00
zicodxx 1364ea9f89 menu-related fixes 2006-10-11 19:08:15 +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 e264b4029c corrected position of shield/energy numbers if 200 2006-10-10 23:34:38 +00:00
zicodxx f5a06791f3 added digiobj.c which was missing - should already be in rev 165 2006-10-10 17:13:52 +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 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 d8750fb831 windows fixes: using SDL_ShowCursor for windows; adding alloca.h for MinGW environment 2006-10-07 11:56:30 +00:00
zicodxx 2591bc436b added new control type: Joystick & Mouse (Thanks to The_Lion) 2006-10-07 01:09:41 +00:00
zicodxx 5922475e89 implemented sound code of d2x 2006-10-06 16:34:53 +00:00
zicodxx 8837456a2f fixing crash when playing sounds in lowmem 2006-10-06 14:56:25 +00:00
zicodxx d64c3d1023 change byte to sbyte 2006-10-06 14:41:31 +00:00
zicodxx 2badf8fcde added z-axis for mouse; made mouse movement (x,y) independent of fps; code cleanup and reformatting 2006-10-06 11:23:43 +00:00
zicodxx f8c1990621 making sure canvas is free if a new buffer is created 2006-10-06 00:39:15 +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 d373f13038 re-implemented D1X ONLY GAME option to server menu and set it always true on UDP/IP to fix compability issues. making use of alloca instead of malloc in ipx_ip_SendPacket 2006-10-02 17:48:30 +00:00