Commit graph

444 commits

Author SHA1 Message Date
zicodxx 1907daaef3 Cleanups 2007-07-18 22:23:06 +00:00
zicodxx e8771e7d0e FindArg cleanup; Removed remnants of Observer-mode 2007-07-18 21:36:53 +00:00
zicodxx ca9e82fe80 Cleaned up more FindArg's - general Debug Options; Cleanups 2007-07-18 20:13:17 +00:00
zicodxx e274230e38 Cleaned up more FindArg's - Networking Options; Some fixes 2007-07-16 02:34:51 +00:00
zicodxx 0bf2b7d4a9 Removed unused RealFrameTime; Removed FPS-dependent Homing-tracking code 2007-07-16 00:28:22 +00:00
zicodxx 3a971db581 Fixing duplicated gr_toggle_fullscreen() 2007-07-15 21:55:00 +00:00
zicodxx c19d49d65d Cleaned up more FindArg's - (most important) OpenGL Options 2007-07-15 21:22:07 +00:00
zicodxx 90e50806ba Cleaned up more FindArg's - Graphics Options 2007-07-15 15:23:45 +00:00
zicodxx f3ae339f9f Cleaned up more FindArg's - Sound Options 2007-07-14 22:36:04 +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 78103fddce removed old CD-Play code 2007-07-14 10:51:17 +00:00
zicodxx 950a373f43 fixing playerfile size detection, using gr_flip() with title screens 2007-06-29 19:56:37 +00:00
zicodxx 96418c210e fixing compiler warning, handle *SOUND_TO_OBJ events correctly in demo playback 2007-06-28 14:33:47 +00:00
zicodxx 9df975f7a7 adjusted size of Inputbox 2007-06-16 08:13:38 +00:00
zicodxx 9440769b45 small code cleanup; improved texture caching in menus to save RAM 2007-06-15 12:32:44 +00:00
zicodxx 48c302985c fixed memleak 2007-06-15 08:23:19 +00:00
zicodxx 2c05c07493 fixed axis direction for vertical and sideways thrust time; fixed y-Offset for mouse selection in kconfig_sub; removed (useless) Shrink/Grow window feature to clean code a bit; saving Cockpit mode in PLX file; improved grabmouse so mouse is always released in non-SCREEN_GAME modes 2007-06-14 20:51:52 +00:00
zicodxx 158a2b3bde using size_t when it comes to integer to pointer conversions 2007-06-14 12:32:18 +00:00
zicodxx c3fa1eb778 fixed more compiler warnings 2007-06-11 15:54:09 +00:00
zicodxx 86c18a63c3 fixed a bunch of compiler warnings 2007-06-11 09:06:14 +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 84f0529ec4 improved pixel-correct (almost) scaling of menus; new Netgame info screen which can show up necessary game rules 2007-05-31 22:30:18 +00:00
zicodxx e150919deb free grabbed mouse in Demo Playback; improved Player-files deletion 2007-05-16 11:26:34 +00:00
zicodxx 4091731e64 make sure Game_window_w/h is always set to a valid value in every cockpit mode 2007-05-14 14:02:12 +00:00
zicodxx 05f58c3ed4 fixed speeding bug in homing system 2007-05-14 13:45:11 +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
zicodxx ecf8a53e0c update viewing values at Fullscreen Toggle; added Fullscreen Toggle to Menus and Demo Playback 2007-05-09 09:44:45 +00:00
zicodxx f5f0c45ded rev432 revisited - do not send multi De-Cloak packet in Demo Playback 2007-05-02 18:42:46 +00:00
zicodxx c5a5e43c26 improved INI-File parsing 2007-05-01 23:23:09 +00:00
zicodxx 31aa39fefa resolved some overlapping HUD elements 2007-05-01 22:57:31 +00:00
zicodxx 8e6be6ab6d 2007-04-21 08:42:21 +00:00
zicodxx 402744ea48 prevent string placeholders in HUD Messages which may crash the game 2007-04-21 08:27:21 +00:00
zicodxx 2ec782ddee increased offset to detect movement on Joystick axis for mapping function 2007-04-20 07:25:23 +00:00
zicodxx 6a4e2166c9 made smart blobs easier to dodge 2007-04-19 22:17:46 +00:00
zicodxx 0200658155 forbid % to read into multi messages to not mess up the string 2007-04-15 16:33:04 +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 2339cb8293 introduced do_weapon_stuff() to abstract code from ReadControls() 2007-04-11 23:09:22 +00:00
zicodxx 4f07beb2d6 removed some code from Weapon Ordering which broke primary cycling 2007-04-11 23:04:15 +00:00
zicodxx 9c67d79f28 hide cursor after newmenu_get_filename() 2007-04-07 13:57:17 +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 e9459ab1c0 clear HUD-Messages if a Demo starts so old messages do not appear; also set gr_palette_load() in nm_draw_background1 so palette resets if Demo-playback is cancelled 2007-04-03 22:12:54 +00:00
kreatordxx d4d62fc165 merge and move automap border drawing code to draw_automap, so it could be used to draw the automap again just before showing a dialog box 2007-04-01 05:06:35 +00:00
kreatordxx 29110d4726 remove 'extern int last_drawn_cockpit[2]' since it's now a single int (not an array), fixing memory corruption (whoops!!) 2007-04-01 02:14:38 +00:00
zicodxx 61933261c2 moved gr_palette_load() in nm_draw_background so it always does apply and resets step-ups properly 2007-03-31 21:39:48 +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 833f3a06fa dropped Newdemo Un/pause feature - unreliable, creates corrupt data 2007-03-30 07:38:15 +00:00
zicodxx 532e1585e9 Error-proof cfile_init_hogfile(), added forgotten break statement for Pause/Unpause Demo 2007-03-30 07:26:07 +00:00
zicodxx 85873c29f6 introduced newmenu_dotiny() from D2X to show menus with GAME_FONT; extended Help-menu and removed D1X-Help-menu 2007-03-29 22:11:46 +00:00
zicodxx add8710081 palette-related fixes for Doublebuffered menus; fixes for SDL-build 2007-03-29 00:13:08 +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 233fdcd2db unbind Minus/Equal from Shrink/Grow-window - only use ALT-F9/F10 to get richt with all keyboard layouts; Always allow screen resolution switching, even if selected is not supported to ensure Multi-Monitor support 2007-03-26 08:20:46 +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 91d32b1a9d deleted leftovers of obsolete Make build-system 2007-03-25 17:23:30 +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
md2211 752b772d26 USE_SDLMIXER fix for regular SDL audio build 2007-03-18 18:17:49 +00:00
md2211 2a5142e82b First release of the new in-game jukebox system
Specify a music directory with -jukebox
2007-03-12 21:56:41 +00:00
zicodxx 83698e5508 implemented expanded Joystick configuration panel (Thanks xatmes); corrected draw functions for kconfig_sub() and Scoreboard to show them correct in non 4/3 aspects; corrected Close-boxes for Mouse Menu control 2007-03-06 10:36:37 +00:00
zicodxx 907608f3db removed WANT_AWE32 flag - too buggy; scaled space between Hud-messages; block Hudlog output messages beginning with you (your ... maxed out, you already have ...) 2007-03-04 15:01:17 +00:00
zicodxx e0a95ebd6a cleaned up hud_show_weapons_mode() 2007-03-04 14:22:53 +00:00
zicodxx 603540d64f improved Error-handling for starting a mission, making the game not crash if Level file is not found 2007-03-04 11:54:32 +00:00
zicodxx f268021ddb some menu fixes 2007-03-03 18:27:55 +00:00
zicodxx 9c758b2cc9 newdemo-related fixes 2007-02-28 20:43:10 +00:00
zicodxx 84f7b9ee2a reverting rev429 - fixing GameTime as D2X does 2007-02-26 13:50:59 +00:00
zicodxx 09ea33ca94 improved DepthTest, fixing Clipping bugs 2007-02-26 13:32:00 +00:00
zicodxx 9e46ec19c8 reset GameTime properly if needed 2007-02-20 02:16:42 +00:00
zicodxx 93b4b0fea9 don't show Radar box-fading in SDL; fixed OGL gr_ucircle() 2007-02-20 00:00:28 +00:00
zicodxx ad64582cb8 make 'Press any key ...'- and 'Demo recording' messages not overlap 2007-02-19 21:18:04 +00:00
zicodxx e67272af3b fixed memory corruption in Demo-Playback 2007-02-19 19:57:23 +00:00
zicodxx 508b95178b seperated Controls-reading functions in HandleEndlevelKey, HandleEndlevelKey, FinalCheatsKey, HandleGamekey; improved Game-key handling is Player_is_dead 2007-02-19 17:57:15 +00:00
zicodxx e3faa7bcf6 removed BADTEXTURE cheat 2007-02-19 15:30:13 +00:00
zicodxx 545680b27e block 'You already have'-messages in HudLog output 2007-02-19 15:21:53 +00:00
zicodxx 40e11ebe8c fixed player restriction at robot-/coop-games - code cleanup 2007-02-19 13:29:19 +00:00
zicodxx 464b92d54b fixed player restriction at robot-/coop-games - code cleanup 2007-02-19 12:57:30 +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
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
zicodxx fb98bda91b compiler related changes (thanks to Chris Taylor) -part2: correction for scale_line 2006-10-02 14:44:11 +00:00
zicodxx 7d1c6107a5 compiler related changes (thanks to Chris Taylor) 2006-10-02 14:36:10 +00:00
zicodxx aa82be1f22 move order form showing to titles.c (d2x-cvs takeover) 2006-10-02 13:50:22 +00:00
zicodxx 928d6c1373 fix error when building editor with RELEASE 2006-10-02 13:05:23 +00:00
zicodxx 2a0e38a4ef remove diskfree hack in newdemo.c and always return 999999999 until we find a better solution and a reason for solving this after all 2006-10-02 12:37:20 +00:00
zicodxx a68fb4249e Added command-line arg for SCons to specify Sharepath. Save config files, players etc. in home directory. Patch by Hans de Goede - THANKS 2006-10-02 10:52:51 +00:00
zicodxx 44586c2aff added mouse in menus 2006-09-30 23:33:47 +00:00
zicodxx 669eed87ce fixed joystick deadzone feature and moved it and sensitivity to controls sub-menu 2006-09-29 21:42:06 +00:00
zicodxx 2fff0b4ef5 since we removed Game_window_* definitions from game_init_render_buffers we define both in init_cockpit if 0; corrected FONTSCALE_* for SDL mode 2006-09-29 13:40:50 +00:00
zicodxx c5e0bf60e7 removed recharge-hack and fixed recharge bug according to d2x code 2006-09-29 01:16:21 +00:00
zicodxx 434e0fa70f corrections and improvements for scalable HUD and cockpits, cleaner code, fixes to get SDL renderer working again 2006-09-29 00:49:28 +00:00
zicodxx ba1d179848 corrected mouseaxis_text 2006-09-29 00:45:06 +00:00
zicodxx aa30ffa16c small correction in weapon box height 2006-09-09 15:54:49 +00:00
zicodxx aec4c6ea28 adjusted position of strings in hud and cockpit; made fadings work in OGL; made radar scale in cockpit mode; mede normal reticle default again and scaled it to current resolution for OGL; reformatted code to make it A BIT MORE readable 2006-09-08 23:31:06 +00:00
zicodxx 1b11900e30 new fixes for scalable menus. let's hope it's the last one (scalable menus patches in rev 100,102,103,104,105,110) 2006-09-04 22:22:54 +00:00
zicodxx 22d32c1e83 small fix to CM_FULL_SCREEN so it does not show letterbox after the game has been left in CM_STATUSBAR 2006-08-31 18:07:00 +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 8ad9cc8156 some fixes for fixedfont 2006-08-22 22:16:42 +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 d4a78a5794 fixed compile-time errors on windows 2006-08-21 23:56:04 +00:00
zicodxx cd229e0029 re-enabled string bg and scaled correctly. otherwise problems with redraw of menu elements 2006-08-16 21:13:23 +00:00
zicodxx 006f089a07 adjusted position of strings in show_boxed_message. increasing MAX_TEXT_WIDTH. all this should already be there in rev. 100 - however nobody's perfect 2006-08-15 10:39:05 +00:00
zicodxx 11571ae4c8 adjusted position of D1X-Rebirth version string in main menu 2006-08-14 09:27:38 +00:00
zicodxx c1240348a2 restore background correctly after PREPARE FOR DESCENT. should already have been applied in rev. 99 2006-08-13 23:17:08 +00:00
zicodxx 9c3dd81aaa removed OGL unwanted ogl_init.h include to fix sdl_only compilation 2006-08-13 16:23:43 +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 1b67c1054f automap code from d2x, show borders in SDL and OGL, optimized and cleaned 2006-08-07 00:26:03 +00:00
zicodxx d3aed0a52f removed unwanted stop_time() in set_screen_mode(), that broke pause states and control stuff 2006-07-30 09:05:07 +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 78dad5631f building with more SDL code, added lots of D2X SDL related code, windows build does not need DirectX anymore; implemented SCons build system; provisoric hacks to build editor; changed contents of readme and compile text files 2006-07-27 09:46:44 +00:00
zicodxx 595f65dc74 disabled another Assert. commented with FIXME's - debugging if needed 2006-07-16 19:47:15 +00:00
zicodxx cf586c78a4 rejected -nod1xmenu feature 2006-07-16 19:39:13 +00:00
zicodxx 4b7ea28e9c layed out special chars to newmenu.h, fixed menu bevels for OGL, fixed text position for scalable menus, code reformatting 2006-07-16 18:08:32 +00:00
zicodxx c8d0ae0ec9 showing game over in d2x-way 2006-07-16 17:58:47 +00:00
zicodxx 838cc6323f correctly restoring backgrounds in control menus 2006-07-16 17:38:21 +00:00
zicodxx c4d4921a62 corrected command-line output in inferno.c 2006-07-16 10:59:03 +00:00
zicodxx bd1a7c16a2 added game_flush_input() on automap calls to avaoid control irritations 2006-07-11 17:37:27 +00:00
zicodxx 69ceb2ac78 improved use of Depth Test, added experimental hack for 4D levels; removed two Asserts which fail with 4D levels 2006-07-11 16:13:47 +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 a15ae0ec08 added variable aspect function, changed cmd-help, changed ini file 2006-05-06 09:44:21 +00:00
zicodxx 6a9c15ac25 code cleanups 2006-05-05 14:14:55 +00:00
zicodxx 5f7dab24d2 added GL functions, changed g3_draw_poly in d2x style to fix the portal-bug; added exception boolean value tempNoDepthTest to render endlevel correctly; code reformatting 2006-05-05 13:23:53 +00:00
zicodxx 126d0c8688 in do_options_menu decreased i by 1 to not show d1x options menu if arg -nod1xmenu is found; added help text; added INI line 2006-04-21 13:55:30 +00:00
zicodxx 9a31560755 using ogl_start/end_frame, instead of offscreen in draw_model_picture 2006-04-20 13:48:00 +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 b5adaa9169 changes in readmes, configs, etc and version number changes for 'ZAPHOD' release 2006-04-16 04:53:58 +00:00
zicodxx 8d0c71e747 using OGL offscreen render to reduce flickering in spinning briefing robots 2006-04-15 05:37:58 +00:00
zicodxx d5fdf68832 removed fullok hack for fullscreen changing, added set_screen_mode call to prevent black screen at fullscreen toggle in windows build 2006-04-14 20:28:12 +00:00
zicodxx d1b641f895 more adjustments; NUM_LINES and first_line_offset 2006-04-14 19:04:50 +00:00
zicodxx f401d3cf43 increased first_line_offset to keep lines in canvas at very high resolutions 2006-04-14 18:09:33 +00:00
zicodxx 9b7b536187 for OGL build, keep the lines in canvas; created borders and new fadings to hide font appearence and disappearence 2006-04-14 10:25:47 +00:00
zicodxx 47e2ce9c98 added 16to10 support 2006-04-08 18:54:15 +00:00
zicodxx e26e945c2c possible menu text sring length increased to 255 to support longer path entries for missiondir 2006-04-05 18:30:46 +00:00
zicodxx 2656081efa added widescreen aspect with command-line option for SDL and OGL build 2006-04-03 21:16:17 +00:00
michaelstather 03c6ba5770 The new build system for d1x 2006-04-03 17:32:39 +00:00
zicodxx 7e7995b8c7 new interpolate function for demos; changed call for d_delay to nice demo playback; code cleanup and reformatting 2006-03-27 17:38:11 +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 79b00c7f99 rewritten credits scroll function; code formatting 2006-03-26 13:49:32 +00:00
zicodxx dc63a0f373 allow asserting objet to none if player is dead; code reformatting 2006-03-21 14:00:25 +00:00
zicodxx cde0244a09 initial import 2006-03-20 16:43:15 +00:00