Commit graph

335 commits

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