Commit graph

1609 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 112866ef3d merge 2013-06-10 22:07:49 +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
Kp 49b547cb45 Fix font prototype mismatch in SDL-only case
Commit 33bf139002 changed OGL
gr_internal_color_string to take a const char, but left SDL
gr_internal_color_string with non-const char.
2013-06-08 17:38:36 +00:00
Kp 2cece43d4b Fix recvfrom prototype mismatches
Win32 uses int* instead of unsigned int*.  Fortunately, socklen_t is
defined to the correct type in both cases, so use socklen_t and let the
compiler sort it out.
2013-06-08 17:43:35 +00:00
Kp 105be723f8 Adjust handling of weapon cycle with superlaser 2013-06-08 02:58:06 +00:00
Kp b29c4e8120 Mark bitblt.c functions static 2013-06-08 23:35:21 +00:00
Kp 6914285892 Restore use of Windows icon file 2013-06-02 22:10:32 +00:00
Kp 2b0ae93c41 Delete empty function apply_modified_palette 2013-04-20 03:07:49 +00:00
Kp 8352c7e90b Mark reactor default countdown times as const 2012-07-15 17:32:21 +00:00
Kp 05861ca745 Treat robot joints as const 2012-07-07 21:38:03 +00:00
Kp ae2d94309a Mark powerup_basic as printf-like 2012-07-01 04:39:04 +00:00
Kp 4f63b346e6 Mark weapon related globals as const 2012-10-28 02:27:28 +00:00
Kp 653b81bc23 Adjust alignment of vulcan/gauss ammo display 2012-10-21 23:11:37 +00:00
Kp 361f620d69 Use a static wrapper in PCX reading code 2012-07-28 22:33:54 +00:00
Kp 0e71a77a0a Refactor PCX loading code to simplify exit path 2012-07-28 22:20:14 +00:00
Kp f72e2bc38e Mark reticle control data const 2012-07-15 03:24:56 +00:00
Kp c3be4be5bd Make ranking strings const 2012-07-08 20:32:47 +00:00
Kp 4819213420 Remove unnecessary exit(1) calls in physfsx
Error never returns, so calling exit afterward is pointless.
2012-07-07 18:07:42 +00:00
Kp 707fc7ba83 Make Boss_dying an int
It is read and written as one, so store it as one.
2013-05-26 01:48:55 +00:00
Kp 6846d97ffb Fold headlight message into powerup_basic 2012-07-01 04:38:51 +00:00
Kp c56890df5a Convert thief-steal messages to use weapon name macros 2012-07-01 01:14:25 +00:00
Kp a1c07a6bc9 Add support for linking under an alternate name 2013-05-05 22:59:09 +00:00
Kp 88946d5c9b Add support for DESTDIR installs 2013-05-05 22:55:16 +00:00
Kp 7d140363ab Allow user to suppress install target 2013-05-05 22:50:19 +00:00
Kp e0a14391d1 Simplify reading $LDFLAGS 2013-05-05 23:33:38 +00:00
Kp 5901c3c677 Make GET_INTEL_* const-correct
Based on a report by derhass, but with additional changes.  Original
report at

<http://www.dxx-rebirth.com/frm/index.php/topic,1048.msg17421.html#msg17421>.
2013-05-03 23:02:11 +00:00
Kp 969c976b82 Restore Raspberry Pi support lost in ed33108
Patch by derhass.
2013-05-03 22:52:57 +00:00
Kp ef8fb7fe44 Fix edge cases in new cycle skip logic
Commit 0ceaaaf introduced two undesirable behaviors which can be
mitigated by a heuristic from commit cab78bb and commit 7bed83b.  This
heuristic prevents a buffer overread if no weapons are auto-selectable
and prevents the player from being stuck on a single weapon if only one
weapon is auto-selectable and that weapon is the current weapon.
Players would not use cycle in such a case, so skipping the
non-auto-select weapons does not help.
2013-04-27 20:49:24 +00:00
Kp ed5d6cc1e1 Use primary order list for primary cycling
Fix copy-paste bug from commit 0ceaaaf.
2013-04-27 01:48:30 +00: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
Kp 119a34e9cb Support cross-configuring SDL 2013-04-20 20:36:02 +00:00
Kp f387c32734 Store fixed values at class scope 2013-04-20 20:36:02 +00:00
Kp 2f6ac3cb53 Refactor SConstruct register_program handling 2013-04-20 20:36:02 +00:00
Kp 621c82f631 Move compiler flags/selection into a base class above DXXProgram 2013-04-20 20:36:02 +00:00
Kp 078ee16905 Remove -pedantic
It warns about the editor build and serves no purpose.
2013-04-20 20:36:02 +00:00
zico fdf951673e Made UPID_GAME_INFO_SIZE, UPID_GAME_INFO_LITE_SIZE and UPID_SEQUENCE_SIZE change if NETGAME_NAME_LEN, MISSION_NAME_LEN or CALLSIGN_LEN changes 2013-04-18 15:31:28 +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
zicodxx f9b244e0e2 Merge pull request #1 from dxx-rebirth/d2x-rebirth/indirect-ham
Add new mission type with support for HAM-by-reference
2013-04-08 06:11:53 -07:00
zico ebfa2211ff merging? 2013-04-08 15:09:06 +02:00