Commit graph

494 commits

Author SHA1 Message Date
zicodxx d3aca2140d Reverted homers turn_radius again to respect higher difficulty levels; Added PRShot to menus; Fixed typo in OglAlphaEffects saving 2008-04-13 10:59:10 +00:00
zicodxx 24d1cf52f6 Added structure for values saved in PLR/PLX files; Added most common command-line options to options menu 2008-04-13 00:28:36 +00:00
kreatordxx 39a68c665b show a messagebox if there's an error and graphics are initialised, update Xcode project 2008-04-08 12:51:21 +00:00
zicodxx a172315d4a 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
kreatordxx e31a0c8dfc fix up the Mac D1 data automap layout 2008-04-02 12:13:21 +00:00
kreatordxx ea5e30823c fix divide by 0 bug when there is no music available 2008-03-31 09:19:08 +00:00
kreatordxx 8762451252 add support for Mac D1 demo sounds 2008-03-30 01:37:05 +00:00
kreatordxx f979c1e482 add support for Mac D1 sounds (converted to RAW format), update Xcode project 2008-03-27 10:43:35 +00:00
zicodxx 5b30bcd4dc Added definitions for OpenGL fucntions which might not be included in system headers; Use more HiRes content from dxx.zip; Removed briefings palette hacks; Menu right border shadow was too wide; Corrected reading for some PLX content which seemed not to work on all archs 2008-03-25 12:25:19 +00:00
zicodxx 70973d6a5d Implemented D2X code for wepaon cycling and reordering; Added lock status for mouse axis weapon cycling because of scaled mouse delta; Due to player feedback (any my opinion) making homer turn rate smaller to make them a bit harder to dodge; Preventing write of player data while Demo playback; Small code cleanup and corrections 2008-03-23 13:03:26 +00:00
kreatordxx 6aa3819282 detect the number of songs actually available if no descent.sng file (max 22) 2008-03-23 08:42:24 +00:00
kreatordxx 141bd94cf2 scale Mac fonts correctly 2008-03-22 08:30:23 +00:00
zicodxx f014231a78 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
kreatordxx 032018ccc4 add support for Mac pigfile (which doesn't include sounds yet) 2008-03-16 08:11:08 +00:00
kreatordxx d21385cede add prototype for show_game_stats to remove warning 2008-03-14 11:22:40 +00:00
kreatordxx 7ca570a8b6 fix potential bug where show_reticle parameters mismatch 2008-03-14 11:15:46 +00:00
zicodxx ae5975c7a0 Handle Multi message input before HandleDeathKey to chat while dead 2008-03-08 22:47:49 +00:00
zicodxx 2196bdae0d Fixed some memory issues; Fixed some HUD element alignment; Only send NetDrv packets if NetDrvInstalled is true; Fixed demo glitches; Actually using Game_mode in demos to make Newdemo_game_mode hacking obsolete 2008-03-08 22:37:09 +00:00
zicodxx 02cb47e7c1 Fixed wrong font width spacing, -gl_prshot, mission loading, null-terminatinon in several menus, cockpit glitch; Improved gl_reticle, -noredundancy; Some code cleanup 2008-02-27 22:05:58 +00:00
zicodxx 453d0b6045 Fixed error in writing PLR-file since PHYSFS_close returns non-zero in success instead of zero like fclose 2008-02-24 15:17:33 +00:00
zicodxx 8eb5c965d2 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
kreatordxx ac0eb80b0f make sure the right error message is shown if it can't open a demo 2008-02-24 06:37:34 +00:00
kreatordxx c356ebcf69 add support for Macintosh splash screens and menu backgrounds in descent.hog, but not fonts (yet) 2008-02-21 10:32:34 +00:00
kreatordxx 0840866baa get SDL Video build to work again 2008-02-17 01:40:49 +00:00
kreatordxx 61d5599aac fix undefined function warning with piggy_read_sounds (whoops) 2008-02-13 09:43:00 +00:00
kreatordxx 99b00be282 make sure a briefing isn't interpreted as an endlevel sequence file, preventing an in-game warning 2008-02-12 12:27:05 +00:00
kreatordxx 3a188fa14d support PC shareware files in full version build, make game data loading code easier to follow 2008-02-11 12:12:57 +00:00
zicodxx 8d025c7aef Renaming udp.* to netdrv_udp.* to fit naming convention; Small menu ui fixes 2008-01-29 15:57:59 +00:00
zicodxx fe98538b2b Cleanung up arch/ a little bit; Added mouse delta time interval for more more accurate reading at high FPS 2008-01-29 14:49:54 +00:00
zicodxx b54bdcba5b Fixed small compiling issues 2008-01-25 12:50:23 +00:00
zicodxx f6b24b16d4 Updated Docs - Data files mus bt lowercase; Fixed small Multiplayer issues 2008-01-24 22:26:43 +00:00
zicodxx d9e23370f9 Implemented PhysFS support; Implemended D2X memory functions; Code cleanups 2008-01-23 17:25:09 +00:00
kreatordxx da7fd57332 merge loadrl2.c into gamemine.c and gamesave.c 2008-01-19 01:13:47 +00:00
zicodxx 7c38557284 Removed SDL Gammaramp code (obsolete); Improvements on Demo code 2008-01-13 13:27:58 +00:00
kreatordxx 0837b91f53 complete bigendian support, without touching network code 2008-01-13 00:58:49 +00:00
kreatordxx 8e729c7e86 fix typo causing compiler error on bigendian computers 2008-01-13 00:36:04 +00:00
zicodxx a18d40f312 Safe timer rollover in menu idle-demo function; Reintroduced menu shortcuts; Implemented support for menu scrolling if nitems > 15 2008-01-08 21:02:06 +00:00
zicodxx 091526789e Added BigEndian-related multiplayer/network code (unfinished); Re-Added IPX Socket option to Host menu for IPX games; Removed ForceVersionCheck global - conditions with driver->type; Merged netmisc.* and netpkt.*; Handling host disconnect for UDP games in network.c 2008-01-08 16:33:19 +00:00
kreatordxx 2ac1559a8b get D1X to build for Mac OS X, conditionals for Mac OS 9 2008-01-03 10:31:02 +00:00
zicodxx 96cc6e1006 Cleaned/Rewritten/Renamed lower level network layer to make it (look) less IPX-oriented 2008-01-02 15:36:51 +00:00
kreatordxx 588d1b000a rename types.h to pstypes.h to avoid name conflict with Mac OS 9's MrC (it doesn't respect the difference between project and system headers) 2008-01-02 03:37:13 +00:00
zicodxx 285da809a8 Code cleanup - old/unused/obsolete multiplayer code and more 2007-12-29 14:18:49 +00:00
zicodxx aa93a2ca45 Fixed compiler error because of removed header file; Removed struct network_d1xplayer_info - obsolete; Allocated memory for all sequence_packet's; Moved piggy_close() and sdl_close() to end of main() - replacing atexit; Rendering credits with timer_delay2 at constant 25FPS and save CPU; Fixed -playermessages 2007-12-23 00:51:27 +00:00
zicodxx d6c708c111 Implemented new UDP/IP interface with Server-Relay (for firewalled users) and IPv6 compability; Fixed memory issues; If arguments -gl_mipmap and -gl_trilinear used both, always select -gl_trilinear 2007-12-17 22:45:45 +00:00
zicodxx bb9d98a0b8 Fixed new redundancy HUD messages check - made it more strictly 2007-11-23 23:04:08 +00:00
zicodxx c298eb4351 Fixed some memory problems; Adjusted timer_delay2 for robot briefings 2007-11-23 21:14:57 +00:00
zicodxx 17c16bfc5b Introduced timer_delay2 as replacement for timer_delay to sleep according to given FPS rate considering calc time between frames 2007-11-21 12:46:09 +00:00
zicodxx 827f0d5fd1 Correctly saving Reverse Stereo setting; Added Demo playback help keys; aligned Demo recording to 20 frames per second to save lots of hard drive space 2007-11-06 20:33:22 +00:00
zicodxx 8387358ec8 Data types correction 2007-11-01 18:49:28 +00:00
zicodxx e60fadff94 Implemented Hack for broken descent.sng produced by patching descent.hog v1.0 to v1.5 2007-10-31 19:10:19 +00:00
zicodxx 4f399bbfea Improvements for -gl_prshot; Improved show_netgame_info(); Removed obsolete multisave code; Removed mekh stuff and wide cleanings in whole multi code; Incremented MULTI_PROTO_D1X_VER (for version checks in the future if needed); Renamed 'D1X-only game' to 'Version Check' 2007-10-31 00:49:24 +00:00
zicodxx e673043edc Memory stuff 2007-10-29 21:40:49 +00:00
zicodxx 4f2d23bb95 For HUD messages redundancy check, compare all messages and check if message already printed and is a typical 'ALREADY HAVE' message - waste them if so 2007-10-28 21:37:08 +00:00
zicodxx 6e3a0310d7 For HUD messages redundancy check, compare all messages and check if message already printed and is a typical 'ALREADY HAVE' message - waste them if so 2007-10-28 21:34:20 +00:00
zicodxx 9d1a374447 Fixed problems with GameTime wraparound - delay sounds, cloak, invulnerability, ping; Added debug key to Reset GameTime for testing; Removed -gl_vidmem; Cheat-code cleanup; Some HUD message redundancy 2007-10-28 20:14:25 +00:00
zicodxx 60e30cb40a Small fixes; Code cleanup; Implemented PR-Screenshot feature 2007-10-18 14:44:02 +00:00
zicodxx 51a1c79a73 Reworked Pause-screen 2007-10-14 16:25:55 +00:00
zicodxx bf2e42d2b0 Set SOUND_BUFFER_SIZE for SDL_mixer to 1024 to minimize delay; Removed MIDI-existance check and store all music to Music/ subdirectory of writedir - keeps clean if user has tons of levels; Added SDL_mixer command-line help output; Implemented new way to read command-line args; Stored MAXIMUM_FPS in game.h - where it belongs to 2007-10-13 23:49:07 +00:00
zicodxx 1cb335432c Fixed some command-line options 2007-10-12 14:21:21 +00:00
zicodxx f1f435d041 Fixed port deformation while sending handshake 2007-10-12 14:02:34 +00:00
zicodxx 8b07676a37 Improvements for Cockpit mode save; Fixed -pilot switch 2007-10-08 10:40:21 +00:00
zicodxx eba88d78b8 Reset Rear_view at beginning and end of demo playback 2007-10-07 14:46:52 +00:00
zicodxx 167e042d60 Changed collision handling between robots and controlcen; Aligned constant sounds to GameTime; Using turn radius of 0x0024*F1_0 for all homing objects while not aligning smart blobs to movement vector 2007-10-07 13:42:21 +00:00
zicodxx 103f8e3737 Readded -notitles switch; Removed use of tempfile for PLX writing 2007-10-06 14:50:19 +00:00
zicodxx debc7d71b5 Not rendering additional transparency cockpit display anymore to ensure compability with custom cockpits; Improved overlay functions for cockpit elements 2007-10-05 23:47:16 +00:00
zicodxx 822f23c576 Added line_scpacing in netgame info screen for every not-connected player to keep strings below player table in fixed position; Fixed memleak in kconfig code; Fixed show_title_screen function to cycle correctly 3 seconds or until broken by keypress 2007-10-01 10:05:02 +00:00
zicodxx 18d7e3fb69 Updated docs; Removed GP2X support since I won't support this device anymore 2007-09-28 22:44:04 +00:00
zicodxx 487c6fa0e2 Implemented -use_players_dir 2007-09-28 15:14:09 +00:00
zicodxx e6d4ab025e Removed line_spacing for not connected players in Netgame info screen 2007-09-26 21:57:03 +00:00
zicodxx 636b244f53 Small fixes for new netgame info screen; Doing PING routines D2X-way while trying to keep compability to other D1X versions 2007-09-26 18:30:48 +00:00
zicodxx 278779936b Removed key shortcuts for menus 2007-09-24 07:56:26 +00:00
md2211 d393f32eed * Removed executable flag on most files
* Reverted value of SOUND_MAX_VOLUME
2007-09-21 19:06:05 +00:00
zicodxx b00c32ef64 Removed briefing text shadows code 2007-09-20 14:39:23 +00:00
zicodxx f17be32e17 Code-cleanup; Implemented new multi profile feature 2007-09-20 14:22:57 +00:00
md2211 cd6e155579 * Huge SDL_mixer refactoring; sound backend now selectable at runtime, in D1X & D2X
* Sound system now uses a set of function pointers (digi.c) as a single interface to either SDL or SDL_mixer
* Ported jukebox functionality to D2X
2007-09-18 13:37:39 +00:00
zicodxx dc1e0d5e65 Code Re-formatting; Preventing Redundancy in Restricted-game joining and leaving players (packet redundancy); Removed Network master menu (and mlticntl code) due to compatibility to older games; Using D2X code for restricted games; Expanded Game-help screen 2007-09-13 10:08:47 +00:00
zicodxx 5f78602f1b Added complex netgame information screen (key PAUSE), Removed ping commands because ping handled in new screen 2007-09-08 11:11:41 +00:00
zicodxx bbf30c223c Removed handicapping remnants, Removed -msgcolorlevel, color names in Multi-messages to Player- or Team-color 2007-09-05 17:31:05 +00:00
zicodxx 74a03f70ff Fixed embedded color strings 2007-09-03 11:21:00 +00:00
zicodxx 44551b2a60 HUD alignment improvements 2007-08-31 00:10:43 +00:00
zicodxx 1e74aac248 Added command-line option to disable reticle 2007-08-29 23:21:13 +00:00
zicodxx 4902db8884 Apply BUMP_HACK on walls only 2007-08-28 22:53:37 +00:00
zicodxx b458821bba Use right palette after briefings end to make sure nothing gets messed up 2007-08-28 21:24:18 +00:00
zicodxx 46c785f3fc Fixed some mem-leaks; Made show_fullscr() use ogl_ubitmapm_cs(); Removed use of glScissor for menus - using Blitting; Code cleanup 2007-08-27 23:01:34 +00:00
zicodxx a65105241b Preventing redundancy of doubled messages correctly 2007-08-26 11:46:10 +00:00
zicodxx b7c2e1cfa4 Improved CPU cycles sleeping for -nicefps - moved out of main frame calc loop and taking care of 10ms timer inaccuracy 2007-08-25 23:35:19 +00:00
zicodxx 2f5e31bfb3 Fixed some compiler warnings 2007-08-20 21:48:55 +00:00
zicodxx 21eee38432 actually submitting memleak fix which should have gone in last revision 2007-08-09 14:43:56 +00:00
zicodxx 38b9f13bef Some debugging-related cleanups, Fixed memleak 2007-08-09 14:29:53 +00:00
zicodxx 4d02c92db5 Fixes and improvements on -ip_hostaddr; Fixed paltte bug in SDL build 2007-08-09 12:28:17 +00:00
zicodxx c5b265db30 Added -ip_hostaddr argument to specify a host IP address via command-line/INI 2007-08-08 21:11:51 +00:00
zicodxx eea4b87d86 Fixed excessive use of set_screen_mode; Menu fixes 2007-08-08 18:06:33 +00:00
zicodxx 2860b159e9 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 de70147783 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 2007-07-26 23:56:00 +00:00
zicodxx a01b75737c FindArg cleanup - GL-Debug and SDL arguments 2007-07-23 18:13:49 +00:00
zicodxx 44ae14c363 Even more FindArg cleanups 2007-07-22 20:56:23 +00:00
zicodxx 88c53d941a Even more FindArg cleanups 2007-07-22 20:40:39 +00:00
zicodxx 9ea9c519b5 Removed -multisave argument, deactivated feature as default (multi.h define) - broken, not sure if it's worth to fix 2007-07-22 19:24:26 +00:00
zicodxx 66a784c4d3 Code cleanup and small fixes 2007-07-22 01:43:34 +00:00
zicodxx d6d1a2ca1f Code cleanup and small fixes 2007-07-22 01:34:00 +00:00
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