Commit graph

1123 commits

Author SHA1 Message Date
zico 918b08e688 Consider FrameTime overhead when calculating time to allow next weapon fire. Should work perfectly as long as FPS >= Shots-per-second. Also set Omega firing rate to 20 shots per second for both single- and multiplayer 2013-06-11 12:19:03 +02:00
zico bffa6ac838 Fixed case where it wasn't possible to switch to view of a player > X if player X was missing 2013-06-11 01:19:56 +02:00
zico 28419bcd32 Changed message regarding VSync and Multisampling indicating not all OSes need a restart to apply (mysteries of SDL) 2013-06-11 01:07:12 +02:00
zico 9b3e6dd50a Don't try to free Current_mission->alternate_ham_file if not allocated 2013-06-11 01:00:37 +02:00
zico c7f2ed7bb1 Fixed briefing_screens array for Descent 1 Shareware 2013-06-11 00:48:23 +02:00
zico c65b0a5d3c Removed call of digi_stop_digi_sounds() from DoPlayerDead(). Since it was killing persistent sounds which were only started once a level it would forever mute fans, waterfalls, etc.. Also closing Game_wind kills all sounds anyways so there is no point doing it on player death 2013-06-10 23:58:30 +02:00
zico bb57521ef1 re-init digi system after re-setting sample rate for shareware 2013-06-10 17:19:37 +02:00
zico fc26c7c605 Made hmp code actually read tempo. Due to missing documentation of the format I can only guess it's a 4 bit int 2013-06-10 16:34:52 +02:00
zico 3405bf6562 Added a lot of status messages for RBA code shown with -verbose, hopefully making it easier for users to track down problems and made all RBA messages start with RBAudio prefix 2013-04-22 12:37:59 +02:00
zico 40efb50a37 Clear Netgame struct each time player enters a new IP in manual join menu 2013-04-22 11:42:41 +02:00
zico ea8020267a In restricted game mode check for player callsign and sockaddr at the same time 2013-04-22 11:26:55 +02:00
zico cd6c74e0a9 revert 2013-04-18 15:30:34 +02:00
zico 87ad1a97b7 Due to additive blending, transparent sprites will become invivible in font of white surfaces (lamps). Fix that with a little desaturation 2013-04-18 12:08:51 +02:00
zico a7692274fa Removed light_frame_count due to being unnecessary since lighting is now time-based and messed up deletion of dynamic light 2013-04-18 11:56:18 +02:00
zico 0ceaaaf237 Added option to ignore cycling weapons that are not on autoselect list 2013-04-08 15:04:28 +02:00
zico c361a6ef91 Added 4th alternative HUD mode for no HUD rendering, aka Immersion mode 2013-04-08 14:28:55 +02:00
Chris Taylor 765742ca5c Updated Xcode project 2013-04-07 10:59:31 +08:00
Chris Taylor da4331a74a Added .gitignore 2013-04-06 11:55:00 +08:00
Chris Taylor c1280966f1 Updated Xcode project, changed references to error.h to dxxerror.h, since it was renamed 2013-04-06 11:21:32 +08:00
Chris Taylor a90a86ded6 For the assembler build, make sure platform_settings is accessed from self, likely preventing a compiling error 2013-04-06 10:08:09 +08:00
zicodxx 0a56099ad1 Increased ship wiggle from 20FPS- to 30FPS-base as I think this more representy the 486 play style - feels way more natural to me, too 2013-01-22 00:55:56 +01:00
zicodxx 125fbb0ab8 Support for Raspberry Pi - patch by derhass 2013-01-22 00:34:06 +01:00
zicodxx b6a906bc53 Decrease personal score when killing multi buddy and don't increment towards kill goal; Killing off some old externs on which I don't wanna waste an extra commit 2013-01-19 16:37:42 +01:00
Chris Taylor 06b1efad8f Fix click-selection in the editor for OpenGL implementations that insist on point blending 2013-01-17 13:14:44 +08:00
Chris Taylor efe9992ee3 If there's a messagebox to show on exit, and we *were* in fullscreen, don't try to toggle fullscreen and crash 2013-01-12 19:09:23 +08:00
Chris Taylor f6702eee8e Increased the maximum number of levels and secret levels per mission to 127 each, using MALLOC'd arrays; defined 'd_fname' type (mainly for my pointers to arrays of 13 character filenames, but could be convenient elsewhere) 2013-01-12 18:53:43 +08:00
Chris Taylor e4c0b69031 Use new D1XMAJORi / D1XMINORi / D1XMICROi version constants for Mac 2013-01-12 12:35:23 +08:00
zicodxx bf9cdcb04f Changed additive color blending func to GL_ONE, GL_ONE - patch by derhass 2013-01-08 19:12:36 +01:00
zicodxx fb9518dd97 Corrected ai_fire_laser_at_player() syntax where boss should not fire when Boss_dying_start_time != 0 and boss flag is set - patch by derhass 2013-01-08 18:00:15 +01:00
zicodxx fa3a0c60fc Patch by A Future Pilot to hopefully fix bug which prevented building source within MinGW if Visual Studio installed 2013-01-08 17:53:12 +01:00
zicodxx 714bebe8c3 Added option to hide mouse cursor (without disabling the mouse completely) 2013-01-08 17:47:03 +01:00
zicodxx cb2429a860 Disable fullscreen toggling via ALT+ENTER if Game_wind is on top so toggling cannot be done accidentially ingame 2013-01-08 17:29:23 +01:00
zicodxx 9f2e3dac7f Defer free of kmatrix data until window is fully gone - patch by Kp 2013-01-08 12:08:08 +01:00
zicodxx 9d16bf74d3 Fixed some minor HUD-text related issues: For team assignment messages, joining player name would appear; team color assignment in netgame info screen could be wrong due to wrong syntax handling; when rewrapping text messages to specific player, game would not add space behind colon 2013-01-08 11:42:10 +01:00
zicodxx a43f76e7ac Use proper width in format specifier - patch by Kp 2013-01-03 17:34:15 +01:00
zicodxx 66668712bf Removed obsolete HUD cleaning code - patch by Kp 2013-01-03 17:33:07 +01:00
zicodxx f4ab2e63af Added dummy %s to prevent formatting untrusted literals - patch by Kp 2013-01-03 17:30:42 +01:00
zicodxx 1c261a137f Converted gr_printf to gr_string where needed - patch by Kp 2013-01-03 17:23:24 +01:00
zicodxx d6f96ff0e1 Moved screenshot message formating to HUD_init_message - patch by Kp (and me for non-OGL code ;)) 2013-01-03 17:10:56 +01:00
zicodxx 9e9476e89f Fixed argument specifier mismatches flagged by -Wformat - patch by Kp 2013-01-03 17:05:10 +01:00
zicodxx b0393f5ef3 medrobot: avoid needless name copy - patch by Kp 2013-01-03 17:02:22 +01:00
zicodxx a6dead2a51 Avoid -Wformat-nonliteral for trigger message; Reflect plurality in light trigger messages - patches by Kp 2013-01-03 17:00:40 +01:00
zicodxx c9bb823af6 Moved large control_info arrays to end - patch by Kp 2013-01-03 16:57:24 +01:00
zicodxx 8d5d61ef53 Removed redundant/obsolete declarations - patch by Kp 2013-01-03 16:55:14 +01:00
zicodxx dc3ce05e1a Declared wall_close_door_num in wall.h; Declared validate_segment_side in gameseg.h - patches by Kp 2013-01-03 16:46:36 +01:00
zicodxx d850c5d65e Moved joy_*_handler declarations to joy.h - patch by Kp 2013-01-03 16:37:52 +01:00
zicodxx dc883eaf5a Included maths.h in rand.c to get d_rand prototype - patch by Kp 2013-01-03 16:35:37 +01:00
zicodxx 0a03ea3adc Moved multi_* declarations to multi.h - patch by Kp 2013-01-03 16:33:57 +01:00
zicodxx 653b964849 Moved remove_char declaration to piggy.h - patch by Kp 2013-01-03 16:28:53 +01:00
zicodxx 1f569dc760 Moved pow2ize declaration to ogl_init.h - patch by Kp 2013-01-03 16:18:07 +01:00